The db_flavor_ref parameter is added to [compute] when using db_flavor_name

Bug #1978848 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-tempest
Fix Released
High
Takashi Kajinami

Bug Description

The db_flavor_ref parameter should belong to [database], instead of [compute].

However when we set the parameter by tempest::db_flavor_name, the parameter is set to the [compute] section.

description: updated
summary: - The db_flavor_ref parameter is added to [DEFAULT] instead of [database]
- when using db_flavor_name
+ The db_flavor_ref parameter is added to [compute] when using
+ db_flavor_name
description: updated
Changed in puppet-tempest:
assignee: nobody → Takashi Kajinami (kajinamit)
status: New → Triaged
importance: Undecided → High
Changed in puppet-tempest:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tempest (master)

Reviewed: https://review.opendev.org/c/openstack/puppet-tempest/+/832192
Committed: https://opendev.org/openstack/puppet-tempest/commit/affbcb0cc621a11aab7ff342f0d9bc965cd0d7b3
Submitter: "Zuul (22348)"
Branch: master

commit affbcb0cc621a11aab7ff342f0d9bc965cd0d7b3
Author: Takashi Kajinami <email address hidden>
Date: Mon Mar 7 16:24:23 2022 +0900

    Allow arbitrary section name for *_id_setter

    ... so that we can set the parameters in different sections.
    (eg. [database] db_flavor_ref instead of [compute] db_flavor_ref )

    Implementation to inject parameters to tempset.conf is replaced by
    the tempest_config type and the ini_setting provider, so that we can
    use the consistent implementation to modify tempest.conf .

    This change also fixes "flapping" of database/db_flavor_ref. Now
    the parameter is removed by the initial tempest_config resource then
    set by the tempest_glance_id_setter, when db_flavor_name is used.

    Closes-Bug: #1978848
    Change-Id: Ife2c563213b9b4118d3925192a2ff45253bcee2b

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

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/puppet-tempest/+/846812

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tempest (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/puppet-tempest/+/846812
Committed: https://opendev.org/openstack/puppet-tempest/commit/e95a5feb9feaf86e4842ed8deb855b8e751195b3
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit e95a5feb9feaf86e4842ed8deb855b8e751195b3
Author: Takashi Kajinami <email address hidden>
Date: Mon Mar 7 16:24:23 2022 +0900

    Allow arbitrary section name for *_id_setter

    ... so that we can set the parameters in different sections.
    (eg. [database] db_flavor_ref instead of [compute] db_flavor_ref )

    Implementation to inject parameters to tempset.conf is replaced by
    the tempest_config type and the ini_setting provider, so that we can
    use the consistent implementation to modify tempest.conf .

    This change also fixes "flapping" of database/db_flavor_ref. Now
    the parameter is removed by the initial tempest_config resource then
    set by the tempest_glance_id_setter, when db_flavor_name is used.

    Closes-Bug: #1978848
    Change-Id: Ife2c563213b9b4118d3925192a2ff45253bcee2b
    (cherry picked from commit affbcb0cc621a11aab7ff342f0d9bc965cd0d7b3)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tempest 21.0.0

This issue was fixed in the openstack/puppet-tempest 21.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tempest 20.4.0

This issue was fixed in the openstack/puppet-tempest 20.4.0 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.