Hello All, I just installed ceph iscsi target following "manual installation" at https://docs.ceph.com/docs/nautilus/rbd/iscsi-target-cli-manual-install/ When the api server starts it seems to work but in service status it reports: apr 30 07:22:51 lab-ceph-01 rbd-target-api[58740]: Processing osd blacklist entries for this node apr 30 07:22:52 lab-ceph-01 rbd-target-api[58740]: No OSD blacklist entries found apr 30 07:22:52 lab-ceph-01 rbd-target-api[58740]: Reading the configuration object to update local LIO configuration apr 30 07:22:52 lab-ceph-01 rbd-target-api[58740]: Configuration does not have an entry for this host(lab-ceph-01) - nothing to define to LIO apr 30 07:22:52 lab-ceph-01 rbd-target-api[58740]: * Serving Flask app "rbd-target-api" (lazy loading) apr 30 07:22:52 lab-ceph-01 rbd-target-api[58740]: * Environment: production apr 30 07:22:52 lab-ceph-01 rbd-target-api[58740]: WARNING: This is a development server. Do not use it in a production deployment. apr 30 07:22:52 lab-ceph-01 rbd-target-api[58740]: Use a production WSGI server instead. apr 30 07:22:52 lab-ceph-01 rbd-target-api[58740]: * Debug mode: on apr 30 07:22:52 lab-ceph-01 rbd-target-api[58740]: * Running on http://[::]:5000/ (Press CTRL+C to quit) My configuration contains my hostname : cat /etc/ceph/iscsi-gateway.cfg [config] # Name of the Ceph storage cluster. A suitable Ceph configuration file allowing # access to the Ceph storage cluster from the gateway node is required, if not # colocated on an OSD node. cluster_name = ceph # Place a copy of the ceph cluster's admin keyring in the gateway's /etc/ceph # drectory and reference the filename here gateway_keyring = ceph.client.admin.keyring # API settings. # The API supports a number of options that allow you to tailor it to your # local environment. If you want to run the API under https, you will need to # create cert/key files that are compatible for each iSCSI gateway node, that is # not locked to a specific node. SSL cert and key files *must* be called # 'iscsi-gateway.crt' and 'iscsi-gateway.key' and placed in the '/etc/ceph/' directory # on *each* gateway node. With the SSL files in place, you can use 'api_secure = true' # to switch to https mode. debug = true # To support the API, the bear minimum settings are: api_secure = false #prometheus_exporter = false # Additional API configuration options are as follows, defaults shown. # api_user = admin # api_password = admin # api_port = 5001 trusted_ip_list = lab-ceph-01 When I run gwcli command it reports: [root@lab-ceph-01 ansible]# gwcli -d Adding ceph cluster 'ceph' to the UI Fetching ceph osd information Querying ceph for state information Unable to access the configuration object : REST API failure, code : 504 Traceback (most recent call last): File "/bin/gwcli", line 4, in <module> __import__('pkg_resources').run_script('ceph-iscsi==3.4', 'gwcli') File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 654, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1441, in run_script exec(script_code, namespace, namespace) File "/usr/local/lib/python3.6/site-packages/ceph_iscsi-3.4-py3.6.egg/EGG-INFO/scripts/gwcli", line 194, in <module> File "/usr/local/lib/python3.6/site-packages/ceph_iscsi-3.4-py3.6.egg/EGG-INFO/scripts/gwcli", line 105, in main File "/usr/local/lib/python3.6/site-packages/ceph_iscsi-3.4-py3.6.egg/gwcli/gateway.py", line 84, in refresh gwcli.utils.GatewayError I installed the same on different server 2 or 3 weeks ago and and it is working, Any change in the code in last weeks ? Please, anyone could help me ? Ignazio _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx