unable to sync database when access-network is configured in percona-cluster charm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
High
|
James Page | ||
cinder (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned | ||
glance (Juju Charms Collection) |
Fix Released
|
High
|
Unassigned | ||
keystone (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned | ||
neutron-api (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned | ||
nova-cloud-controller (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned | ||
nova-compute (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned | ||
quantum-gateway (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have deployed glance with juju and it didn't create database of glance.
I looked into the juju log and there is sync error of glance
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 INFO shared-
2015-01-23 04:59:36 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
I also attached my juju status and glance log/config files
Related branches
- Liam Young (community): Approve
-
Diff: 25 lines (+2/-2)2 files modifiedcharmhelpers/contrib/openstack/context.py (+1/-1)
tests/contrib/openstack/test_os_contexts.py (+1/-1)
- Liam Young (community): Approve
-
Diff: 25 lines (+2/-2)2 files modifiedcharmhelpers/contrib/openstack/context.py (+1/-1)
tests/contrib/openstack/test_os_contexts.py (+1/-1)
- Liam Young (community): Approve
-
Diff: 73 lines (+14/-8)4 files modifiedcharm-helpers-hooks.yaml (+1/-1)
charm-helpers-tests.yaml (+1/-1)
hooks/charmhelpers/contrib/openstack/context.py (+1/-1)
hooks/charmhelpers/core/sysctl.py (+11/-5)
- Liam Young (community): Approve
-
Diff: 73 lines (+14/-8)4 files modifiedcharm-helpers-hooks.yaml (+1/-1)
charm-helpers-tests.yaml (+1/-1)
hooks/charmhelpers/contrib/openstack/context.py (+1/-1)
hooks/charmhelpers/core/sysctl.py (+11/-5)
- Liam Young (community): Approve
-
Diff: 32 lines (+3/-3)3 files modifiedcharm-helpers-hooks.yaml (+1/-1)
charm-helpers-tests.yaml (+1/-1)
hooks/charmhelpers/contrib/openstack/context.py (+1/-1)
- charmers: Pending requested
-
Diff: 63 lines (+13/-7)3 files modifiedcharm-helpers-sync.yaml (+1/-1)
hooks/charmhelpers/contrib/openstack/context.py (+1/-1)
hooks/charmhelpers/core/sysctl.py (+11/-5)
- Liam Young (community): Approve
-
Diff: 73 lines (+14/-8)4 files modifiedcharm-helpers-hooks.yaml (+1/-1)
charm-helpers-tests.yaml (+1/-1)
hooks/charmhelpers/contrib/openstack/context.py (+1/-1)
hooks/charmhelpers/core/sysctl.py (+11/-5)
- Liam Young (community): Approve
-
Diff: 154 lines (+25/-16)7 files modifiedcharm-helpers-hooks.yaml (+1/-1)
charm-helpers-tests.yaml (+1/-1)
hooks/charmhelpers/contrib/network/ufw.py (+8/-3)
hooks/charmhelpers/contrib/openstack/context.py (+1/-1)
hooks/charmhelpers/core/sysctl.py (+11/-5)
hooks/nova_compute_context.py (+2/-3)
unit_tests/test_nova_compute_contexts.py (+1/-2)
- Liam Young (community): Approve
-
Diff: 124 lines (+22/-11)5 files modifiedcharm-helpers-hooks.yaml (+1/-1)
charm-helpers-tests.yaml (+1/-1)
hooks/charmhelpers/contrib/network/ufw.py (+8/-3)
hooks/charmhelpers/contrib/openstack/context.py (+1/-1)
hooks/charmhelpers/core/sysctl.py (+11/-5)
tags: | added: cts openstack |
Changed in glance (Juju Charms Collection): | |
milestone: | none → 15.01 |
milestone: | 15.01 → 15.04 |
Changed in glance (Juju Charms Collection): | |
milestone: | 15.04 → none |
Changed in charm-helpers: | |
importance: | Undecided → High |
Changed in glance (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in glance (Juju Charms Collection): | |
status: | New → Triaged |
Changed in charm-helpers: | |
status: | New → In Progress |
assignee: | nobody → James Page (james-page) |
no longer affects: | cinder (Ubuntu) |
Changed in neutron-api (Juju Charms Collection): | |
status: | New → Fix Committed |
Changed in cinder (Juju Charms Collection): | |
status: | New → Fix Committed |
milestone: | none → 15.04 |
Changed in glance (Juju Charms Collection): | |
milestone: | none → 15.04 |
Changed in neutron-api (Juju Charms Collection): | |
milestone: | none → 15.04 |
Changed in nova-cloud-controller (Juju Charms Collection): | |
status: | New → Fix Committed |
no longer affects: | quantum-gateway (Ubuntu) |
Changed in nova-compute (Juju Charms Collection): | |
status: | New → Fix Committed |
Changed in quantum-gateway (Juju Charms Collection): | |
status: | New → Fix Committed |
Changed in keystone (Juju Charms Collection): | |
status: | New → Fix Committed |
milestone: | none → 15.04 |
Changed in nova-cloud-controller (Juju Charms Collection): | |
milestone: | none → 15.04 |
Changed in nova-compute (Juju Charms Collection): | |
milestone: | none → 15.04 |
Changed in quantum-gateway (Juju Charms Collection): | |
milestone: | none → 15.04 |
summary: |
- glance couldn't sync database + enable to sync database when access-network is configured in percona- + cluster charm |
summary: |
- enable to sync database when access-network is configured in percona- + unable to sync database when access-network is configured in percona- cluster charm |
Changed in cinder (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in glance (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in keystone (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in neutron-api (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in nova-cloud-controller (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in nova-compute (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in quantum-gateway (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in charm-helpers: | |
status: | Fix Committed → Fix Released |
Alex, I see that you are using a 3-node Percona cluster. Could you please confirm that the cluster formed properly by doing:
juju ssh percona/0 "mysql -uroot -pagoodpassword -e \"show status like 'wsrep_ cluster% ';\""
and verifying that cluster_size is 3
Also, did you manage to recover from this issue? e.g. by doing 'juju resolved -r glance/0'