Failed to Create MachineSet IAM Instance Profile name Invalid

Solution Verified - Updated -

Issue

  • Creating infrastructure machine sets on AWS Cloud failed to create machine failed to launch instance error launching instance
  • Invalid IAM Instance Profile name

    $ oc get events -n openshift-machine-api
    
    LAST SEEN  TYPE     REASON        OBJECT                               MESSAGE
    46m        Warning  FailedCreate  machine/XXX  XXX: reconciler failed to Create machine: failed to launch 
    instance: error launching instance: Value (XXX) for parameter iamInstanceProfile.name is invalid. Invalid IAM 
    Instance Profile name
    46m        Normal   Delete        machine/XXX  Deleted machine XXX
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content