public_port is not set correctly on a HA enabled setup

Bug #1485971 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Sanju Abraham
Trunk
Fix Committed
High
Sanju Abraham

Bug Description

R2.20 Ubuntu 14.04 Juno multi-node

On a fab provisioned HA setup, we are setting public_port in keystone.conf to 6000 (haproxy backend IP ) instead of 5000

ervice: identity
+-------------+-------------------------------------------+
| Property | Value |
+-------------+-------------------------------------------+
| adminURL | http://10.204.216.184:35357/v2.0 |
| id | 7aa687a3e4bf4974909d16b9d2243c82 |
| internalURL | http://10.204.216.184:(public_port)s/v2.0 |
| publicURL | http://10.204.216.184:6000/v2.0 | <<<<<<<<
| region | RegionOne |
+-------------+-------------------------------------------+
root@nodec1:~/fabric-utils#

root@nodec1:~/github/mine/l3mode/contrail-test# keystone endpoint-list
+----------------------------------+-----------+-----------------------------------------------+-----------------------------------------------+------------------------------------------------------+----------------------------------+
| id | region | publicurl | internalurl | adminurl | service_id |
+----------------------------------+-----------+-----------------------------------------------+-----------------------------------------------+------------------------------------------------------+----------------------------------+
| 141d6d6eb76543b7bd221f422d5802e6 | RegionOne | http://localhost:8773/services/Cloud | http://localhost:8773/services/Cloud | http://localhost:8773/services/Admin | 2edf5fb0670a485794a94f815b197f90 |
| 19da65ac3efe4b3b8c68e78a19efaed8 | RegionOne | http://10.204.216.184:8004/v1/%(tenant_id)s | http://10.204.216.184:8004/v1/%(tenant_id)s | http://10.204.216.184:8004/v1/%(tenant_id)s | d536ab08bc594cb1bc8edeeda56680ef |
| 2862c4cdcccd4eb7a354e1f863f9b86a | RegionOne | http://10.204.216.184:9292/v1 | http://localhost:9393/v1 | http://localhost:9393/v1 | 6b82661d74e44b5eae9f65e444f9f68e |
| 7c6d1de08a984585920f89e83440e259 | RegionOne | http://10.204.216.184:9696 | http://10.204.216.184:9696 | http://10.204.216.184:9696 | 374bdf504a4543c095a99ca279a78413 |
| aa0a6cea2bf0472d9123ac474b221b79 | RegionOne | http://10.204.216.184:8776/v1/$(tenant_id)s | http://localhost:9776/v1/$(tenant_id)s | http://localhost:9776/v1/$(tenant_id)s | 49f77722f2bb43acb3381840807a0b74 |
| b412ff12df884c5493db25df8bc2364b | RegionOne | http://10.204.216.184:8774/v1.1/$(tenant_id)s | http://10.204.216.184:8774/v1.1/$(tenant_id)s | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s | 9ebf480f11054d4f95a0acec9e76b5cd |
| d1aae47bdb7f4836b2086ab10be55543 | RegionOne | http://10.204.216.184:$(public_port)s/v2.0 | http://10.204.216.184:(public_port)s/v2.0 | http://10.204.216.184:35357/v2.0 | 3058af9a6d054193adbe7e69c0134668 |
+----------------------------------+-----------+-----------------------------------------------+-----------------------------------------------+------------------------------------------------------+----------------------------------+
root@nodec1:~/github/mine/l3mode/contrail-test#

Tags: ha
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/13143
Submitter: Sanju (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22-dev

Review in progress for https://review.opencontrail.org/13144
Submitter: Sanju (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/13145
Submitter: Sanju (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13143
Committed: http://github.org/Juniper/contrail-provisioning/commit/95b7f4de92eb2adfc159652ecdea4034a0b9a362
Submitter: Zuul
Branch: R2.20

commit 95b7f4de92eb2adfc159652ecdea4034a0b9a362
Author: Sanju Abraham <email address hidden>
Date: Tue Aug 18 11:27:09 2015 -0700

Closes-Bug: #1485971. Updated public and admin port for keystone

Change-Id: If05663f7ae0234be07d4a2c19eb78b548340e219

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

Reviewed: https://review.opencontrail.org/13145
Committed: http://github.org/Juniper/contrail-provisioning/commit/dd21a78241c30f4e0b610d646b0b7787553cc1f4
Submitter: Zuul
Branch: master

commit dd21a78241c30f4e0b610d646b0b7787553cc1f4
Author: Sanju Abraham <email address hidden>
Date: Tue Aug 18 11:30:38 2015 -0700

Closes-Bug: #1485971. Updated public and admin port for keystone

Change-Id: I627f5559e96924a63a77c2964f3b58f50aaa77e3

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.