Bug 1396440

Summary: [Doc] "Upgrading Red Hat OpenStack Platform" Commands changed in Chapter 3.
Product: Red Hat OpenStack Reporter: Nilesh <nchandek>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: dmacpher, srevivo
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 06:20:51 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:

Description Nilesh 2016-11-18 10:20:13 UTC
Description of problem:

https://doc-stage.usersys.redhat.com/documentation/en/red-hat-openstack-platform/10/single/upgrading-red-hat-openstack-platform/#chap-Upgrading_the_Environment



1) Section 3.2 

=> keystone role list  
=> keystone role-create --name _member_ 
=> keystone user-role-add --user admin --role _member_ --tenant admin 


It should be 

=> openstack  role list
=> openstack  role-create --name _member_
=> openstack  user-role-add --user admin --role _member_ --tenant admin


2) Section 3.3 

=> for i in /usr/share/rhosp-director-images/overcloud-full-latest-9.0.tar /usr/share/rhosp-director-images/ironic-python-agent-latest-9.0.tar; do tar -xvf $i; done

It should be 

=> for i in /usr/share/rhosp-director-images/overcloud-full-latest-10.0.tar /usr/share/rhosp-director-images/ironic-python-agent-latest-10.0.tar; do tar -xvf $i; done

There is no "overcloud-full-latest-9.0.tar" image present in "/usr/share/rhosp-director-images", the directory contain "overcloud-full-latest-10.0.tar".


3) Section 3.4 

=> $ openstack overcloud deploy --templates \
--control-scale 3 \
--compute-scale 3 \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/net-single-nic-with-vlans.yaml  \
-e /home/stack/templates/network_env.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-aodh.yaml


It should be 

$ openstack overcloud deploy --templates \
--control-scale 3 \
--compute-scale 3 \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/net-single-nic-with-vlans.yaml  \
-e /home/stack/templates/network_env.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-aodh-migrations.yaml


In the heat stack template directory "major-upgrade-aodh.yaml" yaml file is not there, so to perform upgrade we need to replace it with "major-upgrade-aodh-migrations.yaml" file. 
 

Additional info:


Checked the updated command from the above mentioned list and it worked else the default one which is mentioned in the documentation throw an error.

Comment 2 Dan Macpherson 2017-01-17 06:20:51 UTC
No response in over a month. Closing this BZ, but if further updates are required for this item, please feel free to reopen this BZ.