It's going to be ugly, but we're going to need this
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Andrew | T87280 Investigate replacing our custom DNS code with Designate | |||
Resolved | Andrew | T93087 Move to a new dns scheme for labs: hostname.projectname.eqiad.wmflabs | |||
Resolved | Andrew | T93684 Make a fact for project_id on labs instances | |||
Resolved | Andrew | T102832 Add project_id to instance metadata during instance creation |
Event Timeline
It is, but it comes from ldap. Would be nice if we could get it from metadata instead (but it isn't in there :( )
Change 220991 had a related patch set uploaded (by Andrew Bogott):
Add a labsproject fact that doesn't rely on ldap config.
Note that the attached patch will only work once the metadata has been updated for legacy instances.
Change 220991 merged by Andrew Bogott:
Add a labsproject fact that doesn't rely on ldap config.
ok, the fact is in place and works. It depends on the insertion of project-id into metadata by sink_nova_ldap.
In Libery and later, metadata will provide project_id automatically, and we can switch the fact over to use that and strip out the project-id code from sink_nova_ldap.
Some of our code still relies on the ldap $::instanceproject puppet variable, so those refs need to be purged before this bug is closed.
Change 230652 had a related patch set uploaded (by Andrew Bogott):
replace $::instanceproject with $::labsproject
AFAIU operations/puppet's modules/shinken/files/shinkengen, Shinken uses the LDAP data to get a list of instances for a project, so that needs to be updated as well.
Change 230652 merged by Andrew Bogott:
replace $::instanceproject with $::labsproject