nova service should be enabled by default

Bug #1220473 reported by Dan Bode
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
puppet-nova
Fix Released
High
Cody Herriges

Bug Description

Currently, the nova services are disabled by default.

This is counter-intuitive and inconsistent with the other openstack puppet modules.

If a user includes a class, then it should result in its service being enabled.

Revision history for this message
Dan Bode (bodepd) wrote :

the change for this is easy enough to make, but it will result in backwards compatibility breakage.

Mathieu Gagné (mgagne)
Changed in puppet-nova:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Mathieu Gagné (mgagne) wrote :

I don't mind backward compatibility being broken.

This is my reasoning:
- People wishing to have nova-conductor installed and "enabled" (or any other service affected by this behaviour) are already adding enabled => true to have it enabled (to override the default value).
- People wishing to NOT have nova-conductor installed and "enabled" won't use the class in the first place.

Revision history for this message
Dan Bode (bodepd) wrote :

The enalbed flags were initially added to support service in an active/passive model. I am pretty sure that at least someone is using them for this purpose.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-nova (master)

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

Changed in puppet-nova:
assignee: nobody → Matthew Kirby (mk-kirby)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in puppet-nova:
assignee: Matthew Kirby (mk-kirby) → Richard Raseley (richard-raseley)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in puppet-nova:
assignee: Richard Raseley (richard-raseley) → Matthew Kirby (mk-kirby)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in puppet-nova:
assignee: Matthew Kirby (mk-kirby) → Cody Herriges (ody-cat)
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

>The enalbed flags were initially added to support service in an active/passive model. I am pretty sure that at least someone is using them for this purpose.

Yes, for example, operators may want nova-compute service disabled on puppet runtime stage when scaling compute nodes horizontally as the nodes may not be ready yet to accept workloads.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-nova (master)

Change abandoned by Matthew Kirby (<email address hidden>) on branch: master
Review: https://review.openstack.org/186887
Reason: https://review.openstack.org/#/c/184656/ is the correct link.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Matthew Kirby (<email address hidden>) on branch: master
Review: https://review.openstack.org/186955
Reason: https://review.openstack.org/#/c/184656/ is the correct change id.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Matthew Kirby (<email address hidden>) on branch: master
Review: https://review.openstack.org/184570
Reason: https://review.openstack.org/#/c/184656/ is the correct change id.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-nova (master)

Reviewed: https://review.openstack.org/184656
Committed: https://git.openstack.org/cgit/openstack/puppet-nova/commit/?id=895e057abbb743a55c612afd28208821957a1286
Submitter: Jenkins
Branch: master

commit 895e057abbb743a55c612afd28208821957a1286
Author: <email address hidden> <email address hidden>
Date: Wed May 20 11:02:10 2015 -0700

    Enable nova service by default

    This commit updates the default value for enable for nova components to
    default to true, instead of false. Without this
    change the nova service is not enabled by default resulting in a
    different behavior than with other puppet openstack modules.
    Associated tests are updated to expect the change in defaults.

    Co-Authored-By: Cody Herriges <email address hidden>
    Change-Id: I49fc84f9fedfe00d7846441e1b49334abb09e0eb
    Closes-bug: #1220473

Changed in puppet-nova:
status: In Progress → Fix Committed
Mathieu Gagné (mgagne)
Changed in puppet-nova:
milestone: none → 7.0.0
Cody Herriges (ody-cat)
Changed in puppet-nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-nova (master)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/186933
Reason: This review is > 4 weeks without comment or failed Jenkins or merge conflict the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

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.