Red Hat Bugzilla – Bug 67492
Channel import causes tracebacks
Last modified: 2007-07-31 15:04:01 EDT
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
'insert into rhnChannelFamilyMembers (channel_id, channel_family_id) values
(:channel_id, :channel_family_id)', 'Params': [(':channel_family_id', [None]),
...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.
1. Which tool is supported for filesystem-based install, satellite-import or
satellite-sync, or both?
2. Whichever one is supported, isn't working.
First step is
satellite-import --channelfamilies --mountpoint /mnt/rhn-sat-import
Didn't get to update the freaking documentation. Doing it now.