error CrushLocation missing 2 required positional arguments: 'identifier' and 'name'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The config-changed hooks threw an exception on a fresh deployment, with ceph-osd charm latest/edge:
```
unit-ceph-osd-0: 04:18:02 DEBUG unit.ceph-
unit-ceph-osd-0: 04:18:02 DEBUG unit.ceph-
unit-ceph-osd-0: 04:18:02 INFO unit.ceph-
unit-ceph-osd-0: 04:18:02 INFO unit.ceph-
unit-ceph-osd-0: 04:18:02 INFO unit.ceph-
unit-ceph-osd-0: 04:18:02 INFO unit.ceph-
unit-ceph-osd-0: 04:18:02 INFO unit.ceph-
unit-ceph-osd-0: 04:18:02 DEBUG unit.ceph-
unit-ceph-osd-0: 04:18:02 INFO unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 WARNING unit.ceph-
unit-ceph-osd-0: 04:18:02 ERROR juju.worker.
```
Bundle:
```
series: jammy
applications:
ceph-dashboard:
charm: ceph-dashboard
channel: latest/edge
revision: 49
ceph-mon:
charm: ceph-mon
channel: latest/edge
revision: 192
resources:
alert-rules: 1
num_units: 1
to:
- lxd:0
options:
monitor-
constraints: arch=amd64
ceph-osd:
charm: ceph-osd
channel: latest/edge
revision: 577
num_units: 3
to:
- "0"
- "1"
- "2"
options:
osd-devices: /dev/vdb /dev/vdc
constraints: arch=amd64
storage:
bluestore-db: loop,1024M
bluestore
cache-
osd-devices: loop,1024M
osd-journals: loop,1024M
machines:
"0":
constraints: arch=amd64
"1":
constraints: arch=amd64
"2":
constraints: arch=amd64
relations:
- - ceph-dashboard:
- ceph-mon:dashboard
- - ceph-mon:osd
- ceph-osd:mon
```
description: | updated |
Changed in charm-ceph-osd: | |
status: | New → In Progress |
Just to clarify: Did this happen when migrating from quincy to reef? or just by changing the config on reef?
The reason I ask is because the only call to `CrushLocation` is on `check_ for_upgrade` , which makes me think the external command we're calling has changed its output.