How to use cloud-init rh_subscription plugin to register an instance on boot in Red Hat OpenStack Platform

Solution In Progress - Updated -


Red Hat Enterprise Linux 7.2 and above provide the rh_subscription plugin which is run on boot of the RHEL cloud image as part of cloud-init
since Bugzilla 1227393

[   30.312499] cloud-init[797]: 2016-09-08 12:17:18,339 -[WARNING]: Unable to register system due to incomplete information.
[   30.339313] cloud-init[797]: 2016-09-08 12:17:18,343 -[WARNING]: Use either activationkey and org *or* userid and password
[   30.376519] cloud-init[797]: 2016-09-08 12:17:18,343 -[WARNING]: Registration failed or did not run completely
[   30.400571] cloud-init[797]: 2016-09-08 12:17:18,343 -[WARNING]: rh_subscription plugin did not complete successfully
  1. How can this be used to register an instance on first boot?
  2. Is it possible to disable rh_subscription plugin to remove the WARNING messages?


Red Hat Enterprise Linux 7.2
Red Hat OpenStack Platform 8.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In