application name is "unknown" for iSCSI pools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceph iSCSI Charm |
Fix Committed
|
Medium
|
Luciano Lo Giudice |
Bug Description
The application name for two pools created by the charm are marked as unknown, which means there was no application name specified.
# ceph osd pool ls detail | grep iscsi
pool 19 'iscsi' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 16 pgp_num 16 autoscale_mode on last_change 931 flags hashpspool,
pool 20 'ceph-iscsi' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 8 pgp_num 8 autoscale_mode on last_change 939 flags hashpspool,
^^^ the last column
Ceph-iSCSI relies on RBD for both the data and the metadata pool so we can mark those as "rbd".
https:/
# rbd info --pool iscsi disk-1
rbd image 'disk-1':
size 5 GiB in 1280 objects
order 22 (4 MiB objects)
id: 1c0544b74c08
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
flags:
That will improve the visibility of the pool list in the Ceph dashboard too.
Changed in charm-ceph-iscsi: | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Luciano Lo Giudice (lmlogiudice) |
app-name=null
$ juju show-unit ceph-mon/0
...
- relation-id: 15 endpoint: ceph-client -data: {}
application- name: ceph-iscsi
broker_ req: '{"api-version": 1, "ops": [{"op": "create-pool", "name": "iscsi",
"replicas" : 3, "pg_num": null, "crush-profile": null, "app-name": null,
"compressi on-algorithm" : null, "compression-mode": null, "compression- required- ratio":
endpoint: client
related-
application
related-units:
ceph-iscsi/1:
in-scope: true
data:
...