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
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?
Hi, I checked it and it looks correct. Commands run without traceback and description of them is understandable.