Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: I have to create the entitlements certification file according to: https://fedorahosted.org/spacewalk/wiki/CertCreation I try this with the following command: ./gen-oss-sat-cert.pl --dsn spacewalk/spacewalk@xe --signer 1409A43D --owner admin --no-passphrase --output templace.cert --expires 20.1.2015 --slots 99 --orgid 1 Unknown option: dsn RHN::Exception: Attempt to set invalid mode 'all_rh_channel_families_insecure' for datasource 'RHN::DataSource::Channel' RHN::DataSource /usr/lib/perl5/vendor_perl/5.10.0/RHN/DataSource.pm 67 RHN::Exception::throw RHN::DataSource /usr/lib/perl5/vendor_perl/5.10.0/RHN/DataSource.pm 38 RHN::DataSource::mode main ./scripts_gen-oss-sat-cert.pl 94 RHN::DataSource::new It is a fresh n' clean installation of spacewalk. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Install spacewalk 2. ./gen-oss-sat-cert.pl --dsn spacewalk/spacewalk@xe --signer 1409A43D --owner admin --no-passphrase --output templace.cert --expires 20.1.2015 --slots 99 --orgid 1 3. Actual results: Fail to genereate entitlement certificate file. Expected results: Output file containing a valid entitlement. Additional info:
please provide output of: rpm -q spacewalk-certs-tools
There is no option --dsn. connect string is taken from /etc/rhn/rhn.conf (I edited wiki). Script ./gen-oss-sat-cert.pl is not part of spacewalk-certs-tools This is duplicate of 529371 *** This bug has been marked as a duplicate of bug 529371 ***