Bug 1219818
| Summary: | [rbd-openstack] Cannot create nova instances with firewall enabled on ceph cluster running on RHEL 7.1 | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | shilpa <smanjara> |
| Component: | RBD | Assignee: | Josh Durgin <jdurgin> |
| Status: | CLOSED DUPLICATE | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> |
| Severity: | medium | Docs Contact: | John Wilkins <jowilkin> |
| Priority: | unspecified | ||
| Version: | 1.3.0 | CC: | ceph-eng-bugs, flucifre, kdreyer, smanjara, vumrao |
| Target Milestone: | rc | ||
| Target Release: | 1.3.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-05-22 14:16:52 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: | |||
|
Description
shilpa
2015-05-08 10:56:24 UTC
Josh would you mind taking a look at this one (or re-assigning as appropriate?) What firewall rules are used exactly? It sounds like they need updating to let clients connect to monitors at least, if that's a persistent issue and not a result of temporarily full firewalling before the ports were opened. On the mon nodes: firewall-cmd --zone=public --add-port=6789/tcp --permanent On all osd nodes: firewall-cmd --zone=public --add-port=6800-6811/tcp --permanent This is when the client started complaining of "error connecting to cluster" and this was persistent.. until I disabled firewall. Hi shilpa, does the problem still occur when you run the commands a second time without the --permanent flag? "--permanent" only writes firewalld's configuration to disk, and it doesn't actually effect a change in the "live" firewall rules until "firewall-cmd --reload" (or a full OS reboot). This is a problem in the current documentation, tracked in bug 1220793 . Hi Ken, I should have mentioned. I did run "firewall-cmd --reload". The test was done afer running reload. Shilpa, when you re-activate your firewall and open a wider port range on the on the OSDs (TCP ports 6800-7300) as discussed in bz 1219493, does the problem go away? Hi Ken, I have not tried opening the entire port range. Will try that and update. Tried with opening 6800-7300 port range on the OSD nodes. I don't see the problem anymore. shilpa, thanks for confirming! I'm thinking we should close this bug and open a new one for the needed doc changes (https://github.com/ceph/ceph/pull/4740). Do you agree? FYI I've filed bz 1223992 for the firewall docs change. Yes we can close this bug. *** This bug has been marked as a duplicate of bug 1223992 *** |