Bifrost container image is missing required dependencies

Bug #1665413 reported by Mark Goddard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Mark Goddard
Ocata
Fix Released
Undecided
Mark Goddard

Bug Description

The bifrost-deploy container image is missing a number of required package dependencies.

Tested on CentOS 7.3, kolla master @ 16f2c199f1fc945ec0f83520efa865d4189ce223

Steps to reproduce:
kolla-build -t source bifrost-deploy

Expected result:
The bifrost-deploy container includes bifrost's package dependencies (e.g. rabbitmq).

Actual result:
Bifrost's dependencies are not installed.

Problem:
This occurs because the Bifrost playbooks changed to use a new Ansible group 'target' rather than localhost. The new group was added to a new inventory file (also called target) and is not present in the localhost inventory file used by the Kolla bifrost-base Dockerfile. This causes the Bifrost install.yml play to essentially be a noop.

Solution:
Use the Bifrost target inventory file.

Mark Goddard (mgoddard)
Changed in kolla:
status: New → In Progress
assignee: nobody → Mark Goddard (mgoddard)
summary: - Bifrost container is missing required dependencies
+ Bifrost container image is missing required dependencies
description: updated
Mark Goddard (mgoddard)
description: updated
Revision history for this message
Mark Goddard (mgoddard) wrote :

There is a review for this bug I messed up the Closes-bug line in the first attempt so it hasn't been linked here. Here it is:

https://review.openstack.org/#/c/435058/

Changed in kolla:
milestone: none → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/435058
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=39e48f2cf9380144e1d12bf3738752f9f0cce9ce
Submitter: Jenkins
Branch: master

commit 39e48f2cf9380144e1d12bf3738752f9f0cce9ce
Author: Mark Goddard <email address hidden>
Date: Thu Feb 16 17:52:55 2017 +0000

    Use correct inventory file for Bifrost

    Bifrost now targets the play in the install.yml playbook at the
    target Ansible group instead of localhost.

    This change uses the target inventory file to pick up this group
    and avoid a 'noop' playbook.

    Change-Id: I1b351ccfea5684aeb1394e5a12ee848eb62447fe
    Closes-Bug: #1665413

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/ocata)

Reviewed: https://review.openstack.org/435348
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=d198b689bc93634463be5d02247363c99ca0f84b
Submitter: Jenkins
Branch: stable/ocata

commit d198b689bc93634463be5d02247363c99ca0f84b
Author: Mark Goddard <email address hidden>
Date: Thu Feb 16 17:52:55 2017 +0000

    Use correct inventory file for Bifrost

    Bifrost now targets the play in the install.yml playbook at the
    target Ansible group instead of localhost.

    This change uses the target inventory file to pick up this group
    and avoid a 'noop' playbook.

    Change-Id: I1b351ccfea5684aeb1394e5a12ee848eb62447fe
    Closes-Bug: #1665413
    (cherry picked from commit 39e48f2cf9380144e1d12bf3738752f9f0cce9ce)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 4.0.0.0rc2

This issue was fixed in the openstack/kolla 4.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.0.0b2

This issue was fixed in the openstack/kolla 5.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.