Bug 1894031

Summary: [DOC] Enabling virt module version to 8.2 cannot be applied to ceph nodes.
Product: Red Hat OpenStack Reporter: Rohini Diwakar <rdiwakar>
Component: documentationAssignee: Vlada Grosu <vgrosu>
Status: CLOSED CURRENTRELEASE QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16.1 (Train)CC: ddf-bot, gfidente, jpretori, m.andre, michal.vasko, vgrosu
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-22 15:14:34 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 Rohini Diwakar 2020-11-03 11:21:28 UTC
Description of problem:

Documentation link:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/keeping_red_hat_openstack_platform_updated/preparing-for-a-minor-update#setting-the-container-tools-module-version

Section: 2.4. Setting the container-tools and virt module versions


Step: 4
- this is what is currently located in documentation
~~~
$ cat > ~/container-tools.yaml <<'EOF'
- hosts: all
  gather_facts: false
  tasks:
    - name: disable default dnf module for container-tools
      command: dnf module disable -y container-tools:rhel8
      become: true
    - name: set dnf module for container-tools:2.0
      command: dnf module enable -y container-tools:2.0
      become: true
    - name: disable default dnf module for virt
      command: dnf module disable -y virt:rhel
      become: true
    - name: disable 8.1 dnf module for virt
      command: dnf module disable -y virt:8.1
      become: true
    - name: set dnf module for virt:8.2
      command: dnf module enable -y virt:8.2
      become: true
EOF
~~~

- It is not possible to enable virt module of 8.1 or 8.2 on ceph as "advanced virtualization" is not part of ceph subscription. Something like below virt-module can exclude ceph nodes in the hosts section. 
~~~
- hosts: all
  gather_facts: false
  tasks:
    - name: disable default dnf module for container-tools
      command: dnf module disable -y container-tools:rhel8
      become: true
    - name: set dnf module for container-tools:2.0
      command: dnf module enable -y container-tools:2.0
      become: true

- hosts: undercloud,Compute,Controller
  gather_facts: false
  tasks:
    - name: disable default dnf module for virt
      command: dnf module disable -y virt:rhel
      become: true
    - name: disable 8.1 dnf module for virt
      command: dnf module disable -y virt:8.1
      become: true
    - name: set dnf module for virt:8.2
      command: dnf module enable -y virt:8.2
      become: true
~~~

Version-Release number of selected component (if applicable):
RHOSP16.1

Comment 2 Vlada Grosu 2021-01-27 09:42:24 UTC
Hi folks, 

Just checking, is this meant to be a docs bug? If so, is it okay to update the Component from openstack-containers to Documentation?

I also have BZ#1894027 that was opened as a docs bug to address the issue described here.

Many thanks,
Vlada

Comment 3 Vlada Grosu 2021-01-27 12:05:27 UTC
*** Bug 1894027 has been marked as a duplicate of this bug. ***

Comment 4 Vlada Grosu 2021-01-27 12:09:06 UTC
Changing the component to documentation, as Rohini has just confirmed this is a docs bug.
Thank you

(In reply to Vlada Grosu from comment #2)
> Hi folks, 
> 
> Just checking, is this meant to be a docs bug? If so, is it okay to update
> the Component from openstack-containers to Documentation?
> 
> I also have BZ#1894027 that was opened as a docs bug to address the issue
> described here.
> 
> Many thanks,
> Vlada