provisioning: non-default region name not set for compute service

Bug #1562089 reported by Senthilnathan Murugappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
R3.0
Fix Committed
High
amudhar

Bug Description

Compute service alone has issue as noted below. Instead of mtn5 it has registered the compute endpoints under default RegionOne region.

root@nodeb9:~/contrail-test-ci# keystone endpoint-list
+----------------------------------+-----------+---------------------------------------------------------+---------------------------------------------------------+---------------------------------------------------------+----------------------------------+
| id | region | publicurl | internalurl | adminurl | service_id |
+----------------------------------+-----------+---------------------------------------------------------+---------------------------------------------------------+---------------------------------------------------------+----------------------------------+
| 1d2c247ca30f4d0a808926609044c83a | mtn5 | http://10.204.216.2:9292/v1 | http://10.204.216.2:9292/v1 | http://10.204.216.2:9292/v1 | 8e47aed8722241b98fc4ffa3ebcc9926 |
| 59159b211b8d4ebf8ba159cbe0f2aa8a | mtn5 | http://10.204.216.2:$(public_port)s/v2.0 | http://10.204.216.2:$(admin_port)s/v2.0 | http://10.204.216.2:$(admin_port)s/v2.0 | 711931323ea44fdda5b4bc60a3d3e020 |
| 6983dc07a0f94c9ea674038af76a2730 | mtn5 | http://10.204.216.2:9696 | http://10.204.216.2:9696 | http://10.204.216.2:9696 | 8bb7f9dd15424c2eadee4a72a8ee2cab |
| 76ad6ee89f014679893f23fd99a9b10a | mtn5 | http://10.204.216.2:8004/v1/%(tenant_id)s | http://10.204.216.2:8004/v1/%(tenant_id)s | http://10.204.216.2:8004/v1/%(tenant_id)s | 6b7dedfb7f494023b7cd6f7da0591a15 |
| 91c1f9ee04f1495a8cd616c17c43959c | mtn5 | http://localhost:8773/services/Cloud | http://localhost:8773/services/Cloud | http://localhost:8773/services/Admin | 9993f091be7040d692722594965615f5 |
| a5c8a929aae7496bbb200d02271a8f17 | RegionOne | http://10.204.216.2:$(compute_port)s/v1.1/$(tenant_id)s | http://10.204.216.2:$(compute_port)s/v1.1/$(tenant_id)s | http://10.204.216.2:$(compute_port)s/v1.1/$(tenant_id)s | a91354e78993449b8d44f0912d0c6503 |
| e9e8441a101d4e4a8970c04c52500cf6 | mtn5 | http://10.204.216.2:8776/v2/$(tenant_id)s | http://10.204.216.2:8776/v2/$(tenant_id)s | http://10.204.216.2:8776/v2/$(tenant_id)s | cd445198aebc48cd84b3205a73afefe9 |
+----------------------------------+-----------+---------------------------------------------------------+---------------------------------------------------------+---------------------------------------------------------+----------------------------------+

Tags: provisioning
Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :
no longer affects: juniperopenstack/trunk
Changed in juniperopenstack:
milestone: r3.1.0.0-fcs → none
no longer affects: juniperopenstack
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/18819
Submitter: amudha ramachandran (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18819
Committed: http://github.org/Juniper/contrail-provisioning/commit/b1c44e73a3eb8a3d324134eb83ac9f728c93c697
Submitter: Zuul
Branch: R3.0

commit b1c44e73a3eb8a3d324134eb83ac9f728c93c697
Author: a <email address hidden>
Date: Mon Mar 28 22:22:39 2016 +0530

Using $OS_REGION_NAME instead of hardcoded RegionOne

Bringing in below commit to R3.0
https://github.com/Juniper/contrail-provisioning/commit/d6c85065b530286c087c39fa59d27596636022ad

Closes-Bug: #1562089

Change-Id: I79c82059a2a0f133934b7cc6b610e8412d6cd8cd

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.