stable/grizzly patches are failing jenkins in check-tempest-devstack-vm-neutron

Bug #1234181 reported by Matt Riedemann
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
neutron
New
Undecided
Unassigned

Bug Description

The stable/grizzly patches were blocked on bug 1233264 and the fix for that was merged last night:

https://review.openstack.org/#/c/49006/

I've rechecked a few stable/grizzly patches and they've all failed in the check-tempest-devstack-vm-neutron job, but with no obvious errors or failures in the logs - they all seem to exit prematurely while setting up quantum networking though.

https://review.openstack.org/#/c/48300/
https://review.openstack.org/#/c/48381/
https://review.openstack.org/#/c/48415/
https://review.openstack.org/#/c/48772/

Revision history for this message
Matt Riedemann (mriedem) wrote :

There are a lot of sys.exit's in the neutron code so I'm wondering if that's part of the apparent "silent" fail here, the code hits a problem and does a sys.exit which kills the process before the error can be written to the log?

Revision history for this message
Gary Kotton (garyk) wrote :

Hi,
I have addressed this with https://review.openstack.org/#/c/49483/.
Thanks
Gary

Revision history for this message
Jeremy Stanley (fungi) wrote :

This is dying somewhere in the middle of a devstack setup while running commands via the quantumclient compat wrapper, and is only affecting stable as far as we've seen, so I'm pretty confident the issue is not on the infrastructure itself. Probably quantumclient, neutron or at worst devstack... so marking this invalid for the openstack-ci project.

Changed in openstack-ci:
status: New → Invalid
Matt Riedemann (mriedem)
no longer affects: openstack-ci
Revision history for this message
Alan Pevec (apevec) wrote :
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.

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

In bug 1234550, the fix in neutronclient was merged.
I confirmed stable/grizzly blocking issue has been addressed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.