"Unauthorized" exception in glanceclient is different from those in novaclient, cinderclient and neutronclien

Bug #1921927 reported by Kyle Dean
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Goutham Pacha Ravi

Bug Description

Description
===========

After deploying manila with kolla-ansible upon launching a share the share instantly enters an error state.

Steps to reproduce
==================

Deploy with kolla-ansible, follow the instructions here https://docs.openstack.org/kolla-ansible/latest/reference/storage/manila-guide.html

Expected result
===============
The instance to be deployed and ready for NFS attachment

Actual result
=============
Manila reports error on share.

Environment
===========
Deployment Method: kolla and kolla-ansible
Version: stable-victoria
Storage backend: External Ceph, NFS,CIFS Generic
Network: Linux bridge

Logs & Configs
==============
http://paste.openstack.org/show/804044/

Resolution
==============
Add the glance config section that has been introduced into the manila.conf

Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

Fix proposed to branch: master
    https://review.opendev.org/c/openstack/manila/+/783904

Changed in manila:
status: New → In Progress
assignee: nobody → Goutham Pacha Ravi (gouthamr)
importance: Undecided → Low
Changed in manila:
milestone: none → xena-2
Revision history for this message
Vida Haririan (vhariria) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/783904
Committed: https://opendev.org/openstack/manila/commit/04e06968fd7990adac9eb92a885af557a8acc772
Submitter: "Zuul (22348)"
Branch: master

commit 04e06968fd7990adac9eb92a885af557a8acc772
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Mar 30 09:13:08 2021 -0700

    Handle service client authorization errors

    Authorization errors when connecting
    to nova/glance/neutron/cinder can be raised as
    BadConfigurationExceptions in the logs. We shouldn't
    be raising exceptions derived from the service client
    libraries.

    Change-Id: I2d47dbb1251dfa8d529f813724fb7fd97d7d3a0b
    Closes-Bug: #1921927
    Signed-off-by: Goutham Pacha Ravi <email address hidden>

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/manila/+/799982

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/manila/+/799982
Committed: https://opendev.org/openstack/manila/commit/113dc2878a0d72c22822bfeee933a6511c3e2dbf
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 113dc2878a0d72c22822bfeee933a6511c3e2dbf
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Mar 30 09:13:08 2021 -0700

    Handle service client authorization errors

    Authorization errors when connecting
    to nova/glance/neutron/cinder can be raised as
    BadConfigurationExceptions in the logs. We shouldn't
    be raising exceptions derived from the service client
    libraries.

    Change-Id: I2d47dbb1251dfa8d529f813724fb7fd97d7d3a0b
    Closes-Bug: #1921927
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry picked from commit 04e06968fd7990adac9eb92a885af557a8acc772)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/manila/+/804437

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/manila/+/804437
Committed: https://opendev.org/openstack/manila/commit/9b19b17eb062899acc74261e09bade49884bfdfb
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 9b19b17eb062899acc74261e09bade49884bfdfb
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Mar 30 09:13:08 2021 -0700

    Handle service client authorization errors

    Authorization errors when connecting
    to nova/glance/neutron/cinder can be raised as
    BadConfigurationExceptions in the logs. We shouldn't
    be raising exceptions derived from the service client
    libraries.

    Change-Id: I2d47dbb1251dfa8d529f813724fb7fd97d7d3a0b
    Closes-Bug: #1921927
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry picked from commit 04e06968fd7990adac9eb92a885af557a8acc772)
    (cherry picked from commit 113dc2878a0d72c22822bfeee933a6511c3e2dbf)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/manila/+/806632

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 13.0.0.0rc1

This issue was fixed in the openstack/manila 13.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/manila/+/806632
Committed: https://opendev.org/openstack/manila/commit/ab230bf1c049f55d2252f8d492556aa36e3178ce
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit ab230bf1c049f55d2252f8d492556aa36e3178ce
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Mar 30 09:13:08 2021 -0700

    Handle service client authorization errors

    Authorization errors when connecting
    to nova/neutron/cinder can be raised as
    BadConfigurationExceptions in the logs. We shouldn't
    be raising exceptions derived from the service client
    libraries.

    Not a perfect cherry-pick because this version
    has no separate glance client.

    Change-Id: I2d47dbb1251dfa8d529f813724fb7fd97d7d3a0b
    Closes-Bug: #1921927
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry picked from commit 04e06968fd7990adac9eb92a885af557a8acc772)
    (cherry picked from commit 113dc2878a0d72c22822bfeee933a6511c3e2dbf)
    (cherry picked from commit 9b19b17eb062899acc74261e09bade49884bfdfb)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/c/openstack/manila/+/811153

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/train)

Reviewed: https://review.opendev.org/c/openstack/manila/+/811153
Committed: https://opendev.org/openstack/manila/commit/325da32ce5652dd52841057b117ad5d7b4cb43a1
Submitter: "Zuul (22348)"
Branch: stable/train

commit 325da32ce5652dd52841057b117ad5d7b4cb43a1
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Mar 30 09:13:08 2021 -0700

    Handle service client authorization errors

    Authorization errors when connecting
    to nova/neutron/cinder can be raised as
    BadConfigurationExceptions in the logs. We shouldn't
    be raising exceptions derived from the service client
    libraries.

    Not a perfect cherry-pick because this version
    has no separate glance client.

    Change-Id: I2d47dbb1251dfa8d529f813724fb7fd97d7d3a0b
    Closes-Bug: #1921927
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry picked from commit 04e06968fd7990adac9eb92a885af557a8acc772)
    (cherry picked from commit 113dc2878a0d72c22822bfeee933a6511c3e2dbf)
    (cherry picked from commit 9b19b17eb062899acc74261e09bade49884bfdfb)
    (cherry picked from commit ab230bf1c049f55d2252f8d492556aa36e3178ce)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 12.1.0

This issue was fixed in the openstack/manila 12.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 11.1.0

This issue was fixed in the openstack/manila 11.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 10.2.0

This issue was fixed in the openstack/manila 10.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila train-eol

This issue was fixed in the openstack/manila train-eol 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.