settingsLogin | Registersettings

Re: [openstack-dev] [ovs-discuss] [Neutron][networking-ovn] OVN + Openstack Issues

0 votes

Adding openstack-dev mailing list as it is more relevant.

Please see inline for some comments.
​​

On Sat, Jan 21, 2017 at 9:12 PM, Martin Mailand martin@tuxadero.com wrote:

Hi,

I tried to use OVN with Openstack, but I ran into an Issue.

I use the OVN packages from the Canonical Cloud archive:

On the controller node:
ii ovn-central 2.6.0-0ubuntu2~cloud0
amd64 OVN central components
ii ovn-common 2.6.0-0ubuntu2~cloud0
amd64 OVN common components
ii ovn-host 2.6.0-0ubuntu2~cloud0
amd64 OVN host components
ii python-networking-ovn 1.0.1.dev4.201610261100.xenial-0ubuntu1
all OpenStack virtual network service - OVN driver

On the compute node:

ii ovn-common 2.6.0-0ubuntu2~cloud0
amd64 OVN common components
ii ovn-host 2.6.0-0ubuntu2~cloud0
amd64 OVN host components

If I create a network in Openstack I can see it in the norhd.

ovn-nbctl show
switch 5cd02e8c-aa16-4246-932e-c1455958daa6
(neutron-83a25bd6-494b-4d9d-ba74-e824a8efb826)

And I can see my compute nodes

