coordination: Using memcached backend causes duplicate declaration of python-pymemcache package

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

Bug Description

When we attempted to enable coordination backend in ironic-inspector[1], we noticed that the package resource declaration is slightly different in the coordination defined resource type, which triggers the duplicate declaration error.

~~~
2023-12-12 15:37:40 +0000 Puppet (err): Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Duplicate declaration: Package[python-pymemcache] is already declared at (file: /etc/puppetlabs/code/modules/horizon/manifests/init.pp, line: 686); cannot redeclare (file: /etc/puppetlabs/code/modules/oslo/manifests/coordination.pp, line: 61) (file: /etc/puppetlabs/code/modules/oslo/manifests/coordination.pp, line: 61, column: 9) (file: /etc/puppetlabs/code/modules/ironic/manifests/inspector/coordination.pp, line: 17) on node np0036019578
~~~

[1] https://review.opendev.org/c/openstack/puppet-openstack-integration/+/903514

Changed in puppet-oslo:
importance: Undecided → High
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-oslo (master)
Changed in puppet-oslo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-oslo (master)

Reviewed: https://review.opendev.org/c/openstack/puppet-oslo/+/903575
Committed: https://opendev.org/openstack/puppet-oslo/commit/976418c9c2c3dc007ede50e67609e630e856464d
Submitter: "Zuul (22348)"
Branch: master

commit 976418c9c2c3dc007ede50e67609e630e856464d
Author: Takashi Kajinami <email address hidden>
Date: Wed Dec 13 14:09:22 2023 +0900

    coordination: Use consistent tag format for package resources

    ... to avoid conflicts with the other implementations which require
    same packages.

    Closes-Bug: #2046317
    Change-Id: I3d637b1c47ea17a565efb1d5e0b58ee701b21c8b

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

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/puppet-oslo/+/903700

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-oslo (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/puppet-oslo/+/903825

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

Reviewed: https://review.opendev.org/c/openstack/puppet-oslo/+/903700
Committed: https://opendev.org/openstack/puppet-oslo/commit/d31c007a87af5a53f0e6d822a4e291e572dac431
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit d31c007a87af5a53f0e6d822a4e291e572dac431
Author: Takashi Kajinami <email address hidden>
Date: Wed Dec 13 14:09:22 2023 +0900

    coordination: Use consistent tag format for package resources

    ... to avoid conflicts with the other implementations which require
    same packages.

    Closes-Bug: #2046317
    Change-Id: I3d637b1c47ea17a565efb1d5e0b58ee701b21c8b
    (cherry picked from commit 976418c9c2c3dc007ede50e67609e630e856464d)

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

Reviewed: https://review.opendev.org/c/openstack/puppet-oslo/+/903825
Committed: https://opendev.org/openstack/puppet-oslo/commit/37c891eec4b68a01b4e03a8387e410fa002ea235
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 37c891eec4b68a01b4e03a8387e410fa002ea235
Author: Takashi Kajinami <email address hidden>
Date: Wed Dec 13 14:09:22 2023 +0900

    coordination: Use consistent tag format for package resources

    ... to avoid conflicts with the other implementations which require
    same packages.

    Closes-Bug: #2046317
    Change-Id: I3d637b1c47ea17a565efb1d5e0b58ee701b21c8b
    (cherry picked from commit 976418c9c2c3dc007ede50e67609e630e856464d)
    (cherry picked from commit d31c007a87af5a53f0e6d822a4e291e572dac431)

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

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