n-cpu fail to start using devstack juno

asked 2015-10-30 14:16:25 -0500

irene gravatar image

I was able to install a compute node on one ubuntu 14.04 desktop a few days age, but failed to install one on the other ubuntu 14.04 desktop now. I used the devstack juno, and the same localrc which succesfully did before (only changed IP address). Both desktops are ubuntu 14.04 linux physical machines. I got the failure errors in log below:

          devstack$ sg libvirtd '/usr/local ^M/bin/nova-compute --config-file /etc/nova/nova.conf' & echo $! >/opt/stack /statu ^Ms/stack/n-cpu.pid; fg || echo "n-cpu failed to start" | tee "/opt/stack/status/s ^Mtack/n-cpu.failure"^M
         [1] 6803^M
          sg libvirtd '/usr/local/bin/nova-compute --config-file /etc/nova/nova.conf'^M
          Traceback (most recent call last):^M
          file "/usr/local/bin/nova-compute", line 10, in <module>^M
          sys.exit(main())^M
          File "/opt/stack/nova/nova/cmd/compute.py", line 58, in main^M
          config.parse_args(sys.argv)^M
          File "/opt/stack/nova/nova/config.py", line 41, in parse_args^M
          rpc.init(CONF)^M
          File "/opt/stack/nova/nova/rpc.py", line 63, in init^M
          aliases=TRANSPORT_ALIASES)^M
          File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 185, in get_transport^M
          invoke_kwds=kwargs)^M
          File "/usr/local/lib/python2.7/dist-packages/stevedore/driver.py", line 45, in __init__^M
          verify_requirements=verify_requirements,^M
          File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__^M
          verify_requirements)^M
          File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 170, in _load_plugins^M
          self._on_load_failure_callback(self, ep, err)^M
          File "/usr/local/lib/python2.7/dist-packages/stevedore/driver.py", line 50, in _default_on_load_failure^M
         raise err^M
         AttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'SplitResult'^M
         n-cpu failed to start^M

Here is some of installed packages as well as the versions: python-cinderclient==1.1.1 python-debian===0.1.21-nmu2ubuntu2 python-editor==0.4 python-glanceclient==0.14.3 python-keystoneclient==1.1.1 python-mimeparse==0.1.4 python-neutronclient==2.3.12 python-novaclient==2.31.0 python-openid==2.2.5 python-openstackclient==1.0.1 six==1.9.0 stevedore==1.3.0

Could anyone help me to fix the issue? Thank you!

Irene

edit retag flag offensive close merge delete

Comments

"'Module_six_moves_urllib_parse' object has no attribute 'SplitResult'"

Looks like a version mismatch, perhaps temporary. Clean up and try running stack.sh again.

Bernd Bausch gravatar imageBernd Bausch ( 2015-10-31 01:20:07 -0500 )edit

I found python lib installed on two locations: /usr/lib/python2.7 and /usr/local/lib/python2.7. The version of six on /usr/local/lib/python2.7 is 1.9.0. I overwrote the six package on /usr/lib/python2.7 with the version 1.9.0. It fixed the issue.

irene gravatar imageirene ( 2015-11-05 16:32:04 -0500 )edit