Code Monkey home page Code Monkey logo

Comments (14)

tanshaolong avatar tanshaolong commented on August 17, 2024

Although, I check the status of rbd-target-api service in 192.168.2.98 is ok, I meet issue that run api to get targets. Please see the output.

[root@iscsi-gw-1 ceph]# curl --insecure --user admin:admin -X GET http://192.168.2.98:5000/api/targets
{
  "message": "API access not available to 192.168.2.98"
}

I run same api at the another gw node(iscsi-gw-0). It is ok.

from ceph-iscsi.

ricardoasmarques avatar ricardoasmarques commented on August 17, 2024

@tanshaolong you have to add 192.168.2.98 to the trusted_ip_list on /etc/ceph/iscsi-gateway.cfgand restart the rbd-target-api service.

from ceph-iscsi.

tanshaolong avatar tanshaolong commented on August 17, 2024

@ricardoasmarques Thank for your quick response

I add 192.168.2.98 to the trusted_ip_list. I can run above api at gw node 192.168.2.98. But I create a target gateway by gwcli, I have same issue yet.

If I create the target gateway by api. I get the below message:

[root@iscsi-gw-1 ceph]# curl --insecure --user admin:admin -d ip_address=192.168.2.98 -dskipchecks=true -X PUT http://192.168.2.98:5000/api/gateway/iqn.2020-05.com.redhat.iscsi-gw/iscsi-gw-1
{
  "message": "Gateway creation failed, gateway(s) unavailable:iscsi-gw-1(UNKNOWN state),iscsi-gw-0.sample.com(UNKNOWN state)"
}

from ceph-iscsi.

ricardoasmarques avatar ricardoasmarques commented on August 17, 2024

Any useful information on /var/log/rbd-target-api/rbd-target-api.log?

from ceph-iscsi.

ricardoasmarques avatar ricardoasmarques commented on August 17, 2024

Is pingworking?

curl --insecure --user admin:admin -X GET http://192.168.2.98:5000/api/_ping

Which HTTP code is returned?

from ceph-iscsi.

mikechristie avatar mikechristie commented on August 17, 2024

Can you confirm that iscsi-gw-1 is the hostname of the gw node and it has IP 192.168.2.98 and its also the node you were running gwcli on and where rbd-target-api is running successfully?

from ceph-iscsi.

tanshaolong avatar tanshaolong commented on August 17, 2024

@ricardoasmarques

I am sorry for late to reponse you.

If I directly do curl for ping, I think it work well.

[root@iscsi-gw-0 ~]# curl --insecure --user admin:admin -X GET http://192.168.2.91:5000/api/_ping
{
  "message": "pong"
}

But I see 403 http code at rbd-target-api.log, please see the detail log information:

