barbicanclient cannot contact keystone

Bug #1691480 reported by Jeremy Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-barbicanclient
Fix Released
Undecided
Jeremy Liu

Bug Description

After installing a fresh devstack, execute "source /opt/stack/devstack/openrc admin admin" and "barbican secret list", I get below error:

WARNING:barbicanclient.barbican:This Barbican CLI interface has been deprecated and will be removed in the O release. Please use the openstack unified client instead.
DEBUG:stevedore.extension:found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG:stevedore.extension:found extension EntryPoint.parse('json = cliff.formatters.json_format:JSONFormatter')
DEBUG:stevedore.extension:found extension EntryPoint.parse('csv = cliff.formatters.commaseparated:CSVLister')
DEBUG:stevedore.extension:found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG:stevedore.extension:found extension EntryPoint.parse('yaml = cliff.formatters.yaml_format:YAMLFormatter')
DEBUG:barbicanclient.client:Creating Client object
DEBUG:barbicanclient.secrets:Listing secrets - offset 0 limit 10
DEBUG:keystoneauth.identity.v3.base:Making authentication request to http://10.16.30.9/identity/auth/tokens
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 10.16.30.9
DEBUG:requests.packages.urllib3.connectionpool:http://10.16.30.9:80 "POST /identity/auth/tokens HTTP/1.1" 404 135
DEBUG:keystoneauth.session:Request returned failure status: 404
ERROR:barbican:(http://10.16.30.9/identity/auth/tokens): The resource could not be found. (HTTP 404)
(http://10.16.30.9/identity/auth/tokens): The resource could not be found. (HTTP 404)

Actually, the URL that barbicanclient tries to contact should be "http://10.16.30.9/identity/v3/auth/tokens" instead of "http://10.16.30.9/identity/auth/tokens".

Jeremy Liu (liujiong)
Changed in python-barbicanclient:
assignee: nobody → Jeremy Liu (liujiong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-barbicanclient (master)

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

Changed in python-barbicanclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-barbicanclient (master)

Reviewed: https://review.openstack.org/465627
Committed: https://git.openstack.org/cgit/openstack/python-barbicanclient/commit/?id=ac10cb7ff1c2807fc3729f7ed5815e105a02c7f4
Submitter: Jenkins
Branch: master

commit ac10cb7ff1c2807fc3729f7ed5815e105a02c7f4
Author: Jeremy Liu <email address hidden>
Date: Wed May 17 22:42:26 2017 +0800

    Use generic auth plugin instead of specific version

    Switch both client and functional test to use generic auth plugin.
    Also keep keystone auth_uri as one option so we needn't add extra
    version to the endpoint and let keystoneauth handle this.

    Change-Id: I5535d4d459496eec9052131b43615e6056e249e8
    Closes-bug: #1691480

Changed in python-barbicanclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-barbicanclient 4.3.0

This issue was fixed in the openstack/python-barbicanclient 4.3.0 release.

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.