Cluster installation failed with error code OCM3034: VcpuLimitExceeded
Environment
- Red Hat OpenShift Service on AWS (ROSA 4)
Issue
Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.
- Cluster installation failed with error code OCM3034: VcpuLimitExceeded.
- Following error message was observed in install logs:
error: <machine-name>: reconciler failed to Create machine: failed to launch instance: error launching instance: You have requested more vCPU capacity than your current vCPU limit of 32 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit.
Resolution
To resolve this, free up capacity or increase quota and try again.
EC2 vCPU limit increases are submitted as a vCPU value. To request an increase, first determine how many vCPUs that your On-Demand Instances are using. You can use the vCPU limits calculator to measure the number of vCPUs that you are currently using against vCPU-based limits to determine the appropriate service limit increase to request. You can create a service limit request directly from the vCPU limits calculator.
Solution:
Request an On-Demand Instance limit increase
- Sign in to the Amazon EC2 console.
- In the Region selector, choose the AWS Region where you want to request a vCPU increase.
- (Optional) To view the instances that are already running, from the EC2 Dashboard, under Resources, choose Instances (running).
- In the navigation pane, Choose Limits.
- Choose Calculate vCPU limit to access the vCPU limits calculator.
- In the Limits calculator page, choose Add instance type.
- For Instance type, select an available instance type from the dropdown list.
- For Instance count, enter the number of new instances (of the type that you chose in step 6) that you want.
- Continue adding instance types as needed.
- Review the Limits calculation section, choose Request on-demand limit increase to submit a service limit increase request. The value in the New limit field is the number of vCPUs that you must request.
Root Cause
The install requires more vCPU capacity than the current vCPU limit. Customers are limited to running one or more On-Demand Instances in an AWS account, and Amazon EC2 measures usage towards each limit based on the total number of vCPUs (virtual central processing unit) that are assigned to the running On-Demand instances in your AWS account.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments