Bug 769194 - Error during import: unable to extract export archive
Summary: Error during import: unable to extract export archive
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Bryan Kearney
QA Contact: Eric Sammons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-20 08:36 UTC by Lukas Zapletal
Modified: 2015-05-14 15:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-17 13:03:16 UTC


Attachments (Terms of Use)

Description Lukas Zapletal 2011-12-20 08:36:44 UTC
provider import_manifest                [ FAILED ]
provider import_manifest --org=Import_Org_1e478c2 --name=Red Hat --file=/usr/share/katello/script/cli-tests/fake-manifest.zip
Importing manifest, please wait... [/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D   [3DManifest import for provider [ Red Hat ] failed, Candlepin::Owner: 500 Internal Server Error {"displayMessage":"unable to extract export archive"} (POST /candlepin/owners/Import_Org_1e478c2/imports)
[35D                                   [35D

Manifest that has been uploaded:

http://git.fedorahosted.org/git?p=katello.git;a=blob;f=scripts/system-test/fake-manifest.zip

More info:

Nothing interesting in the catalina.log, except few messages:

ConstraintViolationException: Could not execute JDBC batch update

Log file will be provided in this RHBZ.

Comment 1 Lukas Zapletal 2011-12-20 08:37:51 UTC
Changing component to Candlepin

Comment 3 Lukas Zapletal 2011-12-20 08:44:41 UTC
Fyi the manifest that failed is installed here:

/usr/share/katello/script/cli-tests/fake-manifest.zip

and it is valid (I am able to extract it and we use it actively without any other issues).

Looks like a permission problem.

Comment 5 Lukas Zapletal 2011-12-20 13:26:02 UTC
Dec 20 08:24:51 [http-8443-1] INFO  org.candlepin.resource.OwnerResource - Importing archive: /var/cache/tomcat6/temp/pfx5610799644614359964sfx
Dec 20 08:24:51 [http-8443-1] INFO  org.candlepin.sync.Importer - Extracting archive to: /var/cache/candlepin/sync/import113331155938867366068615972646546
Dec 20 08:24:51 [http-8443-1] INFO  org.candlepin.sync.Importer - Extracting archive to: /var/cache/candlepin/sync/import113331155938867366068615972646546

This is in the log. Ah ok.

Comment 7 Bryan Kearney 2012-07-17 13:03:16 UTC
Marking all community bugs modified or beyong as closed.


Note You need to log in before you can comment on or make changes to this bug.