instance-manager
instance-manager copied to clipboard
Instance profile is stuck in bad state if error occurs when initial role is attached
Is this a BUG REPORT or FEATURE REQUEST?: BUG What happened: An Instance profile was created by IM, but it had no role attached. It is stuck in this state. What you expected to happen: IM should reconcile this error correctly, and attach a role to the profile if one does not exist on subsequent checks. How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- Kubernetes version:
kubectl version -o yaml
Other debugging information (if applicable):
- InstanceGroup status:
kubectl describe instancegroup <ig-name>
- controller logs:
kubectl logs <instance-manager pod>