neutron-debug probe-create is failing

Bug #1311602 reported by Numan Siddique
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
Fix Committed
Undecided
Numan Siddique

Bug Description

"neutron-debug probe-create <NET_ID> is failing while creating a port.

neutron-debug probe-create internally creates a port by calling plugin.port_create

There are two reasons for the failure
1. http://paste.openstack.org/show/76759/

the first problem is because, opencontrail neutron plugin is expecting the value of the "device_id" to be a uuid value, where as "neutron-debug probe-create" is setting the device_id to the host name of the machine.

Once I fixed the first problem, I see the below error
2. http://paste.openstack.org/show/76760/

The second problem can also be reproduced by running
$neutron port-create --fixed-ip subnet_id=e40bdda9-4ad9-428f-badd-d60ebf43380d private

Tags: neutronapi
Revision history for this message
Numan Siddique (numansiddique) wrote :

I have fixed these issues here https://github.com/enovance/neutron/tree/contrail/havana_probe_create_issue/neutron/plugins/juniper/contrail/ctdb

If it is ok, I will send a pull request

Thanks
Numan

Changed in opencontrail:
assignee: nobody → Numan Siddique (numansiddique)
Revision history for this message
Numan Siddique (numansiddique) wrote :
Revision history for this message
Numan Siddique (numansiddique) wrote :

The pull request is accepted

https://github.com/Juniper/neutron/pull/53

Changed in opencontrail:
status: New → Fix Released
Changed in opencontrail:
status: Fix Released → New
status: New → Fix Committed
tags: added: neutronapi
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.