Comment 5 for bug 1234181

Revision history for this message
Akihiro Motoki (amotoki) wrote :

quantum-debug command in stable/grizzly quantum code refers QuantumShell.client_manager.quantum.
client_manager object comes from neutrtonclient/common/clientmanager.py.
Thus the current proxy mechanism from quantumclient to neutronclient does not work.

The easiest fix seems to define QuantumShell class based on NeutronShell to extend authenticate_user() method. It ensures self.client_manager.quantum variable: http://paste.openstack.org/show/48005/

The essential problem is a drect reference of class internal variable and it should be fixed ideally. However it requires changes in several components (neutronclient, grizzly quantum and havana neutron). quantumclient proxy already refers to internal methods in neutronclient, and I think the above solution does not matter much.

I will propose a patch to quantumclient branch from now.