os-collect-config ec2 collector should attempt config-drive before nova metadata server

Bug #1619074 reported by Steve Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Steve Baker

Bug Description

overcloud nodes are booted with a functioning config-drive, and cloud-init uses this for boot configuration.

However the os-collect-config ec2 collector fetches the same data from the nova metadata server. If the ec2 collector is treated as immutable as per bug 1619072 then config-drive can be used as the data source instead of the nova metadata server.

This can result in a significant reduction in complexity - the openstack-nova-api service can be switched off on the undercloud and routing to 169.254.169.254 removed.

Changed in tripleo:
assignee: nobody → Steve Baker (steve-stevebaker)
Revision history for this message
Steven Hardy (shardy) wrote :

Sounds reasonable, although I'd like to check the impact of disabling the metadata server - AFAIK there are actually two sets of metadata served via the magic metadata IP, the ec2 stuff and the native key/value pairs, the latter we may want to keep because we expose the sever metadata property in t-h-t (and it can be updated).

Regardless, the occ optimization seems worthwhile

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → newton-rc1
Changed in tripleo:
milestone: newton-rc1 → newton-rc2
Revision history for this message
Steven Hardy (shardy) wrote :

https://review.openstack.org/#/c/369731/ is WIP so deferring this to ocata-1

Changed in tripleo:
milestone: newton-rc2 → ocata-1
Revision history for this message
Steven Hardy (shardy) wrote :

https://review.openstack.org/#/c/369731/ is ready for review, but not yet landed, so moving this to ocata-2

Changed in tripleo:
status: Triaged → In Progress
milestone: ocata-1 → ocata-2
Changed in tripleo:
milestone: ocata-2 → ocata-3
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

https://review.openstack.org/#/c/369731/ merged 3 weeks ago, this should probably be in ocata-2

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-collect-config 6.0.0.0b2

This issue was fixed in the openstack/os-collect-config 6.0.0.0b2 development milestone.

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.