AttributeError: 'module' object has no attribute 'DEVICE_OWNER_HA_REPLICATED_INT

asked 2016-04-26 05:00:38 -0500

jimmyma gravatar image

Hi guys, First of all,I am a newbie of openstack. So please forgive my improper description. So I was using devstack to install openstack with neutron Networking.And got below message:

Blockquote

File "/opt/stack/neutron/neutron/db/l3_db.py", line 52, in <module> DEVICE_OWNER_HA_REPLICATED_INT = l3_constants.DEVICE_OWNER_HA_REPLICATED_INT AttributeError: 'module' object has no attribute 'DEVICE_OWNER_HA_REPLICATED_INT' +lib/neutron-legacy:_configure_neutron_common:1 exit_trap +./stack.sh:exit_trap:474 local r=1 ++./stack.sh:exit_trap:475 jobs -p +./stack.sh:exit_trap:475 jobs= +./stack.sh:exit_trap:478 [[ -n '' ]] +./stack.sh:exit_trap:484 kill_spinner +./stack.sh:kill_spinner:370 '[' '!' -z '' ']' +./stack.sh:exit_trap:486 [[ 1 -ne 0 ]] +./stack.sh:exit_trap:487 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:488 generate-subunit 1461659560 435 fail +./stack.sh:exit_trap:489 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap:492 /home/parallels/devstack/tools/worlddump.py -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2016-04-26-083956.txt for details df: '/run/user/1000/gvfs': Permission denied df: '/media/parallels/CDROM': Permission denied 2016-04-26T08:39:56Z|00001|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (Permission denied) ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (Permission denied) +./stack.sh:exit_trap:498 exit 1

Blockquote

here are codes related about it in l3_db.py:

from neutron_lib import constants as l3_constants DEVICE_OWNER_HA_REPLICATED_INT = l3_constants.DEVICE_OWNER_HA_REPLICATED_INT And I can't find "DEVICE_OWNER_HA_REPLICATED_INT" in "/usr/local/lib/python2.7/dist-packages/neutron_lib/constants.py" file.

following articles has mentioned about this,seems to be a bug: https://review.openstack.org/gitweb?p=openstack/neutron.git;a=commitdiff;h=9aae328f7f0bfedee84ee2088996ed83acf05a7b (https://review.openstack.org/gitweb?p...)

So how can i do now for this issue?

edit retag flag offensive close merge delete