Bug 1908569

Summary: The --python-interpreter option should be used to validate the pre-upgrade requirements
Product: Red Hat OpenStack Reporter: Takashi Kajinami <tkajinam>
Component: documentationAssignee: Vlada Grosu <vgrosu>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16.1 (Train)CC: ddf-bot, vgrosu
Target Milestone: ---Keywords: Reopened
Target Release: ---   
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: 2021-04-01 17:11:58 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 Takashi Kajinami 2020-12-17 03:51:45 UTC
Description of problem:

In bz 1873470, the new --python-interpreter option was added to "openstack tripleo validator run" command so that we can select the correct python interpreter.
However this is not yet documented. We should update the command to run validation of the pre-upgrade requirements to use that option in our current document[1].
 $ openstack tripleo validator run --group pre-upgrade --python-interpreter /usr/libexec/platform-python
 
 [1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index#validating-the-pre-upgrade-requirements


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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vlada Grosu 2021-03-22 15:41:30 UTC
*** Bug 1940932 has been marked as a duplicate of this bug. ***

Comment 2 Vlada Grosu 2021-03-24 15:34:07 UTC
Hi Takashi,

Thank you for opening this ticket!

I'll make the changes and update the ticket.

Many thanks,
Vlada

Comment 5 Takashi Kajinami 2021-03-24 16:27:16 UTC
Hi Vlada,


Thank you for working on this doc bug.

I've checked the updated version but I'm afraid that the update is incomplete.

We should add
 --python-interpreter /usr/libexec/platform-python
but the current command doesn't include "/usr/libexec/platform-python".

Could you please check that ?

Thank you,
Takashi

Comment 6 Vlada Grosu 2021-03-24 17:05:20 UTC
Hi Takashi,

Thank you for pointing that out, I totally missed that.
Will fix this now.


(In reply to Takashi Kajinami from comment #5)
> Hi Vlada,
> 
> 
> Thank you for working on this doc bug.
> 
> I've checked the updated version but I'm afraid that the update is
> incomplete.
> 
> We should add
>  --python-interpreter /usr/libexec/platform-python
> but the current command doesn't include "/usr/libexec/platform-python".
> 
> Could you please check that ?
> 
> Thank you,
> Takashi

Comment 10 Vlada Grosu 2021-03-25 09:28:52 UTC
Thank you  for your help, Takashi!

The update is published on the Customer Portal:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index#validating-the-pre-upgrade-requirements

Comment 15 Vlada Grosu 2021-04-01 17:11:58 UTC
The changes are now published on the Customer Portal:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index?lb_target=production#proc-validating-the-pre-upgrade-requirements_initial-steps

Please feel free to reopen this ticket, or open a different one, in case any further adjustments are required for this section.


Thank you

Comment 16 Takashi Kajinami 2021-04-01 23:37:07 UTC
Thank you, Vlada,

The updated version look good to me !