<?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>topic Re: Error when pushing bundle to shcluster. Error = &amp;quot;No target specified&amp;quot; in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580589#M11103</link>
    <description>&lt;P&gt;You need to add a cluster member name with port 8089 in there&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jan 2022 12:12:32 GMT</pubDate>
    <dc:creator>SinghK</dc:creator>
    <dc:date>2022-01-11T12:12:32Z</dc:date>
    <item>
      <title>Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354922#M7172</link>
      <description>&lt;P&gt;We are using a stand-alone deployer to deploy apps to a cluster of 5 search heads. Currently, when trying to push a shcluster bundle from the deployer, we get the error "no target specified".&lt;/P&gt;

&lt;P&gt;We're using the following command to push:&lt;BR /&gt;&lt;BR /&gt;
./splunk apply shcluster-bundle --answer-yes -target&amp;nbsp;https://[sh-ip]:8089&amp;nbsp;-preserve-lookups true&lt;/P&gt;

&lt;P&gt;We've also tried sequentially:&lt;BR /&gt;
./splunk apply shcluster-bundle -action stage #no error &lt;BR /&gt;
./splunk apply shcluster-bundle -action send #same "no target specified" error&lt;/P&gt;

&lt;P&gt;Furthermore:&lt;BR /&gt;
- We've tried to push to all 5 searchheads using ip and hostname alternatively. All resulting in the same error.&lt;BR /&gt;
- The shcluster has all machines online with an active captain.&lt;BR /&gt;
- We can also telnet to 8089 from the deployer to the SH's, on both sides the port is active under splunkd.&lt;BR /&gt;
- We cannot find any log messages on the deployer that indicate what the problem is, even when running with 'splunk start --debug'.&lt;BR /&gt;
- All folders in ./shcluster/apps/* are owned by splunk.&lt;BR /&gt;
- We've refreshed the SHClustering pass4SymKey.&lt;/P&gt;

&lt;P&gt;Does anyone have an idea, as to why this error is popping up? It's not possible to deploy changes to our cluster at the moment.&lt;/P&gt;

&lt;P&gt;Misc info:&lt;BR /&gt;
- Machines are running RHEL 6.9&lt;BR /&gt;
- Splunk is running 6.5.5.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 12:15:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354922#M7172</guid>
      <dc:creator>mhofmeester</dc:creator>
      <dc:date>2017-09-22T12:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354923#M7173</link>
      <description>&lt;P&gt;@mhofmeester &lt;/P&gt;

&lt;P&gt;1) Check all the search head are up and running. &lt;BR /&gt;
2)  check captain is elected properly by issuing below command on one of the search head&lt;BR /&gt;
  splunk show shcluster-status&lt;BR /&gt;
3)  If all the search head are up and running. Do a rolling restart search head cluster by issuing below command,&lt;BR /&gt;
  splunk rolling-restart shcluster-member from search head captain.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 14:16:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354923#M7173</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-09-22T14:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354924#M7174</link>
      <description>&lt;P&gt;dumb question, does it matter if you throw the --answer-yes at the end?  I mean "no target specified" kinda makes it sound like it's not even parsing the command correctly.  just a thought....&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 15:49:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354924#M7174</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2017-09-22T15:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354925#M7175</link>
      <description>&lt;P&gt;I've tried running the command without '--answer-yes' to no avail. I can even see the bundle being created in ./splunk/var/run/splunk/deploy/*. It really stops when trying to find a target searchhead to push to. &lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 21:29:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354925#M7175</guid>
      <dc:creator>mhofmeester</dc:creator>
      <dc:date>2017-09-22T21:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354926#M7176</link>
      <description>&lt;P&gt;We've already checked 1), 2) and 3). However, just to be sure I've followed the steps again:&lt;BR /&gt;
1) &amp;amp; 2): Using './splunk show shcluster-status' we can see all 5 SH's are up and a dynamic captain has been elected for quite some time.&lt;BR /&gt;
3): Rolling restart had no effect.&lt;/P&gt;

&lt;P&gt;Other interesting fact, other SH clusters in the same network (with their own deployer) are not affected by this issue. The clusters seem to have the same consistent config.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 21:34:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/354926#M7176</guid>
      <dc:creator>mhofmeester</dc:creator>
      <dc:date>2017-09-22T21:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/541633#M7177</link>
      <description>&lt;P&gt;I am interested in your solution - can you share ?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 17:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/541633#M7177</guid>
      <dc:creator>jcorcoran508</dc:creator>
      <dc:date>2021-02-27T17:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580564#M11096</link>
      <description>&lt;P&gt;How did you managed to solve?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 09:19:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580564#M11096</guid>
      <dc:creator>tokio13</dc:creator>
      <dc:date>2022-01-11T09:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580566#M11097</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Usually this means that you have some typos in command line (e.g. https -&amp;gt; http, or missing some part of target's hostname etc.).&lt;/P&gt;&lt;P&gt;Personally I prefer to apply bundle towards SH captain. So check first (from any shc node/MC) which one is captain and that &lt;STRONG&gt;SHC&lt;/STRONG&gt; and &lt;STRONG&gt;kvstore&lt;/STRONG&gt; are ok. Then just apply your bundle from Deployer.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk apply shcluster-bundle -target https://&amp;lt;shc captain&amp;gt;:&amp;lt;mgmt_port&amp;gt; [--answer-yes]&lt;/LI-CODE&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 09:31:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580566#M11097</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-11T09:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580588#M11102</link>
      <description>&lt;P&gt;After more research I use this string, in this case, I would run this string&lt;BR /&gt;on SHC1 or SHC3 search heads. Not on the SHC2 server or the local server name you on.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/opt/splunk/bin/splunk apply --answer-yes shcluster-bundle -target &lt;A href="https://SHC2:8089" target="_blank"&gt;https://SHC2:8089&lt;/A&gt; -auth admin:HolySmoke&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 11:57:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580588#M11102</guid>
      <dc:creator>jcorcoran508</dc:creator>
      <dc:date>2022-01-11T11:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580589#M11103</link>
      <description>&lt;P&gt;You need to add a cluster member name with port 8089 in there&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 12:12:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580589#M11103</guid>
      <dc:creator>SinghK</dc:creator>
      <dc:date>2022-01-11T12:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580592#M11104</link>
      <description>&lt;P&gt;You must run this on deployer not on any member of SHC!&lt;/P&gt;&lt;P&gt;Please edit your previous message and remove -auth..... for security reason and after that change you admin password on that environment &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;On SHC1-SHC3 you should run&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk show shcluster-status [--verbose]
splunk show kvstore-status [--verbose]&lt;/LI-CODE&gt;&lt;P&gt;To see which one is captain and that shc is ok&amp;nbsp;&lt;/P&gt;&lt;P&gt;btw. You don't need that -auth after you have first time authenticated towards node (e.g. just run this "splunk show shcluster-status) and it will ask user + password from you. Then no needs to add it later on. In security reason I never use that part on command line or if use then remove history as soon command has return. Otherwise that user + password can found from history!&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 12:15:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580592#M11104</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-11T12:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580601#M11105</link>
      <description>&lt;P&gt;Thanks Ismo for replying!&lt;/P&gt;&lt;P&gt;While a minor adjustment to the command mentioned by you worked and allowed me to move forward, I encountered an authentication error (splunk apply shcluster-bundle --answer-yes -target&amp;nbsp;&lt;A href="https://shc-sh1:port)" target="_blank"&gt;https://shc-sh1:port)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which I assume it has to do with what you were talking previously with the other user commenting on this topic.&lt;/P&gt;&lt;P&gt;Error while deploying apps to first member, aborting apps deployment to all members: Error while fetching apps baseline on target=&lt;A href="https://shc-sh1:port" target="_blank"&gt;https://shc-sh1:port&lt;/A&gt;: Non-200/201 status_code=401; {"messages":[{"type":"WARN","text":"call no t properly authenticated"}]}&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 13:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580601#M11105</guid>
      <dc:creator>tokio13</dc:creator>
      <dc:date>2022-01-11T13:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing bundle to shcluster. Error = "No target specified"</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580616#M11107</link>
      <description>&lt;P&gt;What are outputs of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk show shcluster-status
splunk show kvstore-status &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;does those both shows that your SHC is fully functional?&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;You should run those on any SHC member node.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 14:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Error-when-pushing-bundle-to-shcluster-Error-quot-No-target/m-p/580616#M11107</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-11T14:51:52Z</dc:date>
    </item>
  </channel>
</rss>

