[R2.20-Build 26]: interface attach to server not working for docker instances

Bug #1458553 reported by alok kumar
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Ignatious Johnson Christopher
Trunk
Fix Committed
High
Ignatious Johnson Christopher
nova-docker
Fix Committed
Undecided
Ignatious Johnson Christopher

Bug Description

interface attach to server(on docker host) doesn't work with error "ERROR: Network driver does not support this function. (HTTP 501) (Request-ID: req-75b03148-9d28-4d2f-b066-af3cfd027601)"

root@nodeg18:~# neutron port-list
+--------------------------------------+-------------------------------------------------------------------------------------------+-------------------+--------------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+-------------------------------------------------------------------------------------------+-------------------+--------------------------------------------------------------------------------------------+
| 06b8562b-300f-4a77-a45f-16ac4c0c2a51 | 06b8562b-300f-4a77-a45f-16ac4c0c2a51 | 02:06:b8:56:2b:30 | {"subnet_id": "2ac2a236-56ef-4b62-bbe4-01d721a9c7bc", "ip_address": "100.1.1.4"} |
| 3f6fb07a-af7a-4aff-aefa-e4b14bc2f12a | 3f6fb07a-af7a-4aff-aefa-e4b14bc2f12a | 02:3f:6f:b0:7a:af | {"subnet_id": "d3cd651c-ba72-4ed8-a434-e3a1f7da5d12", "ip_address": "200.1.1.4"} |
| 68c54169-f898-4d10-a9c3-2a35775d8ce2 | default-domain__TestMultiInlineSVC-81334029__multi_sc_in-net_1_si-24341738_1__1__left__1 | 02:68:c5:41:69:f8 | {"subnet_id": "002e0272-914e-41b1-a63f-4877e5a84af9", "ip_address": "8.228.2.3"} |
| 2219ecfa-4717-4992-979e-7aa03fa832af | default-domain__TestMultiInlineSVC-81334029__multi_sc_in-net_1_si-24341738_1__1__right__2 | 02:22:19:ec:fa:47 | {"subnet_id": "049c4ab8-d035-420f-b501-e7e9b7e38245", "ip_address": "89.42.66.3"} |
| ddc3eaa5-ca75-4663-9914-69439448d99d | default-domain__TestSvcRegr-72625902__bridge_si-28126843_1__1__left__2 | 02:dd:c3:ea:a5:ca | {"subnet_id": "0793e589-329a-4b32-9eed-5fc252888cf2", "ip_address": "10.250.2.252"} |
| cc1a7c28-ea99-4b4e-9b7c-736e4a0f5e79 | default-domain__TestSvcRegr-72625902__bridge_si-28126843_1__1__management__1 | 02:cc:1a:7c:28:ea | {"subnet_id": "aa0d1cc5-8074-44cd-bf60-49a3ffaf2f81", "ip_address": "10.250.1.252"} |
| 29ac0216-d9ce-4eae-906e-b7cf1870eeee | default-domain__TestSvcRegr-72625902__bridge_si-28126843_1__1__right__3 | 02:29:ac:02:16:d9 | {"subnet_id": "77a6dfeb-1ace-47cd-b6a2-29f92de32707", "ip_address": "10.250.3.252"} |
| ee415e0d-0a6b-43db-b517-4a6d44458272 | default-domain__TestSvcRegr-72625902__in_net_svc_instance-12968496_1__1__left__2 | 02:ee:41:5e:0d:0a | |
| 8e858785-7c63-4bdf-b53c-1add06143325 | default-domain__TestSvcRegr-72625902__in_net_svc_instance-12968496_1__1__management__1 | 02:8e:85:87:85:7c | |
| c6c22720-33d6-43fc-8df2-790a32cc6c2e | default-domain__TestSvcRegr-72625902__in_net_svc_instance-12968496_1__1__right__3 | 02:c6:c2:27:20:33 | |
| 0bfe7dc6-123c-44b6-9272-47ac331119c6 | 0bfe7dc6-123c-44b6-9272-47ac331119c6 | 02:0b:fe:7d:c6:12 | {"subnet_id": "6cf8552e-43c3-456b-9a26-da45d8929dec", "ip_address": "1.1.1.4"} |
| 5988e34f-3c82-4e7d-a39c-6bf5716c0d59 | 5988e34f-3c82-4e7d-a39c-6bf5716c0d59 | 02:59:88:e3:4f:3c | {"subnet_id": "97045552-6422-43a8-be85-bcbbc790c18a", "ip_address": "2.2.2.4"} |
| 6892b5c0-69c0-4f6f-9fd2-e3334fa4cf46 | 6892b5c0-69c0-4f6f-9fd2-e3334fa4cf46 | 02:68:92:b5:c0:69 | {"subnet_id": "28388a59-49c4-4cd4-95f2-1d6734d508ff", "ip_address": "2002:8192:5666:1::3"} |
| aa7c0362-4fcf-4a14-8062-072f90123f41 | aa7c0362-4fcf-4a14-8062-072f90123f41 | 02:aa:7c:03:62:4f | {"subnet_id": "6cf8552e-43c3-456b-9a26-da45d8929dec", "ip_address": "1.1.1.3"} |
| afe54daa-35ed-42f5-915e-a0f9076636de | afe54daa-35ed-42f5-915e-a0f9076636de | 02:af:e5:4d:aa:35 | {"subnet_id": "97045552-6422-43a8-be85-bcbbc790c18a", "ip_address": "2.2.2.3"} |
+--------------------------------------+---------------------------------------------

