fence_ironic manifest issues

Bug #1719389 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-pacemaker
Fix Released
Undecided
Michele Baldessari

Bug Description

When I315f9bb78a1296f691dadaeb39fb0a48df1d5f06 got merged the xml files for fence_ironic were added but the actual manifest that was merged into manifests/stonith/fence_ironic was manually generated.

That means that there are a bunch of parameters that do not work in the current release (and probably never have?). For example:
- password option (fence_ironic takes 'password' as an option: https://github.com/ClusterLabs/fence-agents/blob/master/fence/agents/ironic/fence_ironic.py#L53). But in the manifest we have 'passwd': https://github.com/openstack/puppet-pacemaker/blob/master/manifests/stonith/fence_ironic.pp#L85

Additionally there never has been a released fence-agents-ironic package, so the package relationship cannot have worked unless the user created a package himself.

Changed in puppet-pacemaker:
assignee: nobody → Michele Baldessari (michele)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-pacemaker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/507236

Changed in puppet-pacemaker:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-pacemaker (master)

Reviewed: https://review.openstack.org/507236
Committed: https://git.openstack.org/cgit/openstack/puppet-pacemaker/commit/?id=d0584c54754b765282023f57a67d4554c1b23258
Submitter: Jenkins
Branch: master

commit d0584c54754b765282023f57a67d4554c1b23258
Author: Michele Baldessari <email address hidden>
Date: Mon Sep 25 20:46:21 2017 +0200

    Generate fence_ironic automatically

    When I315f9bb78a1296f691dadaeb39fb0a48df1d5f06 got merged the xml files
    for fence_ironic were added but the actual manifest that was merged into
    manifests/stonith/fence_ironic was manually generated.

    That means that there are a bunch of parameters that do not work in the
    current release (and probably never have?). For example:
    - fence_ironic takes 'password' as an option:
      https://github.com/ClusterLabs/fence-agents/blob/master/fence/agents/ironic/fence_ironic.py#L53).
      But in the manifest we have 'passwd':
      https://github.com/openstack/puppet-pacemaker/blob/master/manifests/stonith/fence_ironic.pp#L85

    Since this one and a few other options could never really have worked,
    let's just autogenerate the file from xml properly. The xml has the
    last word on which parameters work in any case.

    Additionally there never has been a released fence-agents-ironic
    package, so the package relationship cannot have worked unless the user
    created a package himself. In order to fix that we allow a special
    package name 'None' to be passed to the autogenerator which will skip
    generating the package dependencies. In this case it is the user's duty
    to have the binary on the system. We can change this back once a
    fence-agents-ironic package does get released.

    Closes-Bug: #1719389

    Change-Id: Ie9e61c44fd5dd186f521f98ef2fd637005b00ee9

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

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