Project

General

Profile

Actions

Bug #45161

closed

cephadm: iscsi should validate the existence of the given pool

Added by Sebastian Wagner about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Matthew Oliver
Category:
cephadm
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

Let's create an iscsi gw, without having the "rbd" pool:

node1:~ # ceph osd lspools
1 device_health_metrics

node1:~ # ceph orch daemon add iscsi rbd --placement node1
Deployed iscsi.iscsi.node1.cvoavv on host 'node1'

cephadm happily creates the broken gw:

node1:~ # ceph orch ps
NAME                      HOST   STATUS         REFRESHED  AGE  VERSION    IMAGE NAME                                                               IMAGE ID      CONTAINER ID  
iscsi.iscsi.node1.cvoavv  node1  running        4m ago     4m   <unknown>  docker.io/ceph/ceph:v15                                                  <unknown>     <unknown>

Actions

Also available in: Atom PDF