[ci] stable/victoria tempest jobs fail because of incompatible API versions

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

Bug Description

Manila's tempest plugin is branchless. As of this bug report, the maximum microversion it requests by default is 2.61 [1]. Tempest test jobs for stable/victoria are defined in the manila-tempest-plugin repository and they don't override any API version configuration options causing all tempest test jobs on stable/victoria to be broken.

[1] https://opendev.org/openstack/manila-tempest-plugin/src/commit/0031ba11387091fcc830047cd265d7ed9f52c129/manila_tempest_tests/config.py#L31-L34

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

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

tags: added: ci
Changed in manila:
milestone: none → xena-1
assignee: nobody → Goutham Pacha Ravi (gouthamr)
importance: Undecided → High
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

Related fix proposed to branch: stable/wallaby
    https://review.opendev.org/c/openstack/manila/+/792034

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

Reviewed: https://review.opendev.org/c/openstack/manila/+/792034
Committed: https://opendev.org/openstack/manila/commit/2a24b3f6ea080591a3d7a4a28064a24c180b067c
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 2a24b3f6ea080591a3d7a4a28064a24c180b067c
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue May 18 11:56:03 2021 -0700

    [stable/wallaby-only] Set max api version via plugin.sh

    manila's tempest plugin is branchless and can at
    any time add tests for API microversions incompatible
    with this stable branch.

    We used to configure test API versions via the post test
    hook when relying on devstack-gate. However, API version
    config makes sense whenever we use devstack and have
    tempest enabled. This will help us simplify default
    job configuration in the manila-tempest-plugin repository.

    Since the API version won't change on a stable branch,
    hard-coding the versions (as other micro-versioned services
    do in their devstack) doesn't pose any risk of failing
    reality.

    Related-Bug: #1928879
    Change-Id: I3a2cdc4fe835d95669a0e65617d7c3873264140a
    Signed-off-by: Goutham Pacha Ravi <email address hidden>

tags: added: in-stable-wallaby
Changed in manila:
status: In Progress → Fix Released
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 : Related fix proposed to manila (stable/xena)

Related fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/manila/+/822590

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to manila (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/822762

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to manila (stable/xena)

Related fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/manila/+/822683

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/822762
Committed: https://opendev.org/openstack/manila/commit/1caecc598eedd94cb103725857d6687f9fab6ec7
Submitter: "Zuul (22348)"
Branch: master

commit 1caecc598eedd94cb103725857d6687f9fab6ec7
Author: Goutham Pacha Ravi <email address hidden>
Date: Wed Dec 22 11:40:09 2021 -0800

    Set tempest api version config in devstack plugin

    manila's tempest plugin is branchless and can at
    any time add tests for API microversions incompatible
    with stable branches.

    We used to configure test API versions via the post test
    hook when relying on devstack-gate. However, API version
    config makes sense whenever we use devstack and have
    tempest enabled. This will help us simplify default
    job configuration in the manila-tempest-plugin repository.

    Since the API version won't change on a stable branch,
    hard-coding the versions (as other micro-versioned services
    do in their devstack) doesn't pose any risk of failing
    reality.

    Change-Id: Ia671fa74c0ee338199bd92a1613882328d24c9e2
    Related-Bug: #1928879
    Signed-off-by: Goutham Pacha Ravi <email address hidden>

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

Change abandoned by "haixin <email address hidden>" on branch: stable/xena
Review: https://review.opendev.org/c/openstack/manila/+/822590

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to manila (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/manila/+/822683
Committed: https://opendev.org/openstack/manila/commit/3d812459295f223933a3760631aef7d55254859e
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 3d812459295f223933a3760631aef7d55254859e
Author: Goutham Pacha Ravi <email address hidden>
Date: Wed Dec 22 11:40:09 2021 -0800

    Set tempest api version config in devstack plugin

    manila's tempest plugin is branchless and can at
    any time add tests for API microversions incompatible
    with stable branches.

    We used to configure test API versions via the post test
    hook when relying on devstack-gate. However, API version
    config makes sense whenever we use devstack and have
    tempest enabled. This will help us simplify default
    job configuration in the manila-tempest-plugin repository.

    Since the API version won't change on a stable branch,
    hard-coding the versions (as other micro-versioned services
    do in their devstack) doesn't pose any risk of failing
    reality.

    Change-Id: Ia671fa74c0ee338199bd92a1613882328d24c9e2
    Related-Bug: #1928879
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry picked from commit 1caecc598eedd94cb103725857d6687f9fab6ec7)

tags: added: in-stable-xena
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.