Red Hat Bugzilla – Bug 1470653
capsule-certs-generate fails with "Parameter certs-tar invalid: ... is not one of regexes matching Error during configuration"
Last modified: 2017-08-14 04:46:51 EDT
Description of problem:
Calling capsule-certs-generate with --certs-tar value enclosed in quote marks (just like instructed in documetation -- https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html-single/installation_guide/#installing_capsule_server) results in error:
# capsule-certs-generate --node-fqdn "mycapsule.example.com" --certs-tar "~/mycapsule.cexample.com-certs.tar"
Parameter certs-tar invalid: ~/mycapsule.cexample.com-certs.tar is not one of regexes matching /^(([a-zA-Z]:[\\\/Error during configuration, exiting
Supplying the value without quotes results in successful certs creation.
Version-Release number of selected component (if applicable):
no Error, or more instructive message
Peter, is this a regression from 6.2?
This sounds like a documentation bug if we could flag it as such to update the docs to exclude the quotes.
Moving to `Documentation`, as `ls "~/.ssh"` doesn't work for ~ extrapolation, we should not expect the installer doing more logic around that. We should not instruct people to use invalid way of passing paths to CLI tools.
Assigning to Charles for review.
(In reply to Brad Buckingham from comment #1)
> Peter, is this a regression from 6.2?
Hey, I don't remember this happening in 6.2, though I might be wrong. I'm ok with passing this to docs, though the displayed message could be improved.