SMT connected SLES 12 SP1 fails to migrate to SP2 because of missing add-on modules

This document (7018790) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)

Situation

A SMT connected client fails to migrate to SLES 12 SP2 with the following messages:

linux-server:/ # zypper migration


Executing 'zypper  refresh'

Repository 'SLES12-SP1-12.1-0' is up to date.
Repository 'SLES12-SP1-Pool' is up to date.
Repository 'SLES12-SP1-Updates' is up to date.
All repositories have been refreshed.

Executing 'zypper  --no-refresh patch-check --updatestack-only'

Loading repository data...
Reading installed packages...
0 patches needed (0 security patches)

Can't get available migrations from server: SUSE::Connect::ApiError: The requested products 'Web and Scripting Module 12 x86_64, Legacy Module 12 x86_64' are not activated on the system.
'/usr/lib/zypper/commands/zypper-migration' exited with status 1

Resolution

Add the products with SUSEConnect

linux-server:~ #SUSEConnect -p sle-module-legacy/12/x86_64
Registered sle-module-legacy 12 x86_64
To server: https://linux-smt-server

linux-server:~ #SUSEConnect -p sle-module-web-scripting/12/x86_64
Registered sle-module-web-scripting 12 x86_64
To server: https://linux-smt-server

linux-server:~ #zypper pd
Refreshing service 'SMT-http_linux-smt-server'.
Loading repository data...
Reading installed packages...
S | Repository                         | Internal Name            | Name                                | Version | Arch   | Is Base
--+------------------------------------+--------------------------+-------------------------------------+---------+--------+--------
v | SLE-Module-Legacy12-Pool           | sle-module-legacy        | Legacy Module                       | 12-0    | x86_64 | No
i | SLE-Module-Legacy12-Updates        | sle-module-legacy        | Legacy Module                       | 12-0    | x86_64 | No
v | SLE-Module-Legacy12-Updates        | sle-module-legacy        | Legacy Module                       | 12-0    | x86_64 | No
v | SLE-Module-Web-Scripting12-Pool    | sle-module-web-scripting | Web and Scripting Module            | 12-0    | x86_64 | No
i | SLE-Module-Web-Scripting12-Updates | sle-module-web-scripting | Web and Scripting Module            | 12-0    | x86_64 | No
v | SLE-Module-Web-Scripting12-Updates | sle-module-web-scripting | Web and Scripting Module            | 12-0    | x86_64 | No
i | SLES12-SP1-Pool                    | SLES                     | SUSE Linux Enterprise Server 12 SP1 | 12.1-0  | x86_64 | Yes

Results in:

linux-smt-server:~ # smt-list-registrations | grep
linux-server -B1 -A3
+--------------------------------------+------------------------------------+---------------------+-----------+----------------------------------------------------+
| SCC_<NUMBER>                         | linux-server                       | 2017-04-07 09:03:00 |           | sle-module-web-scripting 12 x86_64                 |
|                                      |                                    |                     |           | sle-module-legacy 12 x86_64                        |
|                                      |                                    |                     |           | SLES 12.1 x86_64                                   |
+--------------------------------------+------------------------------------+---------------------+-----------+----------------------------------------------------+

A full list of products can be found with: SUSEConnect --list-extensions

Cause

The Web and Scripting Module 12 x86_64, Legacy Module 12 x86_64 products are not registered with the SMT server.

linux-server:~ #  zypper pd
Refreshing service 'SMT-http_linux-smt-server'.
Loading repository data...
Reading installed packages...
S | Repository      | Internal Name            | Name                                | Version | Arch   | Is Base
--+-----------------+--------------------------+-------------------------------------+---------+--------+--------
i | @System         | sle-module-web-scripting | Web and Scripting Module            | 12-0    | x86_64 | No
i | @System         | sle-module-legacy        | Legacy Module                       | 12-0    | x86_64 | No
i | SLES12-SP1-Pool | SLES                     | SUSE Linux Enterprise Server 12 SP1 | 12.1-0  | x86_64 | Yes


linux-smt-server:~ # smt-list-registrations | grep linux-server -B1 -A1
+--------------------------------------+------------------------------------+---------------------+-----------+----------------------------------------------------+
| SCC_<NUMBER>                         | linux-server                       | 2017-04-07 09:03:00 |           | SLES 12.1 x86_64                                   |
+--------------------------------------+------------------------------------+---------------------+-----------+----------------------------------------------------+

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7018790
  • Creation Date: 10-Apr-2017
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server
    • SLES 12 Module: Web and Scripting Module
    • SLES 12 Module: Legacy Module

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center