Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1739583

Summary: [Docs][Release Notes] It is impossible to seal a RHEL8 guest in RHV 4.3
Product: Red Hat Enterprise Virtualization Manager Reporter: Marina Kalinin <mkalinin>
Component: DocumentationAssignee: Steve Goodman <sgoodman>
Status: CLOSED CURRENTRELEASE QA Contact: rhev-docs <rhev-docs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.5CC: emarcus, kripper, lrotenbe, lsurette, mavital, rbarry, sasundar, sgoodman, srevivo, tburke
Target Milestone: ---Keywords: Documentation
Target Release: ---Flags: lsvaty: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
You cannot create a sealed virtual machine template based on a RHEL 8.0 virtual machine in Red Hat Virtualization 4.3, because of the following limitations: * libguestfs tools on Red Hat Enterprise Linux 7 do not support modifying Red Hat Enterprise Linux 8 disk images because of additional XFS functionality added in Red Hat Enterprise Linux 8. * Red Hat Virtualization 4.3 does not support hypervisors based on Red Hat Enterprise Linux 8.0
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-28 09:13:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Docs RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1547768, 1649222    

Description Marina Kalinin 2019-08-09 15:05:14 UTC
Based on bz#1667478 and release note in RHEL8 guide[1] or the KCS[2], RHV user would not be able to seal a VM for template, if it is RHEL8 guest and host OS is RHEL7.

Unless we decide to fix this in RHV 4.3.z somehow (see KCS[2] for potential solution), we should a release note in RHV 4.3 about this.


[1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/known_issues#known-issue_virtualization

[2] https://access.redhat.com/solutions/3914591

Comment 1 Ryan Barry 2019-08-09 15:25:20 UTC
See also https://bugzilla.redhat.com/show_bug.cgi?id=1671895

I NAKed it, but it may be possible in mixed clusters assuming we can target an EL8 host. Not until 4.4 running in compatibility level 4.3 (where we will still have EL7 hosts), and I'm not optimistic

Comment 2 Steve Goodman 2019-08-27 13:03:57 UTC
Please set priority/severity for this.

Comment 3 Steve Goodman 2019-08-27 13:52:12 UTC
This is based on BZ 1684147. Summarizing the comments from that bug:

I'll add a note to the Virtual Machine Management Guide in chapter 7 "Templates" under [1] and [2] saying:

[NOTE]
====
You cannot create a virtual machine template based on a RHEL 8.0 virtual machine in Red Hat Virtualization 4.3, because of the following limitations:

* Red Hat Virtualization 4.3 does not support template sealing for Red Hat Enterprise Linux (RHEL) 8.0 virtual machines.
* libguestfs tools do not support RHEL 8.0 virtual machines.
====

[1] https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/virtual_machine_management_guide/index#Sealing_a_Linux_Virtual_Machine_for_Deployment_as_a_Template
[2] https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/virtual_machine_management_guide/index#Creating_a_template_from_an_existing_virtual_machine

Liran, please review my implementation of your comments.

Comment 4 Ryan Barry 2019-08-27 13:57:34 UTC
I'd suggest something like:

[NOTE]
====
You cannot create a virtual machine template based on a RHEL 8 virtual machine in Red Hat Virtualization 4.3, because of the following limitations:

* libguestfs tools on Red Hat Enterprise Linux 7 does not support modification of Red Hat Enterprise Linux 8 disk images due to additional XFS functionality added in Red Hat Enterprise Linux 8 
* Red Hat Virtualization 4.3 does not support Red Hat Enterprise Linux 8 hypervisors

Comment 5 Steve Goodman 2019-08-27 14:32:48 UTC
(In reply to Ryan Barry from comment #4)
> I'd suggest something like:
> 
> [NOTE]
> ====
> You cannot create a virtual machine template based on a RHEL 8 virtual
> machine in Red Hat Virtualization 4.3, because of the following limitations:
> 
> * libguestfs tools on Red Hat Enterprise Linux 7 does not support
> modification of Red Hat Enterprise Linux 8 disk images due to additional XFS
> functionality added in Red Hat Enterprise Linux 8 
> * Red Hat Virtualization 4.3 does not support Red Hat Enterprise Linux 8
> hypervisors

Fixed.

Comment 7 Eli Marcus 2019-08-27 16:05:19 UTC
(In reply to Steve Goodman from comment #6)
> Eli, please do a peer review of the merge request:
> 
> https://gitlab.cee.redhat.com/rhci-documentation/docs-
> Red_Hat_Enterprise_Virtualization/merge_requests/1439
> 
> The note appears in the following two places:
> 
> https://pnt-devops-rad-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/ccs-mr-
> preview-prod/5411/artifact/doc-Virtual_Machine_Management_Guide/preview/
> index.
> html#Sealing_Virtual_Machines_in_Preparation_for_Deployment_as_Templates
> https://pnt-devops-rad-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/ccs-mr-
> preview-prod/5411/artifact/doc-Virtual_Machine_Management_Guide/preview/
> index.html#Creating_a_template_from_an_existing_virtual_machine

Looks good. I made a comment regarding a minor formatting problem.

Comment 8 Marina Kalinin 2019-08-27 20:54:29 UTC
Looks good. Thanks everyone!

Comment 9 Liran Rotenberg 2019-08-28 05:15:02 UTC
(In reply to Steve Goodman from comment #3)
> This is based on BZ 1684147. Summarizing the comments from that bug:
> 
> I'll add a note to the Virtual Machine Management Guide in chapter 7
> "Templates" under [1] and [2] saying:
> 
> [NOTE]
> ====
> You cannot create a virtual machine template based on a RHEL 8.0 virtual
> machine in Red Hat Virtualization 4.3, because of the following limitations:
> 
> * Red Hat Virtualization 4.3 does not support template sealing for Red Hat
> Enterprise Linux (RHEL) 8.0 virtual machines.
> * libguestfs tools do not support RHEL 8.0 virtual machines.
> ====
> 
> [1]
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/
> html-single/virtual_machine_management_guide/
> index#Sealing_a_Linux_Virtual_Machine_for_Deployment_as_a_Template
> [2]
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/
> html-single/virtual_machine_management_guide/
> index#Creating_a_template_from_an_existing_virtual_machine
> 
> Liran, please review my implementation of your comments.

You can create virtual machine template based on a RHEL 8.0 virtual machine in RHV 4.3.
You can't create a sealed template.

Comment 10 Steve Goodman 2019-08-28 09:02:05 UTC
(In reply to Liran Rotenberg from comment #9)
> > Liran, please review my implementation of your comments.
> 
> You can create virtual machine template based on a RHEL 8.0 virtual machine
> in RHV 4.3.
> You can't create a sealed template.

Fixed. Now it says:

   You cannot create a sealed virtual machine template...

Comment 11 Steve Goodman 2019-08-28 09:04:19 UTC
I'm moving this to verified because everyone has signed off and since this is not a procedure, it doesn't require a QE check.

Comment 13 Marina Kalinin 2019-11-08 13:49:01 UTC
*** Bug 1671895 has been marked as a duplicate of this bug. ***

Comment 16 Tomáš Golembiovský 2022-10-25 12:31:22 UTC
*** Bug 2137135 has been marked as a duplicate of this bug. ***