ovn-sbctl show
Chassis "4a191104-a3b6-4bde-82ee-1a09ea1b9f17"
hostname: "compute03"
Encap vxlan
ip: "172.16.44.130"
options: {csum="true"}
Encap geneve
ip: "172.16.44.130"
options: {csum="true"}
Chassis "b0623e67-a2cf-4802-9343-807383e3eb94"
hostname: "compute01"
Encap geneve
ip: "172.16.44.17"
options: {csum="true"}
Encap vxlan
ip: "172.16.44.17"
options: {csum="true“}

But if I try to start a VM I get an error in the neutron-server log, could
you please advise me
where my mistake is?

Best regards,
martin

log:

2017-01-21 15:33:42.239 10877 ERROR neutron.agent.ovsdb.implidl
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/neutron/agent/ovsdb/native/connection.py",
line 115, in run
txn.results.put(txn.do
commit())
File "/usr/lib/python2.7/dist-packages/neutron/agent/ovsdb/implidl.py",
line 105, in do
commit
ctx.reraise = False
File "/usr/lib/python2.7/dist-packages/osloutils/excutils.py", line
220, in exit
self.force
reraise()
File "/usr/lib/python2.7/dist-packages/osloutils/excutils.py", line
196, in force
reraise
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/dist-packages/neutron/agent/ovsdb/implidl.py",
line 100, in do
commit
command.runidl(txn)
File "/usr/lib/python2.7/dist-packages/networking
ovn/ovsdb/commands.py",
line 712, in runidl
raise RuntimeError(msg)
RuntimeError: Address set as
ip4c67f0b5bce6f4a82aa48_803f00b15300
does not exist. Can't update addresses

​Looks like the Northbound db is not in sync with neutron db.
Can you run the command "ovn-nbctl list Address_Set" and see if there is a
row for the each of the security groups ?

If you see the ovn northbound db is not in sync, you can sync it by either
running the neutron-ovn-db-sync util or by restarting the neutron-server
after setting ovn-sync-mode=repair in /etc/neutron/plugins/ml2/ml2_conf.ini

Do you see the same issue with devstack ?

Thanks
Numan

2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] Mechanism driver 'ovn' failed in
createportpostcommit
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers Traceback
(most recent call last):
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers File
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line
433, in callondrivers
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers
getattr(driver.obj, method
name)(context)
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers File
"/usr/lib/python2.7/dist-packages/networkingovn/ml2/mechdriver.py",
line 556, in createportpostcommit
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers
self.createportinovn(port, ovnportinfo)
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers File
"/usr/lib/python2.7/dist-packages/networking
ovn/ml2/mechdriver.py",
line 657, in create
portinovn
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers
ifexists=False))
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers File
"/usr/lib/python2.7/dist-packages/neutron/agent/ovsdb/api.py", line 76,
in exit
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers
self.result = self.commit()
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers File
"/usr/lib/python2.7/dist-packages/neutron/agent/ovsdb/impl
idl.py", line
77, in commit
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers raise
result.ex
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers
RuntimeError: Address set asip4c67f0b5bce6f4a82aa48803f00b15300
does not exist. Can't update addresses
2017-01-21 15:33:42.240 10877 ERROR neutron.plugins.ml2.managers
2017-01-21 15:33:42.241 10877 ERROR neutron.plugins.ml2.plugin
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] mechanismmanager.createportpostcommit
failed, deleting port 'e7bacb43-499b-431e-895f-2dadc9edc70b'
2017-01-21 15:33:42.241 10877 DEBUG neutron.plugins.ml2.plugin
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] Deleting port
e7bacb43-499b-431e-895f-2dadc9edc70b _pre
deleteport
/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py:1568
2017-01-21 15:33:42.241 10877 DEBUG neutron.callbacks.manager
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] Notify callbacks
[('neutron.db.l3
db.preventl3portdeletecallback--9223363294117760621',
)] for port,
before
delete notifyloop /usr/lib/python2.7/dist-packag
es/neutron/callbacks/manager.py:142
2017-01-21 15:33:42.307 10877 DEBUG neutron.plugins.ml2.plugin
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] Calling deleteport for
e7bacb43-499b-431e-895f-2dadc9edc70b owned by delete
port
/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py:1627
2017-01-21 15:33:42.312 10878 DEBUG neutron.wsgi [-] (10878) accepted
('192.168.101.14', 42334) server /usr/lib/python2.7/dist-packag
es/eventlet/wsgi.py:867
2017-01-21 15:33:42.334 10877 DEBUG neutron.ipam.driver
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] Loading ipam driver: internal
getinstance /usr/lib/python2.7/dist-packages/neutron/ipam/driver.py:51
2017-01-21 15:33:42.399 10877 DEBUG neutron.callbacks.manager
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] Notify callbacks
[('neutron.db.l3
dvrschedulerdb.notifyportdelete-8742736249213',
),
('neutron.db.l3db.notifyrouterscallback-8742737015195', ), ('neutron.api.rpc.agentnotifie
rs.dhcprpcagentapi.DhcpAgentNotifyAPI.nativeeventsend_
dhcpnotification--9223372036847063562', >)] for port, afterdelete notifyloop
/usr/lib/python2.7/dist-packages/neutron/callbacks/manager.py:142
2017-01-21 15:33:42.452 10877 DEBUG oslomessaging.drivers.amqpdriver
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] CAST uniqueid:
60977bc220f74563a7eaae71ccb73458 exchange 'neutron' topic 'dhcp
agent'
send /usr/lib/python2.7/dist-packages/oslomessaging/drivers/amq
pdriver.py:448
2017-01-21 15:33:42.454 10877 DEBUG neutron.agent.ovsdb.impl
idl [-]
Running txn command(idx=0): DelLSwitchPortCommand(lport=e7
bacb43-499b-431e-895f-2dadc9edc70b, ifexists=True,
lswitch=neutron-83a25bd6-494b-4d9d-ba74-e824a8efb826) do
commit
/usr/lib/python2.7/dist-packages/neutron/agent/ovsdb/implidl.py:98
2017-01-21 15:33:42.454 10877 DEBUG neutron.agent.ovsdb.impl
idl [-]
Running txn command(idx=1): DelACLCommand(lport=e7bacb43-499b-431e-895f-2dadc9edc70b,
ifexists=True, lswitch=neutron-83a25bd6-494b-4d9d-ba74-e824a8efb826)
do
commit /usr/lib/python2.7/dist-packages/neutron/agent/ovsdb/implid
l.py:98
2017-01-21 15:33:42.455 10877 DEBUG neutron.agent.ovsdb.impl
idl [-]
Running txn command(idx=2): UpdateAddrSetCommand(ifexists=True,
name=as
ip4c67f0b5bce6f4a82aa48803f00b15300,
addrs
remove=['10.1.0.10'], addrsadd=None) docommit
/usr/lib/python2.7/dist-packages/neutron/agent/ovsdb/implidl.py:98
2017-01-21 15:33:42.455 10877 DEBUG neutron.agent.ovsdb.impl
idl [-]
Transaction caused no change docommit /usr/lib/python2.7/dist-packag
es/neutron/agent/ovsdb/impl
idl.py:125
2017-01-21 15:33:42.456 10877 DEBUG oslomessaging.drivers.amqpdriver
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] CAST uniqueid:
dce8a7a52f124e67b6d560161fdadbc5 FANOUT topic
'q-agent-notifier-port-delete' _send /usr/lib/python2.7/dist-packag
es/oslo
messaging/drivers/amqpdriver.py:437
2017-01-21 15:33:42.457 10877 DEBUG oslo
messaging.drivers.amqpdriver
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] CAST unique
id:
c06beb82484349fcacbde728d78914ac FANOUT topic
'q-agent-notifier-securitygroup-update' _send
/usr/lib/python2.7/dist-packages/oslo
messaging/_drivers/amqpdriver.py:437
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
[req-fee0a2c8-b205-4e1e-8756-026880fe84cd 44ea98f941ce412d999b3c3dd7fe1dad
afc5c0f383314e74bdd6bf1e3afbf509 - - -] create failed: No details.
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource Traceback
(most recent call last):
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 79,
in resource
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource result =
method(request=request, **args)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 430, in
create
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
self._create(request, body, **kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 88, in wrapped
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource setattr(e,
'_RETRY_EXCEEDED', True)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in
__exit__
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.force_reraise()
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 84, in wrapped
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
f(*args, **kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 151, in wrapper
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
ectxt.value = e.inner_exc
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in
__exit__
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.force_reraise()
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 139, in wrapper
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
f(*args, **kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 124, in wrapped
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
traceback.format_exc())
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in
__exit__
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.force_reraise()
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 119, in wrapped
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
f(*dup_args, **dup_kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 543, in
_create
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource obj =
do_create(body)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 525, in
do_create
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
request.context, reservation.reservation_id)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in
__exit__
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.force_reraise()
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 518, in
do_create
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
obj_creator(request.context, **kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/common/utils.py", line 756, in
inner
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
f(self, context, *args, **kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 159, in wrapped
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
method(*args, **kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 88, in wrapped
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource setattr(e,
'_RETRY_EXCEEDED', True)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in
__exit__
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.force_reraise()
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 84, in wrapped
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
f(*args, **kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 151, in wrapper
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
ectxt.value = e.inner_exc
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in
__exit__
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.force_reraise()
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 139, in wrapper
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
f(*args, **kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 124, in wrapped
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
traceback.format_exc())
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in
__exit__
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.force_reraise()
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 119, in wrapped
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource return
f(*dup_args, **dup_kwargs)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line
1287, in create_port
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.delete_port(context, result['id'], l3_port_check=False)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in
__exit__
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.force_reraise()
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line
1282, in create_port
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self.mechanism_manager.create_port_postcommit(mech_context)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line
671, in create_port_postcommit
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
self._call_on_drivers("create_port_postcommit", context)
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line
451, in _call_on_drivers
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
errors=errors
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
MechanismDriverError
2017-01-21 15:33:42.468 10877 ERROR neutron.api.v2.resource
2017-01-21 15:33:42.471 10877 INFO neutron.wsgi
[req-fee0a2c8-b205-4e1e-8756-026880fe8
discuss mailing list
discuss@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
asked Jan 21, 2017 in openstack-dev by nusiddiq_at_redhat.c (820 points)   2

1 Response

0 votes

Hi Numan,

the security groups were the issue, I deleted them in Openstack, resynced and recreated them.

Thanks for your help.

best regards,
martin

Am 21.01.2017 um 18:17 schrieb Numan Siddique nusiddiq@redhat.com:

​Looks like the Northbound db is not in sync with neutron db.
Can you run the command "ovn-nbctl list Address_Set" and see if there is a row for the each of the security groups ?

If you see the ovn northbound db is not in sync, you can sync it by either running the neutron-ovn-db-sync util or by restarting the neutron-server after setting ovn-sync-mode=repair in /etc/neutron/plugins/ml2/ml2_conf.ini


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Jan 21, 2017 by Martin_Mailand (140 points)  
...