Bug 1557218

Summary: [DOCS]disable swap memory is a must when upgrading cluster to OCP 3.9
Product: OpenShift Container Platform Reporter: Weihua Meng <wmeng>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED CURRENTRELEASE QA Contact: Vikram Goyal <vigoyal>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: medium    
Version: 3.9.0CC: aos-bugs, jialiu, jokerman, mmccomas, wmeng
Target Milestone: ---   
Target Release: 3.9.0   
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-11-06 08:34:00 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:

Comment 1 Johnny Liu 2018-03-16 12:28:29 UTC
This is came out from https://bugzilla.redhat.com/show_bug.cgi?id=1557200

Comment 2 brice 2018-03-19 05:20:06 UTC
@weihua @johnny

Sorry, I'm not too sure what is being asked.

Is swap memory disabled by default in 3.9?

If so, I can move the "Disabling Swap Memory" section for the 3.9 guide to the "Upgrading" guide? Perhaps to here:

https://docs.openshift.com/container-platform/3.7/upgrading/index.html

If this is only affecting users who have upgraded to 3.9 from 3.7, then that might be the best idea. The section does not have a purpose if the reader is installing a 3.9 cluster.

Comment 3 Johnny Liu 2018-03-19 06:49:40 UTC
(In reply to brice from comment #2)
> Is swap memory disabled by default in 3.9?
For 3.9 fresh install, there is an ansible-openshift option (openshift_disable_swap=false) to allow user keep swap memory on, installation is going well, no fatal error. If no set this ansible-openshift option, openshift-ansible installer would disable swap by default.

> 
> If so, I can move the "Disabling Swap Memory" section for the 3.9 guide to
> the "Upgrading" guide? Perhaps to here:
> 
> https://docs.openshift.com/container-platform/3.7/upgrading/index.html
> 
> If this is only affecting users who have upgraded to 3.9 from 3.7, then that
> might be the best idea. The section does not have a purpose if the reader is
> installing a 3.9 cluster.
Yes, according to QE's finding (BZ#1557200), currently have to disable swap memory when upgraded to 3.9 from 3.7. I think we need link the "Disabling Swap Memory" section in the "Upgradeing" guide, but not move.

Comment 4 brice 2018-03-20 01:47:10 UTC
Thanks!

I've created a PR:

https://github.com/openshift/openshift-docs/pull/8223

Can I ask for a review to check that it is accurate? Thanks, again.

Comment 5 Johnny Liu 2018-03-20 06:00:37 UTC
leave comment in the PR.

Comment 6 openshift-github-bot 2018-03-22 00:29:50 UTC
Commit pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/de91a873d81bf65e44b97189068ba4d13ef2f094
Merge pull request #8223 from bfallonf/swap_1557218

Bug 1557218 Added section to upgrade docs about swap memory

Comment 7 brice 2018-03-22 00:37:19 UTC
Pr has merged:

https://github.com/openshift/openshift-docs/pull/8223

Thanks, all