Error in driver during machine creation: Error launching instance: InvalidParameterValue: Invalid value 'r5.12xlarge ' for InstanceType.

This document (000020114) is provided subject to the disclaimer at the end of this document.

Situation

Issue

When trying to deploy a node in AWS EC2 on Rancher v1.6.x, you recieve an error like Error in driver during machine creation: Error launching instance: InvalidParameterValue: Invalid value 'r5.12xlarge\t' for InstanceType.

Pre-requisites

  • Running Rancher UI v1.6.50 or earlier (included by default in Rancher v1.6.28 or earlier)
  • Trying to deploy an AWS EC2 node of size r5.12xlarge, r5.24xlarge, r5a.12xlarge, or r5a.24xlarge

Resolution

The fix is in rancher ui v1.6.51 which is introduced in Rancher v1.6.29. Upgrade to v1.6.29 or later to deploy EC2 nodes of the affected sizes. It is advised to upgrade to the latest stable Rancher v1.6.x and migrate to latest stable Rancher v2.x

Further reading

The issue is a trailing tab in the name of the instance type. The commit that solves the issue can be seen here: https://github.com/rancher/ui/commit/5709e997aea949f41e299db8f519dc046d731cb9 rancher/ui v1.6.51: https://github.com/rancher/ui/tree/v1.6.51/app/components/machine rancher/rancher v1.6.29: https://github.com/rancher/rancher/releases/tag/v1.6.29

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020114
  • Creation Date: 06-May-2021
  • Modified Date:06-May-2021
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center