summaryrefslogtreecommitdiffstats
path: root/bin/nova-api-paste
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2013-03-13 19:52:43 +0000
committerChris Behrens <cbehrens@codestud.com>2013-03-19 21:54:00 +0000
commitc02d3aec3b005640c28b321b22ec0f0f992981ec (patch)
treed207a4331af1196e6102bb14cd5d86acb851b98d /bin/nova-api-paste
parent98f9f735d7e6ac32a8736971f4aab0d81c56131e (diff)
downloadnova-c02d3aec3b005640c28b321b22ec0f0f992981ec.tar.gz
nova-c02d3aec3b005640c28b321b22ec0f0f992981ec.tar.xz
nova-c02d3aec3b005640c28b321b22ec0f0f992981ec.zip
Fix console support with cells
The (relatively recent) security fixes for consoleauth do not work with cells because consoleauth and the compute manager for the instance talk to different rabbit servers. consoleauth is in the API cell and the compute manager is in a child cell. This patch adds code to proxy the following via cells: 1) compute -> consoleauth's delete_tokens_for_instance() 2) consoleauth -> compute's validate_console_port() Also: On instance deletion when the compute manager tells consoleauth to delete tokens for the instance, it's not necessary to do an rpc.call and block. The only purpose it could serve would be log a traceback on failure on the compute manager side, but that seems unnecessary. There's no return value. This patch changes it to an rpc.cast instead. Fixes bug 1154755 Change-Id: Ic763f2a5c0dcff7b7ccfac5927680e7881605f61
Diffstat (limited to 'bin/nova-api-paste')
0 files changed, 0 insertions, 0 deletions