Hello
I don't know if thats a definitive error or a temporary one that was
succesful after retry.
I usually use
neutron-odl-ovs-hostconfig --datapath_type=system --bridge_mappings={{
mappings }}
Have you also in the process, while neutron is stopped, reset ODL &
OVS?
<odl>/bin/stop
bin/stop
systemctl stop openvswitch
rm -rf /var/log/openvswitch/*; rm -rf /etc/openvswitch/conf.db
systemctl start openvswitch
sudo ovs-vsctl set Open_vSwitch . other_config:local_ip={{ IP }}
sudo ovs-vsctl set Open_vSwitch . other_config:provider_mappings={{ mappings }}
sudo ovs-vsctl set Open_vSwitch . external_ids:of-tunnel=true
<odl>/bin/start clean
Otherwise, everything seems ok and I cannot help you much more until I
go through the whole process myself. Which I will eventually.
In the meantime I would suggest you to try OPNFV deployment:
https://wiki.opnfv.org/display/sfc/Deploy+OPNFV+SFC+scenarios
BR
Jaime.
-----Original Message-----
From: " PRAKASH, OM " <[email protected]>
To: om prakash <[email protected]>, [email protected]
Cc: ABHIJEET K SINGH <[email protected]>, BRIAN D FREEMAN <[email protected]>
, [email protected] <[email protected]
g>, [email protected] <[email protected]>
Subject: RE: [sfc-dev] Opendaylight support for networking-sfc
Date: Sat, 9 Jun 2018 13:43:00 +0000
Thanks Jaime,
I uninstalled flake and then retry installing ovs , then OVS
installation worked. After restart everything ( ODL/OVS/Neutron) . I
created compute instance . I did not see ip address assigned to it and
I see that the hostname is cirros.
When I further check the neutron api log . I see below error :-
Jun 09 09:11:13 master neutron-server[24431]: DEBUG
networking_odl.ml2.mech_driver_v2 [None req-374fb421-22eb-47d8-84a8-
35f230350517 service neutron]
networking_odl.ml2.mech_driver_v2.OpenDaylightMechanis in
update_port_precommit {{(pid=24457) _call_on_drivers
/opt/stack/neutron/neutron/plugins/ml2/managers.py:434}}
DEBUG neutron.plugins.ml2.managers [None req-374fb421-22eb-47d8-84a8-
35f230350517 service neutron] DB exception raised by Mechanism driver
'opendaylight_v2' it call last):
ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
ERROR neutron.plugins.ml2.managers File
"/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 427, in
_call_on_drivers
ERROR neutron.plugins.ml2.managers getattr(driver.obj,
method_name)(context)
ERROR neutron.plugins.ml2.managers File
"/usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py", line 67,
in wrapper
ERROR neutron.plugins.ml2.managers return method(*args, **kwargs)
ERROR neutron.plugins.ml2.managers File "/opt/stack/networking-
odl/networking_odl/ml2/mech_driver_v2.py", line 117, in
update_port_precommit
ERROR neutron.plugins.ml2.managers context, odl_const.ODL_PORT,
odl_const.ODL_UPDATE)
ERROR neutron.plugins.ml2.managers File "/opt/stack/networking-
odl/networking_odl/ml2/mech_driver_v2.py", line 87, in
_record_in_journal
ERROR neutron.plugins.ml2.managers ml2_context=context)
ERROR neutron.plugins.ml2.managers File "/opt/stack/networking-
odl/networking_odl/journal/journal.py", line 123, in record
ERROR neutron.plugins.ml2.managers raise exception.RetryRequest(e)
ERROR neutron.plugins.ml2.managers RetryRequest
ERROR neutron.plugins.ml2.managers
DEBUG neutron.db.api [None req-374fb421-22eb-47d8-84a8-35f230350517
service neutron] Retry wrapper got retriable exception: {{(pid=24457)
wrapped /opt/stack/
DEBUG oslo_db.api [None req-374fb421-22eb-47d8-84a8-35f230350517
service neutron] Performing DB retry for function
neutron.plugins.ml2.plugin._bind_port_if_ne
DEBUG
Used below command to start Neutron :-
mysql -e "DROP DATABASE IF EXISTS neutron;"
mysql -e "CREATE DATABASE neutron CHARACTER SET utf8;"
/usr/local/bin/neutron-db-manage --config-file
/etc/neutron/neutron.conf --config-file
/etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
sudo neutron-odl-ovs-hostconfig --config-file=/etc/neutron/neutron.conf
--debug --noovs_dpdk --bridge_mappings=public:enp0s9
sudo systemctl start [email protected]
sudo systemctl start [email protected]
sudo systemctl start [email protected]
Thanks
Om Prakash
_______________________________________________
sfc-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/sfc-dev