puppet-tripleo: swift can't be installed without ceilometer

Bug #1648736 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Dan Prince

Bug Description

Trying to deploy our puppet-tripleo Swift profile will fail if you don't have ceilometer installed:

Error: /Stage[main]/Swift/User[swift]/groups: change from to ceilometer failed: Could not set groups on user[swift]: Execution of '/sbin/usermod -G ceilometer swift' returned 6: usermod: group 'ceilometer' does not exist

----

We should be able to detect the installation of ceilometer and enable the extra ceilometer specific functionality automatically.

Dan Prince (dan-prince)
Changed in tripleo:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

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

Changed in tripleo:
milestone: none → ocata-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/409445

Changed in tripleo:
milestone: ocata-2 → ocata-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/409445
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=1a9c2022cd865dfb4d14dde6ceb51de8a090dec2
Submitter: Jenkins
Branch: master

commit 1a9c2022cd865dfb4d14dde6ceb51de8a090dec2
Author: Dan Prince <email address hidden>
Date: Sat Dec 10 08:17:10 2016 -0500

    Decouple swift-proxy from ceilometer

    This patch updates the swift-proxy base profile so that
    we now explicitly set the rabbit_port. This allows us
    to remove the use of puppet-ceilometer default settings
    in the puppet-tripleo modules change ID here:
    I8d9f69f5e9160543b372bd9886800f16f625fdc6

    It also adds a new boolean parameter that allows the
    end user to disable the swift ceilometer pipeline
    by setting SwiftCeilometerPipelineEnabled to false.

    This two settings allow Swift to once again be installed
    on a machine without configuring Ceilometer.

    Depends-On: Id1584df5e5bb90f8087ae25eecc4834179b6fc21

    Change-Id: Ief5399d7ea4d26e96ce54903a69d660fa4fe3ce9
    Related-bug: #1648736

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

Reviewed: https://review.openstack.org/409022
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=93dc1078b4f911bf807ac583df926cdfc734e8f8
Submitter: Jenkins
Branch: master

commit 93dc1078b4f911bf807ac583df926cdfc734e8f8
Author: Dan Prince <email address hidden>
Date: Fri Dec 9 09:37:41 2016 +0100

    Decouple swift-proxy from ceilometer packages

    This patch updates the swift proxy so that it only depends
    on ceilometer if the ceilometer_api_enabled all-nodes-data hiera
    setting has been set.

    Also removes a parameter dependency where the
    tripleo::profile::base::swift::proxy class was referencing
    a puppet-ceilometer value from hiera (which can
    also cause ceilometer dependencies).

    Depends-On: Ief5399d7ea4d26e96ce54903a69d660fa4fe3ce9

    Change-Id: I8d9f69f5e9160543b372bd9886800f16f625fdc6
    Closes-bug: #1648736

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

This issue was fixed in the openstack/puppet-tripleo 6.2.0 release.

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/478966

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

Reviewed: https://review.openstack.org/478966
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=705051f16b75d5dd3c83556ac463ba5dca88f9b7
Submitter: Jenkins
Branch: stable/newton

commit 705051f16b75d5dd3c83556ac463ba5dca88f9b7
Author: Dan Prince <email address hidden>
Date: Fri Dec 9 09:37:41 2016 +0100

    Decouple swift-proxy from ceilometer packages

    This patch updates the swift proxy so that it only depends
    on ceilometer if the ceilometer_api_enabled all-nodes-data hiera
    setting has been set.

    Also removes a parameter dependency where the
    tripleo::profile::base::swift::proxy class was referencing
    a puppet-ceilometer value from hiera (which can
    also cause ceilometer dependencies).

    Change-Id: I8d9f69f5e9160543b372bd9886800f16f625fdc6
    Closes-bug: #1648736
    (cherry picked from commit 93dc1078b4f911bf807ac583df926cdfc734e8f8)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 5.6.1

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