2019-12-08 21:32:00,593     INFO [_internal.py:87:_log()] - fe80::250:56ff:fe8d:d6c9%ens192 - - [08/Dec/2019 21:32:00] "GET /api/_ping HTTP/1.1" 403 -
2019-12-08 21:32:01,856     INFO [_internal.py:87:_log()] - ::1 - - [08/Dec/2019 21:32:01] "GET /api/_ping HTTP/1.1" 200 -
2019-12-08 21:32:10,590     INFO [_internal.py:87:_log()] - fe80::250:56ff:fe8d:d6c9%ens192 - - [08/Dec/2019 21:32:10] "GET /api/_ping HTTP/1.1" 403 -
2019-12-08 21:32:11,857     INFO [_internal.py:87:_log()] - ::1 - - [08/Dec/2019 21:32:11] "GET /api/_ping HTTP/1.1" 200 -
2019-12-08 21:32:15,193    DEBUG [common.py:499:refresh()] - config refresh - current config is {u'updated': u'2019/12/06 09:30:45', u'created': u'2019/12/05 07:01:14', u'disks': {}, u'epoch': 9, u'version': 11, u'gateways': {u'iscsi-gw-0.sample.com': {u'updated': u'2019/12/06 07:34:55', u'active_luns': 0, u'created': u'2019/12/06 07:34:55'}, u'localhost6.localdomain6': {u'updated': u'2019/12/05 08:01:06', u'active_luns': 0, u'created': u'2019/12/05 08:01:06'}}, u'targets': {u'iqn.2020-01.com.redhat.iscsi-gw:iscsi-igw': {u'portals': {u'iscsi-gw-0.sample.com': {u'portal_ip_addresses': [u'192.168.2.91'], u'gateway_ip_list': [u'192.168.2.91'], u'inactive_portal_ips': [], u'tpgs': 1}}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/06 07:30:57', u'disks': {}, u'updated': u'2019/12/06 07:34:55', u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}, u'ip_list': [u'192.168.2.91']}, u'iqn.2020-01.com.redhat.iscsi-gw': {u'portals': {u'iscsi-gw-0.sample.com': {u'portal_ip_addresses': [u'192.168.2.91'], u'gateway_ip_list': [u'192.168.2.91'], u'inactive_portal_ips': [], u'tpgs': 1}}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/06 08:50:50', u'disks': {}, u'updated': u'2019/12/06 09:14:37', u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}, u'ip_list': [u'192.168.2.91']}, u'iqn.2019-01.com.redhat.iscsi-gw:iscsi-igw': {u'portals': {u'localhost6.localdomain6': {u'portal_ip_addresses': [u'192.168.2.92'], u'gateway_ip_list': [u'192.168.2.92'], u'inactive_portal_ips': [], u'tpgs': 1}}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/05 07:15:04', u'disks': {}, u'updated': u'2019/12/05 08:01:06', u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}, u'ip_list': [u'192.168.2.92']}, u'iqn.2020-05.com.redhat.iscsi-gw': {u'portals': {u'iscsi-gw-0.sample.com': {u'portal_ip_addresses': [u'192.168.2.91'], u'gateway_ip_list': [u'192.168.2.91'], u'inactive_portal_ips': [], u'tpgs': 1}}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/06 08:51:08', u'disks': {}, u'updated': u'2019/12/06 09:07:02', u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}, u'ip_list': [u'192.168.2.91']}, u'iqn.2020-06.com.redhat.iscsi-gw': {u'portals': {}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/06 09:30:45', u'disks': {}, u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}}}, u'discovery_auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}}
2019-12-08 21:32:15,193    DEBUG [common.py:139:_open_ioctx()] - (_open_ioctx) Opening connection to rbd pool
2019-12-08 21:32:15,194    DEBUG [common.py:146:_open_ioctx()] - (_open_ioctx) connection opened
2019-12-08 21:32:15,195    DEBUG [common.py:118:_read_config_object()] - _read_config_object reading the config object
2019-12-08 21:32:15,204    DEBUG [common.py:168:_get_ceph_config()] - (_get_rbd_config) config object contains '{
    "created": "2019/12/05 07:01:14",
    "discovery_auth": {
        "mutual_password": "",
        "mutual_password_encryption_enabled": false,
        "mutual_username": "",
        "password": "",
        "password_encryption_enabled": false,
        "username": ""
    },
    "disks": {},
    "epoch": 9,
    "gateways": {
        "iscsi-gw-0.sample.com": {
            "active_luns": 0,
            "created": "2019/12/06 07:34:55",
            "updated": "2019/12/06 07:34:55"
        },
        "localhost6.localdomain6": {
            "active_luns": 0,
            "created": "2019/12/05 08:01:06",
            "updated": "2019/12/05 08:01:06"
        }
    },
    "targets": {
        "iqn.2019-01.com.redhat.iscsi-gw:iscsi-igw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/05 07:15:04",
            "disks": {},
            "groups": {},
            "ip_list": [
                "192.168.2.92"
            ],
            "portals": {
                "localhost6.localdomain6": {
                    "gateway_ip_list": [
                        "192.168.2.92"
                    ],
                    "inactive_portal_ips": [],
                    "portal_ip_addresses": [
                        "192.168.2.92"
                    ],
                    "tpgs": 1
                }
            },
            "updated": "2019/12/05 08:01:06"
        },
        "iqn.2020-01.com.redhat.iscsi-gw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/06 08:50:50",
            "disks": {},
            "groups": {},
            "ip_list": [
                "192.168.2.91"
            ],
            "portals": {
                "iscsi-gw-0.sample.com": {
                    "gateway_ip_list": [
                        "192.168.2.91"
                    ],
                    "inactive_portal_ips": [],
                    "portal_ip_addresses": [
                        "192.168.2.91"
                    ],
                    "tpgs": 1
                }
            },
            "updated": "2019/12/06 09:14:37"
        },
        "iqn.2020-01.com.redhat.iscsi-gw:iscsi-igw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/06 07:30:57",
            "disks": {},
            "groups": {},
            "ip_list": [
                "192.168.2.91"
            ],
            "portals": {
                "iscsi-gw-0.sample.com": {
                    "gateway_ip_list": [
                        "192.168.2.91"
                    ],
                    "inactive_portal_ips": [],
                    "portal_ip_addresses": [
                        "192.168.2.91"
                    ],
                    "tpgs": 1
                }
            },
            "updated": "2019/12/06 07:34:55"
        },
        "iqn.2020-05.com.redhat.iscsi-gw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/06 08:51:08",
            "disks": {},
            "groups": {},
            "ip_list": [
                "192.168.2.91"
            ],
            "portals": {
                "iscsi-gw-0.sample.com": {
                    "gateway_ip_list": [
                        "192.168.2.91"
                    ],
                    "inactive_portal_ips": [],
                    "portal_ip_addresses": [
                        "192.168.2.91"
                    ],
                    "tpgs": 1
                }
            },
            "updated": "2019/12/06 09:07:02"
        },
        "iqn.2020-06.com.redhat.iscsi-gw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/06 09:30:45",
            "disks": {},
            "groups": {},
            "portals": {}
        }
    },
    "updated": "2019/12/06 09:30:45",
    "version": 11
}'
2019-12-08 21:32:15,206     INFO [_internal.py:87:_log()] - ::1 - - [08/Dec/2019 21:32:15] "GET /api/config HTTP/1.1" 200 -
2019-12-08 21:32:15,225    DEBUG [common.py:499:refresh()] - config refresh - current config is {u'updated': u'2019/12/06 09:30:45', u'created': u'2019/12/05 07:01:14', u'disks': {}, u'epoch': 9, u'version': 11, u'gateways': {u'iscsi-gw-0.sample.com': {u'updated': u'2019/12/06 07:34:55', u'active_luns': 0, u'created': u'2019/12/06 07:34:55'}, u'localhost6.localdomain6': {u'updated': u'2019/12/05 08:01:06', u'active_luns': 0, u'created': u'2019/12/05 08:01:06'}}, u'targets': {u'iqn.2020-01.com.redhat.iscsi-gw:iscsi-igw': {u'portals': {u'iscsi-gw-0.sample.com': {u'portal_ip_addresses': [u'192.168.2.91'], u'gateway_ip_list': [u'192.168.2.91'], u'inactive_portal_ips': [], u'tpgs': 1}}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/06 07:30:57', u'disks': {}, u'updated': u'2019/12/06 07:34:55', u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}, u'ip_list': [u'192.168.2.91']}, u'iqn.2020-01.com.redhat.iscsi-gw': {u'portals': {u'iscsi-gw-0.sample.com': {u'portal_ip_addresses': [u'192.168.2.91'], u'gateway_ip_list': [u'192.168.2.91'], u'inactive_portal_ips': [], u'tpgs': 1}}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/06 08:50:50', u'disks': {}, u'updated': u'2019/12/06 09:14:37', u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}, u'ip_list': [u'192.168.2.91']}, u'iqn.2019-01.com.redhat.iscsi-gw:iscsi-igw': {u'portals': {u'localhost6.localdomain6': {u'portal_ip_addresses': [u'192.168.2.92'], u'gateway_ip_list': [u'192.168.2.92'], u'inactive_portal_ips': [], u'tpgs': 1}}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/05 07:15:04', u'disks': {}, u'updated': u'2019/12/05 08:01:06', u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}, u'ip_list': [u'192.168.2.92']}, u'iqn.2020-05.com.redhat.iscsi-gw': {u'portals': {u'iscsi-gw-0.sample.com': {u'portal_ip_addresses': [u'192.168.2.91'], u'gateway_ip_list': [u'192.168.2.91'], u'inactive_portal_ips': [], u'tpgs': 1}}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/06 08:51:08', u'disks': {}, u'updated': u'2019/12/06 09:07:02', u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}, u'ip_list': [u'192.168.2.91']}, u'iqn.2020-06.com.redhat.iscsi-gw': {u'portals': {}, u'clients': {}, u'acl_enabled': True, u'created': u'2019/12/06 09:30:45', u'disks': {}, u'auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}, u'controls': {}, u'groups': {}}}, u'discovery_auth': {u'username': u'', u'password_encryption_enabled': False, u'mutual_username': u'', u'mutual_password_encryption_enabled': False, u'mutual_password': u'', u'password': u''}}
2019-12-08 21:32:15,225    DEBUG [common.py:139:_open_ioctx()] - (_open_ioctx) Opening connection to rbd pool
2019-12-08 21:32:15,225    DEBUG [common.py:146:_open_ioctx()] - (_open_ioctx) connection opened
2019-12-08 21:32:15,226    DEBUG [common.py:118:_read_config_object()] - _read_config_object reading the config object
2019-12-08 21:32:15,227    DEBUG [common.py:168:_get_ceph_config()] - (_get_rbd_config) config object contains '{
    "created": "2019/12/05 07:01:14",
    "discovery_auth": {
        "mutual_password": "",
        "mutual_password_encryption_enabled": false,
        "mutual_username": "",
        "password": "",
        "password_encryption_enabled": false,
        "username": ""
    },
    "disks": {},
    "epoch": 9,
    "gateways": {
        "iscsi-gw-0.sample.com": {
            "active_luns": 0,
            "created": "2019/12/06 07:34:55",
            "updated": "2019/12/06 07:34:55"
        },
        "localhost6.localdomain6": {
            "active_luns": 0,
            "created": "2019/12/05 08:01:06",
            "updated": "2019/12/05 08:01:06"
        }
    },
    "targets": {
        "iqn.2019-01.com.redhat.iscsi-gw:iscsi-igw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/05 07:15:04",
            "disks": {},
            "groups": {},
            "ip_list": [
                "192.168.2.92"
            ],
            "portals": {
                "localhost6.localdomain6": {
                    "gateway_ip_list": [
                        "192.168.2.92"
                    ],
                    "inactive_portal_ips": [],
                    "portal_ip_addresses": [
                        "192.168.2.92"
                    ],
                    "tpgs": 1
                }
            },
            "updated": "2019/12/05 08:01:06"
        },
        "iqn.2020-01.com.redhat.iscsi-gw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/06 08:50:50",
            "disks": {},
            "groups": {},
            "ip_list": [
                "192.168.2.91"
            ],
            "portals": {
                "iscsi-gw-0.sample.com": {
                    "gateway_ip_list": [
                        "192.168.2.91"
                    ],
                    "inactive_portal_ips": [],
                    "portal_ip_addresses": [
                        "192.168.2.91"
                    ],
                    "tpgs": 1
                }
            },
            "updated": "2019/12/06 09:14:37"
        },
        "iqn.2020-01.com.redhat.iscsi-gw:iscsi-igw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/06 07:30:57",
            "disks": {},
            "groups": {},
            "ip_list": [
                "192.168.2.91"
            ],
            "portals": {
                "iscsi-gw-0.sample.com": {
                    "gateway_ip_list": [
                        "192.168.2.91"
                    ],
                    "inactive_portal_ips": [],
                    "portal_ip_addresses": [
                        "192.168.2.91"
                    ],
                    "tpgs": 1
                }
            },
            "updated": "2019/12/06 07:34:55"
        },
        "iqn.2020-05.com.redhat.iscsi-gw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/06 08:51:08",
            "disks": {},
            "groups": {},
            "ip_list": [
                "192.168.2.91"
            ],
            "portals": {
                "iscsi-gw-0.sample.com": {
                    "gateway_ip_list": [
                        "192.168.2.91"
                    ],
                    "inactive_portal_ips": [],
                    "portal_ip_addresses": [
                        "192.168.2.91"
                    ],
                    "tpgs": 1
                }
            },
            "updated": "2019/12/06 09:07:02"
        },
        "iqn.2020-06.com.redhat.iscsi-gw": {
            "acl_enabled": true,
            "auth": {
                "mutual_password": "",
                "mutual_password_encryption_enabled": false,
                "mutual_username": "",
                "password": "",
                "password_encryption_enabled": false,
                "username": ""
            },
            "clients": {},
            "controls": {},
            "created": "2019/12/06 09:30:45",
            "disks": {},
            "groups": {},
            "portals": {}
        }
    },
    "updated": "2019/12/06 09:30:45",
    "version": 11
}'
2019-12-08 21:32:15,228     INFO [rbd-target-api:620:gateway()] - gateway validation needed for iscsi-gw-1
2019-12-08 21:32:15,231     INFO [_internal.py:87:_log()] - ::1 - - [08/Dec/2019 21:32:15] "PUT /api/gateway/iqn.2020-01.com.redhat.iscsi-gw:iscsi-igw/iscsi-gw-1 HTTP/1.1" 400 -
2019-12-08 21:32:20,587     INFO [_internal.py:87:_log()] - fe80::250:56ff:fe8d:d6c9%ens192 - - [08/Dec/2019 21:32:20] "GET /api/_ping HTTP/1.1" 403 -
2019-12-08 21:32:21,857     INFO [_internal.py:87:_log()] - ::1 - - [08/Dec/2019 21:32:21] "GET /api/_ping HTTP/1.1" 200 -
2019-12-08 21:32:30,594     INFO [_internal.py:87:_log()] - fe80::250:56ff:fe8d:d6c9%ens192 - - [08/Dec/2019 21:32:30] "GET /api/_ping HTTP/1.1" 403 -
2019-12-08 21:32:31,858     INFO [_internal.py:87:_log()] - ::1 - - [08/Dec/2019 21:32:31] "GET /api/_ping HTTP/1.1" 200 -

