Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1613941

Summary: enable rhel-7-server-ansible-2.6-rpms repository on ansible admin node
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ken Dreyer (Red Hat) <kdreyer>
Component: DocumentationAssignee: John Brier <jbrier>
Status: CLOSED CURRENTRELEASE QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2CC: ceph-qe-bugs, gabrioux, hnallurv, jbrier, kdreyer, shan, tchandra, vashastr
Target Milestone: rcKeywords: Reopened
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-11 15:04:04 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 Ken Dreyer (Red Hat) 2018-08-08 15:21:03 UTC
Description of problem:
In RHCEPH 3.2 we will rely on the Ansible product's Yum repositories to obtain the latest ansible 2.6 RPM, rather than relying on the ansible 2.4 package.

Version-Release number of selected component (if applicable):
RHCEPH 3.2

How reproducible:
always

Steps to Reproduce:
1. Follow RHCS installation documentation steps for "enabling repositories".
2. Look specifically at the documentation for the Ansible administration node.

Actual results:
The subscription-manager command mentions the Ansible *2.4* repo, ie:

  subscription-manager repos --enable=rhel-7-server-rhceph-3-tools-rpms --enable=rhel-7-server-ansible-2.4-rpms

The "yum install ceph-ansible" command pulls in an older version of the ansible-2.4.

Expected results:
The subscription-manager command mentions the Ansible *2.6* repo, ie:

  subscription-manager repos --enable=rhel-7-server-rhceph-3-tools-rpms --enable=rhel-7-server-ansible-2.6-rpms

The "yum install ceph-ansible" command pulls in the ansible-2.6 package from this repo.

Comment 3 John Brier 2018-09-27 20:26:14 UTC
I will look into updating master/preview with the requested changes next week when we start working on 3.2. I probably should wait until closer to 3.2 GA to cherry pick into stage, though.

Comment 4 John Brier 2018-10-02 21:52:19 UTC
Use the 3.1 version of this bug as a guide on what needs to be updated:

Bug 1576102

Comment 6 John Brier 2018-10-08 13:52:38 UTC
Hi Vasishta,

Can you please review the changes above and let me know if there are any issues, and if not, switch the bug to VERIFIED status?

Comment 7 Vasishta 2018-10-11 04:32:28 UTC
Hi John,

In upgrade sections, we have added particular step to enable ansible 2.6 repos in prerequisites step with description "If upgrading from Red Hat Ceph Storage 2.x to 3.x". This will be inappropriate for users who are updating from 3.x to 3.y.

Example - 3.1 users will be having ansible 2.4 repos enabled and while upgrading to latest version they need to enable 2.6 repos to fetch latest 2.6 ansible.

So I think we need to split 3rd step of prerequisites in RHEL guide (upgrade section) and 2nd step of prerequisites in container guide (upgrade section).
As - 

* If upgrading from Red Hat Ceph Storage 2.x to 3.x, on the Ansible administration node and the RBD mirroring node, enable the Red Hat Ceph Storage 3 Tools repository

 subscription-manager repos --enable=rhel-7-server-rhceph-3-tools-rpms

* On the Ansible administration node enable latest Ansible repository:

 subscription-manager repos --enable=rhel-7-server-ansible-2.6-rpms


------------------------------------

This would also avoid users to enable ansible repos on mirroring node which is not needed.

Moving to ASSIGNED state. Please let me know if there are any concerns.

QE team has decided to move this BZ to VERIFIED state once all planned ceph-ansible tests are completed to cover functionality part also. So though doc issue is fixed we will move the BZ to VERIFIED state when ceph-ansible TCs are completed. Clearing needinfo flags.

Regards,
Vasishta shatsry
QE, Ceph

Comment 15 John Brier 2018-11-08 15:51:28 UTC
Changes are live. Click Preview links in Comment 12 and remove '.qa' from the URL and reload to see them.

Comment 16 John Brier 2018-11-08 15:53:23 UTC
Shouldn't have closed this, as we agreed.

Comment 19 Vasishta 2018-11-21 04:56:12 UTC
lgtm, Thanks John.

Moving to VERIFIED state.

Comment 20 John Brier 2018-11-21 14:33:27 UTC
Thanks Vasishta!