Heya,
I just upgraded my Fedora 20 Havana setup to IceHouse, and, restarting
openstack-neutron-agent fails with the below:
=================================
$ systemctl start neutron-openvswitch-agent
$ systemctl status neutron-openvswitch-agent
[. . .]
Jan 07 02:45:15 node2-compute neutron-openvswitch-agent[3471]: from neutron.agent.linux
import polling
Jan 07 02:45:15 node2-compute neutron-openvswitch-agent[3471]: File
"/usr/lib/python2.7/site-packages/neutron/agent/linux/polling.py", line
2...odule>
Jan 07 02:45:15 node2-compute neutron-openvswitch-agent[3471]: from neutron.agent.linux
import ovsdb_monitor
Jan 07 02:45:15 node2-compute neutron-openvswitch-agent[3471]: File
"/usr/lib/python2.7/site-packages/neutron/agent/linux/ovsdb_monitor.py",
...odule>
Jan 07 02:45:15 node2-compute neutron-openvswitch-agent[3471]: from neutron.agent.linux
import async_process
Jan 07 02:45:15 node2-compute neutron-openvswitch-agent[3471]: File
"/usr/lib/python2.7/site-packages/neutron/agent/linux/async_process.py",
...odule>
Jan 07 02:45:15 node2-compute neutron-openvswitch-agent[3471]: import psutil
Jan 07 02:45:15 node2-compute neutron-openvswitch-agent[3471]: ImportError: No module
named psutil
Jan 07 02:45:15 node2-compute systemd[1]: neutron-openvswitch-agent.service: main process
exited, code=exited, status=1/FAILURE
Jan 07 02:45:15 node2-compute systemd[1]: Unit neutron-openvswitch-agent.service entered
failed state.
Hint: Some lines were ellipsized, use -l to show in full.
[root@node2-compute ~]# systemctl status neutron-openvswitch-agent -l
neutron-openvswitch-agent.service - OpenStack Quantum Open vSwitch Agent
Loaded: loaded (/usr/lib/systemd/system/neutron-openvswitch-agent.service; enabled)
Active: failed (Result: exit-code) since Mon 2012-12-10 02:45:15 EST; 20s ago
Process: 3471 ExecStart=/usr/bin/neutron-openvswitch-agent --config-file
/usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf
--config-file
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file
/var/log/neutron/openvswitch-agent.log (code=exited, status=1/FAILURE)
Main PID: 3471 (code=exited, status=1/FAILURE)
=================================
Workaround for now - explicitly install python-psutil:
$ yum install python-psutil.x86_64
$ systemctl start neutron-openvswitch-agent
$ systemctl status neutron-openvswitch-agent -l
neutron-openvswitch-agent.service - OpenStack Quantum Open vSwitch Agent
Loaded: loaded (/usr/lib/systemd/system/neutron-openvswitch-agent.service; enabled)
Active: active (running) since Mon 2012-12-10 18:23:13 EST; 1 years 0 months ago
Main PID: 3515 (neutron-openvsw)
CGroup: /system.slice/neutron-openvswitch-agent.service
└─3515 /usr/bin/python /usr/bin/neutron-openvswitch-agent --config-file
/usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf
--config-file
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file
/var/log/neutron/openvswitch-agent.log
[. . .]
Not sure if others are encountering this too?
--
/kashyap