smt-ncc-scc-migration displays "duplicate entry" messages

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

Environment

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

Situation

When the smt-ncc-scc-migration is performed, it stops and the following warning is displayed:

2015-01-19 16:12:52 SMT::SCCSync - [error]  DBD::mysql::db do failed: Duplicate entry '100641-100638' for key 'pdid_extid_unq' at /usr/lib/perl5/vendor_perl/5.10.0/SMT/SCCSync.pm line 725.

Resolution

This is just a warning and hasn't prevented the migration or will impede future functionality.
To confirm that the migration has been successfully performed, "smt-repos" can be run in a terminal. A successful migration will display the SLES-12 repositories in the list of repositories. Alternatively they are also be displayed in the YaST SMT Management.

If the error messages also occur when running smt-scc-sync or smt-sync please see the following TID:

TID 7017148 - smt-scc-sync and smt-sync returning mysql::db do failed: Duplicate entry errors

Cause


Additional Information

Please note this warning is different, (entry, key values and location are different) from two other errors during the migration to the SCC (SUSE Customer Center:

1.
.... [error]  DBD::mysql::db do failed: Duplicate entry 'a2d6e5f5943b4f2eb6b02fd2fd0498b9-3534e7633fe310e491049d1c3f5607b' for key 1 at /usr/lib/perl5/vendor_perl/5.10.0/SMT/NCCRegTools.pm line 699

This specific error and it's resolution is documented in the Knowledge Base Document:
"SMT reports duplicate registration database entries".

2.
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.

This error is documented in the Knowledge Base Document:
smt-ncc-scc-migration: "duplicate entry '' for key 'PRIMARY'"

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:7016109
  • Creation Date: 27-Jan-2015
  • Modified Date:03-Mar-2020
    • Subscription Management Tool
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@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