oidc's vim was not applied in zuul's FT tests

Bug #2007054 reported by Shuwen Cai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Undecided
Shuwen Cai

Bug Description

In the current test, there are oidc-related FT tests, but in the actual installation process, the oidc-related kubernetes type vim is not registered, but the ordinary kubernetes vim is registered again.
https://opendev.org/openstack/tacker/src/branch/master/roles/setup-default-vim/tasks/main.yaml#L264-L268
https://opendev.org/openstack/tacker/src/branch/master/tools/test-setup-k8s-vim.sh#L39

At the same time, the test items of v1 did not use the newly registered vim during the test, which made the FT test meaningless.
https://opendev.org/openstack/tacker/src/branch/master/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1/test_kubernetes_oidc_auth.py#L45

Changed in tacker:
assignee: nobody → Shuwen Cai (shuwencai123)
Changed in tacker:
status: New → In Progress
Revision history for this message
Yasufumi Ogawa (yasufum) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.opendev.org/c/openstack/tacker/+/873488
Committed: https://opendev.org/openstack/tacker/commit/7d7d6f1d5bfa763072469f1742fd8870068b3300
Submitter: "Zuul (22348)"
Branch: master

commit 7d7d6f1d5bfa763072469f1742fd8870068b3300
Author: Shuwen Cai <email address hidden>
Date: Mon Feb 13 15:13:57 2023 +0900

    Fix oidc's vim not applied to FT

    This patch modifies the task replacement rules in set-default-vim,
    enabling zuul to create kubernetes vim using oidc. At the same time,
    the FT code of v1-related oidc is modified so that it can use
    oidc-related vim during testing.

    Closes-Bug: #2007054
    Change-Id: Idc27bd2609582ed949041d2f8c730eec686f5102

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

This issue was fixed in the openstack/tacker 9.0.0.0rc1 release candidate.

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.