The latest format of the manifest zip files downloaded from the Customer Portal are no longer compatible with CFSE 1.0.0's version of Candlepin. The error the user receives when trying to import ends up being found in tomcat's catalina.out: Jun 11 20:42:21 [http-8443-1] INFO org.candlepin.resource.OwnerResource - Importing archive: /var/cache/tomcat6/temp/pfx5505155024546797626sfx Jun 11 20:42:21 [http-8443-1] INFO org.candlepin.sync.Importer - Extracting archive to: /var/cache/candlepin/sync/import24086964649270519618213240909525689 Jun 11 20:42:21 [http-8443-1] INFO org.candlepin.sync.Importer - Extracting archive to: /var/cache/candlepin/sync/import24086964649270519618213240909525689 Jun 11 20:42:23 [http-8443-1] ERROR org.candlepin.sync.Importer - Exception caught importing archive org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: java.io.FileReader@5f75d92e; line: 1, column: 393] at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:159) worked with Chris Duryee and James Bowes and determined a hotfix needs to be developed to have CFSE's candlepin properly deal with this new format. This bug is filed to track that effort
Created attachment 591302 [details] python script to fix manifest format
See the attached script for a short term fix to use to massage the manifest to get it to import.
To execute the above script copy the manifest zip file to the same directory as the script and run: $ python ./cfse-1-0-0-manifest-fix.py ./manifest.zip creating work directory extracting manifest reading entitlements Fixing entitlement: 8a85f98637dcaca50137dd3a022a3d62.json rebuilding manifest cleaning up all done. your new manifest is in manifest-fixed.zip you then upload manifest-fixed.zip
It's good to keep this bug open for the time being to help users find the attached script, but I plan on fixing this server side, in the manifest generation code.
The fix for this is now live in production. If your manifest is not importing correctly into CloudForms or Subscription Asset Manifest, please download a new copy from access.redhat.com
getting rid of 6.0.0 version since that doesn't exist