[Users] unable to make a template from VM

Laszlo Hornyak lhornyak at redhat.com
Thu Apr 18 03:10:52 EDT 2013


Hi Alex,

Please check that the VM has at least one disk that:
- is disk (not lun)
- it is not shareable
- snapshot enabled

Thx,
Laszlo

----- Original Message -----
> From: "Alex Leonhardt" <alex.tuxx at gmail.com>
> To: "oVirt Mailing List" <users at ovirt.org>
> Sent: Tuesday, April 16, 2013 10:27:03 AM
> Subject: [Users] unable to make a template from VM
> 
> 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 |
> | www.vsearchcloud.com |
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


More information about the Users mailing list