Created 06-29-2017 06:26 PM
I created a cluster which was force terminated from the Web UI. Now resources are left in Cloudbreak (blueprint, recipes, network etc).
cloudbreak-shell>blueprint delete --id 420 Command failed java.lang.RuntimeException: There are clusters associated with blueprint ‘420’. Please remove these before deleting the blueprint. There are clusters associated with blueprint '420'. Please remove these before deleting the blueprint. java.lang.RuntimeException: There are clusters associated with blueprint '420'. Please remove these before deleting the blueprint. at com.sequenceiq.cloudbreak.shell.transformer.ExceptionTransformer.transformToRuntimeException(ExceptionTransformer.java:21) at com.sequenceiq.cloudbreak.shell.commands.common.BlueprintCommands.delete(BlueprintCommands.java:230) at com.sequenceiq.cloudbreak.shell.commands.common.BlueprintCommands.deleteById(BlueprintCommands.java:237) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleExecutionStrategy.java:68) at org.springframework.shell.core.SimpleExecutionStrategy.execute(SimpleExecutionStrategy.java:59) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractShell.java:134) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:533) at org.springframework.shell.core.JLineShell.run(JLineShell.java:179) at java.lang.Thread.run(Thread.java:745)
Created 06-30-2017 08:05 AM
I think this is a bug in your cloudbreak version so you should delete it by hand:
Let me know how it went,
Br,
R
Created 06-29-2017 09:37 PM
@Sandeep Nemuri which cloudbreak version are you using?
Created 07-05-2017 11:29 AM
its 1.16.1
Created 06-30-2017 08:05 AM
I think this is a bug in your cloudbreak version so you should delete it by hand:
Let me know how it went,
Br,
R