neutron-ovs-cleanup sometimes failed at reboot (Ubuntu 14.04)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am running OpenStack Kilo on Ubuntu 14.04 (Trusty). I have a separate network node running Neutron. Sometimes after reboot the neutron-
2015-08-17 06:05:07.091 1470 ERROR neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.091 1470 TRACE neutron.
2015-08-17 06:05:07.098 1470 CRITICAL neutron [-] RuntimeError:
Command: ['sudo', '/usr/bin/
Exit code: 1
Stdin:
Stdout:
Stderr: ovs-vsctl: unix:/var/
or
2015-08-16 12:08:57.315 1820 TRACE neutron Traceback (most recent call last):
2015-08-16 12:08:57.315 1820 TRACE neutron File "/usr/bin/
2015-08-16 12:08:57.315 1820 TRACE neutron sys.exit(main())
2015-08-16 12:08:57.315 1820 TRACE neutron File "/usr/lib/
2015-08-16 12:08:57.315 1820 TRACE neutron delete_
2015-08-16 12:08:57.315 1820 TRACE neutron File "/usr/lib/
2015-08-16 12:08:57.315 1820 TRACE neutron device.
2015-08-16 12:08:57.315 1820 TRACE neutron File "/usr/lib/
2015-08-16 12:08:57.315 1820 TRACE neutron self._as_root([], ('delete', self.name))
2015-08-16 12:08:57.315 1820 TRACE neutron File "/usr/lib/
2015-08-16 12:08:57.315 1820 TRACE neutron use_root_
2015-08-16 12:08:57.315 1820 TRACE neutron File "/usr/lib/
2015-08-16 12:08:57.315 1820 TRACE neutron log_fail_
2015-08-16 12:08:57.315 1820 TRACE neutron File "/usr/lib/
2015-08-16 12:08:57.315 1820 TRACE neutron log_fail_
2015-08-16 12:08:57.315 1820 TRACE neutron File "/usr/lib/
2015-08-16 12:08:57.315 1820 TRACE neutron raise RuntimeError(m)
2015-08-16 12:08:57.315 1820 TRACE neutron RuntimeError:
2015-08-16 12:08:57.315 1820 TRACE neutron Command: ['sudo', '/usr/bin/
2015-08-16 12:08:57.315 1820 TRACE neutron Exit code: 2
2015-08-16 12:08:57.315 1820 TRACE neutron Stdin:
2015-08-16 12:08:57.315 1820 TRACE neutron Stdout:
2015-08-16 12:08:57.315 1820 TRACE neutron Stderr: RTNETLINK answers: Operation not supported
From my point of view there is a race condition at startup. I have added a "sleep 5" command to my upstart-script neutron-
Has anybody an idea?
It sounds like this may be an issue with the service definition for the agent. If it is at the same priority of the OVS service, this may happen.