Service provider "init" is not valid in Puppet 4 on Ubuntu

Bug #1564203 reported by Cody Herriges
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-ceph
Fix Released
High
Cody Herriges
puppet-swift
Invalid
High
Adam Vinsh

Bug Description

puppet-openstack-integration jobs fail on Puppet 4 due to the use of the "init" provider on Ubuntu systems, which is now intentionally disabled to avoid issues with its ability to properly manage services without unit files. Use of the "init" provider should be replaced with "debian" which is available in Puppet 4 and Puppet 3.

https://tickets.puppetlabs.com/browse/PUP-5016
https://github.com/puppetlabs/puppet/commit/9071052aee9f9289897b6e2069ca1b78ebf07016

Changed in puppet-swift:
importance: Undecided → High
Adam Vinsh (adam-vinsh)
Changed in puppet-ceph:
assignee: nobody → Adam Vinsh (adam-vinsh)
assignee: Adam Vinsh (adam-vinsh) → nobody
Changed in puppet-swift:
assignee: nobody → Adam Vinsh (adam-vinsh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-ceph (master)

Reviewed: https://review.openstack.org/299773
Committed: https://git.openstack.org/cgit/openstack/puppet-ceph/commit/?id=635227c39b8f143c8bfc840325a42bee9e79c647
Submitter: Jenkins
Branch: master

commit 635227c39b8f143c8bfc840325a42bee9e79c647
Author: Cody Herriges <email address hidden>
Date: Wed Mar 30 23:28:05 2016 -0700

    Set OS specific init service providers

      This commit replaces the use of the "init" provider for services with
      OS specific ones, "redhat" and "debian".

      This is to get around that fact that "init" is explicitely disabled on
      Ubuntu for Puppet 4[1] and we've seen other issues where Puppet's systemd
      provider doesn't understand "static" as a service enabled state.
      Falling back to the legacy provider that inherits from "init" should
      provide us the same functionality.

      [1] https://tickets.puppetlabs.com/browse/PUP-5016
      [2] https://tickets.puppetlabs.com/browse/PUP-5353

    Change-Id: Ib16ef8e15cccde1ee19198eaf387daecc031450d
    Closes-Bug: #1564203

Changed in puppet-ceph:
status: New → Fix Released
Andrew Woodward (xarses)
Changed in puppet-ceph:
importance: Undecided → High
assignee: nobody → Cody Herriges (ody-cat)
Revision history for this message
Cody Herriges (ody-cat) wrote :

Marked this bug as invalid for puppet-swift. There was a different init issue affecting swift that was actually related to endpoint unavailability.

Changed in puppet-swift:
status: New → Invalid
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.