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

Bug 1602382

Summary: [Docs][RFE][Upgrade] Document new tool that can analyse current environment prior to upgrade
Product: Red Hat Enterprise Virtualization Manager Reporter: Emma Heftman <eheftman>
Component: DocumentationAssignee: Emma Heftman <eheftman>
Status: CLOSED CURRENTRELEASE QA Contact: Megan Lewis <melewis>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.5CC: danken, dougsland, jbelka, lsurette, srevivo, ylavi
Target Milestone: ovirt-4.2.6Keywords: FutureFeature, Triaged
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: docs-accepted
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 14:06:28 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: 1591927    
Bug Blocks:    

Description Emma Heftman 2018-07-18 09:27:38 UTC
A new tool was introduced in 4.2.5 that will enable users to analyse their current environment before upgrading it.

The output is an html doc that will highlight issues that will affect the upgrade.

I discussed with Danken the possibility of 3.6 customers subscribing to the 4.2 channel, running the tool, disabling the channel then continuing.

Same for 4.0 and 4.1. So although it is currently supplied on a 4.2.5 channel, it can actually be run on all versions.

Comment 1 Emma Heftman 2018-07-25 13:53:30 UTC
Hey Douglas
Dan and I discuss the possibility of running this on pre 4.2 channels, by installing the 4.2 repo on the manager, running the tool, then disabling the repo and continuing with standard upgrade path.

Is this something that you have discussed?
If yes, which of the previous versions have you tested this on?

If no, please let me know exactly what environment this tool is currently capable of analysing, and please provide instructions for how this is done, and what anomalies you may find that would prevent you from performing the upgrade.

Comment 6 Emma Heftman 2018-08-16 12:14:42 UTC
Yaniv
Can you please define what scenario this tool should be used in?

Prior to minor 4.2 upgrades only? 4.2.3.> 4.2.5 etc

or also prior to major upgrades?

What is the main outcome you expect to see after running this tool that would prevent a customer from upgrading?

