Bug 1464075

Summary: [osp11][minor update]wrong command to cleaning directory in update doc for osp11
Product: Red Hat OpenStack Reporter: Artem Hrechanychenko <ahrechan>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED NOTABUG QA Contact: RHOS Documentation Team <rhos-docs>
Severity: low Docs Contact:
Priority: low    
Version: 11.0 (Ocata)CC: ahrechan, dmacpher, jjoyce, lbezdick, sathlang, srevivo
Target Milestone: gaKeywords: Triaged, ZStream
Target Release: 11.0 (Ocata)   
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-09-04 12:54:48 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 Artem Hrechanychenko 2017-06-22 11:43:55 UTC
Description of problem:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html/upgrading_red_hat_openstack_platform/chap-director-minor-update#sect-Updating_Director_Packages

step 2.2

2.2. Updating the Overcloud Images

$ rm -rf ~/images/*

[stack@undercloud-0 ~]$  cd ~/images
-bash: cd: /home/stack/images: No such file or directory

so need to clean directory, not remove directory itself


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

How reproducible:
alway

Steps to Reproduce:
1.install osp11
2.upgrade undercloud 
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html/upgrading_red_hat_openstack_platform/chap-director-minor-update#sect-Updating_Director_Packages
3.execute step 2.2

Actual results:
directory exist

Expected results:
directory doesn't exist
-bash: cd: /home/stack/images: No such file or directory


Additional info:

Comment 1 Dan Macpherson 2017-06-23 03:04:08 UTC
This directory should exist from the initial installation:

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html/director_installation_and_usage/chap-installing_the_undercloud#sect-Creating_Directories_for_Templates_and_Images

The main point is to remove the existing image file extracted from the tar file. If you've used a different location during your installation, you need to use that directory instead.

Artem, will be closing this as NOTABUG unless you had any additional info.

Comment 2 Artem Hrechanychenko 2017-10-19 22:45:52 UTC
Agree!