Sahara-engine container non functional

Bug #1697917 reported by Martin André
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Martin André

Bug Description

Tags: containers
Revision history for this message
Martin André (mandre) wrote :

We found thanks to tosky and jistr that the sahara_db_sync container was failing to read from hieradata.

  Failed to start Hiera: Errno::EACCES: Permission denied - /etc/puppet/hiera.yaml

We needs to switch the container user to root when using bootstrap_host_exec.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
assignee: nobody → Martin André (mandre)
status: Triaged → In Progress
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

raised to critical as it blocks HA upgrades it seems, see the dupicating bug details

Changed in tripleo:
importance: High → Critical
Revision history for this message
Martin André (mandre) wrote :

The HA upgrade thing was different. Here the bug really just impacted sahara.

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/478530
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=425c9d4e47898221832f01287ad165833ceab3cd
Submitter: Jenkins
Branch: master

commit 425c9d4e47898221832f01287ad165833ceab3cd
Author: Martin André <email address hidden>
Date: Wed Jun 28 17:10:27 2017 +0200

    Ensure boostrap_host_exec runs as root

    This is necessary for accessing the bind mounted hieradata in the
    container in order to determine if the node is the primary node.

    With the new validation added to yaml-validate.py, we could spot
    potential issues in sahara-api and keystone bootstrap tasks.

    The keystone one is a false positive, as the image defaults to the root
    user in order to be able to run apache. Still, it is better to be
    consistent here and specify the root user nonetheless.

    Change-Id: Ib0ff9748d5406f507261e506c19b96750b10e846
    Closes-Bug: #1697917

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.0b3

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0b3 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.