Read from openstack node only if metadata_secret is not available in testbed

Bug #1402112 reported by Nagendra Prasath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Nagendra Prasath

Bug Description

If the testbed has a variable
metadata_secret = <secret_key>

set by user, then fab task should use it. If above variable is not set or empty, then retrieve the value from openstack node.

Current Behavior:
Always read metadata_secret from openstack

Expected Behavior:
Take metadata_secret from testbed. If not available or empty, Read metadata_secret from Openstack node.

Tags: provisioning
Changed in juniperopenstack:
milestone: none → r2.0-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/5600
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/c8eeb59e7e49407b7d21a82f92678edbbae3eb44
Submitter: Zuul
Branch: master

commit c8eeb59e7e49407b7d21a82f92678edbbae3eb44
Author: Nagendra Chandran <email address hidden>
Date: Sat Dec 13 00:24:03 2014 -0800

Read from openstack node only if metadata_secret is not available in testbed

Change-Id: I7adf6802e5cea239077581a6c49ddd2c6b6b7046
Partial-Bug: 1402112

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

Reviewed: https://review.opencontrail.org/5601
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/60d4117dd498ef3e70b8a5a105455f03d12b3660
Submitter: Zuul
Branch: R2.0

commit 60d4117dd498ef3e70b8a5a105455f03d12b3660
Author: Nagendra Chandran <email address hidden>
Date: Sat Dec 13 00:29:30 2014 -0800

Read from openstack node only if metadata_secret is not available in testbed

Change-Id: Ic81c329bab0702d3ac052c6b47ee1e529da60d0b
Partial-Bug: 1402112

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

Reviewed: https://review.opencontrail.org/5670
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/6705ebdab222ddde8499151fa0a124b42f0bbef6
Submitter: Zuul
Branch: master

commit 6705ebdab222ddde8499151fa0a124b42f0bbef6
Author: Nagendra Chandran <email address hidden>
Date: Mon Dec 15 17:40:42 2014 -0800

Add info about new variable neutron_metadata_proxy_shared_secret added to multi-node testbed

Change-Id: Id3e6bf1c8ebf92bfaf9b4b3f97f808f2dff01ba1
Partial-Bug: 1402112

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

Reviewed: https://review.opencontrail.org/5669
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/275fe42f8188ca141eca12892bde08de4e1211d9
Submitter: Zuul
Branch: R2.0

commit 275fe42f8188ca141eca12892bde08de4e1211d9
Author: Nagendra Chandran <email address hidden>
Date: Mon Dec 15 17:38:22 2014 -0800

Add info about new variable neutron_metadata_proxy_shared_secret added to multi-node testbed

Change-Id: Ia2caa77fbc0d7013117f18d940d3b06af87ad63c
Partial-Bug: 1402112

Revision history for this message
Nagendra Prasath (npchandran) wrote :

Resolution:
Use variable "neutron_metadata_proxy_shared_secret" from testbed.py to get metadata secret. If not available, fab scripts will login Openstack node to fetch neutron_metadata_proxy_shared_secret from nova.conf

information type: Proprietary → Public
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.