Bug 1979476
| Summary: | Iscsi gateways are not showing "UP" in dashboard if not collocated with bootstrap nodes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Gopi <gpatta> | ||||
| Component: | Cephadm | Assignee: | Adam King <adking> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Gopi <gpatta> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.0 | CC: | adking, agunn, bniver, ceph-eng-bugs, epuertat, ernesto.puerta, mmurthy, pnataraj, sunnagar, tserlin | ||||
| Target Milestone: | --- | Flags: | gpatta:
needinfo+
gpatta: needinfo+ gpatta: needinfo+ |
||||
| Target Release: | 5.1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ceph-16.2.6-18.el8cp | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-04-04 10:21:14 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Gopi
2021-07-06 07:27:30 UTC
Hi Ernesto,
I checked firewall and those are in disable state.
[root@magna108 ubuntu]# sudo firewall-cmd --state
not running
[root@magna113 ubuntu]# sudo firewall-cmd --state
not running
[root@magna108 ubuntu]# ss -tnlp | grep rbd
LISTEN 0 128 *:5000 *:* users:(("rbd-target-api",pid=226207,fd=15))
[root@magna108 ubuntu]#
Moving to 5.0z1 as this is not a regression. Can you answer Ernesto's questions? Sure. I will provide you the details with newly configured setup as the previous setup is not there now. Hi Ernesto,
As per our discussion, i have shared the setup details with you. But this time, i have observed one more new thing that, my second gateway node link is disappeared from iscsi-gateway-list after few seconds and unable to see that host in dashboard as well.
Steps:
[ceph: root@magna031 ~]# cat iscsi.yml
service_type: iscsi
service_id: iscsi
placement:
hosts:
- depressa001
- depressa002
spec:
pool: iscsi_pool
trusted_ip_list: "10.1.172.201,10.1.172.202"
api_user: admin
api_password: admin
[ceph: root@magna031 ~]# ceph orch apply -i iscsi.yml
Scheduled iscsi.iscsi update...
[ceph: root@magna031 ~]# ceph dashboard set-iscsi-api-ssl-verification false
Option ISCSI_API_SSL_VERIFICATION updated
[ceph: root@magna031 ~]# ceph dashboard iscsi-gateway-list
{"gateways": {"depressa001": {"service_url": "http://admin:admin@10.1.172.201:5000"}, "depressa002": {"service_url": "http://admin:admin@10.1.172.202:5000"}}}
[ceph: root@magna031 ~]# vi gatewayfile1
[ceph: root@magna031 ~]# vi gatewayfile2
[ceph: root@magna031 ~]# cat gatewayfile1
http://admin:admin@10.1.172.201:5000
[ceph: root@magna031 ~]# cat gatewayfile2
http://admin:admin@10.1.172.202:5000
[ceph: root@magna031 ~]# ceph dashboard iscsi-gateway-add -i gatewayfile1 depressa001
Success
[ceph: root@magna031 ~]# ceph dashboard iscsi-gateway-add -i gatewayfile1 depressa002
Success
Wait for sometime and checked it and one gateway link is not there.
[ceph: root@magna031 ~]# ceph dashboard iscsi-gateway-list
{"gateways": {"depressa001": {"service_url": "http://admin:admin@10.1.172.201:5000"}}}
If you think this is a different issue, then I can file a new BZ as this is a regression as it worked previously.
upstream tracker: https://tracker.ceph.com/issues/52692 upstream master pr: https://github.com/ceph/ceph/pull/43246 moving to 5.1 as z2 was reduced in scope to ODF and installation related bugs. This is only shows up in the dashboard. Working as expected. Moving to verified state. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:1174 |