Comment 2 for bug 1732684

Revision history for this message
Spyros Trigazis (strigazi) wrote :

The error: "2017-10-26 15:12:56.275 20618 ERROR oslo.service.loopingcall AuthorizationFailure: reason Keystone API connection failed: no password, trust_id or token found."

appeared for a stack that was DELETE_COMPLETE in heat, the trust was empty and the cluster in magnum was in DELETE_IN_PROGRESS for 18 months. Apparently this cluster was carried from the an old magnum version. That bug can't happen again since the trust is deleted only when the stack is deleted. [1]

The second bug can happen in a HA environment where one instance deleted the trust and stack while another was trying to authenticate and check the stack status. When the trust is deleted we can ensure that the db is updated correctly or just pass.

[1] https://github.com/openstack/magnum/blob/master/magnum/drivers/heat/driver.py#L214