Refusing to bootstrap mysql cluster until role is known. (missing heat metadata)

Bug #1331445 reported by Dan Prince
This bug report is a duplicate of:  Bug #1331720: missing TripleO heat metadata. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Critical
Dan Prince

Bug Description

As of today I'm seeing repeated undercloud job failures due with the following in the os-collect-config log file:

[2014/06/18 12:10:38 PM] [INFO] writing /etc/horizon/local_settings.py
[2014/06/18 12:10:38 PM] [INFO] success
dib-run-parts Wed Jun 18 12:10:38 UTC 2014 50-os-config-applier completed
dib-run-parts Wed Jun 18 12:10:38 UTC 2014 Running /opt/stack/os-config-refresh/configure.d/51-mysql-init
We are neither cluster initializer or joiner. Refusing to bootstrap mysql cluster until role is known.
[2014-06-18 12:10:38,691] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/opt/stack/os-config-refresh/configure.d']' returned non-zero exit status 1]

ERROR:os-refresh-config:during configure phase. [Command '['dib-run-parts', '/opt/stack/os-config-refresh/configure.d']' returned non-zero exit status 1]

[2014-06-18 12:10:38,691] (os-refresh-config) [ERROR] Aborting...
ERROR:os-refresh-config:Aborting...
2014-06-18 12:10:38.696 1374 ERROR os-collect-config [-] Command failed, will not cache new data. Command 'os-refresh-config' returned non-zero exit status 1
2014-06-18 12:10:38.697 1374 WARNING os-collect-config [-] Sleeping 30.00 seconds before re-exec.

----

Dan Prince (dan-prince)
Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
Dan Prince (dan-prince)
Changed in tripleo:
assignee: nobody → Dan Prince (dan-prince)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-image-elements (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/100898

Dan Prince (dan-prince)
summary: - Refusing to bootstrap mysql cluster until role is known.
+ Refusing to bootstrap mysql cluster until role is known. (all Undercloud
+ jobs fail)
Revision history for this message
Dan Prince (dan-prince) wrote : Re: Refusing to bootstrap mysql cluster until role is known. (all Undercloud jobs fail)

The root cause of the issue appears to be related to missing metadata. I'm seeing this in the Nova API logs:

Jun 18 17:32:15 localhost nova-api[3535]: 2014-06-18 17:32:15.333 3836 ERROR nova.api.metadata.handler [-] Failed to get metadata for ip: 172.19.0.4

summary: - Refusing to bootstrap mysql cluster until role is known. (all Undercloud
- jobs fail)
+ Refusing to bootstrap mysql cluster until role is known. (Failed to get
+ metadata for ip)
no longer affects: heat
Dan Prince (dan-prince)
summary: - Refusing to bootstrap mysql cluster until role is known. (Failed to get
- metadata for ip)
+ Refusing to bootstrap mysql cluster until role is known. (missing heat
+ metadata)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-image-elements (master)

Change abandoned by Dan Prince (<email address hidden>) on branch: master
Review: https://review.openstack.org/100898

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.