eksctl icon indicating copy to clipboard operation
eksctl copied to clipboard

Scaling up cluster fails

Open Nonymus opened this issue 7 years ago • 1 comments

What happened? Scaling up cluster created by eksctl fails:

$ eksctl scale nodegroup --cluster=hilarious-wardrobe-1548937947 --name=ng-40cbe42d -N 4
[ℹ]  scaling nodegroup stack "eksctl-hilarious-wardrobe-1548937947-nodegroup-ng-40cbe42d" in cluster eksctl-hilarious-wardrobe-1548937947-cluster
[ℹ]  scaling nodegroup, desired capacity from  to 824638136896, max size from 2 to 824638136896
[✖]  unexpected status "UPDATE_ROLLBACK_IN_PROGRESS" while waiting for CloudFormation stack "eksctl-hilarious-wardrobe-1548937947-nodegroup-ng-40cbe42d" to reach "UPDATE_COMPLETE" status
[ℹ]  fetching stack events in attempt to troubleshoot the root cause of the failure
[ℹ]  AWS::CloudFormation::Stack/eksctl-hilarious-wardrobe-1548937947-nodegroup-ng-40cbe42d: UPDATE_ROLLBACK_IN_PROGRESS – "The following resource(s) failed to update: [NodeGroup]. "
[ℹ]  AWS::AutoScaling::AutoScalingGroup/NodeGroup: UPDATE_FAILED – "Encountered non numeric value for property MaxSize"
[ℹ]  AWS::CloudFormation::Stack/eksctl-hilarious-wardrobe-1548937947-nodegroup-ng-40cbe42d: UPDATE_IN_PROGRESS – "User Initiated"
[ℹ]  AWS::CloudFormation::Stack/eksctl-hilarious-wardrobe-1548937947-nodegroup-ng-40cbe42d: CREATE_COMPLETE
[ℹ]  AWS::AutoScaling::AutoScalingGroup/NodeGroup: CREATE_COMPLETE
[ℹ]  AWS::AutoScaling::AutoScalingGroup/NodeGroup: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::AutoScaling::AutoScalingGroup/NodeGroup: CREATE_IN_PROGRESS
[ℹ]  AWS::AutoScaling::LaunchConfiguration/NodeLaunchConfig: CREATE_COMPLETE
[ℹ]  AWS::AutoScaling::LaunchConfiguration/NodeLaunchConfig: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::AutoScaling::LaunchConfiguration/NodeLaunchConfig: CREATE_IN_PROGRESS
[ℹ]  AWS::IAM::InstanceProfile/NodeInstanceProfile: CREATE_COMPLETE
[ℹ]  AWS::IAM::InstanceProfile/NodeInstanceProfile: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::IAM::InstanceProfile/NodeInstanceProfile: CREATE_IN_PROGRESS
[ℹ]  AWS::IAM::Role/NodeInstanceRole: CREATE_COMPLETE
[ℹ]  AWS::EC2::SecurityGroupEgress/EgressInterClusterAPI: CREATE_COMPLETE
[ℹ]  AWS::EC2::SecurityGroupEgress/EgressInterCluster: CREATE_COMPLETE
[ℹ]  AWS::EC2::SecurityGroupEgress/EgressInterClusterAPI: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::EC2::SecurityGroupIngress/IngressInterCluster: CREATE_COMPLETE
[ℹ]  AWS::EC2::SecurityGroupEgress/EgressInterCluster: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::EC2::SecurityGroupIngress/IngressInterClusterAPI: CREATE_COMPLETE
[ℹ]  AWS::EC2::SecurityGroupEgress/EgressInterClusterAPI: CREATE_IN_PROGRESS
[ℹ]  AWS::EC2::SecurityGroupIngress/IngressInterClusterCP: CREATE_COMPLETE
[ℹ]  AWS::EC2::SecurityGroupEgress/EgressInterCluster: CREATE_IN_PROGRESS
[ℹ]  AWS::EC2::SecurityGroupIngress/IngressInterCluster: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::EC2::SecurityGroupIngress/IngressInterCluster: CREATE_IN_PROGRESS
[ℹ]  AWS::EC2::SecurityGroupIngress/IngressInterClusterAPI: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::EC2::SecurityGroupIngress/IngressInterClusterCP: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::EC2::SecurityGroupIngress/IngressInterClusterAPI: CREATE_IN_PROGRESS
[ℹ]  AWS::EC2::SecurityGroupIngress/IngressInterClusterCP: CREATE_IN_PROGRESS
[ℹ]  AWS::EC2::SecurityGroup/SG: CREATE_COMPLETE
[ℹ]  AWS::EC2::SecurityGroup/SG: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::IAM::Role/NodeInstanceRole: CREATE_IN_PROGRESS – "Resource creation Initiated"
[ℹ]  AWS::IAM::Role/NodeInstanceRole: CREATE_IN_PROGRESS
[ℹ]  AWS::EC2::SecurityGroup/SG: CREATE_IN_PROGRESS
[ℹ]  AWS::CloudFormation::Stack/eksctl-hilarious-wardrobe-1548937947-nodegroup-ng-40cbe42d: CREATE_IN_PROGRESS – "User Initiated"
[✖]  failed to scale nodegroup for cluster "hilarious-wardrobe-1548937947", error waiting for CloudFormation stack "eksctl-hilarious-wardrobe-1548937947-nodegroup-ng-40cbe42d" to reach "UPDATE_COMPLETE" status: ResourceNotReady: failed waiting for successful resource state

What you expected to happen? Cluster scaled up from 2 to 4 nodes.

How to reproduce it? see What Happend?

Anything else we need to know? Might be related to the broken node counts in #497

Versions See #497

Nonymus avatar Jan 31 '19 14:01 Nonymus

Yes, it is indeed related to #497, but still a separate issue. Thanks for reporting both!

errordeveloper avatar Jan 31 '19 15:01 errordeveloper