I suggest that you check the status of nova compute service openstack compute service list
If compute service is up and healthy, check the nova compute logs for any possible error there. sudo journalctl -u devstack@n-cpu BR Jaime. -----Original Message----- From: " PRAKASH, OM " <[email protected]> To: Sam Hague <[email protected]> Cc: ABHIJEET K SINGH <[email protected]>, BRIAN D FREEMAN <[email protected]> , om prakash <[email protected]>, [email protected] <n [email protected]>, [email protected] <sfc [email protected]>, [email protected] Subject: RE: [sfc-dev] Opendaylight support for networking-sfc Date: Wed, 30 May 2018 07:22:37 +0000 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]>; netvirt-dev@l ists.opendaylight.org; [email protected] Subject: Re: [sfc-dev] Opendaylight support for networking-sfc On Tue, May 29, 2018 at 3:31 PM, PRAKASH, OM <[email protected]> wrote: > Yes I pulled the devstack master from https://github.com/openstack-de > v/devstack 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 > > # 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>:8 > 181/index.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>:818 > 1/index.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_I > P>:8181/index.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
