commit ad94a90202193335f011888db017e557b07faf8a
Author: John Herndon <email address hidden>
Date: Tue Feb 19 22:53:49 2013 +0000
Flush tokens on instance delete
Force console auth service to flush all tokens
associated with an instance when it is deleted.
This will fix bug 1125378, where the console for
the wrong instance can be connected to via the
console if the correct circumstances occur. This
change also adds a call to validate the token
when it is used. This check will ensure that all
tokens are valid for their target instances.
Tokens can become scrambled when a compute node is
restarted, because the virt driver may not
assign ports in the same way.
Change-Id: I0d83ec6c4dbfef1af912a200ee15f8052f72da96
fixes: bug 1125378
(cherry picked from commit 3b0f4cf6bea33e6ee1893f6e872d968b0c309f88)
Reviewed: https:/ /review. openstack. org/22616 github. com/openstack/ nova/commit/ ad94a9020219333 5f011888db017e5 57b07faf8a
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit ad94a9020219333 5f011888db017e5 57b07faf8a
Author: John Herndon <email address hidden>
Date: Tue Feb 19 22:53:49 2013 +0000
Flush tokens on instance delete
Force console auth service to flush all tokens
associated with an instance when it is deleted.
This will fix bug 1125378, where the console for
the wrong instance can be connected to via the
console if the correct circumstances occur. This
change also adds a call to validate the token
when it is used. This check will ensure that all
tokens are valid for their target instances.
Tokens can become scrambled when a compute node is
restarted, because the virt driver may not
assign ports in the same way.
Change-Id: I0d83ec6c4dbfef 1af912a200ee15f 8052f72da96 ee1893f6e872d96 8b0c309f88)
fixes: bug 1125378
(cherry picked from commit 3b0f4cf6bea33e6