os-collect-config ec2 collector should be treated as immutable

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

Bug Description

Currently the ec2 collector polls the nova metadata service every $polling_period even though the data is not expected to change and no known config actions have been written to respond to changes in these values.

With larger overclouds, this metadata polling will cause noticeable load on the undercloud, especially nova-api and neutron (for port lookups).

I propose that we treat this collector as immutable, so ec2 data is collected once, and subsequent collection runs will just return if ec2.json exists.

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

This sounds reasonable, although only for ec2 metadata (I don't think occ collects the native nova metadata does it, because that's not immutable, the key/value pairs can defintely be updated)

Considering the variety of performance challenges we face, this seems like a fairly easy incremental gain, so +1 - I'll target it at rc1 and we can see if a fix can be landed by newton, thanks!

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

Since the fix was reverted I'm going to re-target this to Ocata-1, provided Steve is OK with that, hopefully that will enable a bit more time to fully test the fix before re-landing any revised patch.

Changed in tripleo:
milestone: newton-rc1 → ocata-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-collect-config 5.0.0.0rc2

This issue was fixed in the openstack/os-collect-config 5.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-collect-config 5.0.0

This issue was fixed in the openstack/os-collect-config 5.0.0 release.

Revision history for this message
Steven Hardy (shardy) wrote :
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.0b1

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-collect-config 5.0.0

This issue was fixed in the openstack/os-collect-config 5.0.0 release.

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.