Comment 7 Douglas Schilling Landgraf 2018-08-16 16:06:50 UTC
(In reply to Emma Heftman from comment #6)
> Yaniv
> Can you please define what scenario this tool should be used in?
> 
> Prior to minor 4.2 upgrades only? 4.2.3.> 4.2.5 etc
> 
> or also prior to major upgrades?
> 
> What is the main outcome you expect to see after running this tool that
> would prevent a customer from upgrading?

Yaniv will provide the info but here some data:

This tool creates a HTML report file that provides an overview of customer environment and if detects a know issue from our knowledge base, it will raise on the report.

On RHVM 4.2.5 or higher:

# yum install rhv-log-collector-analyzer

# rhv-log-collector-analyzer --live
Generating reports:
===================
Generated analyzer_report.html

# rhv-log-collector-analyzer --live --html=/foo/bar.html
Generating reports:
===================
Generated /foo/bar.html

Comment 10 Yaniv Lavi 2018-08-20 13:24:28 UTC
(In reply to Emma Heftman from comment #6)
> Yaniv
> Can you please define what scenario this tool should be used in?

- When planning a upgrade.
- When analyzing a problem with the environment. 
- When you want to get a environment status.

> 
> Prior to minor 4.2 upgrades only? 4.2.3.> 4.2.5 etc
> 
> or also prior to major upgrades?

It is a recommended step, but not mandatory for any planned upgrade.
More useful before major upgrades probably. 

> 
> What is the main outcome you expect to see after running this tool that
> would prevent a customer from upgrading?

Make sure the system is in good state for upgrade.
Get a output of the status of the environment.

Comment 11 Emma Heftman 2018-08-20 13:41:42 UTC
(In reply to Yaniv Lavi from comment #10)
> (In reply to Emma Heftman from comment #6)
> > Yaniv
> > Can you please define what scenario this tool should be used in?
> 
> - When planning a upgrade.
> - When analyzing a problem with the environment. 
> - When you want to get a environment status.
> 
> > 
> > Prior to minor 4.2 upgrades only? 4.2.3.> 4.2.5 etc
> > 
> > or also prior to major upgrades?
> 
> It is a recommended step, but not mandatory for any planned upgrade.
> More useful before major upgrades probably. 
> 
> > 
> > What is the main outcome you expect to see after running this tool that
> > would prevent a customer from upgrading?
> 
> Make sure the system is in good state for upgrade.
> Get a output of the status of the environment.

So you recommend this to be used for general troubleshooting and prior to upgrades. I'll make this a module that can be reused in the Admin and Upgrade Guides.

Comment 12 Emma Heftman 2018-08-20 13:46:23 UTC
Douglas/Jiri
Can you explain the exact steps that are required in order to run this on 4.0 and 4.1.
For example, is it only provided on a 4.2 channel?

Would they need to subscribe to a channel?
Is it possible to make the tool available online so that it could be used without   the 4.2 channel?

Comment 14 Emma Heftman 2018-08-21 08:31:42 UTC
(In reply to Yaniv Lavi from comment #10)
> (In reply to Emma Heftman from comment #6)
> > Yaniv
> > Can you please define what scenario this tool should be used in?
> 
> - When planning a upgrade.
> - When analyzing a problem with the environment. 
> - When you want to get a environment status.
> 
> > 
> > Prior to minor 4.2 upgrades only? 4.2.3.> 4.2.5 etc
> > 
> > or also prior to major upgrades?
> 
> It is a recommended step, but not mandatory for any planned upgrade.
> More useful before major upgrades probably. 
> 
> > 
> > What is the main outcome you expect to see after running this tool that
> > would prevent a customer from upgrading?
> 
> Make sure the system is in good state for upgrade.
> Get a output of the status of the environment.

Yaniv/Dan, please explain whether we want to provide the tool on channels other than 4.2 to enable it to be used in major upgrades. If not I will document it for minor upgrades only.

Comment 15 Yaniv Lavi 2018-08-22 14:32:37 UTC
(In reply to Emma Heftman from comment #14)
> (In reply to Yaniv Lavi from comment #10)
> > (In reply to Emma Heftman from comment #6)
> > > Yaniv
> > > Can you please define what scenario this tool should be used in?
> > 
> > - When planning a upgrade.
> > - When analyzing a problem with the environment. 
> > - When you want to get a environment status.
> > 
> > > 
> > > Prior to minor 4.2 upgrades only? 4.2.3.> 4.2.5 etc
> > > 
> > > or also prior to major upgrades?
> > 
> > It is a recommended step, but not mandatory for any planned upgrade.
> > More useful before major upgrades probably. 
> > 
> > > 
> > > What is the main outcome you expect to see after running this tool that
> > > would prevent a customer from upgrading?
> > 
> > Make sure the system is in good state for upgrade.
> > Get a output of the status of the environment.
> 
> Yaniv/Dan, please explain whether we want to provide the tool on channels
> other than 4.2 to enable it to be used in major upgrades. If not I will
> document it for minor upgrades only.

Let's start with 4.2.
We have KBase on using it in older releases.

Comment 16 Emma Heftman 2018-08-22 15:29:24 UTC
(In reply to Douglas Schilling Landgraf from comment #7)
> (In reply to Emma Heftman from comment #6)
> > Yaniv
> > Can you please define what scenario this tool should be used in?
> > 
> > Prior to minor 4.2 upgrades only? 4.2.3.> 4.2.5 etc
> > 
> > or also prior to major upgrades?
> > 
> > What is the main outcome you expect to see after running this tool that
> > would prevent a customer from upgrading?
> 
> Yaniv will provide the info but here some data:
> 
> This tool creates a HTML report file that provides an overview of customer
> environment and if detects a know issue from our knowledge base, it will
> raise on the report.
> 
> On RHVM 4.2.5 or higher:
> 
> # yum install rhv-log-collector-analyzer
> 
> # rhv-log-collector-analyzer --live
> Generating reports:
> ===================
> Generated analyzer_report.html
> 
> # rhv-log-collector-analyzer --live --html=/foo/bar.html
> Generating reports:
> ===================
> Generated /foo/bar.html

Hey Douglas
I just noticed that in your example you say "on RHVM 4.2.5 or higher". I just wanted to confirm that this tool CANNOT be used for upgrading from 4.2.3 to 4.2.6 or 4.2.4 to 4.2.6.

Comment 17 Douglas Schilling Landgraf 2018-08-22 17:34:21 UTC
(In reply to Emma Heftman from comment #16)
> (In reply to Douglas Schilling Landgraf from comment #7)
> > (In reply to Emma Heftman from comment #6)
> > > Yaniv
> > > Can you please define what scenario this tool should be used in?
> > > 
> > > Prior to minor 4.2 upgrades only? 4.2.3.> 4.2.5 etc
> > > 
> > > or also prior to major upgrades?
> > > 
> > > What is the main outcome you expect to see after running this tool that
> > > would prevent a customer from upgrading?
> > 
> > Yaniv will provide the info but here some data:
> > 
> > This tool creates a HTML report file that provides an overview of customer
> > environment and if detects a know issue from our knowledge base, it will
> > raise on the report.
> > 
> > On RHVM 4.2.5 or higher:
> > 
> > # yum install rhv-log-collector-analyzer
> > 
> > # rhv-log-collector-analyzer --live
> > Generating reports:
> > ===================
> > Generated analyzer_report.html
> > 
> > # rhv-log-collector-analyzer --live --html=/foo/bar.html
> > Generating reports:
> > ===================
> > Generated /foo/bar.html
> 
> Hey Douglas
> I just noticed that in your example you say "on RHVM 4.2.5 or higher". I
> just wanted to confirm that this tool CANNOT be used for upgrading from
> 4.2.3 to 4.2.6 or 4.2.4 to 4.2.6.

We only provide the rpm in >= 4.2.5 repo. If users want to use in previous versions, they will need to add 4.2.5 repo first and install the tool.

Comment 18 Emma Heftman 2018-08-23 07:41:46 UTC
(In reply to Douglas Schilling Landgraf from comment #17)
> (In reply to Emma Heftman from comment #16)
> > (In reply to Douglas Schilling Landgraf from comment #7)
> > > (In reply to Emma Heftman from comment #6)
> > > > Yaniv
> > > > Can you please define what scenario this tool should be used in?
> > > > 
> > > > Prior to minor 4.2 upgrades only? 4.2.3.> 4.2.5 etc
> > > > 
> > > > or also prior to major upgrades?
> > > > 
> > > > What is the main outcome you expect to see after running this tool that
> > > > would prevent a customer from upgrading?
> > > 
> > > Yaniv will provide the info but here some data:
> > > 
> > > This tool creates a HTML report file that provides an overview of customer
> > > environment and if detects a know issue from our knowledge base, it will
> > > raise on the report.
> > > 
> > > On RHVM 4.2.5 or higher:
> > > 
> > > # yum install rhv-log-collector-analyzer
> > > 
> > > # rhv-log-collector-analyzer --live
> > > Generating reports:
> > > ===================
> > > Generated analyzer_report.html
> > > 
> > > # rhv-log-collector-analyzer --live --html=/foo/bar.html
> > > Generating reports:
> > > ===================
> > > Generated /foo/bar.html
> > 
> > Hey Douglas
> > I just noticed that in your example you say "on RHVM 4.2.5 or higher". I
> > just wanted to confirm that this tool CANNOT be used for upgrading from
> > 4.2.3 to 4.2.6 or 4.2.4 to 4.2.6.
> 
> We only provide the rpm in >= 4.2.5 repo. If users want to use in previous
> versions, they will need to add 4.2.5 repo first and install the tool.

Unless someone tells me differently, I will document that this is from 4.2.5.