RHEL 7.2 cloud image's subscription manager plugin causes delayed start

Solution In Progress - Updated -

Issue

  • The RHEL 7.2 cloud / kvm guest image has a rh_subscription plugin that attempts to auto-register. If there are firewall rules to block the request then there will be a 2 minute timeout for cloud-init to finish.
[   25.964429] cloud-init[809]: Cloud-init v. 0.7.6 running 'init' at Tue, 19 Jan 2016 19:46:10 +0000. Up 25.91 seconds.
[   26.073905] cloud-init[809]: ci-info: ++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
Red Hat Enterprise Linux Server 7.2 (Maipo)
Kernel 3.10.0-327.el7.x86_64 on an x86_64

host-10-10-10-150
[   26.214155] cloud-init[809]: ci-info: +--------+------+--------------+---------------+-------------------+ login: 
[   26.287118] cloud-init[809]: ci-info: | Device |  Up  |   Address    |      Mask     |     Hw-Address    |
[   26.347018] cloud-init[809]: ci-info: +--------+------+--------------+---------------+-------------------+
[   26.437263] cloud-init[809]: ci-info: |  lo:   | True |  127.0.0.1   |   255.0.0.0   |         .         |
[   26.511486] cloud-init[809]: ci-info: | eth0:  | True | 10.10.10.14 | 255.255.255.0 | x:x:x:x:x |
[   26.590257] cloud-init[809]: ci-info: +--------+------+--------------+---------------+-------------------+
[   26.665116] cloud-init[809]: ci-info: +++++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++++
[   26.732902] cloud-init[809]: ci-info: +-------+-------------+------------+---------------+-----------+-------+
[   26.799754] cloud-init[809]: ci-info: | Route | Destination |  Gateway   |    Genmask    | Interface | Flags |
[   26.939306] cloud-init[809]: ci-info: +-------+-------------+------------+---------------+-----------+-------+
[   27.014039] cloud-init[809]: ci-info: |   0   |   0.0.0.0   | 10.10.10.1 |    0.0.0.0    |    eth0   |   UG  |
[   27.085249] cloud-init[809]: ci-info: |   1   |  10.10.10.0 |  0.0.0.0   | 255.255.255.0 |    eth0   |   U   |
[   27.139046] cloud-init[809]: ci-info: +-------+-------------+------------+---------------+-----------+-------+
[  164.897506] cloud-init[809]: 2016-01-19 14:48:29,266 - cc_rh_subscription.py[WARNING]: Unable to register system due to incomplete information.
[  164.969816] cloud-init[809]: 2016-01-19 14:48:29,269 - cc_rh_subscription.py[WARNING]: Use either activationkey and org *or* userid and password
[  165.041524] cloud-init[809]: 2016-01-19 14:48:29,269 - cc_rh_subscription.py[WARNING]: Registration failed or did not run completely
[  165.095383] cloud-init[809]: 2016-01-19 14:48:29,270 - cc_rh_subscription.py[WARNING]: rh_subscription plugin did not complete successfully
[  167.129391] cloud-init[9074]: Cloud-init v. 0.7.6 running 'modules:config' at Tue, 19 Jan 2016 19:48:31 +0000. Up 167.07 seconds.
[  167.824483] cloud-init[9115]: Cloud-init v. 0.7.6 running 'modules:final' at Tue, 19 Jan 2016 19:48:32 +0000. Up 167.70 seconds.
ci-info: ++++++++++++++++Authorized keys from /home/cloud-user/.ssh/authorized_keys for user cloud-user+++++++++++++++++
ci-info: +---------+-------------------------------------------------+---------+---------------------------------------+
ci-info: | Keytype |                Fingerprint (md5)                | Options |                Comment                |
ci-info: +---------+-------------------------------------------------+---------+---------------------------------------+
ci-info: | ssh-rsa | ..... |    -    | user@domain.com |
ci-info: +---------+-------------------------------------------------+---------+---------------------------------------+
ec2: 
ec2: #############################################################
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
....
...
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################
-----BEGIN SSH HOST KEY KEYS-----
........
-----END SSH HOST KEY KEYS-----
[  168.756454] cloud-init[9115]: 2016-01-19 14:48:33,132 - templater.py[WARNING]: Cheetah not available as the default renderer for unknown template, reverting to the basic renderer.
[  168.833464] cloud-init[9115]: Cloud-init v. 0.7.6 finished at Tue, 19 Jan 2016 19:48:33 +0000. Datasource DataSourceOpenStack [net,ver=2].  Up 168.75 seconds

Environment

  • Red Hat Enterprise Linux 7.2
  • Red Hat OpenStack 7.0

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