Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1113205

Summary: [Doc] Add the full path into the command to be certain it succeeds
Product: Red Hat OpenStack Reporter: Ryan Hallisey <rhallise>
Component: doc-Installation_and_Configuration_GuideAssignee: Deepti Navale <dnavale>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: adahms, slong, yeylon
Target Milestone: ---Keywords: Documentation, Triaged
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-17 06:09:21 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:
Bug Depends On:    
Bug Blocks: 1207474    

Description Ryan Hallisey 2014-06-25 15:54:30 UTC
Description of problem:

2.4.2.1. Enable SSL on the RabbitMQ Message Broker

If you follow steps 1-3 exactly, the user will not be in the correct directory
and step 4 will not work properly.

1) # mkdir /etc/pki/rabbitmq

2) # echo SSL_RABBITMQ_PW > /etc/pki/rabbitmq/certpw

3)
# chmod 700 /etc/pki/rabbitmq
# chmod 600 /etc/pki/rabbitmq/certpw

step 4): # certutil -N -d /etc/pki/rabbitmq -f certpw

The result of doing this step is:

[root@localhost ~]# certutil -N -d /etc/pki/rabbitmq -f certpw
No password file "certpw" exists.
Invalid password.
[root@localhost ~]# ls /etc/pki/rabbitmq/
cert8.db  certpw  key3.db  secmod.db

Either 1) Add a second step to step one to make sure the user is in the correct
directory or 2) use the path to certpw file. I would recommend using the path
like below.

# certutil -N -d /etc/pki/rabbitmq -f /etc/pki/rabbbitmq/certpw

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html/Installation_and_Configuration_Guide/sect-Install_and_Configure_the_RabbitMQ_Message_Broker.html

Comment 1 Ryan Hallisey 2014-06-25 16:05:05 UTC
There are many more occurances on the same page and should all be fixed like I said before, or now that I see more cases of this, I think maybe we should go with my first idea and just tell the user to cd to the directory.

Comment 3 Summer Long 2014-06-29 22:24:52 UTC
Assigning to Bruce Reeler, as the author for SSL issues.

Comment 5 Andrew Dahms 2015-03-30 04:40:42 UTC
Assigning to Deepti for review.