glance bootstrap container does not bootstrap

Bug #1483647 reported by Vladislav Belogrudov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Vladislav Belogrudov

Bug Description

Typo in ansible play:

    env:
      KOLLA_BOOSTRAP:

Should be KOLLA_BOOTSTRAP. Container misses db sync block and just starts service. Ansible waits for bootstrap container forever

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/211500

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/211500
Committed: https://git.openstack.org/cgit/stackforge/kolla/commit/?id=91df6940d9b332c4b38250b970e23b7de21945bd
Submitter: Jenkins
Branch: master

commit 91df6940d9b332c4b38250b970e23b7de21945bd
Author: Vladislav Belogrudov <email address hidden>
Date: Tue Aug 11 13:55:17 2015 +0300

    Glance bootstrap container does not create tables and runs forever

    Due to typo in ansible/roles/glance/tasks/bootstrap.yml container
    misses database initialization block and starts service instead.
    Ansible hangs on waiting for bootstrap container exit.

    Change-Id: Icf5ba68b47d65b22d6869e4b7b2d93e7edb8ed3b
    Closes-Bug: #1483647

Changed in kolla:
status: In Progress → Fix Committed
Revision history for this message
yuchuan zhang (yuchuan-zhang) wrote :
Download full text (3.5 KiB)

I meet the same issue as below:
-----------------
[root@tempest-heat ansible]# ansible-playbook -i ~/multinode -e @/etc/kolla/defaults.yml -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml site.yml --tags glance

PLAY [glance] *****************************************************************

GATHERING FACTS ***************************************************************
ok: [OL71-NDB1]

TASK: [common | Starting container(s)] ****************************************
ok: [OL71-NDB1]

TASK: [common | Starting PID container(s)] ************************************
skipping: [OL71-NDB1]

TASK: [glance | Creating the Glance service and endpoint] *********************
changed: [OL71-NDB1]

TASK: [glance | Creating the Glance project, user, and role] ******************
changed: [OL71-NDB1]

TASK: [glance | Ensuring templates config directory exists] *******************
ok: [OL71-NDB1]

TASK: [glance | Ensuring config directory exists] *****************************
ok: [OL71-NDB1]

TASK: [glance | Copying over config(s)] ***************************************
ok: [OL71-NDB1] => (item=['roles/glance/templates/glance-registry.conf.j2', u'/usr/share/kolla/templates/glance-registry/glance.conf_minimal'])
ok: [OL71-NDB1] => (item=['/etc/kolla/config/global.conf', u'/usr/share/kolla/templates/glance-registry/glance.conf_global'])
ok: [OL71-NDB1] => (item=['/etc/kolla/config/database.conf', u'/usr/share/kolla/templates/glance-registry/glance.conf_database'])
ok: [OL71-NDB1] => (item=['/etc/kolla/config/glance.conf', u'/usr/share/kolla/templates/glance-registry/glance.conf_augment'])
ok: [OL71-NDB1] => (item=['/etc/kolla/config/glance/glance-registry.conf', u'/usr/share/kolla/templates/glance-registry/glance-registry.conf_augment'])

TASK: [glance | Merging the config files and saving to the final destination] ***
ok: [OL71-NDB1]

TASK: [glance | Ensuring templates config directory exists] *******************
ok: [OL71-NDB1]

TASK: [glance | Ensuring config directory exists] *****************************
ok: [OL71-NDB1]

TASK: [glance | Copying over config(s)] ***************************************
changed: [OL71-NDB1] => (item=['roles/glance/templates/glance-api.conf.j2', u'/usr/share/kolla/templates/glance-api/glance.conf_minimal'])
ok: [OL71-NDB1] => (item=['/etc/kolla/config/global.conf', u'/usr/share/kolla/templates/glance-api/glance.conf_global'])
ok: [OL71-NDB1] => (item=['/etc/kolla/config/database.conf', u'/usr/share/kolla/templates/glance-api/glance.conf_database'])
ok: [OL71-NDB1] => (item=['/etc/kolla/config/messaging.conf', u'/usr/share/kolla/templates/glance-api/glance.conf_messaging'])
ok: [OL71-NDB1] => (item=['/etc/kolla/config/glance.conf', u'/usr/share/kolla/templates/glance-api/glance.conf_augment'])
ok: [OL71-NDB1] => (item=['/etc/kolla/config/glance/glance-api.conf', u'/usr/share/kolla/templates/glance-api/glance-api.conf_augment'])

TASK: [glance | Merging the config files and saving to the final destination] ***
changed: [OL71-NDB1]

TASK: [glance | Creating Glance database] *************************************
changed: [OL71-NDB1]

TASK: [glance | Creating Glance database user and setting permissions] ********
changed: [OL7...

Read more...

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.