Using Cloudbreak 1.16.5 with Openstack, while creating cluster, I get the following error on the UI Console:
1/4/2018 3:17:10 PM cluster22 - create in progress: Setting up HDP image 1/4/2018 3:17:11 PM cluster22 - create in progress: Creating infrastructure
1/4/2018 3:17:23 PM cluster22 - update in progress: Infrastructure creation failed. Reason: SecurityGroup creation failed: [ resourceType: OPENSTACK_SECURITY_GROUP, resourceName: cluster2231-20180104094722 ] [ Cause message: description has a minimum character requirement of 1. ]
The logs are as below:
cloudbreak_1 | 2018-01-04 12:05:26,823 [reactorDispatcher-28] execute:73 INFO c.s.c.c.f.AbstractAction - [owner:ce8c72f8-076d-4c32-a70c-b2edc8a6d12d] [type:STACK] [id:32] [name:sadasd] Stack: 32, flow state: START_PROVISIONING_STATE, phase: service, execution time 11 sec cloudbreak_1 | 2018-01-04 12:05:26,824 [reactorDispatcher-28] handleStackCreationFailure:231 ERROR c.s.c.c.f.s.p.a.StackCreationService - [owner:ce8c72f8-076d-4c32-a70c-b2edc8a6d12d] [type:STACK] [id:32] [name:sadasd] Error during stack creation flow: cloudbreak_1 | com.sequenceiq.cloudbreak.cloud.openstack.nativ.OpenStackResourceException: SecurityGroup creation failed: [ resourceType: OPENSTACK_SECURITY_GROUP, resourceName: sadasd32-20180104120526 ] cloudbreak_1 | [ Cause message: description has a minimum character requirement of 1. ] cloudbreak_1 | cloudbreak_1 | at com.sequenceiq.cloudbreak.cloud.openstack.nativ.group.OpenStackSecurityGroupResourceBuilder.build(OpenStackSecurityGroupResourceBuilder.java:61) cloudbreak_1 | at com.sequenceiq.cloudbreak.cloud.openstack.nativ.group.OpenStackSecurityGroupResourceBuilder.build(OpenStackSecurityGroupResourceBuilder.java:27) cloudbreak_1 | at com.sequenceiq.cloudbreak.cloud.template.group.GroupResourceService.buildResources(GroupResourceService.java:70) cloudbreak_1 | at com.sequenceiq.cloudbreak.cloud.template.AbstractResourceConnector.launch(AbstractResourceConnector.java:65)
I have used the default security group as well as tried creating a security group with a description without any success. Am I missing something here? Any help would be appreciated.
Which version of OpenStack are you using? These versions are supported by Cloudbreak now.
A known issue is present since some time in OpenStack, causing that "description" has to be more than 1 char but the field itself is not mandatory. (here, here and here). It is not being corrected though.
Cloudbreak is sending it with empty description, so I am filing a ticket to investigate this and getting back to you with the updates.