Hi Jaime,


I forgot to enable n-cpu. After enable n-cpu service , I am able to create VM. 
Later on I ended up to same issue what I faced to previous one. I see ports are 
created but port-pair is empty in ODL



In neutron side , it says everything is successful about port-pair-group , 
flow-classifier-create and port-chain-create  but in ODL side nothing is pushed 
.  In previous release , I used to see exact neutron log what is happening .It 
was inside /opt/stack/log.  In queens I am not able to see where is neutron log.



Log of Neutron command output  :- http://paste.openstack.org/show/722346/



ODL output of Get operation of 
http://10.11.90.43:8087/controller/nb/v2/neutron/ports :- 
http://paste.openstack.org/show/722347/



ODL output of Get Operation of 
http://10.11.90.43:8087/controller/nb/v2/neutron/sfc/portpairs :-



{

   "portpairs" : [ ]

}





Some logs from /var/log/syslog.



May 30 09:44:04 localhost neutron-server[14550]: #033[00;32mDEBUG 
neutron.api.v2.base [#033[01;36mNone req-c5a597cc-43ab-4bc4-9fc1-97731a018f0a 
#033[00;36madmin admin#033[00;32m] #033[01;35m#033[00;32mReq

uest body: {u'port_pair': {u'ingress': u'3c2ef696-1079-474a-be63-0d2f0633ab2e', 
u'egress': u'91d7f3d6-6f02-4f15-89f4-efa367314b5e', u'name': u'PP1'}}#033[00m 
#033[00;33m{{(pid=14694) prepare_request_body 
/opt/stack/neutron/neutron/api/v2/base.py:690}}#033[00m

May 30 09:44:04 localhost neutron-server[14550]: #033[00;32mDEBUG 
neutron.db.quota.driver [#033[01;36mNone 
req-c5a597cc-43ab-4bc4-9fc1-97731a018f0a #033[00;36madmin admin#033[00;32m] 
#033[01;35m#033[00;32mResources subnetpool,service_graph have unlimited quota 
limit. It is not required to calculate headroom #033[00m 
#033[00;33m{{(pid=14694) make_reservation 
/opt/stack/neutron/neutron/db/quota/driver.py:223}}#033[00m

May 30 09:44:04 localhost neutron-server[14550]: #033[00;32mDEBUG 
neutron.db.quota.driver [#033[01;36mNone 
req-c5a597cc-43ab-4bc4-9fc1-97731a018f0a #033[00;36madmin admin#033[00;32m] 
#033[01;35m#033[00;32mAttempting to reserve 1 items for resource port_pair. 
Total usage: 0; quota limit: 100; headroom:100#033[00m #033[00;33m{{(pid=14694) 
make_reservation /opt/stack/neutron/neutron/db/quota/driver.py:255}}#033[00m

May 30 09:44:04 localhost neutron-server[14550]: #033[00;32mDEBUG 
networking_sfc.services.sfc.plugin [#033[01;36mNone 
req-c5a597cc-43ab-4bc4-9fc1-97731a018f0a #033[00;36madmin admin#033[00;32m] 
#033[01;35m#033[00;32mnetworking_sfc.services.sfc.plugin.SfcPlugin method 
create_port_pair called with arguments (<neutron_lib.context.Context object at 
0x7fa99c442190>,) {'port_pair': {u'port_pair': {u'ingress': 
u'3c2ef696-1079-474a-be63-0d2f0633ab2e', 'description': '', 'tenant_id': 
u'96fdf912e13b4664a93b48be6edd6c8c', u'egress': 
u'91d7f3d6-6f02-4f15-89f4-efa367314b5e', 'service_function_parameters': 
{'weight': 1, 'correlation': None}, 'project_id': 
u'96fdf912e13b4664a93b48be6edd6c8c', u'name': u'PP1'}}}#033[00m 
#033[00;33m{{(pid=14694) wrapper 
/usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py:66}}#033[00m

May 30 09:44:04 localhost neutron-server[14550]: #033[00;32mDEBUG 
networking_sfc.db.sfc_db [#033[01;36mNone 
req-c5a597cc-43ab-4bc4-9fc1-97731a018f0a #033[00;36madmin admin#033[00;32m] 
#033[01;35m#033[00;32mnetworking_sfc.services.sfc.plugin.SfcPlugin method 
create_port_pair called with arguments (<neutron_lib.context.Context object at 
0x7fa99c442190>, {u'port_pair': {u'ingress': 
u'3c2ef696-1079-474a-be63-0d2f0633ab2e', 'description': '', 'tenant_id': 
u'96fdf912e13b4664a93b48be6edd6c8c', u'egress': 
u'91d7f3d6-6f02-4f15-89f4-efa367314b5e', 'service_function_parameters': 
{'weight': 1, 'correlation': None}, 'project_id': 
u'96fdf912e13b4664a93b48be6edd6c8c', u'name': u'PP1'}}) {}#033[00m 
#033[00;33m{{(pid=14694) wrapper 
/usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py:66}}#033[00m

May 30 09:44:04 localhost nova-compute[19701]: #033[00;32mDEBUG 
oslo_concurrency.processutils [#033[01;36mNone 
req-22f85d8e-1837-4ba5-b133-7080e5e181f1 #033[00;36madmin admin#033[00;32m] 
#033[01;35m#033[00;32mCMD "/usr/bin/python -m oslo_concurrency.prlimit 
--as=1073741824 --cpu=30 -- env LC_ALL=C LANG=C qemu-img info 
/opt/stack/data/nova/instances/b142c816-041c-4a76-84b4-8cbf448ee449/disk 
--force-share" returned: 0 in 0.111s#033[00m #033[00;33m{{(pid=19701) execute 
/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:409}}#033[00m



Thanks

Om Prakash





-----Original Message-----
From: Jaime Caamaño Ruiz [mailto:jcaam...@suse.de]
Sent: Wednesday, May 30, 2018 7:15 AM
To: PRAKASH, OM <op3...@att.com>; Sam Hague <sha...@redhat.com>
Cc: SINGH, ABHIJEET K <as7...@att.com>; FREEMAN, BRIAN D <bf1...@att.com>; om 
prakash <dude...@gmail.com>; netvirt-...@lists.opendaylight.org; 
sfc-dev@lists.opendaylight.org
Subject: Re: [sfc-dev] Opendaylight support for networking-sfc



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.




_______________________________________________
sfc-dev mailing list
sfc-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/sfc-dev

Reply via email to