[APIC-mapping] Getting VM metadata fails with VLAN network

Bug #1627915 reported by Amit Bose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy
Fix Released
High
Amit Bose

Bug Description

With the APIC-mapping driver, when VLAN type networks are used, VMs fail to get information from Metadata service. Fetching metadata return '404 Not Found'.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (master)

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

Changed in group-based-policy:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/377206

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/377207

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/377209

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (master)

Reviewed: https://review.openstack.org/377188
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=843566f9e7dbc7aa6764f58829acfaba90b59c08
Submitter: Jenkins
Branch: master

commit 843566f9e7dbc7aa6764f58829acfaba90b59c08
Author: Amit Bose <email address hidden>
Date: Mon Sep 26 18:32:34 2016 -0700

    [APIC-mapping] Fix device_id of port when using VLAN network

    When VLAN networks are used instead of OpFlex,
    additional networks and ports are created that mirror
    the usual networks and ports. The device_id of the
    VM's port is set to VM's UUID whereas the port that
    mirrors had its device_id set to the PT UUID. This
    latter value resulted in failure to lookup metadata
    information for the VM.

    This change ensures that the device_id for both the
    VM port and its mirror stay in sync.

    Closes-Bug: 1627915

    Change-Id: Ibea325fbfa344acd9626d5e651297dd5e24297b6
    Signed-off-by: Amit Bose <email address hidden>

Changed in group-based-policy:
status: In Progress → Fix Released
tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/liberty)

Reviewed: https://review.openstack.org/377207
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=97afb817c65aff43f1650c075b3d9ea8270526bd
Submitter: Jenkins
Branch: stable/liberty

commit 97afb817c65aff43f1650c075b3d9ea8270526bd
Author: Amit Bose <email address hidden>
Date: Mon Sep 26 18:32:34 2016 -0700

    [APIC-mapping] Fix device_id of port when using VLAN network

    When VLAN networks are used instead of OpFlex,
    additional networks and ports are created that mirror
    the usual networks and ports. The device_id of the
    VM's port is set to VM's UUID whereas the port that
    mirrors had its device_id set to the PT UUID. This
    latter value resulted in failure to lookup metadata
    information for the VM.

    This change ensures that the device_id for both the
    VM port and its mirror stay in sync.

    Closes-Bug: 1627915

    Change-Id: Ibea325fbfa344acd9626d5e651297dd5e24297b6
    Signed-off-by: Amit Bose <email address hidden>
    (cherry picked from commit 843566f9e7dbc7aa6764f58829acfaba90b59c08)
    (cherry picked from commit 5081a9cb238111d354d319a71d4462fc674cbbc7)

tags: added: in-stable-kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/kilo)

Reviewed: https://review.openstack.org/377209
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=87ac5098692be71bc97258db718128530b2e97dd
Submitter: Jenkins
Branch: stable/kilo

commit 87ac5098692be71bc97258db718128530b2e97dd
Author: Amit Bose <email address hidden>
Date: Mon Sep 26 18:32:34 2016 -0700

    [APIC-mapping] Fix device_id of port when using VLAN network

    When VLAN networks are used instead of OpFlex,
    additional networks and ports are created that mirror
    the usual networks and ports. The device_id of the
    VM's port is set to VM's UUID whereas the port that
    mirrors had its device_id set to the PT UUID. This
    latter value resulted in failure to lookup metadata
    information for the VM.

    This change ensures that the device_id for both the
    VM port and its mirror stay in sync.

    Closes-Bug: 1627915

    Change-Id: Ibea325fbfa344acd9626d5e651297dd5e24297b6
    Signed-off-by: Amit Bose <email address hidden>
    (cherry picked from commit 843566f9e7dbc7aa6764f58829acfaba90b59c08)
    (cherry picked from commit 5081a9cb238111d354d319a71d4462fc674cbbc7)
    (cherry picked from commit 97afb817c65aff43f1650c075b3d9ea8270526bd)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/mitaka)

Reviewed: https://review.openstack.org/377206
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=5081a9cb238111d354d319a71d4462fc674cbbc7
Submitter: Jenkins
Branch: stable/mitaka

commit 5081a9cb238111d354d319a71d4462fc674cbbc7
Author: Amit Bose <email address hidden>
Date: Mon Sep 26 18:32:34 2016 -0700

    [APIC-mapping] Fix device_id of port when using VLAN network

    When VLAN networks are used instead of OpFlex,
    additional networks and ports are created that mirror
    the usual networks and ports. The device_id of the
    VM's port is set to VM's UUID whereas the port that
    mirrors had its device_id set to the PT UUID. This
    latter value resulted in failure to lookup metadata
    information for the VM.

    This change ensures that the device_id for both the
    VM port and its mirror stay in sync.

    Closes-Bug: 1627915

    Change-Id: Ibea325fbfa344acd9626d5e651297dd5e24297b6
    Signed-off-by: Amit Bose <email address hidden>
    (cherry picked from commit 843566f9e7dbc7aa6764f58829acfaba90b59c08)

tags: added: in-stable-mitaka
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.