<?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: &amp;quot;A template must be specified&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93038#M1928</link>
    <description>&lt;P&gt;Yep that works fine! So I am explicitly creating the templates first so Director can validate that it likes them before creating the DeploymentTemplate or the ClusterTemplates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was an issue related to the names of the InstanceTemplates were &amp;gt; 40 characters and Director accepted the ClusterTemplate with those InstanceTemplates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2019 22:39:39 GMT</pubDate>
    <dc:creator>Da</dc:creator>
    <dc:date>2019-07-22T22:39:39Z</dc:date>
    <item>
      <title>"A template must be specified"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93009#M1923</link>
      <description>&lt;P&gt;Ran into an interesting scenario in Director that I have not solved yet but will (hopefully) today.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Created a cluster via the python sdk and when attempting to repair a node in any instance group I get "A template must be specified". There is nothing in the logs and this instance group only contains gateway roles for HDFS and YARN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is Director v6.1 and there are no "templates" in the templates tab since everything was programmatically generated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Screenshot for reference:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5836i22D5A446C5E3BADC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:52:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93009#M1923</guid>
      <dc:creator>Da</dc:creator>
      <dc:date>2022-09-16T15:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: "A template must be specified"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93010#M1924</link>
      <description>Oh, huh. This is unusual. Is there anything interesting in the Director logs relating to this?</description>
      <pubDate>Mon, 22 Jul 2019 15:13:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93010#M1924</guid>
      <dc:creator>Mike Wilson</dc:creator>
      <dc:date>2019-07-22T15:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: "A template must be specified"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93011#M1925</link>
      <description>&lt;P&gt;Nothing in the logs at all related to this and seems to flag the instance group that is solely comprised of gateways when trying to repair any group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's interesting is you can click view template and it shows all the expected information above the error. Is there a specific logging I can turn on for this in director that wouldn't flood the logs?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 15:54:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93011#M1925</guid>
      <dc:creator>Da</dc:creator>
      <dc:date>2019-07-22T15:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: "A template must be specified"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93019#M1926</link>
      <description>&lt;P&gt;Upgraded to Director v6.2.1 and see the same behavior when repairing / shrinking / growing any of these clusters created in a similar fashion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turned on full debug at root level in logback and wading through a ton of logs at the moment and hoping something stands out.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 17:36:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93019#M1926</guid>
      <dc:creator>Da</dc:creator>
      <dc:date>2019-07-22T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: "A template must be specified"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93034#M1927</link>
      <description>&lt;P&gt;I have a strong suspicion that Director accepted a ClusterTemplate with a VirtualInstanceGroup comprised of VirtualInstances that had InstanceTemplates with names larger than 40 characters.. 41 to be exact for this one group that is failing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I discovered the following when making a smaller PoC a moment ago to try to only create the InstanceTemplates so that they would appear in Director and then manually add to see if issue was same:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; (The name must have a length of 2-40 characters, the first and last of which must be alphanumeric. The rest may include space, underscore, and hyphen.)"&lt;/PRE&gt;&lt;P&gt;Will be trimming the names to under 40 characters and deploying a new cluster to see if the issue still persists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I do believe this is a bug that Director can get into this state!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 21:59:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93034#M1927</guid>
      <dc:creator>Da</dc:creator>
      <dc:date>2019-07-22T21:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: "A template must be specified"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93038#M1928</link>
      <description>&lt;P&gt;Yep that works fine! So I am explicitly creating the templates first so Director can validate that it likes them before creating the DeploymentTemplate or the ClusterTemplates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was an issue related to the names of the InstanceTemplates were &amp;gt; 40 characters and Director accepted the ClusterTemplate with those InstanceTemplates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 22:39:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93038#M1928</guid>
      <dc:creator>Da</dc:creator>
      <dc:date>2019-07-22T22:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: "A template must be specified"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93040#M1929</link>
      <description>Oooh, awesome find! Looks like there's something up with our validation logic. Thanks for poking around, we'll look into this!</description>
      <pubDate>Mon, 22 Jul 2019 23:32:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93040#M1929</guid>
      <dc:creator>Mike Wilson</dc:creator>
      <dc:date>2019-07-22T23:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: "A template must be specified"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93151#M1930</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/8192"&gt;@Mike Wilson&lt;/a&gt;&amp;nbsp;On that note I managed to find another issue with the validator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you create a VirtualInstanceGroup similar to the python example here:&amp;nbsp;&lt;A href="https://github.com/cloudera/director-sdk/blob/master/python-client-samples/cluster.py#L159" target="_blank" rel="noopener"&gt;https://github.com/cloudera/director-sdk/blob/master/python-client-samples/cluster.py#L159&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then change the name in the VirtualInstanceGroup to masters.1 (add an invalid character to it like a .) it will create the cluster successfully but then the user in the UI will not be able to repair nodes / grow / shrink nor clone the cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will also just gray out the continue button and provide no feedback to the user in the logs nor the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 16:04:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-A-template-must-be-specified-quot/m-p/93151#M1930</guid>
      <dc:creator>Da</dc:creator>
      <dc:date>2019-07-24T16:04:37Z</dc:date>
    </item>
  </channel>
</rss>

