Project

General

Profile

Actions

Bug #53583

closed

mgr: Failed to validate Drive Group: OSD spec needs a `placement` key

Added by Laura Flores over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description:

Test failure: test_yaml (tasks.cephadm_cases.test_cli.TestCephadmCLI) 

Command failed on smithi168 with status 22: "sudo /home/ubuntu/cephtest/cephadm --image quay.ceph.io/ceph-ci/ceph:a3b146a8fc1f45c2319c2c383e97c4c255eb1f00 shell -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring --fsid e6aebcde-56e4-11ec-8c2e-001a4aab830c -- bash -c 'ceph orch ls --format yaml'" 

Found in:

/a/yuriw-2021-12-06_22:03:31-rados-wip-yuri2-testing-2021-11-30-0754-distro-default-smithi/6548644/
/a/kchai-2021-08-05_04:35:22-rados-wip-kefu-testing2-2021-08-05-0943-distro-basic-smithi/6311748/
/a/lflores-2021-12-10_05:30:11-rados-wip-primary-balancer-distro-default-smithi/6556696

Teuthology log example:

2021-12-06T22:48:19.215 INFO:teuthology.orchestra.run.smithi168.stderr:Error EINVAL: Failed to validate Drive Group: OSD spec needs a `placement` key.
2021-12-06T22:48:19.437 INFO:journalctl@ceph.node-exporter.b.smithi197.stdout:Dec 06 22:48:19 smithi197 bash[29077]: time="2021-12-06T22:48:19Z" level=error msg="error gathering metrics: 12 error(s) occurred:\n* [from Gatherer #2] collected metric \"node_hwmon_chip_names\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"chip_name\" value:\"nvme\" > gauge:<value:1 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_sensor_label\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"label\" value:\"composite\" > label:<name:\"sensor\" value:\"temp1\" > gauge:<value:1 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_temp_alarm\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"sensor\" value:\"temp1\" > gauge:<value:0 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_temp_celsius\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"sensor\" value:\"temp1\" > gauge:<value:-273.15000000000003 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_chip_names\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"chip_name\" value:\"nvme\" > gauge:<value:1 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_sensor_label\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"label\" value:\"composite\" > label:<name:\"sensor\" value:\"temp1\" > gauge:<value:1 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_temp_alarm\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"sensor\" value:\"temp1\" > gauge:<value:0 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_temp_celsius\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"sensor\" value:\"temp1\" > gauge:<value:-273.15000000000003 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_chip_names\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"chip_name\" value:\"nvme\" > gauge:<value:1 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_sensor_label\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"label\" value:\"composite\" > label:<name:\"sensor\" value:\"temp1\" > gauge:<value:1 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_temp_alarm\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"sensor\" value:\"temp1\" > gauge:<value:0 > } was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"node_hwmon_temp_celsius\" { label:<name:\"chip\" value:\"nvme_fabrics_ctl\" > label:<name:\"sensor\" value:\"temp1\" > gauge:<value:-273.15000000000003 > } was collected before with the same name and label values\n" source="log.go:172" 
2021-12-06T22:48:19.547 INFO:journalctl@ceph.mgr.y.smithi168.stdout:Dec 06 22:48:19 smithi168 bash[11461]: debug 2021-12-06T22:48:19.209+0000 7fa24bdb8700 -1 mgr.server reply reply (22) Invalid argument Failed to validate Drive Group: OSD spec needs a `placement` key.
2021-12-06T22:48:19.547 INFO:journalctl@ceph.mgr.y.smithi168.stdout:Dec 06 22:48:19 smithi168 bash[11461]: ::ffff:172.21.15.197 - - [06/Dec/2021:22:48:19] "GET /metrics HTTP/1.1" 200 199479 "" "Prometheus/2.18.1" 
2021-12-06T22:48:19.809 INFO:journalctl@ceph.iscsi.iscsi.a.smithi197.stdout:Dec 06 22:48:19 smithi197 bash[26484]: debug there is no tcmu-runner data available
2021-12-06T22:48:19.958 DEBUG:teuthology.orchestra.run:got remote process result: 22
Actions #1

Updated by Neha Ojha over 2 years ago

  • Project changed from mgr to Orchestrator
Actions #2

Updated by Sebastian Wagner over 2 years ago

Actions #3

Updated by Sebastian Wagner over 2 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF