Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Not able to create custom image catalog on Cloudbreak 2.4.0

Highlighted

Not able to create custom image catalog on Cloudbreak 2.4.0

Contributor

custom-images-1.txt

hi Team,

I recently updated my Cloudbreak to 2.4.0 from 1.16.5.

I am trying to create custom-image catalog but not able to do that. i am getting below error.

2018-02-27 12:04:06,980 [http-nio-8080-exec-12] propagateImagesIfRequested:332 ERROR c.s.c.s.i.ImageCatalogService - [instance:caa446d9-80af-4efe-9496-a6bd190696d5] [type:ImageCatalogV1] [id:] [name:intucustomimage] [tracking:8ce02a59-efeb-4152-a339-6e438a2f2720] No images was found: com.sequenceiq.cloudbreak.core.CloudbreakImageCatalogException: Failed to process image catalog from 'https://s3-us-west-2.amazonaws.com/xyzabc/pmalla/custom-images_1.json' due to: 'Error reading entity from input stream.'

I have taken the default json and replaced my .vhd image path in the json and changed UUID for this. my json file was uploaded to s3 and it is accessible from browser. I am also able to download this file from wget command.

Any help is much appriciated.

1 REPLY 1

Re: Not able to create custom image catalog on Cloudbreak 2.4.0

@Paramesh malla

Most probably your problem is that the content type of the file is not json.

If you are using AWS cli then please append the following (or set the same in the AWS UI):

--content-type application/json

In the meantime, I am filing an issue to have this documented.

Hope this helps!