This project is now read‑only. Starting Monday, February 2, please use Jira Cloud for all bug tracking management.
Bug 1493231 - [ceph-ansible] - cluster initialization failing searching for (debian/redhat)_rhcs_repository.yml
Summary: [ceph-ansible] - cluster initialization failing searching for (debian/redhat)...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: rc
: 3.0
Assignee: Guillaume Abrioux
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-19 16:27 UTC by Vasishta
Modified: 2017-12-05 23:44 UTC (History)
10 users (show)

Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc11.el7cp Ubuntu: ceph-ansible_3.0.0~rc11-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:44:17 UTC
Embargoed:


Attachments (Terms of Use)
File contains ansible-playbook log (83.03 KB, text/plain)
2017-09-19 16:27 UTC, Vasishta
no flags Details
File contains contents contents of all.yml, ansible-playbook log (53.11 KB, text/plain)
2017-09-21 07:58 UTC, Vasishta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 1926 0 None closed common: fix rhcs debian install 2020-12-07 09:22:36 UTC
Github ceph ceph-ansible pull 1934 0 None closed [skip ci] common: fix debian install 2020-12-07 09:23:03 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description Vasishta 2017-09-19 16:27:51 UTC
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.

Comment 2 Vasishta 2017-09-20 13:05:32 UTC
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

Comment 6 Vasishta 2017-09-21 07:58:01 UTC
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

Comment 7 Vasishta 2017-09-21 10:51:12 UTC
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

Comment 8 Guillaume Abrioux 2017-09-21 11:55:01 UTC
fix for issue in #6: 
https://github.com/ceph/ceph-ansible/commit/599429dd31f9e0d3132c4140e1599947ac942122

Comment 9 Ken Dreyer (Red Hat) 2017-09-21 12:18:22 UTC
Would you please tag and announce a new version of ceph-ansible upstream with these fixes, so we can rebase to that version downstream?

Comment 13 Madhavi Kasturi 2017-09-27 09:56:35 UTC
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

Comment 16 errata-xmlrpc 2017-12-05 23:44:17 UTC
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


Note You need to log in before you can comment on or make changes to this bug.