incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hongtu Zang" <hongtu_z...@tcloudcomputing.com>
Subject Review Request: fix bug 1237 and 1240 : Register Template fails with "Cannot find template adapter for XenServer"
Date Wed, 13 Feb 2013 05:07:59 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9420/
-----------------------------------------------------------

Review request for cloudstack, mice xia, anthony xu, and SrikanteswaraRao Talluri.


Description
-------

In TemplateManagerImpl.java, function getAdapter(), TemplateAdapterType.Hypervisor.getName()
returns "HyervisorAdapter", while it should returns "HyervisorTemplateAdapter". So, in AdapterBase.java
function getAdapterByName() returns null.


This addresses bugs CLOUDSTACK-1237 and CLOUDSTACK-1240.


Diffs
-----

  server/src/com/cloud/template/TemplateAdapter.java 19cfef0 

Diff: https://reviews.apache.org/r/9420/diff/


Testing
-------

register a template and start a vm.
success.


Thanks,

Hongtu Zang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message