Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1219538

Summary: Can't locate RHN/DataSource/Channel.pm in @INC when executing gen-oss-sat-cert.pl
Product: [Community] Spacewalk Reporter: Hugh McMillan <hughmcmillan89>
Component: InstallationAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.3CC: ggainey
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-07 14:32:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1484117    

Description Hugh McMillan 2015-05-07 14:29:20 UTC
Description of problem:

I've followed a procedure I wrote and documented quite thoroughly for 2.2 after altering it to meet the needs of 2.3 where I could. Everything for the gpg elements worked fine, up until I tried to run this script. It then claimed things couldn't be located in the expected directories.

Version-Release number of selected component (if applicable):


How reproducible:

It re-occurs at the moment whenever I run the script. If I followed the guide again I'd imagine I'd run into the same blocker. After speaking to ggainey on IRC, he thought it may be to do with the perl stack being largely removed in the conversation to Java in the 2.3 version.

Steps to Reproduce:

Following the "CertCreation" guide on https://fedorahosted.org/spacewalk/wiki/CertCreation that involves the use of gen-oss-sat-cert.pl guide, and then try execute the following on the relevant file:

perl /tmp/gen-oss-sat-cert.pl --signer XXXXXXXX --resign /usr/share/spacewalk/setup/spacewalk-public.cert

Using the script located here:

https://github.com/colloquium/spacewalk/blob/master/scripts/gen-oss-sat-cert.pl


Actual results:

perl /tmp/gen-oss-sat-cert.pl --signer 4744ACB9 --resign /usr/share/spacewalk/setup/spacewalk-public.cert
Can't locate RHN/DataSource/Channel.pm in @INC (@INC contains: /var/www/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /tmp/gen-oss-sat-cert.pl line 10.

BEGIN failed--compilation aborted at /tmp/gen-oss-sat-cert.pl line 10.


Expected results:

Successfully re-sign.

Additional info:

When searching for the .pm file, the output from the 'Find' command produced no results when searching for the string "Channel.pm"

Comment 1 Grant Gainey 2015-05-07 14:32:16 UTC
Having asked you to open this, I'm going to close it as a dup of the older one - that way we can all track it in one place.

*** This bug has been marked as a duplicate of bug 1218580 ***

Comment 2 Eric Herget 2017-09-28 18:08:29 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.