Description of problem: documentation describes bootstrap file which does not exist. Version-Release number of selected component (if applicable): 5.6 How reproducible: https://access.redhat.com/documentation/en-US/Red_Hat_Network_Satellite/5.4/html/Client_Configuration_Guide/sect-Client_Configuration_Guide-Configuring_the_Client_Applications-Registering_with_Activation_Keys.html Steps to Reproduce: 1. http://myserver/pub/bootstrap/ contains python scripts 2. no http://myserver/pub/bootstrap.sh 3. Was this step only needed to import a selfsigned RHN SSL cert ? Is there an easier way to import this trust on the client ?
We need to update documentation. The bootstrap script is not generated by default. Once generated you will find it under /pub/ To generate, either use the command line tool: # rhn-bootstrap Or WebUI (which calls tooling): - Admin -> Red Hat Satellite Configuration -> Bootstrap Script Cliff
The package only packs one file: $ rpm -qlp rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT I found RHEL6 expects it in different location by default. When using the ansible module for satellite registration its not practical to specify an alternate cert location [1] . I ended up using the following code for my purposes: - name: import RHN rpm signing keys rhel6 get_url: url=http://{{ rhn_sat_server }}/pub/RHN-ORG-TRUSTED-SSL-CERT dest=/usr/share/rhn/RHNS-CA-CERT owner=root group=root mode=0644 force=yes when: ansible_distribution == "RedHat" and ansible_distribution_major_version == "6" - name: import RHN rpm signing keys rhel7 get_url: url=http://{{ rhn_sat_server }}/pub/RHN-ORG-TRUSTED-SSL-CERT dest=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT owner=root group=root mode=0644 force=yes when: ansible_distribution == "RedHat" and ansible_distribution_major_version == "7" - name: register system to rhn via key rhn_register: state=present activationkey={{ activation_key }} server_url=https://{{ rhn_sat_server }}/XMLRPC I don't recall where RHEL5 expects it. [1] http://docs.ansible.com/rhn_register_module.html
(In reply to Marco Grigull from comment #5) > The package only packs one file: > $ rpm -qlp rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm > /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT > > > I found RHEL6 expects it in different location by default. When using the > ansible module for satellite registration its not practical to specify an > alternate cert location [1] . > > [1] http://docs.ansible.com/rhn_register_module.html Hi, Marco. Can you elaborate on this further? I couldn't see why it wasn't practical to specify an alternate cert location from the link you posted.
This minor fix is now live in the 5.7 documentation. Closing this bug due to lack of response. If any further issues, please feel free to reopen it.