choleowsky commented on issue #3878: Volume metrics doesn't update after volume 
migration
URL: https://github.com/apache/cloudstack/issues/3878#issuecomment-584522200
 
 
   I found a wrkaround that seems to indicate where the problem lies.
   
   From what I have seen, the LibvirtStoragePool.getPhysicalDisk procedure goes 
to look for the files of the migrated volumes with the value of the "path" 
column of the "volumes" table.
   When a volume is migrated from one storage to another, the "path" field is 
changed but the LibvirtStoragePool.getPhysicalDisk procedure seems to go 
looking for the volume with its old "path" which now corresponds to the "uuid" 
field.
   
   If I make a symbolic link directly in the new NFS storage server's 
filesystem (ln -s <path> <uuid>), after some time I found that metrics were 
updated and the message in agent.log no longer appeared.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to