Bug 1396440 - [Doc] "Upgrading Red Hat OpenStack Platform" Commands changed in Chapter 3.
Summary: [Doc] "Upgrading Red Hat OpenStack Platform" Commands changed in Chapter 3.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 10.0 (Newton)
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Dan Macpherson
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-18 10:20 UTC by Nilesh
Modified: 2017-01-17 06:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 06:20:51 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.