ansible does not run bootstrap for keystone
Bug #1482214 reported by
Vladislav Belogrudov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Critical
|
Sam Yaple |
Bug Description
When running ansible playbook for keystone ansible ignores the run_once variable for bootstrap container (it runs on all controllers) and also other variables are not passed so that bootstrapping actually does not happen (no database tables created). Tried ol-source-keystone (centos-
Changed in kolla: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → liberty-3 |
Changed in kolla: | |
assignee: | nobody → Sam Yaple (s8m) |
Changed in kolla: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have added debug task with run_once to trace the problem.
[vlad@vb-t440 ansible]$ ansible-playbook -i ~/multinode.vlad -e @/etc/kolla/ defaults. yml -e @/etc/kolla/ globals. yml -e @/etc/kolla/ passwords. yml ./site.yml --tags keystone
PLAY [keystone] ******* ******* ******* ******* ******* ******* ******* ******* *******
GATHERING FACTS ******* ******* ******* ******* ******* ******* ******* ******* *******
ok: [ndb02]
ok: [ndb01]
TASK: [keystone | Ensuring templates config directory exists] *****************
ok: [ndb01]
ok: [ndb02]
TASK: [keystone | Ensuring config directory exists] ******* ******* ******* ******
ok: [ndb02]
ok: [ndb01]
TASK: [keystone | Copying over config(s)] ******* ******* ******* ******* ******* ** 'roles/ keystone/ templates/ keystone. conf.j2' , u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_minimal' ]) 'roles/ keystone/ templates/ keystone. conf.j2' , u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_minimal' ]) '/etc/kolla/ config/ global. conf', u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_global' ]) '/etc/kolla/ config/ global. conf', u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_global' ]) '/etc/kolla/ config/ database. conf', u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_database' ]) '/etc/kolla/ config/ database. conf', u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_database' ]) '/etc/kolla/ config/ messaging. conf', u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_messaging' ]) '/etc/kolla/ config/ messaging. conf', u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_messaging' ]) '/etc/kolla/ config/ keystone. conf', u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_augment' ]) '/etc/kolla/ config/ keystone. conf', u'/usr/ share/kolla/ templates/ keystone/ keystone. conf_augment' ])
ok: [ndb02] => (item=[
ok: [ndb01] => (item=[
ok: [ndb02] => (item=[
ok: [ndb01] => (item=[
ok: [ndb02] => (item=[
ok: [ndb01] => (item=[
ok: [ndb02] => (item=[
ok: [ndb01] => (item=[
ok: [ndb02] => (item=[
ok: [ndb01] => (item=[
TASK: [keystone | Merging the config files and saving to the final destination] ***
ok: [ndb02]
ok: [ndb01]
TASK: [keystone | Copying over config(s)] ******* ******* ******* ******* ******* **
ok: [ndb02]
ok: [ndb01]
TASK: [keystone | Creating database] ******* ******* ******* ******* ******* *******
changed: [ndb01]
TASK: [keystone | Creating database user and setting permissions] *************
changed: [ndb01]
TASK: [keystone | debug msg="starting bootstrap container"] *******************
ok: [ndb01] => {
"msg": "starting bootstrap container"
}
TASK: [keystone | Starting container(s)] ******* ******* ******* ******* ******* ***
changed: [ndb02]
changed: [ndb01]
TASK: [keystone | Starting container(s)] ******* ******* ******* ******* ******
skipping: [ndb02]
skipping: [ndb01]
TASK: [keystone | Waiting for bootstrap container to exit] ******* ******* ******
changed: [ndb02]
changed: [ndb01]
TASK: [keystone | Starting container(s)] ******* ******* ******* ******* ******* ***
ok: [ndb01]
ok: [ndb02]
TASK: [keystone | Starting PID container(s)] ******* ******* ******* ******* ******
skipping: [ndb01]
skipping: [ndb02]
PLAY RECAP ******* ******* ******* ******* ******* ******* ******* ******* ******* *****
ndb01 : ok=12 changed=4 ...