Openstack HA : when haproxy is stopped on vip node , one of the glance request out of three fails

Bug #1469312 reported by venu kolli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Won't Fix
Medium
Suresh Vinapamula
Trunk
Fix Committed
Medium
Suresh Vinapamula

Bug Description

when haproxy is stopped on vip node , one of the glance request out of three fails

request which is sent to the node where haproxy is stopped is not able to process glance request.

root@b4s343:/opt/contrail/contrail_install_repo# glance image-list
Request returned failure status 401.
Invalid OpenStack Identity credentials.

root@b4s342:/var/log/glance# vi api.log
2015-06-26 10:42:36.456 3656 WARNING keystonemiddleware.auth_token [ba8540dc-dd78-445f-b8f8-bdc88fe3
496a f3088bce1eb041cba0c68f1d65b40326 ba804ff9b4134d359c195341b9d5eff7 - - -] Retrying on HTTP conne
ction exception: HTTPConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: /v
2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)
2015-06-26 10:42:36.958 3656 WARNING keystonemiddleware.auth_token [ba8540dc-dd78-445f-b8f8-bdc88fe3
496a f3088bce1eb041cba0c68f1d65b40326 ba804ff9b4134d359c195341b9d5eff7 - - -] Retrying on HTTP conne
ction exception: HTTPConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: /v
2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)

venu kolli (vkolli)
Changed in juniperopenstack:
assignee: nobody → Ranjeet R (rranjeet-n)
importance: Undecided → Medium
no longer affects: juniperopenstack/r2.30
Changed in juniperopenstack:
milestone: none → r2.30-fcs
tags: added: server-manager
Revision history for this message
Ranjeet R (rranjeet-n) wrote :

In juno, the glance config is changed to auth_url_ip.

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

Review in progress for https://review.opencontrail.org/12964
Submitter: Suresh Vinapamula (<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/13001
Submitter: Suresh Vinapamula (<email address hidden>)

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

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

commit 2bf4b7208b444e6e69dfd98ac847e247bbfba190
Author: Suresh Venkata <email address hidden>
Date: Mon Aug 10 13:08:51 2015 -0700

Fixes:when haproxy is stopped on vip node , one of the glance request out of three fails Description:Glance request load balanced to the node, where HAproxy is stopped, is not able to connect to keystone, as identity_uri is based on localhost instead of internal VIP. This fix, will set it based on internal VIP. ClosesBug:1469312

Change-Id: If7d1c20cad8bec149a9781a228a22db3eb575223

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

Reviewed: https://review.opencontrail.org/13001
Committed: http://github.org/Juniper/contrail-provisioning/commit/01e63894c6c1162aa0eeee90e8ff3088f1e861fb
Submitter: Zuul
Branch: R2.22-dev

commit 01e63894c6c1162aa0eeee90e8ff3088f1e861fb
Author: Suresh Venkata <email address hidden>
Date: Wed Aug 12 10:31:43 2015 -0700

Fixes:when haproxy is stopped on vip node , one of the glance request out of three fails
Description:Glance request load balanced to the node, where HAproxy is stopped, is not able to connect to keystone, as identity_uri is based on localhost instead of internal VIP. This is corrected.
ClosesBug:1469312

Change-Id: I8c3b88596eb9b094c376b002bb8db6aea1fc1afc

tags: added: releasenote
chhandak (chhandak)
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.