[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
Reviewed: https:/ /review. openstack. org/504900 /git.openstack. org/cgit/ openstack/ omni/commit/ ?id=c547b5523a5 79682687b52d7e5 a7dc07f658b7f3
Committed: https:/
Submitter: Jenkins
Branch: master
commit c547b5523a57968 2687b52d7e5a7dc 07f658b7f3
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: Id26a674be0f96e 2ff5bf89c5ffcca 120bd52e0fa
Closes-Bug: #1717889