smt-ncc-scc-migration: "duplicate entry '' for key 'PRIMARY'"

  • 7016481
  • 08-May-2015
  • 27-May-2015

Environment

SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)

Situation

During the migration from the NCC (Novell Customer Center) to the SCC (SUSE Customer Center) the following messages are displayed or can be seen in the logs:

DBD::mysql::db do failed: Duplicate entry '100657-203' for key 'PRIMARY' at
/usr/lib/perl5/vendor_perl/5.10.0/SMT/SCCSync.pm line 1020.
DBD::mysql::db do failed: Duplicate entry '100657-203' for key 'PRIMARY' at
/usr/lib/perl5/vendor_perl/5.10.0/SMT/SCCSync.pm line 1020.

Resolution

The smt update, smt-2.0.12-0.7.1 released end of May 2015 includes the patch to resolve the problem.

Cause

During the migration the old NCC (Novell Customer Center) ID's might conflict with the new SCC (SUSE Customer Center) ID's. A patch will induce to setup the table anew each time so that the NCC entries can be removed.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.