Project

General

Profile

Bug #45161

cephadm: iscsi should validate the existence of the given pool

Added by Sebastian Wagner 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
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:

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>

History

#1 Updated by Ricardo Marques 7 months ago

  • Subject changed from cephadm: isci should validate the existence of the given pool to cephadm: iscsi should validate the existence of the given pool

#2 Updated by Matthew Oliver 7 months ago

  • Assignee set to Matthew Oliver

I've added a pool check to iscsci and nfs (which has the same issue): https://github.com/ceph/ceph/pull/34698

#3 Updated by Matthew Oliver 7 months ago

  • Pull request ID set to 34698

#4 Updated by Sebastian Wagner 7 months ago

  • Status changed from New to Pending Backport

#5 Updated by Sebastian Wagner 6 months ago

  • Status changed from Pending Backport to Resolved
  • Target version set to v15.2.3

Also available in: Atom PDF