Bug 1204896 - [doc] incorrect steps for Procedure 11.4. Updating Client Certificates
Summary: [doc] incorrect steps for Procedure 11.4. Updating Client Certificates
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Docs Installation Guide
Version: 570
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Dan Macpherson
QA Contact: Dan Macpherson
URL:
Whiteboard:
Depends On:
Blocks: sat-docs
TreeView+ depends on / blocked
 
Reported: 2015-03-23 17:24 UTC by Pavel Studeník
Modified: 2015-10-21 02:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-21 02:02:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Studeník 2015-03-23 17:24:29 UTC
Description of problem:
look at web page https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html/Installation_Guide/ch11s03.html

title: Procedure 11.4. Updating Client Certificates

Actual results:
# ORG_ID=1
# for system in $(awk -F, "NR>1 { if (\$3 == $ORG_ID) print \$1 }" system-md5-certificates.csv); do systems="$systems $system"; done
# spacewalk-fips-tool -i -c -u admin -d 2014-12-01 14:00:00 -o /tmp/scheduled-installations.csv $systems

# spacewalk-fips-tool -i -c -u admin -d 2014-12-01 14:00:00 -o /tmp/scheduled-installations.csv $systems
-i and -c switches are mutually exclusive.
# echo $? 
1

and missing quotation marks for date 

 2014-12-01 14:00:00 -> "2014-12-01 14:00:00"

Expected results:
1. You need to run on satellite this script ( parametr -i )

# for system in $(awk -F, "NR>1 { if (\$3 == $ORG_ID) print \$1 }" system-md5-certificates.csv); do systems="$systems $system"; done
# spacewalk-fips-tool -i -u admin -d "2014-12-01 14:00:00" -o /tmp/scheduled-installations.csv $systems

2. On clients rhn_check -v (or wait when osad pick up event)

3. And finally  you run on satellite following command ( parametr -c )

# for system in $(awk -F, "NR>1 { if (\$3 == $ORG_ID) print \$1 }" system-md5-certificates.csv); do systems="$systems $system"; done
# spacewalk-fips-tool -c -u admin -d "2014-12-01 14:00:00" -o /tmp/scheduled-installations.csv $systems

Comment 2 Dan Macpherson 2015-08-13 05:23:42 UTC
Updated FIPS procedure:

https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html/Installation_Guide/ch11s03.html

Pavel, how do the instructions read now? Did I get the process correct? Is there anything else I should mention?

Comment 3 Pavel Studeník 2015-08-13 11:51:36 UTC
Hi, I checked it and it looks correct. Commands run without traceback and description of them is understandable.


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