functional tests failing on glance side due to deprecated context referencing

Bug #1894735 reported by Rajat Dhasmana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glance_store
Fix Released
Undecided
Rajat Dhasmana

Bug Description

As part of the cinder multiple store support feature[1], the functional tests fails[2] because of some deprecated oslo syntax while referencing project and user id from context.

2020-09-07 07:29:34,125 ERROR [glance.async_.taskflow_executor] Failed to
execute task 6ee97c27-b87b-42f9-86af-151ef9a7ecd4: Property 'tenant' has
moved to 'project_id' in version '2.6' and will be removed in version '3.0'

Strangely this doesn't show up while actually using the feature.

[1] https://review.opendev.org/#/c/748039/
[2] https://review.opendev.org/#/c/750144/

Changed in glance-store:
assignee: nobody → Rajat Dhasmana (whoami-rajat)
Changed in glance-store:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance_store (master)

Reviewed: https://review.opendev.org/750131
Committed: https://git.openstack.org/cgit/openstack/glance_store/commit/?id=403ab32a0599f4cf89e828dbf9693ce9cbdf003d
Submitter: Zuul
Branch: master

commit 403ab32a0599f4cf89e828dbf9693ce9cbdf003d
Author: whoami-rajat <email address hidden>
Date: Mon Sep 7 07:44:20 2020 +0000

    Update user/project referencing from context

    The old context references (user, tenant) errors out during functional
    testing on glance side[1][2] with the following error:

    2020-09-07 07:29:34,125 ERROR [glance.async_.taskflow_executor] Failed to
    execute task 6ee97c27-b87b-42f9-86af-151ef9a7ecd4: Property 'tenant' has
    moved to 'project_id' in version '2.6' and will be removed in version '3.0'

    (similar error for user/user_id)

    This patch updates the same.

    [1] https://review.opendev.org/#/c/750144/
    [2] https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_fdc/750144/2/check/openstack-tox-functional-py36/fdc43f4/testr_results.html

    Closes-Bug: #1894735

    Change-Id: I279e442d7d00a6ebca0679cbf46a295fa07b6306

Changed in glance-store:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance_store 2.4.0

This issue was fixed in the openstack/glance_store 2.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance_store (stable/victoria)

Change abandoned by "Abhishek Kekane <email address hidden>" on branch: stable/victoria
Review: https://review.opendev.org/c/openstack/glance_store/+/767995
Reason: No progress since year!

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.