[GCE] Use instance name instead of id for instance mapping

Bug #1717889 reported by Sanket Sudake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openstack Omni
Fix Released
Medium
Sanket Sudake

Bug Description

Currently we used GCE id for instance mapping from GCE to Openstack. Since we use GCE instance name in all operations, we should GCE name.

Changed in omni:
assignee: nobody → Sanket Sudake (ssudake21)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to omni (master)

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

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

Reviewed: https://review.openstack.org/504900
Committed: https://git.openstack.org/cgit/openstack/omni/commit/?id=c547b5523a579682687b52d7e5a7dc07f658b7f3
Submitter: Jenkins
Branch: master

commit c547b5523a579682687b52d7e5a7dc07f658b7f3
Author: Sanket <email address hidden>
Date: Mon Sep 18 15:18:31 2017 +0530

    [GCE] Use instance name instead of instance id for instance mapping

    1. Currently we use GCE id for instance mapping from GCE to Openstack.
    Since we use GCE name as primary identifier in all GCE operations,
    we should use GCE name for mapping.
    2. Add Openstack Project ID and User ID in GCE instance metadata
    3. Some pep8 fixes in nova code

    Change-Id: Id26a674be0f96e2ff5bf89c5ffcca120bd52e0fa
    Closes-Bug: #1717889

Changed in omni:
status: In Progress → Fix Released
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.