<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Ionut,</p>
<p>Not sure if the 'community' image is a bug, but based on my
understanding. The image must be accessible by Nova/Heat to
rebuild the instance by the Magnum auto healer.</p>
<p>After changed the image back to public, the cluster should be
repairable. The error you're seeing "Updating a cluster when
status is "UPDATE_FAILED" is not supported", I guess it's not
reported by the repairing action, but the health status update
action. They are different.</p>
<p>You can manually fix the cluster by a manual resize for the
cluster. For example, if you have 3 worker nodes at this moment,
then you can just try command 'openstack coe cluster resize
<clusterID> 3' to do a "fake" resizing. Then the cluster
will be updated to the correct status. Hope that help.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 16/02/21 11:16 pm, Ionut Biru wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALE96NBZpciQ5iWQ_b9bCsh5U1dZFz1w0MOT=6f6QPnxE0Q5Mg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi guys,
<div><br>
</div>
<div>I wanted to "decommission" the old stable fedora-coreos-32
from my catalog and I marked the image with community instead
of public. That's how the nova team suggested that old images
should be decommissioned .</div>
<div><br>
</div>
<div>A cluster deployed with that image had a node shutdown and
magnum healer tried to resolve the issue and now the status of
the cluster is in error with:</div>
<div> faults | {'default-master': "Resource UPDATE
failed: resources[0]: resources.kube_masters.Property error:
resources.kube_node_volume.properties.image: Error validating
value 'fedora-coreos-32-x86_64': No images matching {'name':
u'fedora-coreos-32-x86_64'}.", 'default-worker': "Resource
UPDATE failed: resources[0]: resources.kube_masters.Property
error: resources.kube_node_volume.properties.image: Error
validating value 'fedora-coreos-32-x86_64': No images matching
{'name': u'fedora-coreos-32-x86_64'}."} |<br>
<div><br>
</div>
<div>In the mean time I have marked the image as public and
started the node but the healer cannot fix it and it's the
status is still in error.</div>
<div><br>
</div>
<div>Magnum api has an exception in the logs:</div>
<div> magnum.common.exception.NotSupported: Updating a cluster
when status is "UPDATE_FAILED" is not supported<br>
</div>
<div><br>
</div>
<div>openstack coe cluster show:</div>
<div><a href="https://paste.xinu.at/JxYaw/"
moz-do-not-send="true">https://paste.xinu.at/JxYaw/</a><br>
</div>
<div><br>
</div>
<div>What's the right path to fix this issue?</div>
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">Ionut Biru - <a href="https://fleio.com"
target="_blank" moz-do-not-send="true">https://fleio.com</a><br>
</div>
</div>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Cheers & Best regards,
Feilong Wang (王飞龙)
------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: <a class="moz-txt-link-abbreviated" href="mailto:flwang@catalyst.net.nz">flwang@catalyst.net.nz</a>
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
------------------------------------------------------ </pre>
</body>
</html>