prechecks fail on deployment host

Bug #1700986 reported by Ali Sanhaji
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Eduardo Gonzalez
Pike
Fix Released
Undecided
Unassigned

Bug Description

prechecks fail on [deployment] host because bootstrap only apply to baremetal target hosts.

The tasks "Checking Docker version" in service-checks.yml and "Checking docker-py version" in package_checks.yml fail on deployment host because bootstrap only applies to baremetal hosts.

The correct configuration on deployment host has to be done separately.

The steps to reproduce:
1. Have a deployment host different from one of the baremetal hosts in a multinode context.
2. Launch kolla-ansible -i multinode bootstrap-servers (Will need this not yet merged patch: https://review.openstack.org/#/c/434940/)
3. Launch kolla-ansible -i multinode prechecks

The task "Checking Docker version" fails if Docker not installed beforehand on deployment host.

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Can you provide more information, what fails, what are the steps used?

description: updated
description: updated
Changed in kolla-ansible:
status: New → In Progress
assignee: nobody → Eduardo Gonzalez (egonzalez90)
milestone: none → pike-3
importance: Undecided → Medium
Changed in kolla-ansible:
milestone: pike-3 → pike-rc1
Changed in kolla-ansible:
milestone: pike-rc1 → pike-rc2
milestone: pike-rc2 → queens-1
Revision history for this message
Mark Goddard (mgoddard) wrote :

My solution for this issue is to modify the inventory to add the [deployment] group to the [baremetal] group.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/478796
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=3b7ab63a19b4836e399a422e153770425e88d2d7
Submitter: Jenkins
Branch: master

commit 3b7ab63a19b4836e399a422e153770425e88d2d7
Author: Eduardo Gonzalez <email address hidden>
Date: Thu Jun 29 09:18:33 2017 +0100

    Fix prechecks fail with docker not in deployment host

    This changes only evaluates baremetal host group
    to look for docker versions.

    Change-Id: I64a7314b332958d003f88a00aa73ba79a760a051
    Closes-Bug: #1700986

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

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/515267

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/pike)

Reviewed: https://review.openstack.org/515267
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=ec2904db05e2733db003f3d7338450d4479381d3
Submitter: Zuul
Branch: stable/pike

commit ec2904db05e2733db003f3d7338450d4479381d3
Author: Eduardo Gonzalez <email address hidden>
Date: Thu Jun 29 09:18:33 2017 +0100

    Fix prechecks fail with docker not in deployment host

    This changes only evaluates baremetal host group
    to look for docker versions.

    Change-Id: I64a7314b332958d003f88a00aa73ba79a760a051
    Closes-Bug: #1700986
    (cherry picked from commit 3b7ab63a19b4836e399a422e153770425e88d2d7)

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

This issue was fixed in the openstack/kolla-ansible 6.0.0.0b2 development milestone.

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

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