ansible waits for non-running bootstrap keystone

Bug #1483224 reported by Vladislav Belogrudov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Vladislav Belogrudov

Bug Description

Bootstrapping of keystone happens on first of controllers (via run_once) but waiting for bootstrap container is done for all. This gives error on all but first host:

TASK: [keystone | Starting Keystone bootstrap container] **********************
changed: [ndb01]

TASK: [keystone | Waiting for Keystone bootstrap container to exit] ***********
failed: [ndb02] => {"changed": true, "cmd": ["docker", "wait", "bootstrap_keystone"], "delta": "0:00:00.047657", "end": "2015-08-10 14:55:13.552437", "rc": 1, "start": "2015-08-10 14:55:13.504780", "warnings": []}
stderr: Error response from daemon: no such id: bootstrap_keystone
Error: failed to wait containers: [bootstrap_keystone]

Changed in kolla:
assignee: nobody → Vladislav Belogrudov (vlad-belogrudov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

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

Reviewed: https://review.openstack.org/211120
Committed: https://git.openstack.org/cgit/stackforge/kolla/commit/?id=fe9092bab7ecfc58aa10ba4165c9bf21a99170e2
Submitter: Jenkins
Branch: master

commit fe9092bab7ecfc58aa10ba4165c9bf21a99170e2
Author: Vladislav Belogrudov <email address hidden>
Date: Mon Aug 10 15:02:08 2015 +0300

    Ansible should wait bootstrap container on first host

    Bootstrapping of Keystone/Glance happens on first host
    via 'run_once'. After running bootstrap containers we
    should wait for them also on the same host. Currently
    waiting is done on all hosts what gives task error on
    other hosts.

    Change-Id: I6eac928d405ea819982118d9b567988074be4ed2
    Closes-Bug: #1483224

Changed in kolla:
status: In Progress → Fix Committed
Steven Dake (sdake)
Changed in kolla:
milestone: none → liberty-rc1
importance: Undecided → Critical
Sam Yaple (s8m)
Changed in kolla:
status: Fix Committed → 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.