Bug 67492 - Channel import causes tracebacks
Channel import causes tracebacks
Status: CLOSED NOTABUG
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server (Show other bugs)
unspecified
i386 Linux
high Severity high
: ---
: ---
Assigned To: Mihai Ibanescu
Fanny Augustin
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-06-26 08:50 EDT by Greg DeKoenigsberg
Modified: 2007-07-31 15:04 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-06-26 08:53:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Greg DeKoenigsberg 2002-06-26 08:50:24 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
("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
Comment 1 Mihai Ibanescu 2002-06-26 09:33:02 EDT
First step is 
satellite-import --channelfamilies --mountpoint /mnt/rhn-sat-import

Didn't get to update the freaking documentation. Doing it now.

Note You need to log in before you can comment on or make changes to this bug.