batrick / ceph-linode

Launch Ceph using the Linode VPS provider
GNU General Public License v3.0
13 stars 10 forks source link

firewall disabling? #33

Closed bengland2 closed 5 years ago

bengland2 commented 5 years ago

with ceph-ansible stable-3.1 branch I found this necessary at end of pre-config.yml:

- hosts: all
  become: yes
  tasks:
  - name: disable firewall
    shell: "(systemctl stop firewalld && systemctl disable firewalld) || (systemctl stop iptables && systemctl disable iptables)"

but maybe newer version of ceph-ansible handles this now?

batrick commented 5 years ago

@leseb this shouldn't be necessary, right? pre-config.yaml in ceph-linode is run before running the ceph-ansible playbooks.

leseb commented 5 years ago

If firewalld is present then rules will be configured during the deployment.

bengland2 commented 5 years ago

not in stable-3.1 ceph-ansible, maybe in newer version?

leseb commented 5 years ago

@bengland2 see https://github.com/ceph/ceph-ansible/pull/2196

bengland2 commented 5 years ago

@leseb, although this commit was done almost a year ago, I'm using RHCS 3.latest z-stream to reproduce a customer problem and the commit wasn't backported to it. AFAIK latest RHCS z-stream release for non-cointainerized Ceph is:

http://download-node-02.eng.bos.redhat.com/rel-eng/RHCEPH-3.0-RHEL-7-20180806.0/

which contains:

ceph-ansible-3.0.39-1.el7cp.noarch.rpm

which doesn't have this fix.

leseb commented 5 years ago

@bengland2 you're using 3.0 not 3.1 that's why.

leseb commented 5 years ago

Since you mentioned 3.1 I thought you were using one of the rc.

bengland2 commented 5 years ago

@leseb exactly, but if I'm going to use ceph-linode to reproduce customer problems, some of which will happen on RHCS 3.0, then I need ceph-linode to either disable the firewall or put holes in it for Ceph.

bengland2 commented 5 years ago

fair enough, I did mention stable 3.1 above. My bad.

bengland2 commented 5 years ago

closing this since it's a temporary problem until RHCS 3.1 comes out, I can do the firewall stuff .