Dragonflow already up-to-date,and deploy DF successful.
but <email address hidden> start failed.
service logs:
ERROR ovsdbapp.backend.ovs_idl [-] OVS database connection to Open_vSwitch failed with error: ''peer_bridge''. Verify that the OVS and OVN services are available and that the 'ovn_nb_connection' and 'ovn_sb_connection' configuration options are correct.: KeyError: 'peer_bridge'
ERROR ovsdbapp.backend.ovs_idl Traceback (most recent call last):
ERROR ovsdbapp.backend.ovs_idl File "/usr/local/lib/python2.7/dist-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 38, in start_connection
ERROR ovsdbapp.backend.ovs_idl cls.ovsdb_connection.start()
ERROR ovsdbapp.backend.ovs_idl File "/usr/local/lib/python2.7/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 76, in start
ERROR ovsdbapp.backend.ovs_idl idlutils.wait_for_change(self.idl, self.timeout)
ERROR ovsdbapp.backend.ovs_idl File "/usr/local/lib/python2.7/dist-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 138, in wait_for_change
ERROR ovsdbapp.backend.ovs_idl while _idl.change_seqno == seqno and not _idl.run():
ERROR ovsdbapp.backend.ovs_idl File "/usr/local/lib/python2.7/dist-packages/ovs/db/idl.py", line 215, in run
ERROR ovsdbapp.backend.ovs_idl self.__parse_update(msg.result, OVSDB_UPDATE2)
ERROR ovsdbapp.backend.ovs_idl File "/usr/local/lib/python2.7/dist-packages/ovs/db/idl.py", line 434, in __parse_update
ERROR ovsdbapp.backend.ovs_idl self.__do_parse_update(update, version)
ERROR ovsdbapp.backend.ovs_idl File "/usr/local/lib/python2.7/dist-packages/ovs/db/idl.py", line 469, in __do_parse_update
ERROR ovsdbapp.backend.ovs_idl if self.__process_update2(table, uuid, row_update):
ERROR ovsdbapp.backend.ovs_idl File "/usr/local/lib/python2.7/dist-packages/ovs/db/idl.py", line 510, in __process_update2
ERROR ovsdbapp.backend.ovs_idl self.notify(ROW_CREATE, row)
ERROR ovsdbapp.backend.ovs_idl File "/opt/stack/dragonflow/dragonflow/ovsdb/impl_idl.py", line 94, in notify
ERROR ovsdbapp.backend.ovs_idl local_interface = ovs.OvsPort.from_idl_row(row)
ERROR ovsdbapp.backend.ovs_idl File "/opt/stack/dragonflow/dragonflow/db/models/ovs.py", line 82, in from_idl_row
ERROR ovsdbapp.backend.ovs_idl res.peer_bridge = row.external_ids['peer_bridge']
ERROR ovsdbapp.backend.ovs_idl KeyError: 'peer_bridge'
ERROR ovsdbapp.backend.ovs_idl
CRITICAL neutron [-] Unhandled error: OvsdbConnectionUnavailable: OVS database connection to Open_vSwitch failed with error: ''peer_bridge''. Verify that the OVS and OVN services are available and that the 'ovn_nb_connection' and 'ovn_sb_connection' configuration options are correct.
ERROR neutron Traceback (most recent call last):
ERROR neutron File "/usr/local/bin/df-local-controller", line 10, in <module>
ERROR neutron sys.exit(main())
ERROR neutron File "/opt/stack/dragonflow/dragonflow/cmd/eventlet/df_local_controller.py", line 17, in main
ERROR neutron df_local_controller.main()
ERROR neutron File "/opt/stack/dragonflow/dragonflow/controller/df_local_controller.py", line 352, in main
ERROR neutron controller.run()
ERROR neutron File "/opt/stack/dragonflow/dragonflow/controller/df_local_controller.py", line 89, in run
ERROR neutron self.vswitch_api.initialize(self.nb_api)
ERROR neutron File "/opt/stack/dragonflow/dragonflow/ovsdb/vswitch_impl.py", line 64, in initialize
ERROR neutron nb_api, db_connection, self.vsctl_timeout)
ERROR neutron File "/opt/stack/dragonflow/dragonflow/ovsdb/impl_idl.py", line 128, in __init__
ERROR neutron super(DFOvsdbApi, self).__init__(ovsdb_connection)
ERROR neutron File "/usr/local/lib/python2.7/dist-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 31, in __init__
ERROR neutron self.start_connection(connection)
ERROR neutron File "/usr/local/lib/python2.7/dist-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 43, in start_connection
ERROR neutron raise connection_exception
ERROR neutron OvsdbConnectionUnavailable: OVS database connection to Open_vSwitch failed with error: ''peer_bridge''. Verify that the OVS and OVN services are available and that the 'ovn_nb_connection' and 'ovn_sb_connection' configuration options are correct.
ERROR neutron
Hi,
This is indeed a bug, and the information above should be enough for a fix.
Do you have more information? How did you reproduce? What local.conf file did you use?
Is it possible you had an additional patch port in the OVS bridges?
Thanks,
Omer.