<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Stale resources in cloud break cluster in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stale-resources-in-cloud-break-cluster/m-p/218534#M63963</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt; which cloudbreak version are you using?&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jun 2017 04:37:43 GMT</pubDate>
    <dc:creator>rdoktorics</dc:creator>
    <dc:date>2017-06-30T04:37:43Z</dc:date>
    <item>
      <title>Stale resources in cloud break cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stale-resources-in-cloud-break-cluster/m-p/218533#M63962</link>
      <description>&lt;P&gt;I created a cluster which was force terminated from the Web UI. Now resources are left in Cloudbreak (blueprint, recipes, network etc).&lt;/P&gt;&lt;DIV&gt;Trying to delete these from the UI or shell does not work and results in the following error: 

&lt;PRE&gt;cloudbreak-shell&amp;gt;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) &lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Jun 2017 01:26:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stale-resources-in-cloud-break-cluster/m-p/218533#M63962</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2017-06-30T01:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Stale resources in cloud break cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stale-resources-in-cloud-break-cluster/m-p/218534#M63963</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt; which cloudbreak version are you using?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 04:37:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stale-resources-in-cloud-break-cluster/m-p/218534#M63963</guid>
      <dc:creator>rdoktorics</dc:creator>
      <dc:date>2017-06-30T04:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stale resources in cloud break cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stale-resources-in-cloud-break-cluster/m-p/218535#M63964</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I think this is a bug in your cloudbreak version so you should delete it by hand:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;jump into the cloudbreak db container&lt;/LI&gt;&lt;LI&gt;select id from  blueprint where name=&amp;lt;blueprint-name&amp;gt;;&lt;/LI&gt;&lt;LI&gt;select name,id,status from cluster where blueprint_id=&amp;lt;id&amp;gt;;&lt;/LI&gt;&lt;LI&gt;update cluster set blueprint_id=null where name=&amp;lt;cluster_name&amp;gt;;&lt;/LI&gt;&lt;LI&gt;delete blueprint where name=&amp;lt;blueprint-name&amp;gt;;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Let me know how it went,&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 15:05:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stale-resources-in-cloud-break-cluster/m-p/218535#M63964</guid>
      <dc:creator>rdoktorics</dc:creator>
      <dc:date>2017-06-30T15:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stale resources in cloud break cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stale-resources-in-cloud-break-cluster/m-p/218536#M63965</link>
      <description>&lt;P&gt;its 1.16.1&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 18:29:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Stale-resources-in-cloud-break-cluster/m-p/218536#M63965</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2017-07-05T18:29:09Z</dc:date>
    </item>
  </channel>
</rss>

