incorrect replica count in a single-unit ceph deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Juju Charms Collection) |
Fix Released
|
Critical
|
Chris Holcombe | ||
ceph-mon (Juju Charms Collection) |
Fix Released
|
Critical
|
Chris Holcombe | ||
glance (Juju Charms Collection) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With ceph deployed with a single unit (no quorum), ceph-backed cinder and ceph-backed glance functionality is broken. This causes glance image uploads to fail, and likely volume creation.
Although the documented and recommended solution for ceph is to have at least 3 units, in certain test scenarios, such as where expensive storage hardware is being exercised, only one unit is deployed for those tests.
OIL is consistently failing to upload images to glance when testing with the -next charms:
We're getting an error with this traceback:
https:/
Here is the deployment yaml:
https:/
Here is juju status output:
https:/
I've attached logs from a glance unit where this failed.
Related branches
- Ryan Beisner (community): Approve
- Chris MacNaughton (community): Approve
- Jason Hobbs (community): Approve
-
Diff: 26 lines (+5/-0)2 files modifiedcharmhelpers/contrib/storage/linux/ceph.py (+4/-0)
tests/contrib/storage/test_linux_ceph.py (+1/-0)
Changed in ceph (Juju Charms Collection): | |
assignee: | nobody → Chris Holcombe (xfactor973) |
description: | updated |
Changed in glance (Juju Charms Collection): | |
status: | New → Invalid |
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → Critical |
status: | New → Confirmed |
status: | Confirmed → In Progress |
description: | updated |
summary: |
- Failure uploading images with next charms + incorrect replica count in a single-unit ceph deployment |
Changed in ceph (Juju Charms Collection): | |
milestone: | none → 16.04 |
Changed in ceph-mon (Juju Charms Collection): | |
assignee: | nobody → Chris Holcombe (xfactor973) |
status: | New → In Progress |
importance: | Undecided → Critical |
milestone: | none → 16.04 |
Changed in ceph (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in ceph-mon (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph-mon (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Can you please try forcing api version 1 to see if that resolves?:
ex:
glance --os-image- api-version 1 image-create --name="trusty" --is-public=true --progress --container- format= bare --disk-format=qcow2 < ~/images/ trusty- server- cloudimg- amd64-disk1. img