Actions
Bug #21740
closedReenable sync step fails when hammer is not properly configured
Difficulty:
Triaged:
Description
Reenable sync does fail for a HTB CU with:
re-enable sync plans: \ re-enabling sync plans [FAIL] Could not load the API description from the server: SSL certificate verification failed Make sure you configured the correct URL and have the server's CA certificate installed on your system. The following configuration option were used for the SSL connection: ssl_ca_file = /etc/pki/katello/certs/katello-default-ca.crt Make sure the location contains an unexpired and valid CA certificate for https://xxxxxxxx.com Could not load the API description from the server: SSL certificate verification failed Make sure you configured the correct URL and have the server's CA certificate installed on your system. The following configuration option were used for the SSL connection: ssl_ca_file = /etc/pki/katello/certs/katello-default-ca.crt
Perhaps add additional check that will verify if certs are correct prior doing any hammer command.
It is worth nothing that hammer command was not working for this customer because of https://bugzilla.redhat.com/show_bug.cgi?id=1513599 but these symptoms are different (cert vs password).
Updated by Lukas Zapletal over 6 years ago
- Priority changed from Normal to High
HTB, I need triage please.
Can you simply add a step that will do "hammer ping" and if this fails the error will make more sense? I think this would be nice usability addition before GA ugprades.
Updated by Martin Bacovsky about 6 years ago
- Assignee set to Martin Bacovsky
- Target version set to 251
Updated by Martin Bacovsky about 6 years ago
- Status changed from New to Assigned
Updated by Martin Bacovsky about 6 years ago
- Related to Feature #22739: formain-maintain fails to use hammer if config has host: localhost added
Updated by The Foreman Bot about 6 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/165 added
Updated by Martin Bacovsky about 6 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_maintain|8b3e44a28019f5eb780a6c8d1319031d51ea680f.
Actions