ceph / ceph-iscsi

Ceph iSCSI tools
GNU General Public License v3.0
62 stars 59 forks source link

Failed to deploy iscsi service #257

Closed variantf closed 2 years ago

variantf commented 2 years ago

Hi, I followed the instruction from https://docs.ceph.com/en/latest/cephadm/services/iscsi/.

However, no process be created even though there's no error info from ceph orch:

[ceph: root@ceph-1 /]# ceph orch ls
NAME                       PORTS        RUNNING  REFRESHED   AGE   PLACEMENT
alertmanager               ?:9093,9094      1/1  10d ago     2w    count:1
crash                                       5/5  10d ago     2w    *
grafana                    ?:3000           1/1  10d ago     2w    count:1
iscsi.dev-iscsi                             0/1  -           65m   ceph-5
iscsi.iscsi                                 0/5  <deleting>  102m  ceph-1;ceph-2;ceph-3;ceph-4;ceph-5
iscsi.prod-iscsi                            0/3  -           27m   ceph-1;ceph-2;ceph-3;count:3
mgr                                         2/2  10d ago     2w    count:2
mon                                         5/5  10d ago     2w    count:5
node-exporter              ?:9100           5/5  10d ago     2w    *
osd                                          60  10d ago     -     <unmanaged>
osd.all-available-devices                     0  -           2w    <unmanaged>
prometheus                 ?:9095           1/1  10d ago     2w    count:1
[ceph: root@ceph-1 /]# ceph orch ls --service_name=iscsi.prod-iscsi --format yaml
service_type: iscsi
service_id: prod-iscsi
service_name: iscsi.prod-iscsi
placement:
  count: 3
  hosts:
  - ceph-1
  - ceph-2
  - ceph-3
spec:
  api_password: Hefu@2407
  api_port: 5000
  api_user: root
  pool: production-iscsi
  trusted_ip_list: 10.18.1.1,10.18.1.2,10.18.1.3,10.18.1.4,10.18.1.5
status:
  created: '2022-03-29T16:31:30.886145Z'
  running: 0
  size: 3
events:
- 2022-03-29T15:22:01.794961Z service:iscsi.prod-iscsi [INFO] "service was created"
[ceph: root@ceph-1 /]#
variantf commented 2 years ago

it's been created after I reboot the node on which cephadm runs.