svenvogel commented on issue #3371: Fix virtual template size for managed 
storage for KVM / refactor cloud-install-sys-tmplt
URL: https://github.com/apache/cloudstack/pull/3371#issuecomment-554647663
 
 
   Hi @PaulAngus thanks for question. i will try to explain it. if you use a 
managed storage like "netapp solidfire" you need a systemvm template with 
virtualsize parameter in the template.properties file and not with the physical 
size. in java code there is xen and vmware already implemented to create the 
virtualsize automatically. but not for kvm. this virtualsize is set in the 
"template.properties" file. if there is no correctly set in the 
template.properties file it cant copied from the SSVM to Solidfire System. the 
systemvm is always be copyied from the qcow2 systemvm template to the solidfire 
system if there is not present. if there is an update we will delete it and it 
will copied again. At the moment there was the only workaround to set the 
values in the database. this is not very useful and dangerous.
   
   i added a flag "-M Managed Storage (QCOW2/KVM only)" for QCOW2/KVM with 
managed storage to get the virtualsize created in the template.properties file. 
every time if an "admin" will update the systemvm template with that script he 
can get the virtualsize with this parameter and dont set it manually. 
   
   you can see that here in the video from @mike-tutkowski 
   
   https://youtu.be/-tExEvkMJYs?list=PLqOXKM0Bt13DFnQnwUx8ZtJzoyDV0Uuye&t=550
   
   @syed @mike-tutkowski is this the correct explanation?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to