Support Questions
Find answers, ask questions, and share your expertise

Cannot change default image in Cloudbreak

Cannot change default image in Cloudbreak

New Contributor

I use custom image catalog for my NiFi cluster in Cloudbreak. Cluster was built successfully and works as expected.

Now I built new custom image, updated my catalog and  should change default image for this cluster.

I know this feature was added to Cloudbreak since version 1.8, I use version 1.9.

Anyway, when I tried to change image via Cloudbreak UI, I got next response.

Screen Shot 2019-08-28 at 5.08.54 PM.png

But if I try to use Cloudbreak default catalog, it works as expected.

Screen Shot 2019-08-28 at 5.11.33 PM.png

 

So what did I miss?

In Cloudbreak documentation in step 4 I saw one NOTE - If this window does not show any images, try (?), but looks like it is not finished.

https://docs.hortonworks.com/HDPDocuments/Cloudbreak/Cloudbreak-2.8.0/manage-clusters/content/cb_upd...

Here is how my custom image catalog looks like:   

 

 

 

{
    "images": {
        "base-images": [
            {
                "date": "2019-05-08",
                "images": {
                    "aws": {
                        "us-east-1": "ami-0e019418694cda099"
                    }
                },
                "os": "amazonlinux2",
                "os_type": "amazonlinux2",
                "description": "Custom Image",
                "uuid": "78fb2a3c-13a2-418d-758b-792aa4547999"
            },
            {
                "date": "2019-08-21",
                "images": {
                    "aws": {
                        "us-east-1": "ami-0d4001fb2df9d9cf4"
                    }
                },
                "os": "amazonlinux2",
                "os_type": "amazonlinux2",
                "description": "Custom Image",
                "uuid": "a04687e5-cae0-4b65-a109-5880df71731f"
            }
        ]
    },
    "versions": {
        "cloudbreak": [
            {
                "images": [
                    "78fb2a3c-13a2-418d-758b-792aa4547999",
                    "a04687e5-cae0-4b65-a109-5880df71731f"
                ],
                "defaults": [
                    "78fb2a3c-13a2-418d-758b-792aa4547999",
                    "a04687e5-cae0-4b65-a109-5880df71731f"
                ],
                "versions": [
                    "2.9.0"
                ]
            }
        ]
    }
}

 

 

 

Please help me to resolve this issue.

And other question is - is it possible to change image for ambari instance?