This makes it match the cephadm result, where e.g., the placement
shows as '<unmanaged>' in 'orch ls'.
Signed-off-by: Sage Weil <sage@newdream.net>
svc = 'osd'
spec[svc] = orchestrator.ServiceDescription(
spec=DriveGroupSpec(
+ unmanaged=True,
service_type='osd',
- placement=PlacementSpec(count=len(all_osds), hosts=[osd.metadata.labels['topology-location-host'] for osd in all_osds]),
),
size=len(all_osds),
last_refresh=now,
- running= sum(osd.status.phase == 'Running' for osd in all_osds)
+ running=sum(osd.status.phase == 'Running' for osd in all_osds)
)
# drivegroups