You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/09/08 04:07:34 UTC

[GitHub] [cloudstack] harikrishna-patnala opened a new issue #5415: Unable to register OVA template when properties are prepend with "ovf:" in the ovf file

harikrishna-patnala opened a new issue #5415:
URL: https://github.com/apache/cloudstack/issues/5415


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER these HTML comments, but no need to delete the comments.
   -->
   When trying to register an OVA format template in VMware, template installation is failing.
   The reason for that is a couple of properties inside the ovf file are prepended with "ovf:" Eg. Property, File, Item, Disk, etc.
   
   The corresponding error in the cloud.log of SSVM is
   2021-09-08 02:13:48,611 ERROR [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) Template process exception
   com.cloud.exception.InternalErrorException: getTemplateVirtualSize: Unable to parse OVF XML document /mnt/SecStorage/54efe74a-bb32-3f6e-9d91-22cfcb27a30b/template/tmpl/2/202 to get the virtual disk fe146945-66c1-3dd7-9e75-e508bd94b098.ova size due to java.lang.NullPointerException
           at com.cloud.storage.template.OVAProcessor.getTemplateVirtualSize(OVAProcessor.java:159)
           at com.cloud.storage.template.OVAProcessor.process(OVAProcessor.java:104)
   
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
    * Improvement Request
    * Enhancement Request
    * Feature Idea
    * Documentation Report
    * Other
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Template
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.13, main
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   1. Register a OVA template having an OVF file which has some  properties prepended with "ovf:" Eg. Property, File, Item, Disk
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Template installation should be successful and ready
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Template installation is failing. We can check it under the zones section of the template.
   ~~~
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez closed issue #5415: Unable to register OVA template when properties are prepend with "ovf:" in the ovf file

Posted by GitBox <gi...@apache.org>.
nvazquez closed issue #5415:
URL: https://github.com/apache/cloudstack/issues/5415


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] NuxRo commented on issue #5415: Unable to register OVA template when properties are prepend with "ovf:" in the ovf file

Posted by GitBox <gi...@apache.org>.
NuxRo commented on issue #5415:
URL: https://github.com/apache/cloudstack/issues/5415#issuecomment-919837050


   @nvazquez  LGTM :+1: 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org