Hi Sam, I tried all the option of the config ( ODL oxygen and Devstack Queens ) and now build is successful. But when I create VM , it gives error “Message No valid host was found”.
http://paste.openstack.org/show/722324/ I run the below command and error came from the last command. nova keypair-add --pub-key ~/.ssh/id_rsa.pub admin_key nova keypair-list neutron net-create vx-net0 --provider:network_type vxlan --provider:segmentation_id 1500 neutron subnet-create vx-net0 20.0.0.0/24 --name vx-subnet0 --dns-nameserver 8.8.8.8 neutron port-create vx-net0 --fixed-ip subnet_id=$(neutron subnet-list | grep -w vx-subnet0 | awk '{print $2}'),ip_address=20.0.0.3 --name P1 openstack server create --flavor m1.nano --image cirros-0.3.5-x86_64-disk --nic port-id=$(neutron port-list | grep -w P1 | awk '{print $2}') --security-group default --key-name admin_key Source Message No valid host was found. Code 500 Details File "/opt/stack/nova/nova/conductor/manager.py", line 1116, in schedule_and_build_instances instance_uuids, return_alternates=True) File "/opt/stack/nova/nova/conductor/manager.py", line 716, in _schedule_instances return_alternates=return_alternates) File "/opt/stack/nova/nova/scheduler/utils.py", line 726, in wrapped return func(*args, **kwargs) File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates) File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/opt/stack/nova/nova/scheduler/client/query.py", line 42, in select_destinations instance_uuids, return_objects, return_alternates) File "/opt/stack/nova/nova/scheduler/rpcapi.py", line 158, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 174, in call retry=self.retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 131, in _send timeout=timeout, retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send raise result Created May 30, 2018, 7:12 a.m. Thanks Om Prakash From: Sam Hague [mailto:[email protected]] Sent: Tuesday, May 29, 2018 5:05 PM To: PRAKASH, OM <[email protected]> Cc: [email protected]; SINGH, ABHIJEET K <[email protected]>; FREEMAN, BRIAN D <[email protected]>; om prakash <[email protected]>; [email protected]; [email protected] Subject: Re: [sfc-dev] Opendaylight support for networking-sfc On Tue, May 29, 2018 at 3:31 PM, PRAKASH, OM <[email protected]<mailto:[email protected]>> wrote: Yes I pulled the devstack master from https://github.com/openstack-dev/devstack<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack-2Ddev_devstack&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=-8bgT_y4IAWZAFCkw3YC75og2zmaqEtceWHCZQ5bFo0&s=9CuFQm8df9pfG9l_qct6Sfu42GTHNlh27_T4NLCQY4M&e=> and then did git checkout stable/queens 2nd thing is that I used the new neutron services , but it did not enable the neutron networking . I tried to create port , but it did not create. What are the feature we need to install here for ODL nitrogen ? I used to install below feature for carbon carbon is old as is nitrogen, so I would go with oxygen. You only need a couple features: odl-infrautils-ready and odl-netvirt-sfc. You can see the features used in the karaf log for the job: https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-queens-sfc-oxygen/12/odl_1/odl1_karaf.log.gz<https://urldefense.proofpoint.com/v2/url?u=https-3A__logs.opendaylight.org_releng_vex-2Dyul-2Dodl-2Djenkins-2D1_netvirt-2Dcsit-2D1node-2Dopenstack-2Dqueens-2Dsfc-2Doxygen_12_odl-5F1_odl1-5Fkaraf.log.gz&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=-8bgT_y4IAWZAFCkw3YC75og2zmaqEtceWHCZQ5bFo0&s=bycvjRaX4cjuqFNW89Q-XVb8LETHHf575-0qGG9_OLM&e=> # These are core ODL features ODL_NETVIRT_KARAF_FEATURE=odl-neutron-service,odl-restconf-all,odl-aaa-authn,odl-dlux-core,odl-mdsal-apidocs This is all old stuff. EVerything needed is now in the odl-netvirt-sfc feature. # Set DLUX Karaf features needed for the ODL GUI at http://<ODL_IP>:8181/index<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253CODL-5FIP-253E-3A8181_index&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=-8bgT_y4IAWZAFCkw3YC75og2zmaqEtceWHCZQ5bFo0&s=ZrHbPx7FHfJBagTZhmmS3K9IEyMQDZCoNcbn2sc7Dgw&e=>.html ODL_NETVIRT_KARAF_FEATURE+=,odl-dluxapps-nodes,odl-dluxapps-topology,odl-dluxapps-yangui,odl-dluxapps-yangvisualizer dlux is flaky. deprecated in fluorine. # Set L2 Karaf features needed for the ODL GUI at http://<ODL_IP>:8181/index<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253CODL-5FIP-253E-3A8181_index&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=-8bgT_y4IAWZAFCkw3YC75og2zmaqEtceWHCZQ5bFo0&s=ZrHbPx7FHfJBagTZhmmS3K9IEyMQDZCoNcbn2sc7Dgw&e=>.html ODL_NETVIRT_KARAF_FEATURE+=,odl-l2switch-switch,odl-l2switch-switch-ui,odl-ovsdb-hwvtepsouthbound-ui,odl-ovsdb-southbound-impl-ui,odl-netvirt-ui l2switch should not be loaded with odl-netvirt-sfc - it will cause problems. You don't need any of this stuff for sfc. # Set OpenFlow Karaf features needed for the ODL GUI at http://<ODL_IP>:8181/index<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253CODL-5FIP-253E-3A8181_index&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=-8bgT_y4IAWZAFCkw3YC75og2zmaqEtceWHCZQ5bFo0&s=ZrHbPx7FHfJBagTZhmmS3K9IEyMQDZCoNcbn2sc7Dgw&e=>.html ODL_NETVIRT_KARAF_FEATURE+=,odl-openflowplugin-flow-services-ui # odl-netvirt-openstack is used for new netvirt ODL_NETVIRT_KARAF_FEATURE+=,odl-netvirt-openstack # optional feature neutron-logger to log changes of neutron yang models ODL_NETVIRT_KARAF_FEATURE+=,odl-neutron-logger no idea what this is, we never use it # enable the odl-netvirt-sfc Karaf feature in OpenDaylight ODL_NETVIRT_KARAF_FEATURE+=,odl-netvirt-sfc This is the only feature you really need . This feature will pull in all the netvirt, openflowplugin, genius, neutron, etc features that are required. It will not pull in any dlux. Thanks Om Prakash
_______________________________________________ sfc-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/sfc-dev
