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:


File "/opt/stack/neutron/neutron/db/", 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 +./ local r=1 ++./ jobs -p +./ jobs= +./ [[ -n '' ]] +./ kill_spinner +./ '[' '!' -z '' ']' +./ [[ 1 -ne 0 ]] +./ echo 'Error on exit' Error on exit +./ generate-subunit 1461659560 435 fail +./ [[ -z /opt/stack/logs ]] +./ /home/parallels/devstack/tools/ -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) +./ exit 1


here are codes related about it in

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/" file.

following articles has mentioned about this,seems to be a bug:;a=commitdiff;h=9aae328f7f0bfedee84ee2088996ed83acf05a7b (

So how can i do now for this issue?

edit retag flag offensive close merge delete