Could not find versioned identity endpoints when attempting to authenticate

Bug #1794637 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Glance Charm
Fix Released
Undecided
Corey Bryant

Bug Description

We're currently working on Py3 payload enablement for >= Rocky.

The glance updates for this recently landed.

The keystone PR for Py3 payload enablement is hitting the following, from the glance-api.log:

keystoneauth1.exceptions.discovery.DiscoveryFailure: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. An unexpected error prevented the server from fulfilling your request. (HTTP 500)

Full traceback: https://paste.ubuntu.com/p/HJggxHbkrJ/

It appears that adding /v3 to the auth_uri/auth_url settings in the glance-api.conf template in charm-glance fixes this:

auth_uri = http://10.5.0.12:5000/v3
auth_url = http://10.5.0.12:35357/v3

description: updated
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Re-running zaza configure script before adding /v3 to auth_uri/auth_url recreates failure: https://paste.ubuntu.com/p/cB3CxjRNhY/

Re-running zaza configure script after adding /v3 to auth_uri/auth_url and restarting glance services remedies failure: https://paste.ubuntu.com/p/KnRZ42HDVC/

Changed in charm-glance:
assignee: nobody → Corey Bryant (corey.bryant)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-glance (master)

Reviewed: https://review.openstack.org/605680
Committed: https://git.openstack.org/cgit/openstack/charm-glance/commit/?id=981b86a3a15780293df38c6c0dcc8e68c90d418c
Submitter: Zuul
Branch: master

commit 981b86a3a15780293df38c6c0dcc8e68c90d418c
Author: Corey Bryant <email address hidden>
Date: Thu Sep 27 12:46:49 2018 +0000

    V3 authtoken update and glance v1 icehouse

    Update the keystone authtoken template section to explicitly
    specify v3 API when it is in use. This prevents errors that
    result in "Could not find versioned identity endpoints when
    attempting to authenticate".

    Along with this change we remove the tests that verify the
    keystone_authtoken section as it's generally agreed that
    functional testing should catch issues with this config.
    Also update requirements to fix pyyaml dep of charm-tools.

    Finally get glance v1 client for icehouse. Previously the
    image virt type was qemu and the compute node virt type was
    kvm. This works for deployments prior to rocky but in rocky
    this causes the image type filter to return no valid hosts.
    An update to charmhelpers has removed the default behaviour
    of setting the virt type to 'qemu' by default. Due to a bug
    in icehouse updating glance image properties using the v2 api
    fails (See Bug #1371559) so for icehouse deploys get a v1
    client.

    Change-Id: I4ca604c674bda5d5f7daca6a3e9d13c8b4bd4efa
    Closes-Bug: #1794637

Changed in charm-glance:
status: In Progress → Fix Committed
David Ames (thedac)
Changed in charm-glance:
milestone: none → 19.04
James Page (james-page)
Changed in charm-glance:
status: Fix Committed → Fix Released
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.