Satellite 6 で Error during manifest import "Failed to import archive" が発生する
Issue
- 新しい Satellite マニフェストファイルをインポートする時にエラーが発生します。
- Satellite 6 にマニフェストをインポートしようとすると、/var/log/foreman/production.log に以下のエラーが発生します。
2016-10-24 12:50:04 [app] [E] Error during manifest import:{"displayMessage"=>"Failed to import archive", "requestUuid"=>"398feb37-f6bd-4709-998a-630f0e8f4a95"}
2016-10-24 12:50:04 [foreman-tasks/action] [E] Failed to import archive (Katello::Errors::CandlepinError)
また、以下のエラーが /var/log/candlepin/error.log に出力される場合があります。
2016-10-24 12:50:04,662 [thread=http-bio-8443-exec-7] [req=398feb37-f6bd-4709-998a-630f0e8f4a95, org=secondorg] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - ERROR: duplicate key value violates unique constraint "cp_content_label_key"
Detail:Key (label)=(rhel-7-server-containers) already exists.
2016-10-24 12:50:04,693 [thread=http-bio-8443-exec-7] [req=398feb37-f6bd-4709-998a-630f0e8f4a95, org=secondorg] ERROR org.candlepin.sync.Importer - Failed to import archive
- マニフェストファイルを新たにダウンロードしましたが、Satellite にアップロードされませんでした。停止したタスクにエラーメッセージがあります。
Runtime Error ERROR: duplicate key value violates unique constraint "cp_content_label_key"
Detail:Key (label)=(rhel-7-server-containers) already exists. at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse:2,157
Environment
- Red Hat Satellite 6.0
- Red Hat Satellite 6.1
- Red Hat Satellite 6.2 (アップデート 6.2.4 より前)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
