Submitted by Lucian on Thu, 04/21/2011 - 03:22
Hi,
I have an issue with Cloudmin not showing accurate info in the "List Managed Systems" page.
How I got to this is I created a new VM following the standard procedure (Create KVM instance), but after that I deleted the LVM attached to it and renamed an older LVM that had an existing installation instead of it... Now Cloudmin only shows 2 GB disk space (the original sistem size) for the VM while the LVM itself is actually 100 GB (actually I have 2 LVMs attached to this VM, none of them are picked up by Cloudmin).
Is it possible to refresh those values based on lvdisplay or smth similar?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 04/21/2011 - 12:29 Comment #1
So you manually modified the LV, rather than using Cloudmin? If so, you can force it to refresh the cache of disk usage by selecting the VM from the left menu, and clicking "Refresh Fully".
Or you can do it from the command line with the command :
cloudmin refresh-systems --host your-kvm-instance --regenerate
Because computing the size of all LVs on a VM can be slow, Cloudmin caches the total size separately and updates it when you add, remove or resize disks from the UI.
Submitted by Lucian on Thu, 04/21/2011 - 14:17 Comment #2
Fair enough; the command line thing is quite sexy. Cheers for that!
Submitted by Issues on Thu, 05/05/2011 - 14:20 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by Lucian on Sun, 05/29/2011 - 14:04 Comment #4
Hi,
It just happened again. This to a machine that got the disk enlarged from 20 to 40 via cloudmin. List managed systems never updated, not even after 1 week. cloudmin refresh-systems --host your-kvm-instance --regenerate <- this command did the trick again though.
Submitted by Lucian on Sun, 05/29/2011 - 14:14 Comment #5
FYI, it's the disk information that doesn't get updated automagically. Bandwidth information for example works just fine.
Submitted by JamieCameron on Mon, 05/30/2011 - 00:27 Comment #6
Was the disk image that was resized in an LVM logical volume, or a regular file?
Also, was the resize done from the web UI or the command line?
Submitted by Lucian on Mon, 05/30/2011 - 04:42 Comment #7
Jamie,
It's LVM and the operation hgas been done from cloudmin (web).
Submitted by JamieCameron on Mon, 05/30/2011 - 13:59 Comment #8
OK, I found a 2nd bug that can cause this problem - this one only effects KVM, so I don't notice it the first time around..
The fix will be in Cloudmin 5.6.
Submitted by Issues on Mon, 06/13/2011 - 16:24 Comment #9
Automatically closed -- issue fixed for 2 weeks with no activity.