Support Questions

Find answers, ask questions, and share your expertise

HDC CLI Cluster Creation on AWS fails on Volume Count

Explorer

Being unable to create Cluster via Web UI due to question posted here https://community.hortonworks.com/questions/151977/web-ui-for-data-cloud-not-showing-existing-vpc-su... i have tried to create my AWS cluster via the CLI tools where i can at least specify my VPC and Subnet ID for cluster creation, but am being equally as frustrated with failures.

When trying to provision cluster (with instance types of ANY size and a volume count >=1 i get the error:

ERROR: status code: 400, message: Failed to convert from type [com.sequenceiq.cloudbreak.api.model.InstanceGroupRequest] to type [com.sequenceiq.cloudbreak.domain.InstanceGroup] for value 'com.sequenceiq.cloudbreak.api.model.InstanceGroupRequest@5986bda3'; nested exception is com.sequenceiq.cloudbreak.controller.BadRequestException: Min allowed volume count for 'm4.4xlarge': 0


Changing the volume count to 0 (just to prove the error) gives the error:


ERROR: status code: 400, message: Failed to convert from type [com.sequenceiq.cloudbreak.api.model.InstanceGroupRequest] to type [com.sequenceiq.cloudbreak.domain.InstanceGroup] for value 'com.sequenceiq.cloudbreak.api.model.InstanceGroupRequest@5986bda3'; nested exception is com.sequenceiq.cloudbreak.controller.BadRequestException: Min allowed volume count for 'm4.4xlarge': 1


Again, looking for any advice/guidance on how i can spin up a cluster.

Cheers

Andy


3 REPLIES 3

Explorer

This is on HDC 2.0.0

43912-hortonworks.jpg

Contributor

Hi @Andy Kelly,

Did you change only the volume count or also the volume type?

Could you attach the two request jsons?

Explorer

Hi @bbihari

I tried changing the volume count between 0, 1 and 2 and also changed the volume type from ephemeral to gp2 with same result. Attached JSON's with a little bit of redaction for security purposes.

This is on version 2.0.0 by the way. On 1.16.0 i am getting GO errors when trying to use the HDC.exe utility to create a cluster.

Thanks
Andy