Bug 1646456 - [ceph-ansible] - ubuntu - playbook must fail if debian rhcs packages are not installed
Summary: [ceph-ansible] - ubuntu - playbook must fail if debian rhcs packages are not ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: z2
: 3.3
Assignee: Rishabh Dave
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-05 15:08 UTC by Vasishta
Modified: 2019-12-19 17:59 UTC (History)
7 users (show)

Fixed In Version: RHEL: ceph-ansible-3.2.5-1.el7cp Ubuntu: ceph-ansible_3.2.5-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-19 17:59:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:4353 0 None None None 2019-12-19 17:59:28 UTC

Description Vasishta 2018-11-05 15:08:01 UTC
Description of problem:

When tried to initialize cluster on ubuntu, playbook failed in task "ceph-mon : include_tasks ceph_keys.yml" saying ceph-mon is not in quorum.

It was observed that ceph-mon package was not installed on 2/3 nodes and thus services were not running (Installation had failed because repo key was not added)

I think playbook should fail if the task ceph-common : include install_debian_rhcs_packages.yml should fail if packages were not installed.

Version-Release number of selected component (if applicable):
ceph-ansible 3.2.0~rc1-2redhat1

How reproducible:
Always

Steps to Reproduce:
1. Configure ceph-ansible to bring up cluster on ubuntu nodes and run playbook

Actual results:
Task - ceph-common : install red hat storage ceph packages for debian
"stderr": "E: There were unauthenticated packages and -y was used without --allow-unauthenticated\n",

Task - ceph-mon : collect admin and bootstrap keys
.
..
...

"INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'",
        "ceph-mon was not able to join quorum within 0 seconds"

Task - ceph-common : install red hat storage ceph packages for debian
"stderr": "E: There were unauthenticated packages and -y was used without --allow-unauthenticated\n",

Expected results:
Playbook must fail if there are any failures in "Task - ceph-common : install red hat storage ceph packages "

Additional info:

Comment 4 Rishabh Dave 2019-01-31 17:15:07 UTC
The PR got merged. The fix should be present upstream in v3.2.5.

Comment 5 Giridhar Ramaraju 2019-08-05 13:11:15 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 6 Giridhar Ramaraju 2019-08-05 13:12:16 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 10 errata-xmlrpc 2019-12-19 17:59:09 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/RHSA-2019:4353


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