[Users] unable to make a template from VM

Alex Leonhardt alex.tuxx at gmail.com
Thu Apr 18 14:39:00 EDT 2013


not sure what it was, but eventually i was able to export the VM with 
the disk, re-import it and make it a template - yay! :)

Alex

On 04/16/2013 03:47 PM, Alex Leonhardt wrote:
> So it seems to have something to do with the original Template, I 
> still cant explain what's going on though and the engine logs set to 
> debug still dont show anything more ...
>
> anyone able to help please !?
>
>
> On 16 April 2013 11:03, Alex Leonhardt <alex.tuxx at gmail.com 
> <mailto:alex.tuxx at gmail.com>> wrote:
>
>     oh, the export of the VM failed too, when I checked this morning,
>     it apparently had no disk !?
>
>     what's going on here ? how can I clearly use a VM that has a disk,
>     but the system doesn't seem to know about it ?
>
>     Alex
>
>
>
>     On 16 April 2013 09:27, Alex Leonhardt <alex.tuxx at gmail.com
>     <mailto:alex.tuxx at gmail.com>> wrote:
>
>         Hi All,
>
>         Anyone seen the attached error ? I'm suddenly unable to make a
>         template from a VM that has a pre-allocated disk. The VM is
>         based on a different template also still in the system, which
>         I am also unable to remove.
>
>         The error in engine.log only says this:
>
>         2013-04-16 08:17:24,497 WARN 
>         [org.ovirt.engine.core.bll.AddVmTemplateCommand]
>         (ajp--0.0.0.0-8009-2) [4021a4d2] CanDoAction of action
>         AddVmTemplate failed.
>         Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_TEMPLATE,ACTION_TYPE_FAILED_VM_HAS_NO_DISKS
>
>         There is nothing special coming up in the vdsm.log / to filter
>         out debug messages, i've changed log levels to INFO and higher
>         earlier today - still, when this error occurs, the only
>         message I can see in vdsm.log are the usual "can I write to
>         the storage domain" ones ..
>
>         Thread-493::INFO::2013-04-16
>         08:17:42,873::logUtils::37::dispatcher::(wrapper) Run and
>         protect:
>         getSpmStatus(spUUID='353b073e-dfb0-46e6-8ac5-344ff251ca91',
>         options=None)
>         Thread-493::INFO::2013-04-16
>         08:17:42,874::logUtils::39::dispatcher::(wrapper) Run and
>         protect: getSpmStatus, Return response: {'spm_st': {'spmId':
>         1, 'spmStatus': 'SPM', 'spmLver': 19}}
>         Thread-494::INFO::2013-04-16
>         08:17:42,886::logUtils::37::dispatcher::(wrapper) Run and
>         protect:
>         getStoragePoolInfo(spUUID='353b073e-dfb0-46e6-8ac5-344ff251ca91',
>         options=None)
>         Thread-494::INFO::2013-04-16
>         08:17:42,888::logUtils::39::dispatcher::(wrapper) Run and
>         protect: getStoragePoolInfo, Return response: {'info':
>         {'spm_id': 1, 'master_uuid':
>         '7d0f78ff-aa25-4b64-a2ea-c8a65beda616', 'name': 'ALE-LAB',
>         'version': '2', 'domains':
>         u'35fd8ea5-8bbc-4343-881e-3f78626420e3:Active,55758a74-5c36-4364-bcb0-acae969acd64:Active,7d0f78ff-aa25-4b64-a2ea-c8a65beda616:Active,84e33e25-f4af-4b3c-9780-8a116a737236:Active,2c7fc39e-767c-4c97-946f-321468451c61:Active',
>         'pool_status': 'connected', 'isoprefix':
>         u'/rhev/data-center/353b073e-dfb0-46e6-8ac5-344ff251ca91/55758a74-5c36-4364-bcb0-acae969acd64/images/11111111-1111-1111-1111-111111111111',
>         'type': 'ISCSI', 'master_ver': 4, 'lver': 19}, 'dominfo':
>         {u'35fd8ea5-8bbc-4343-881e-3f78626420e3': {'status':
>         u'Active', 'diskfree': '163208757248', 'alerts': [],
>         'disktotal': '261858787328'},
>         u'55758a74-5c36-4364-bcb0-acae969acd64': {'status': u'Active',
>         'diskfree': '318918098944', 'alerts': [], 'disktotal':
>         '802458435584'}, u'7d0f78ff-aa25-4b64-a2ea-c8a65beda616':
>         {'status': u'Active', 'diskfree': '23756537856', 'alerts': [],
>         'disktotal': '73014444032'},
>         u'84e33e25-f4af-4b3c-9780-8a116a737236': {'status': u'Active',
>         'diskfree': '49153048576', 'alerts': [], 'disktotal':
>         '246076669952'}, u'2c7fc39e-767c-4c97-946f-321468451c61':
>         {'status': u'Active', 'diskfree': '26306674688', 'alerts': [],
>         'disktotal': '104555610112'}}}
>
>         Any help please ?
>
>         FWIW, I am able to export the host to the export domain.
>
>         Alex
>
>         -- 
>         | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co
>         <http://www.vcore.co> | www.vsearchcloud.com
>         <http://www.vsearchcloud.com> |
>
>
>
>
>     -- 
>     | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co
>     <http://www.vcore.co> | www.vsearchcloud.com
>     <http://www.vsearchcloud.com> |
>
>
>
>
> -- 
> | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co 
> <http://www.vcore.co> | www.vsearchcloud.com 
> <http://www.vsearchcloud.com> |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130418/6dd44435/attachment-0001.html>


More information about the Users mailing list