Failed to validate Drive Group: OSD spec needs a `placement` key.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
New
|
Undecided
|
Unassigned |
Bug Description
During openstack deploy...
cephadm fails with "Failed to validate Drive Group: OSD spec needs a `placement` key." when applying ceph_spec.yaml, generated by /usr/share/
Apparently, given my configuration and version specifics, cephadm requires a placement key; i.e.
---
data_devices:
all: true
placement:
host_pattern: '*'
service_id: default_drive_group
service_name: osd.default_
service_type: osd
which will not be generated by /usr/share/
With a simple change I got passed the issue:
--- /usr/share/
+++ /usr/share/
@@ -326,7 +326,7 @@
# Create service entries for supported services in SERVICE_MAP
labels = []
- placement_pattern = ''
+ placement_pattern = '*'
spec_dict = {}
for svc in ceph_service_types:
host_list = []
but I have no idea how many other valid configuration permutations there are or how this change would or would not adversely affect them. I'll leave a proposed remediation to those far more knowledgeable than I.
This is Xena release, from:
python3-
ceph containers:
parameter_defaults:
ContainerImag
- push_destination: true
set:
ceph_
ceph_
ceph_
ceph_
ceph_
ceph_
ceph_image: daemon
ceph_
ceph_
ceph_
ceph_
ceph_
ceph_
ceph_
ceph_tag: v6.0.4-
name_prefix: openstack-
name_suffix: ''
namespace: quay.io/
neutron_
rhel_
tag: current-tripleo
tag_from_label: rdo_version