TripleO - Pike Gather script with Containers

Bug #1701264 reported by Joe Talerico
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-browbeat
Fix Released
Critical
Joe Talerico

Bug Description

Containers will not use the /etc/<service>/<service>.conf.. They will be using: /var/lib/config-data/

This means there needs to be a conditional added to the playbook to account for the new directory.

Joe Talerico (jtaleric)
Changed in openstack-browbeat:
assignee: nobody → Joe Talerico (jtaleric)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to browbeat (master)

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

Changed in openstack-browbeat:
status: New → In Progress
Joe Talerico (jtaleric)
Changed in openstack-browbeat:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to browbeat (master)

Reviewed: https://review.openstack.org/479405
Committed: https://git.openstack.org/cgit/openstack/browbeat/commit/?id=8c668d51aa05429618f4547a1ef84725ec91829e
Submitter: Jenkins
Branch: master

commit 8c668d51aa05429618f4547a1ef84725ec91829e
Author: Joe Talerico <email address hidden>
Date: Fri Jun 30 15:05:40 2017 -0400

    Gather script for containers

    Currently our gather playbook assumes all configuration files will be in
    /etc. This assumption isn't true with container deployments. Currently
    the configuration files are located in
    /var/lib/config-data/<service>/etc/<service>/.

    The Gather script needs to support both container and non-container
    deployments. This patchset updates the config parser python script
    to check if a service is in the running containers list and then
    determine it's appropriate path, grab all of multiple config files
    in that path, then parse and drop them off for ansible to use.

    This method automagically supports all possible mixes of containerized
    uncontainerized services and will always grab the correct config even
    if that changes build to build or run to run.

    It's also easily extensible for many possible config locations or
    different container types by adding another condition or additional
    search paths.

    Change-Id: I95a3059c7fc263733ac64aa894c6dbf11e2a909f
    Closes-bug: #1701264

Changed in openstack-browbeat:
status: In Progress → Fix Released
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.