loguserdata.py failed in cloud-init with exec: python: Not found

Solution Verified - Updated -

Issue

  • When launching a RHEL8 instance with userdata, cloud-init in the instance logged an error about loguserdata.py.
  • The instance image doesn't contain python3 package and python2 package.

Environment

  • Red Hat OpenStack Platform 13
  • Red Hat Openstack Platform 16
  • heat

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