from ceph-iscsi.

tanshaolong avatar tanshaolong commented on August 17, 2024

@mikechristie
Yes, I have three ceph gw nodes. The two rbd-target-api services are running well. I run my test steps at the both well services. The below is both gw nodes information.

ip: 192.168.2.98, hostname: iscsi-gw-1
ip: 192.168.2.91, hostname: iscsi-gw-0.sample.com

If you need the more information for the issue, please let me know. Thank you very much.

from ceph-iscsi.

ricardoasmarques avatar ricardoasmarques commented on August 17, 2024

@tanshaolong

Check if the following commands are working:

curl --insecure --user admin:admin -X GET http://192.168.2.98:5000/api/sysinfo/ip_addresses
curl --insecure --user admin:admin -X GET http://192.168.2.91:5000/api/sysinfo/ip_addresses

If not, check for errors on /var/log/rbd-target-api/rbd-target-api.log.

from ceph-iscsi.

tanshaolong avatar tanshaolong commented on August 17, 2024

@ricardoasmarques @mikechristie Thank for your help.

I maybe find the issue cause. I stop firewalld and disable selinux. I can create the target gw now.

/iscsi-target...-igw/gateways> create iscsi-gw-1 192.168.2.98
Adding gateway, sync'ing 0 disk(s) and 0 client(s)

All gateways accessible
ok

@ricardoasmarques Also, I curl route “api/sysinfo/ip_addresses”. The both http requirements are working well.

curl --insecure --user admin:admin -X GET http://192.168.2.98:5000/api/sysinfo/ip_addresses
{
  "data": [
    "192.168.2.98"
  ]
}

from ceph-iscsi.

tanshaolong avatar tanshaolong commented on August 17, 2024

@ricardoasmarques @mikechristie

I don't find restful api documents from ceph officous site for ceph target api. For the api usage, I currently check the python code from ceph iscsi. Do you please give some other suggestion for get the api description? Thank you very much.

from ceph-iscsi.

ricardoasmarques avatar ricardoasmarques commented on August 17, 2024

@tanshaolong You'll find API documentation at http://192.168.2.98:5000/api.

from ceph-iscsi.

ricardoasmarques avatar ricardoasmarques commented on August 17, 2024

@ricardoasmarques @mikechristie Thank for your help.

I maybe find the issue cause. I stop firewalld and disable selinux. I can create the target gw now.

@tanshaolong can we close this issue?

from ceph-iscsi.

tanshaolong avatar tanshaolong commented on August 17, 2024

Thank for your help, I think we can close the issue. :)

from ceph-iscsi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.