Project

General

Profile

Actions

Bug #45161

closed

cephadm: iscsi should validate the existence of the given pool

Added by Sebastian Wagner almost 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 #1

Updated by Ricardo Marques almost 4 years 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
Actions #2

Updated by Matthew Oliver almost 4 years 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

Actions #3

Updated by Matthew Oliver almost 4 years ago

  • Pull request ID set to 34698
Actions #4

Updated by Sebastian Wagner almost 4 years ago

  • Status changed from New to Pending Backport
Actions #5

Updated by Sebastian Wagner almost 4 years ago

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

Also available in: Atom PDF