fuel client cannot authorize to keystone because of wrong credentials

Bug #1405686 reported by Dennis Dmitriev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Artem Panchenko
6.0.x
Invalid
Undecided
Artem Panchenko

Bug Description

Reproduced on staging bvt_1 and bvt_2 jobs:
http://jenkins-product.srt.mirantis.net:8080/job/6.1.staging.centos.bvt_1/22/
http://jenkins-product.srt.mirantis.net:8080/job/6.1.staging.ubuntu.bvt_2/24/

Keystone API works fine, UI authorization pass.

Fuel-cli get the following error: http://paste.openstack.org/show/154695/

When fuel-cli call 'self._keystone_client.authenticate()' , class HTTPClient from keystoneclient package uses the following auth credentials:

tenant_name="admin"
username="admin"
password="admin"
auth_url = http://10.108.40.2/v2.0

First 'GET' request goes to nginx and is redirected to keystone.
Next 'POST' request goes not to keystone http://10.108.40.2:5000/v2.0, but to nginx again:
========= /var/log/docker-logs/nginx/access_nailgun.log
10.108.40.2 - - [25/Dec/2014:21:05:46 +0000] "GET /keystone/v2.0 HTTP/1.1" 200 416 "-" "python-keystoneclient"
10.108.40.2 - - [25/Dec/2014:21:05:46 +0000] "POST /v2.0/tokens HTTP/1.1" 404 162 "-" "python-keystoneclient"

Artem Panchenko found a commit that caused the regression:
https://github.com/stackforge/fuel-library/commit/34238f354ff5a462a5cd187b740ca946a3e78bcb

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/144058

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Artem Panchenko (apanchenko-8)
status: New → In Progress
Changed in fuel:
importance: Undecided → Critical
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Was not reproduced on our bvt tests

Changed in fuel:
status: Fix Committed → Fix Released
tags: added: system-test-not-required
tags: added: system-test-added
removed: system-test-not-required
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

This issue doesn't affect 6.0.x, commit 34238f354ff5a462a5cd187b740ca946a3e78bcb was merged to master branch only.

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.