<?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: Fix: Tasks not executing, [sudo] password for morpheus-app in HPE Morpheus Enterprise Software</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/fix-tasks-not-executing-sudo-password-for-morpheus-app/m-p/7250725#M3899</link>
    <description>&lt;P&gt;It is not required for morpheus-app to be able to to sudo to root just to morpheus-local&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 11:51:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2022-05-04T11:51:27Z</dc:date>
    <item>
      <title>Fix: Tasks not executing, [sudo] password for morpheus-app</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/fix-tasks-not-executing-sudo-password-for-morpheus-app/m-p/7250724#M3898</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Following error when running Shell Script Automation tasks on the Local Execute Target&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Task Execution Failed on Attempt 1&lt;/P&gt;
&lt;P&gt;We trust you have received the usual lecture from the local System&lt;BR /&gt;
Administrator. It usually boils down to these three things:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hashtag-raw"&gt;#1&lt;/SPAN&gt;) Respect the privacy of others.&lt;BR /&gt;
&lt;SPAN class="hashtag-raw"&gt;#2&lt;/SPAN&gt;) Think before you type.&lt;BR /&gt;
&lt;SPAN class="hashtag-raw"&gt;#3&lt;/SPAN&gt;) With great power comes great responsibility.&lt;/P&gt;
&lt;P&gt;[sudo] password for morpheus-app: Sorry, try again.&lt;BR /&gt;
[sudo] password for morpheus-app:&lt;BR /&gt;
sudo: no password was provided&lt;BR /&gt;
sudo: 1 incorrect password attempt&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Root Cause&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Default Morpheus installations set NOPASSWD:ALL for the morpheus-app user. If there is a password required for the morpheus-app user this will cause the above problem. If &lt;CODE style="background : #f0f1f2;"&gt;/etc/sudoers.d/80-morpheus-app&lt;/CODE&gt; is missing on the Morpheus appliance application nodes this is likely the cause for the morpheus-app user missing the NOPASSWD:ALL configuration.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;morpheus-ctl stop morpheus-ui&lt;/LI&gt;
&lt;LI&gt;morpheus-ctl reconfigure&lt;/LI&gt;
&lt;LI&gt;morpheus-ctl start morpheus-ui&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;And then check if 80-morpheus-app is created.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 04 May 2022 09:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/fix-tasks-not-executing-sudo-password-for-morpheus-app/m-p/7250724#M3898</guid>
      <dc:creator>cdtaylor</dc:creator>
      <dc:date>2022-05-04T09:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fix: Tasks not executing, [sudo] password for morpheus-app</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/fix-tasks-not-executing-sudo-password-for-morpheus-app/m-p/7250725#M3899</link>
      <description>&lt;P&gt;It is not required for morpheus-app to be able to to sudo to root just to morpheus-local&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 11:51:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/fix-tasks-not-executing-sudo-password-for-morpheus-app/m-p/7250725#M3899</guid>
      <dc:creator />
      <dc:date>2022-05-04T11:51:27Z</dc:date>
    </item>
  </channel>
</rss>

