Solved

Image configuration, image remain INACTIVE


Badge +3
Hi

i 've exported a VM disk to qcow2 format
i've upload this image with Image configuration to add it to one of our virtual machine, so i've add it to Image configuration, browse, save .. import Ok but image is INACTIVE



thanks for your help
icon

Best answer by hienle 5 September 2017, 10:03

comgui
Go ahead to ACLI mode and execute the command below to delete the uploaded images:
image.delete


View original

17 replies

Userlevel 4
Badge +19
comguiWhat is th file size?Looks like the conversion process was not successful.Can u try once again.Or can u try image creation from cli?
Userlevel 2
Badge +17
Is that uploaded successfully? Sometimes I try with other browser and it gets successful

The image creation idea from sandeepmp also a good one you should consider
Badge +3
Hi

yes it was convert successfully through
sudo /usr/local/nutanix/bin/qemu-img convert -O qcow2-cImage is around 3Gbok i'll try with another browser but how to remove the existing image since i do not have the delete icon ?thanks for your answer
Userlevel 2
Badge +17
comgui
Go ahead to ACLI mode and execute the command below to delete the uploaded images:
image.delete
Badge +3
thanks 🙂
Userlevel 1
Badge +5
use the command lines to delete images.acli image.list ---to get image UUIDacli image.delete -- to delete image UUID or directly using image name
Badge +3
hi

yes it works with delete image then import with Chrome (not IE)
Also for the conversion i had to use screen command just before to not kill the process when timeout
I have the same issue. I cannot delete images after they are uploaded from within the CE interface.

For those who are trying the same the instructions above work on the CVM not the host.
I have the same issue. I am trying to upload ISO image directly from my local download. After image upload to Prism central, the status is showing INACTIVE in Prism element. Any idea how to make it active.

Image upload is showing 100% complete
Vimal wrote:

I have the same issue. I am trying to upload ISO image directly from my local download. After image upload to Prism central, the status is showing INACTIVE in Prism element. Any idea how to make it active.

Image upload is showing 100% complete


Vimal - it will show as INACTIVE until you've assigned it to a VM.
PBemis wrote:


Vimal - it will show as INACTIVE until you've assigned it to a VM.




WHAT? How can you assign it to a VM when it is inactive? This answer is clearly just wrong.
Yes you are correct @thadmccall my answer was absolutely as you put it, "clearly just wrong". I however had been using NUTANIX and Prism for less than a week and was attempting to be helpful.

Firstly let me thank you for pointing out my error. Secondly let me point out yours... Instead of responding to a post with a simple 'WRONG' stamp, maybe in the future you could provide a more constructive answer to the question and less of a troll response.
I have the same problem. I have upload some Images and all are remain Inactive. I have test it with all Browsers and Image formats. All are still in the same status.

Is there any cli command to convert the Image manualy?

thx for help
I am having the same Problem with Images remaining in an "Inactive" state.
I have two Nutanix Clusters connected to a PRISM Central instance.

I uploaded an ISO-Image via PRISM Central. The Upload was successful but the Image is usable on only one Cluster.

The ISO is active and usable on Cluster02. On Cluster01 the image is show as Inactive (both GUI and ACLI with image.get)

How do I get the Image "replicated" to my second cluster. Uploads direktly on Prism Element are not possible when the Cluster is registered with Prism Central.

Attaching the ISO to a new VM is not possible on the Cluster with the State "Inactive". I tried attaching the iso via Prism Element and Prism Central while creating a new VM -> no Image to select.
Badge +2
Hello

We are having the same problem. Import from Prism central, cluster1 inactive, cluster2 active.



This happened to us too on our 2 clusters where it was only active on one cluster. What we found out is that if we uploaded the image via http instead of file upload it was on both clusters. Obviously this isn't always ideal. The way we were able to replicate the image between 2 clusters was to run these commands:

  1. Login via ssh to PC
  2. nuclei -username admin -password cluster.list
  3. nuclei -username admin -password image.list
  4. checkout_catalog --destination_cluster_uuid_list= --wait_for_checkout=true
We are using AOS 5.5.7 and PC 5.9.01.

Hopefully this gets fixed in a later release.
@ssl you are Right, I have documented it here. Checkout https://eucweb.com/2018/11/18/nutanix-ativate-images/

Reply