2017-10-15 11:38:15 |
guanwenxue |
description |
Dragonflow already up-to-date,and deploy DF successful.
but devstack@df-controller.service start failed.
service status:
● devstack@df-controller.service - Devstack devstack@df-controller.service
Loaded: loaded (/etc/systemd/system/devstack@df-controller.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2017-10-11 22:48:08 HKT; 56s ago
Process: 5517 ExecStart=/usr/local/bin/df-local-controller --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dragonflow.i
Main PID: 5517 (code=exited, status=1/FAILURE)
Oct 11 22:48:08 Dragonflow df-local-controller[5517]: ERROR neutron super(DFOvsdbApi, self).__init__(ovsdb_connection)
Oct 11 22:48:08 Dragonflow df-local-controller[5517]: ERROR neutron File "/usr/local/lib/python2.7/dist-packages/ovsdbapp/backend/ovs_idl/
Oct 11 22:48:08 Dragonflow df-local-controller[5517]: ERROR neutron self.start_connection(connection)
Oct 11 22:48:08 Dragonflow df-local-controller[5517]: ERROR neutron File "/usr/local/lib/python2.7/dist-packages/ovsdbapp/backend/ovs_idl/
Oct 11 22:48:08 Dragonflow df-local-controller[5517]: ERROR neutron raise connection_exception
Oct 11 22:48:08 Dragonflow df-local-controller[5517]: ERROR neutron OvsdbConnectionUnavailable: OVS database connection to Open_vSwitch fail
Oct 11 22:48:08 Dragonflow df-local-controller[5517]: ERROR neutron
Oct 11 22:48:08 Dragonflow systemd[1]: devstack@df-controller.service: Main process exited, code=exited, status=1/FAILURE
Oct 11 22:48:08 Dragonflow systemd[1]: devstack@df-controller.service: Unit entered failed state.
Oct 11 22:48:08 Dragonflow systemd[1]: devstack@df-controller.service: Failed with result 'exit-code'. |
Dragonflow already up-to-date,and deploy DF successful.
but devstack@df-controller.service 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 |
|