OSA run: units related to ceph got an empty ceph.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
Fix Released
|
High
|
Chris Glass | ||
15.07 |
Fix Released
|
High
|
Chris Glass | ||
Cisco-odl |
Fix Released
|
High
|
Chris Glass | ||
Trunk |
Fix Released
|
High
|
Chris Glass | ||
ceph (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young | ||
cinder (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young | ||
cinder-ceph (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young | ||
glance (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young | ||
nova-compute (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young |
Bug Description
This is almost identical to https:/
After an OSA run, where we relate glance to ceph, glance image upload failed. Further inspection showed that /etc/ceph/ceph.conf on all 3 glance units was basically empty:
"""
#######
# [ WARNING ]
# glance configuration file maintained by Juju
# local changes may be overwritten.
#######
[global]
log to syslog =
err to syslog =
clog to syslog =
"""
After I manually destroyed the ceph-glance relation, and created it back again, then /etc/ceph/ceph.conf on the 3 glance units had valid configuration:
"""
#######
# [ WARNING ]
# glance configuration file maintained by Juju
# local changes may be overwritten.
#######
[global]
auth_supported = cephx
#keyring = /etc/ceph/
keyring = /etc/ceph/
mon host = 10.1.4.142 10.1.4.152 10.1.4.158
log to syslog = false
err to syslog = false
clog to syslog = false
"""
And glance started to work then.
Related branches
- Edward Hope-Morley: Approve
-
Diff: 1195 lines (+885/-62)7 files modifiedhooks/ceph_broker.py (+12/-2)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/hooks.py (+9/-1)
tests/charmhelpers/contrib/amulet/utils.py (+234/-52)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+20/-5)
tests/charmhelpers/contrib/openstack/amulet/utils.py (+359/-0)
unit_tests/test_ceph_broker.py (+27/-0)
- Edward Hope-Morley: Approve
-
Diff: 1305 lines (+886/-104) (has conflicts)8 files modifiedcharmhelpers/contrib/openstack/context.py (+8/-9)
charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/glance_relations.py (+13/-19)
templates/ceph.conf (+2/-1)
tests/charmhelpers/contrib/amulet/utils.py (+234/-52)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+20/-5)
tests/charmhelpers/contrib/openstack/amulet/utils.py (+359/-0)
unit_tests/test_glance_relations.py (+26/-16)
- Edward Hope-Morley: Approve
- Chris Glass (community): Approve
-
Diff: 812 lines (+612/-30)5 files modifiedcharmhelpers/contrib/openstack/context.py (+8/-9)
charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
tests/contrib/openstack/test_os_contexts.py (+36/-4)
tests/contrib/storage/test_linux_ceph.py (+337/-8)
tests/helpers.py (+7/-7)
- Edward Hope-Morley: Approve
-
Diff: 1252 lines (+866/-91)7 files modifiedhooks/charmhelpers/contrib/openstack/context.py (+8/-9)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/nova_compute_hooks.py (+14/-23)
tests/charmhelpers/contrib/amulet/utils.py (+234/-52)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+20/-5)
tests/charmhelpers/contrib/openstack/amulet/utils.py (+359/-0)
unit_tests/test_nova_compute_hooks.py (+7/-0)
- Edward Hope-Morley: Approve
-
Diff: 1274 lines (+867/-101)7 files modifiedhooks/charmhelpers/contrib/openstack/context.py (+8/-9)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/cinder_hooks.py (+13/-19)
tests/charmhelpers/contrib/amulet/utils.py (+234/-52)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+20/-5)
tests/charmhelpers/contrib/openstack/amulet/utils.py (+359/-0)
unit_tests/test_cinder_hooks.py (+9/-14)
- Edward Hope-Morley: Needs Fixing
- Ryan Beisner (community): Needs Fixing
-
Diff: 1382 lines (+929/-101)8 files modifiedhooks/charmhelpers/contrib/openstack/context.py (+8/-9)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/cinder_hooks.py (+13/-22)
tests/basic_deployment.py (+52/-8)
tests/charmhelpers/contrib/amulet/utils.py (+234/-52)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+20/-5)
tests/charmhelpers/contrib/openstack/amulet/utils.py (+359/-0)
unit_tests/test_cinder_hooks.py (+19/-3)
- Chris Glass (community): Approve
-
Diff: 812 lines (+612/-30)5 files modifiedcharmhelpers/contrib/openstack/context.py (+8/-9)
charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
tests/contrib/openstack/test_os_contexts.py (+36/-4)
tests/contrib/storage/test_linux_ceph.py (+337/-8)
tests/helpers.py (+7/-7)
- Chris Glass (community): Approve
-
Diff: 487 lines (+278/-38)8 files modifiedhooks/ceph_broker.py (+12/-2)
hooks/charmhelpers/cli/__init__.py (+1/-5)
hooks/charmhelpers/cli/commands.py (+4/-4)
hooks/charmhelpers/cli/hookenv.py (+23/-0)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/charmhelpers/core/hookenv.py (+1/-20)
hooks/charmhelpers/core/host.py (+2/-2)
hooks/hooks.py (+11/-3)
- Chris Glass (community): Approve
-
Diff: 643 lines (+295/-82)11 files modifiedhooks/charmhelpers/cli/__init__.py (+1/-5)
hooks/charmhelpers/cli/commands.py (+4/-4)
hooks/charmhelpers/cli/hookenv.py (+23/-0)
hooks/charmhelpers/contrib/openstack/context.py (+8/-9)
hooks/charmhelpers/contrib/openstack/utils.py (+7/-5)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/charmhelpers/contrib/storage/linux/utils.py (+3/-2)
hooks/charmhelpers/core/hookenv.py (+1/-20)
hooks/charmhelpers/core/host.py (+2/-2)
hooks/cinder_hooks.py (+13/-19)
unit_tests/test_cinder_hooks.py (+9/-14)
- Chris Glass (community): Approve
- Ryan Beisner (community): Needs Fixing
-
Diff: 751 lines (+357/-82)12 files modifiedhooks/charmhelpers/cli/__init__.py (+1/-5)
hooks/charmhelpers/cli/commands.py (+4/-4)
hooks/charmhelpers/cli/hookenv.py (+23/-0)
hooks/charmhelpers/contrib/openstack/context.py (+8/-9)
hooks/charmhelpers/contrib/openstack/utils.py (+7/-5)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/charmhelpers/contrib/storage/linux/utils.py (+3/-2)
hooks/charmhelpers/core/hookenv.py (+1/-20)
hooks/charmhelpers/core/host.py (+2/-2)
hooks/cinder_hooks.py (+13/-22)
tests/basic_deployment.py (+52/-8)
unit_tests/test_cinder_hooks.py (+19/-3)
- Chris Glass (community): Approve
-
Diff: 623 lines (+294/-73)11 files modifiedhooks/charmhelpers/cli/__init__.py (+1/-5)
hooks/charmhelpers/cli/commands.py (+4/-4)
hooks/charmhelpers/cli/hookenv.py (+23/-0)
hooks/charmhelpers/contrib/openstack/context.py (+8/-9)
hooks/charmhelpers/contrib/openstack/utils.py (+7/-5)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/charmhelpers/core/hookenv.py (+1/-20)
hooks/charmhelpers/core/host.py (+2/-2)
hooks/glance_relations.py (+13/-19)
templates/ceph.conf (+2/-1)
unit_tests/test_glance_relations.py (+9/-6)
- Chris Glass (community): Approve
-
Diff: 634 lines (+295/-73)12 files modifiedhooks/charmhelpers/cli/__init__.py (+1/-5)
hooks/charmhelpers/cli/commands.py (+4/-4)
hooks/charmhelpers/cli/hookenv.py (+23/-0)
hooks/charmhelpers/contrib/openstack/context.py (+8/-9)
hooks/charmhelpers/contrib/openstack/utils.py (+7/-5)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+224/-2)
hooks/charmhelpers/contrib/storage/linux/utils.py (+3/-2)
hooks/charmhelpers/core/hookenv.py (+1/-20)
hooks/charmhelpers/core/host.py (+2/-2)
hooks/nova_compute_hooks.py (+14/-23)
metadata.yaml (+1/-1)
unit_tests/test_nova_compute_hooks.py (+7/-0)
Changed in ceph (Juju Charms Collection): | |
status: | New → In Progress |
Changed in cinder (Juju Charms Collection): | |
status: | New → In Progress |
Changed in cinder-ceph (Juju Charms Collection): | |
status: | New → In Progress |
Changed in nova-compute (Juju Charms Collection): | |
status: | New → In Progress |
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in cinder (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in cinder-ceph (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in nova-compute (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in ceph (Juju Charms Collection): | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in cinder (Juju Charms Collection): | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in cinder-ceph (Juju Charms Collection): | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in nova-compute (Juju Charms Collection): | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in ceph (Juju Charms Collection): | |
milestone: | none → 15.10 |
Changed in cinder (Juju Charms Collection): | |
milestone: | none → 15.10 |
Changed in cinder-ceph (Juju Charms Collection): | |
milestone: | none → 15.10 |
Changed in glance (Juju Charms Collection): | |
milestone: | none → 15.10 |
Changed in nova-compute (Juju Charms Collection): | |
milestone: | none → 15.10 |
tags: | added: backport-potential openstack sts |
summary: |
- OSA run: glance related to ceph got an empty ceph.conf + OSA run: units related to ceph got an empty ceph.conf |
tags: | added: landscape-release-29 |
tags: | added: landscape |
Changed in ceph (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in cinder (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in glance (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in nova-compute (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in cinder-ceph (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in cinder (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in glance (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in nova-compute (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in cinder-ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
tags: | removed: landscape-release-29 |
I'm going to try and reproduce this and see where it leads me