Bug 1368633

Summary: [DOC] need a "apt-get update" command in the ubuntu 2.0 install guide
Product: Red Hat Ceph Storage Reporter: Tejas <tchandra>
Component: DocumentationAssignee: Bara Ancincova <bancinco>
Status: CLOSED CURRENTRELEASE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.0CC: hnallurv, kdreyer
Target Milestone: rc   
Target Release: 2.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-30 17:20:56 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 Tejas 2016-08-20 08:18:29 UTC
Description of problem:

the ceph 2.0 admin guide chapter 6.1:
https://access.qa.redhat.com/documentation/en/red-hat-ceph-storage/2/administration-guide/#adding_a_monitor

We point the user to do the prerequisites from the install guide, however the ubuntu install guide section 2.2:
https://access.qa.redhat.com/documentation/en/red-hat-ceph-storage/2/installation-guide-for-ubuntu/#enabling_ceph_repositories

This section has one command missing in all the  repos.
The user should do : "sudo apt-get update" 
after enabling the repos on all the nodes


$ sudo bash -c 'umask 0077; echo deb https://customername:customerpasswd@rhcs.download.redhat.com/2-release/MON $(lsb_release -sc) main | tee /etc/apt/sources.list.d/MON.list'
$ sudo bash -c 'wget -O - https://www.redhat.com/security/fd431d51.txt | apt-key add -'
"sudo apt-get update"       <--------- add it here


We are aware that this is not needed in a new cluster install from ceph-ansible, but it is only needed when adding a MON or OSD to an existing ckuster from ceph-ansible.

However adding this step will not cause any change to the nodes, it will only download the index files from the repos. Hence please add this command after enabling any repo.


Thanks,
Tejas

Comment 4 Tejas 2016-08-22 10:02:31 UTC
Thanks Bara.
Verified the doc.

Thanks,
Tejas