Bug 67492
| Summary: | Channel import causes tracebacks | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Greg DeKoenigsberg <gdk> |
| Component: | Server | Assignee: | Mihai Ibanescu <mihai.ibanescu> |
| Status: | CLOSED NOTABUG | QA Contact: | Fanny Augustin <fmoquete> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | cturner, gafton, gdk, mihai.ibanescu, pjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-06-26 12:53:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
First step is satellite-import --channelfamilies --mountpoint /mnt/rhn-sat-import Didn't get to update the freaking documentation. Doing it now. |
So, when I run the initial channel import command... satellite-import -channels -c redhat-linux-i386-7.3 --mountpoint /mnt/rhn-sat-import I get the following error: server.rhnSQL.sql_base.SQLError: (1400, 'ORA-01400: cannot insert NULL into ("RHN_EMEA_2"."RHNCHANNELFAMILYMEMBERS"."CHANNEL_FAMILY_ID")\012', {'SQL': 'insert into rhnChannelFamilyMembers (channel_id, channel_family_id) values (:channel_id, :channel_family_id)', 'Params': [(':channel_family_id', [None]), (':channel_id', [101])]}) ...which is interesting. I figured, well, maybe satellite-import isn't so good; why not try the satellite-sync command? So I ran the command from the docs: satellite-sync -c redhat-linux-i386-7.2 --mountpoint /mnt/misc/rhndata ...which fails in a different way, which I failed to record. But then, after having run that, running the previous satellite-import command works (boggle). I did replicate this for two different Oracle users in the classroom. Therefore: I'm guessing that something isn't being set correctly by the CD-based satellite-import that *is* being set correctly by satellite-sync. So: 1. Which tool is supported for filesystem-based install, satellite-import or satellite-sync, or both? 2. Whichever one is supported, isn't working. Relevant packages: rhns-satellite-tools-1.2.4-12 rhn-satellite-schema-0.9.2-37