<p>Yesterday, I stopped a Helm upgrade when it was running on a release pipeline in Azure DevOps and the followings deployments failed.</p>
<p>I tried to see the chart that has failed with the aim of delete it but the chart of the microservice (&quot;auth&quot;) doesn't appear. I used the command «helm list -n [namespace_of_AKS]» and it doesn't appear.</p>
<p>What can I do to solve this problem?</p>
<p><strong>Error in Azure Release Pipeline</strong></p>
<pre><code>2022-03-24T08:01:39.2649230Z Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
2022-03-24T08:01:39.2701686Z ##[error]Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
</code></pre>
<p><strong>Helm List</strong>
<a href="https://i.stack.imgur.com/E8dB4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/E8dB4.png" alt="Helm List" /></a></p>

fjalcaraz
<p>This  error can happen for few reasons, but it most commonly occurs when there is an interruption during the upgrade/install process as you already mentioned.</p>
<p>To fix this one may need to, <strong>first rollback to another version, then reinstall</strong> or helm upgrade again.</p>
<p><em>Try below command to list</em></p>
<pre><code>helm ls --namespace &lt;namespace&gt;
</code></pre>
<p>but you may note that when running that command ,it may not show any columns with  information</p>
<p><em>Try to check the history of the previous deployment</em></p>
<pre><code>helm history &lt;release&gt; --namespace &lt;namespace&gt;
</code></pre>
<p>This provides with information mostly like the original installation was never completed successfully and is <strong>pending state</strong> something like STATUS: pending-upgrade state.</p>
<p><em>To escape from this state, use the rollback command:</em></p>
<pre><code>helm rollback &lt;release&gt; &lt;revision&gt; --namespace &lt;namespace&gt;
</code></pre>
<p>revision is optional, but you should try to provide it.</p>
<p>You may then try to issue your original command again to upgrade or reinstall.</p>
