WaitCondition notification breaks in-instance credentials
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Angus Salkeld |
Bug Description
Since https:/
This happens because the keystone user associated with the WaitCondition doesn't have permission to read the secret key of the user associated with the cfn-credentials file
So e.g in the the nested loadbalancer resource template, the Fn::GetAtt CfnLBAccessKey resolves to the error value of "000-000-000", so after the next cfn-hup all communication from inside the instance is broken permanently.
I'm not sure of the best way to fix this yet - possible options:
1 - Store the secret key in our DB (e.g encoded as part of the logical resource ID for the AccessKey resource), this is what I was trying to avoid with the current AccessKey implementation, so I'm not keen on this, and has the added disadvantage that it opens up access to the secret key to any user who has access to the stack (whereas currently only admin users or the actual in-instance user can read it)
2 - Use the stored admin context to refresh the per-resource metadata after the WaitCondition notification arrives (the new refresh logic in service.
Any other ideas?
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Steven Hardy (shardy) |
milestone: | none → grizzly-rc1 |
assignee: | Steven Hardy (shardy) → nobody |
description: | updated |
Changed in heat: | |
assignee: | nobody → Angus Salkeld (asalkeld) |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | grizzly-rc1 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/23545
Review: https:/