SSPR Appliance: Error when attempting to register for on-line updates

  • 7018345
  • 01-Dec-2016
  • 05-Dec-2016

Environment

Self Service Password Reset
SSPR 4.0  Appliance

Situation

Error returned when attempting to register the SSPR 4.0 appliance for on-line updates
NCC registration fails with SSPR 4.0 appliance
Zypper error received after entering registration code
There was a registration failure the following error was returned:
Execute command: /usr/bin/zypper --non-interactive ref --service  Execute command exit(0): There are no enabled services defined. 
Problem occurs when registering through a proxy. 

Resolution

Do the following:

1. Register through the command line with the following command:

/usr/bin/suse_register -d 3 -a email=<nccemailaddress> -a regcode-sspr=<SSPRActivationKey> -L /var/opt/novell/va/logs/suse_register.log


2.  After the registration completes verify that "SSPR-Appliance-4-OS" and "SSPR-Appliance-4-Product" both show as active repos with the command "zypper lr".  The command and output will look something like this:

zypper lr

# | Alias                                  | Name                     | Enabled
| GPG Check | Refresh
--+----------------------------------------+--------------------------+---------+-----------+--------
1 | nu_novell_com:SSPR-Appliance-4-OS      | SSPR-Appliance-4-OS      | No     
| ----      | Yes
2 | nu_novell_com:SSPR-Appliance-4-Product | SSPR-Appliance-4-Product | No     
| ----      | Yes


3.  If the "enabled" column shows "No" for either the OS or the product, activate the appropriate repo with either (or both) of the following commands.

zypper modifyrepo -e SSPR-Appliance-4-OS
zypper modifyrepo -e SSPR-Appliance-4-Product


4. Use  zypper lr again and verify that "yes" shows in the enabled column, as follows:

zypper lr

# | Alias                                  | Name                     | Enabled
| GPG Check | Refresh
--+----------------------------------------+--------------------------+---------+-----------+--------
1 | nu_novell_com:SSPR-Appliance-4-OS      | SSPR-Appliance-4-OS      | Yes    
| ( p) Yes  | Yes
2 | nu_novell_com:SSPR-Appliance-4-Product | SSPR-Appliance-4-Product | Yes    
| ( p) Yes  | Yes



5. With the repos enabled, type the following command to install patches:

zypper patch

6. If the registration fails, contact Micro Focus for a new registration code.  

Cause

 SUSE on the SSPR Appliance does not properly detect the proxy configuration.  This is scheduled to be addressed in SSPR 4.1.

Additional Information

You can verify that the registration was successful by opening the SSPR Admin Console (https://mySSPRserver.com:9443),  and looking under "Online Update."  Click "register" and verify that the  registration status is active.  You should also start seeing updates listed under "needed patches."