Bug 769194

Summary: Error during import: unable to extract export archive
Product: [Community] Candlepin Reporter: Lukas Zapletal <lzap>
Component: candlepinAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Eric Sammons <esammons>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.5   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 13:03:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.