root@nodeg18:~# nova interface-detach 6bbce699-80d3-475f-9406-171d1c118358 afe54daa-35ed-42f5-915e-a0f9076636de
root@nodeg18:~# nova afe54daa-35ed-42f5-915e-a0f9076636de^C
root@nodeg18:~# nova interface-attach --port-id 5988e34f-3c82-4e7d-a39c-6bf5716c0d59 6bbce699-80d3-475f-9406-171d1c118358
ERROR: Network driver does not support this function. (HTTP 501) (Request-ID: req-75b03148-9d28-4d2f-b066-af3cfd027601)

Tags: docker nova
information type: Proprietary → Public
Changed in nova-docker:
assignee: nobody → Ignatious Johnson Christopher (ijohnson-x)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-docker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/187097

Changed in nova-docker:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova-docker (master)

Reviewed: https://review.openstack.org/187097
Committed: https://git.openstack.org/cgit/stackforge/nova-docker/commit/?id=0c9a794437d3c5e790e4cc1356ba1bf4ba52aa2b
Submitter: Jenkins
Branch: master

commit 0c9a794437d3c5e790e4cc1356ba1bf4ba52aa2b
Author: Ignatious Johnson Christopher <email address hidden>
Date: Sun May 31 21:06:53 2015 -0700

    Handling attaching of multiple vifs.
    Closes-Bug: #1458655

    Adding attach_interface and detach_interface methods in
    driver to handle 'nova interface-attach' and 'nova interface-detach'
    commands.
    Closes-Bug: #1458553

    Change-Id: Icec276cd32e7c961e0f1d8d1cba44a3c982fd8a5

Changed in nova-docker:
status: In Progress → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/11202
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/11203
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/11202
Committed: http://github.org/Juniper/contrail-packaging/commit/ce264dff59319729d0df310e605790c7617feb83
Submitter: Zuul
Branch: R2.20

commit ce264dff59319729d0df310e605790c7617feb83
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Jun 2 14:07:50 2015 -0700

Packaging new nova docker PPA with the following fixes,
Handling attaching of multiple vifs.
Closes-Bug: 1458655

Adding attach_interface and detach_interface methods in
driver to handle 'nova interface-attach' and 'nova interface-detach'
commands.
Closes-Bug: 1458553

Change-Id: Iada34e7be3ad2b6a51235a66b657691dae826fbd

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/11203
Committed: http://github.org/Juniper/contrail-packaging/commit/f44ad674ef808ee1792b27c1ff7762a2bd345a6e
Submitter: Zuul
Branch: master

commit f44ad674ef808ee1792b27c1ff7762a2bd345a6e
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Jun 2 14:04:24 2015 -0700

Packaging new nova docker PPA with the following fixes.
Handling attaching of multiple vifs.
Closes-Bug: 1458655

Adding attach_interface and detach_interface methods in
driver to handle 'nova interface-attach' and 'nova interface-detach'
commands.
Closes-Bug: 1458553

Change-Id: Id18481f675ed85ca2b2d64ac8b4d0e8a2f9a053d

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.