Containerized deployment fails due to ceilometer-upgrade error

Bug #1686707 reported by Martin André
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Martin André

Bug Description

Puppet fails to run ceilometer-upgrade and fails the deployment.

Error: ceilometer-upgrade --skip-metering-database returned 1 instead of one of [0]

http://logs.openstack.org/39/460339/2/check-tripleo/gate-tripleo-ci-centos-7-ovb-containers-oooq-nv/a5b6746/logs/oooq/undercloud/home/jenkins/failed_deployments.log.txt.gz

It appears the redis container is using the default config file and not the one generated via puppet. We need to explicitly enable the 'exec' tag otherwise the generated /etc/redis.conf.puppet isn't copied to /etc/redis.conf.

Tags: ci containers
Changed in tripleo:
status: Confirmed → In Progress
Changed in tripleo:
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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

commit f11c2232cc483dc01b910efa6e546095e9f866f8
Author: Martin André <email address hidden>
Date: Thu Apr 27 11:38:24 2017 +0200

    Fix redis container

    The puppet-redis module makes use of the exec puppet tag to copy the
    /etc/redis.conf.puppet file to /etc/redis.conf. We need to explicitly
    enable it otherwise our redis container will pick up the default redis
    configuration and not the one that was generated with puppet.

    Also creates the /var/run/redis directory on the host since we bind
    mount /run, and ensure the container sets the correct ownership on the
    directory.

    Finally, configure redis to not daemonize otherwise the container ends
    up in a restart loop.

    Change-Id: Ia1dce2120ca7479eef8bc77dedf9431adbe210cc
    Closes-Bug: #1686707

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0b2 development milestone.

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.