Trying to register node to RH Satellite: import read failed(0).

Latest response

Hi all,

I am trying to register some servers to our RH Satellite using bootstrap script. While running it I get the following message:
error: RHN-ORG-TRUSTED-SSL-CERT: import read failed(0).

When use "set -x" in the bootstrap script and run it again I get the following messages:

+ for GPG_KEY in '$(echo "$ORG_GPG_KEY" | tr "," " ")'
+ rm -f RHN-ORG-TRUSTED-SSL-CERT                      
+ /usr/bin/wget -q -r -nd --no-check-certificate https://our-server/pub/RHN-ORG-TRUSTED-SSL-CERT
++ LC_ALL=C                                                                                                  
++ rpm -q --queryformat '%{version}' up2date                                                                 
++ sed -e 's/\..*//g'                                                                                        
+ res='package up2date is not installed'                                                                     
+ '[' 'xpackage up2date is not installed' == x2 ']'                                                          
+ rpm --import RHN-ORG-TRUSTED-SSL-CERT                                                                      
error: RHN-ORG-TRUSTED-SSL-CERT: import read failed(0).                                                      
+ echo                                                                                                       

+ echo '* attempting to install corporate public CA cert'
* attempting to install corporate public CA cert         
+ '[' 0 -eq 1 ']'                                        
+ rm -f RHN-ORG-TRUSTED-SSL-CERT                         
+ /usr/bin/wget -q -r -nd --no-check-certificate https://our-server/pub/RHN-ORG-TRUSTED-SSL-CERT
+ mv RHN-ORG-TRUSTED-SSL-CERT /usr/share/rhn/                                                                
+ '[' yum == zypper ']'                                                                                      
+ echo                                                                                                       

Can anybody tell me what is wrong with it ?

Responses

Przemyslaw, I've reached out to a Red Hat expert who should be able to offer some suggestions on this one. Someone from the community here might also be able to assist.

David, thanks for help - I though about asking RH support.

Hello Przemyslaw,

Similar issue was identified and fixed while trying to register RHEL4:

up2date bug fix update rhn.redhat.com/errata/RHBA-2011-0240.html

In case you are running different version and the above fix does not apply to your environment, could you please raise a case through the customer portal so we can investigate further? Add to the case description this discussion ID: https://access.redhat.com/site/discussions/516173

Thank you
Fábio Da Cunha

Hello Fabio,

I was trying to register RH 5 server. It seems that raising a case is the quickest option now.