Created attachment 1328064 [details] File contains ansible-playbook log Description of problem: Cluster initialization failed while using ceph-ansible on ubuntu while running task ceph-common : configure debian rhcs repository saying "the file_name '/usr/share/ceph-ansible/debian_rhcs_repository.yml' does not exist, or is not readable" Version-Release number of selected component (if applicable): ceph-ansible 3.0.0~rc9-2redhat1 How reproducible: Always (3/3) Steps to Reproduce: 1. Follow docs to get a ceph cluster up on ubuntu machines and configure ceph-ansible varibles 2. Run ansible-playbook Actual results: ansible-playbook is failing searching for /usr/share/ceph-ansible/debian_rhcs_repository.yml Additional info: /usr/share/ceph-ansible didn't have any file named debian_rhcs_repository.yml all.yml file - $ cat group_vars/all.yml | egrep -v ^# | grep -v ^$ --- dummy: fetch_directory: ~/ceph-ansible-keys ceph_origin: repository ceph_repository: rhcs monitor_interface: eth0 public_network: 10.8.128.0/21 Please let me know if I have missed anything, Will change this as doc bug if the issue is with initializing variables.
Changing summary as issue is similar in RHEL also and fix is going to have solution for both, fatal: [magna097]: FAILED! => {"failed": true, "reason": "the file_name '/usr/share/ceph-ansible/redhat_rhcs_repository.yml' does not exist, or is not readable"} Regards, Vasishta
Created attachment 1328843 [details] File contains contents contents of all.yml, ansible-playbook log Hi Sebastien, I tried with latest ceph-ansible (3.0.0~rc10-2redhat1). Cluster configuration failed while running the task 'include install_debian_rhcs_packages.yml' looking for install_debian_rhcs_packages.yml in /usr/share/ceph-ansible directory, should it be looking at /usr/share/ceph-ansible/roles/ceph-common/tasks/installs/ ? Attachment contains contents of all.yml. Please let me know if I have missed anything. Moving BZ back to ASSIGNED state. Regards, Vasishta
Hi Guillaume, Fix for ceph-ansible (RHEL) is working fine, I'm seeing issue mentioned in comment 6 only with ceph-ansible on ubuntu. Regards, Vasishta
fix for issue in #6: https://github.com/ceph/ceph-ansible/commit/599429dd31f9e0d3132c4140e1599947ac942122
Would you please tag and announce a new version of ceph-ansible upstream with these fixes, so we can rebase to that version downstream?
Cluster configuration successful with latest version of ceph-ansible on Ubuntu Ceph-ansible version: 3.0.0~rc11-2redhat1 Ubuntu : 16.04 all.yml file: ubuntu@magna003:/usr/share/ceph-ansible$ cat group_vars/all.yml | egrep -v ^# | grep -v ^$ --- dummy: fetch_directory: ~/ceph-ansible-keys ceph_origin: repository ceph_repository: rhcs generate_fsid: true monitor_interface: eth0 public_network: 10.8.128.0/21
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, 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/RHBA-2017:3387