Red Hat Bugzilla – Bug 1283203
After upgrading from juno to kilo neutron-openvswitch-agent service fails to start
Last modified: 2016-06-07 08:35:27 EDT
*** Bug 1283200 has been marked as a duplicate of this bug. ***
One note on upgrade procedure: I don't think we support upgrade from OSP5 directly to OSP7, we don't support skipping releases. So it would be great if we check that the same issue occurs if we do properly staged upgrade through OSP6.
In the log snippet in comment#1, I see that daemon mode for rootwrap is triggered. This is expected because we enabled the mode by default in Kilo: https://review.gerrithub.io/#/c/234352/
The UnboundLocalError error that we see in the traceback just indicates that rootwrap daemon process failed to start (in latest versions of oslo.rootwrap it should not fail with this specific type of the exception since I fixed the traceback: https://review.openstack.org/#/c/191895/ Nevertheless, the backport of the patch would not fix the culprit of the failure for you.)
Sadly, rootwrap daemon mode does not provide good logging capabilities if something goes wrong because it interacts through stdout/stderr only, so from here we can only make assumptions.
Note that rootwrap daemon mode requires a new entry in sudoers file shipped with Neutron package: https://review.gerrithub.io/#/c/235911/ I don't see you mention anywhere that you updated your configuration files to merge any changes from .rpmnew files created in /etc/. Please make sure the line is present in your /etc/sudoers.d/neutron file. If it's not there, it will explain why daemon fails to start: because sudo does allow it in the first place. In that case, you should probably see access denied logs in syslog for failed sudo attempts.
Please re-open if needed. Ihar sent a needinfo for more information in 2015.