tor 2013-12-12 klockan 06:14 -0500 skrev Gilad Chaplik:
Hi Karli,
looks like there is already a fix to it for ovirt-3.3
http://gerrit.ovirt.org/#/c/20327 (logging instead of failing).
not sure but you can try and change
osinfo-defaults.properties#os.XXX.resources.minimum.ram.value to 512
and restart engine.
Ah, awesome, good job!
However, it´s not clear to me exactly _how_ I´m supposed to change that
property, is it a DB change, file alteration, what? How, where?
/K
Thanks,
Gilad.
----- Original Message -----
> From: "Karli Sjöberg" <Karli.Sjoberg(a)slu.se>
> To: "oVirt Users" <users(a)ovirt.org>
> Sent: Wednesday, December 11, 2013 3:29:12 PM
> Subject: [Users] Cannot change memory in template definition
>
> Hi!
>
> I´m having a rather nasty issue. This is from engine.log:
>
> 2013-12-11 14:20:00,087 WARN
> [org.ovirt.engine.core.dal.job.ExecutionMessageDirector]
> (ajp--127.0.0.1-8702-14) The message key UpdateVmTemplate is missing
> from bundles/ExecutionMessages
> 2013-12-11 14:20:00,161 WARN
> [org.ovirt.engine.core.bll.UpdateVmTemplateCommand]
> (ajp--127.0.0.1-8702-14) CanDoAction of action UpdateVmTemplate failed.
>
Reasons:VAR__ACTION__UPDATE,VAR__TYPE__VM_TEMPLATE,ACTION_TYPE_FAILED_ILLEGAL_MEMORY_SIZE,$minMemorySize
> 1024,$maxMemorySize 64000
>
> ovirt-release-el6-8-1.noarch
> ovirt-engine-setup-3.3.1-2.el6.noarch
> ovirt-host-deploy-java-1.1.1-1.el6.noarch
> ovirt-engine-webadmin-portal-3.3.1-2.el6.noarch
> ovirt-iso-uploader-3.3.1-1.el6.noarch
> ovirt-host-deploy-1.1.1-1.el6.noarch
> ovirt-engine-dbscripts-3.3.1-2.el6.noarch
> ovirt-engine-backend-3.3.1-2.el6.noarch
> ovirt-engine-sdk-3.2.0.11-1.el6.noarch
> ovirt-engine-lib-3.3.1-2.el6.noarch
> ovirt-image-uploader-3.3.1-1.el6.noarch
> ovirt-engine-userportal-3.3.1-2.el6.noarch
> ovirt-engine-3.3.1-2.el6.noarch
> ovirt-engine-cli-3.2.0.12-1.el6.noarch
> ovirt-engine-websocket-proxy-3.3.1-2.el6.noarch
> ovirt-log-collector-3.3.1-1.el6.noarch
> ovirt-engine-restapi-3.3.1-2.el6.noarch
> ovirt-engine-tools-3.3.1-2.el6.noarch
>
> I have a template for 2008R2 that has 512MB RAM defined and since
> upgrading to 3.3, no one is able to create a new VM from the orderportal
> i wrote because:
> 2013-12-11 12:53:08,330: Failed to create VM from Template:
>
> status: 400
> reason: Bad Request
> detail: Cannot add VM. Illegal memory size is provided, size needs to be
> between 1024 MB and 64000 MB.
>
> Running a small 2008R2 VM with only 512MB RAM has never been an issue
> before but now it apparently is.
>
> What´s worst is that I can´t seem to change what´s defined inside the
> template either. If I click for edit inside webadmin and try to change
> memory from 512 to 1024, it still errors out the same way. I´ve tried to
> change it to something else entirely but it errors out with the same
> message regardless.
>
> Where to start?
>
>
>
> --
>
> Med Vänliga Hälsningar
> -------------------------------------------------------------------------------
> Karli Sjöberg
> Swedish University of Agricultural Sciences
> Box 7079 (Visiting Address Kronåsvägen 8)
> S-750 07 Uppsala, Sweden
> Phone: +46-(0)18-67 15 66
> karli.sjoberg(a)slu.se
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>