)]}'
{"devstack/lib/ceph":[{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"11cf82c5cc97e287578fa400021ffe5f2848296d","unresolved":false,"context_lines":[{"line_number":126,"context_line":"# \u003e\u003e\u003esocket.gethostbyaddr(socket.gethostname())"},{"line_number":127,"context_line":"# \u003e\u003e\u003e(\u0027devstack-host1.fqdn.suffix\u0027, [], [\u0027192.168.100.100\u0027])"},{"line_number":128,"context_line":"# Please fill devstack-host1.fqdn.suffix to CEPH_ISCSI_API_HOST with right HOST_IP here"},{"line_number":129,"context_line":"CEPH_ISCSI_API_HOST\u003d${CEPH_ISCSI_API_HOST:-localhost}"},{"line_number":130,"context_line":"CEPH_ISCSI_API_PORT\u003d${CEPH_ISCSI_API_PORT:-5002}"},{"line_number":131,"context_line":"CEPH_ISCSI_GATEWAY_CFG\u003d${CEPH_CONF_DIR}/iscsi-gateway.cfg"},{"line_number":132,"context_line":"# gwcli requires a pool named rbd"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"bf51134e_5e4cbec6","line":129,"updated":"2020-06-16 17:57:58.000000000","message":"I think the default needs to change from localhost to the HOST_IP, otherwise we\u0027ll run into the error I posted on github for ceph-iscsi.\nI have changed the default in my local clone of the repo and it seems to work.","commit_id":"657e2119e76ca0263b309d9ef1d0160e86c63a9f"},{"author":{"_account_id":22997,"name":"xinliang","email":"xinliang.liu@linaro.org","username":"xinliang.liu"},"change_message_id":"e5b9bd66bc3b0cf921df1dece58c18e4afdc121b","unresolved":false,"context_lines":[{"line_number":126,"context_line":"# \u003e\u003e\u003esocket.gethostbyaddr(socket.gethostname())"},{"line_number":127,"context_line":"# \u003e\u003e\u003e(\u0027devstack-host1.fqdn.suffix\u0027, [], [\u0027192.168.100.100\u0027])"},{"line_number":128,"context_line":"# Please fill devstack-host1.fqdn.suffix to CEPH_ISCSI_API_HOST with right HOST_IP here"},{"line_number":129,"context_line":"CEPH_ISCSI_API_HOST\u003d${CEPH_ISCSI_API_HOST:-localhost}"},{"line_number":130,"context_line":"CEPH_ISCSI_API_PORT\u003d${CEPH_ISCSI_API_PORT:-5002}"},{"line_number":131,"context_line":"CEPH_ISCSI_GATEWAY_CFG\u003d${CEPH_CONF_DIR}/iscsi-gateway.cfg"},{"line_number":132,"context_line":"# gwcli requires a pool named rbd"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"bf51134e_55a114a9","line":129,"in_reply_to":"bf51134e_5e4cbec6","updated":"2020-06-18 09:16:20.000000000","message":"Yes, if set to localhost will hit error.\n\nHow about change default value \"::\" as ceph-iscsi[1] and ceph-ansible doesn\u0027t set this value either[2]?\nWhich makes rbd-target-api accessible for both localhost(gwcli) and HOST_IP.\n\n[1]: https://github.com/ceph/ceph-iscsi/blob/master/ceph_iscsi_config/gateway_setting.py#L174\n[2]: https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-iscsi-gw/templates/iscsi-gateway.cfg.j2\n\nSee my patch: https://review.opendev.org/#/c/736508/","commit_id":"657e2119e76ca0263b309d9ef1d0160e86c63a9f"}]}
