[ovirt-users] Quota Actual Consumption
Hi, Is it possible to configure oVirt to work Quota with actual vCPU Consumption. Currently i got 1 VM with 2 vCPU and 8Gb. In VM stats - 0% of CPU in use 0% of RAM in Use (it is fresh Linux instalaltion) In Quota consumption i can see 40% of CPU (vCPU quota = 5) 27% of RAM (Memory quota 30Gb) Is it possible to adjust Quata management to work with Actual workload, instead of VM Configuration? P.S. Seems like it is working for Storage, as i can see 0% Consumption in Quota (1Gb of thick disk with 20Gb Max and 200Gb in Quota) ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/K5KCQUTZTQY6H23DACFZGXPG2AQYEG66/
[ovirt-users] quota consumer
Hello, I can create quotas with the SDK ( python) and make a user a consumer of the quota in the admin portal but don't know how to do it with the SDK or API. Any help appreciated. Thanks, Paul S. To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] quota creation from ovirt-shell
Thanks, I've got it to work in python, just need to work out how to change/update them now. I'm in just get the job done mode at present so it's not the most elegant code. Paul S. From: Doron Fediuck [dfedi...@redhat.com] Sent: 25 September 2016 07:30 To: Staniforth, Paul Cc: Andrej Krejcir; users@ovirt.org Subject: Re: [ovirt-users] quota creation from ovirt-shell On Tue, Sep 20, 2016 at 2:00 PM, Staniforth, Paul <p.stanifo...@leedsbeckett.ac.uk<mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote: Thanks Andrej, it gives me another reason to learn python. I will try but things are a little hectic at the moment as it's induction week at our University. Paul. you can also use Java or Ruby instead of Python. Regards, Paul S. From: Andrej Krejcir <akrej...@redhat.com<mailto:akrej...@redhat.com>> Sent: 20 September 2016 10:44 To: Staniforth, Paul Cc: users@ovirt.org<mailto:users@ovirt.org> Subject: Re: [ovirt-users] quota creation from ovirt-shell Hi, there is a bug in the ovirt-cli, which makes creating quotaclusterlimit and quotastoragelimit impossible. The correct syntax would be: add quotastoragelimit --parent-datacenter-name Default --parent-quota-name testcli ... You could use a python script with the SDK instead. For example: from ovirtsdk.api import API from ovirtsdk.xml.params import Quota from ovirtsdk.xml.params import QuotaStorageLimit api = API('IP:PORT/ovirt-engine/api', 'admin@internal', 'pass') dc = api.datacenters.list()[0] quota = dc.quotas.add(Quota(name="quota1")) quota.quotastoragelimits.add(QuotaStorageLimit(limit=100)) Regards, Andrej - Original Message - From: "Paul Staniforth" <p.stanifo...@leedsbeckett.ac.uk<mailto:p.stanifo...@leedsbeckett.ac.uk>> To: users@ovirt.org<mailto:users@ovirt.org> Sent: Monday, September 12, 2016 6:00:50 PM Subject: [ovirt-users] quota creation from ovirt-shell Hello, I am trying to create user quotas from the command line via the shell. I am using ovirt 3.6.7 and the command add quota --parent-datacenter-name Default --name testcli creates a quota but without quotaclusterlimit or quotastoragelimit I can't find the correct syntax to create these. Also how would I add a consumer and change the values when created? Any examples or pointers to documentation would be appreciated. Thanks, Paul S. To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html ___ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html ___ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] quota creation from ovirt-shell
On Tue, Sep 20, 2016 at 2:00 PM, Staniforth, Paul < p.stanifo...@leedsbeckett.ac.uk> wrote: > Thanks Andrej, > it gives me another reason to learn > python. I will try but things are a little hectic at the moment as it's > induction week at our University. > Paul. you can also use Java or Ruby instead of Python. > > Regards, > Paul S. > > From: Andrej Krejcir <akrej...@redhat.com> > Sent: 20 September 2016 10:44 > To: Staniforth, Paul > Cc: users@ovirt.org > Subject: Re: [ovirt-users] quota creation from ovirt-shell > > Hi, > > there is a bug in the ovirt-cli, which makes creating quotaclusterlimit > and quotastoragelimit impossible. > > The correct syntax would be: > add quotastoragelimit --parent-datacenter-name Default --parent-quota-name > testcli ... > > You could use a python script with the SDK instead. > For example: > > > from ovirtsdk.api import API > from ovirtsdk.xml.params import Quota > from ovirtsdk.xml.params import QuotaStorageLimit > > api = API('IP:PORT/ovirt-engine/api', 'admin@internal', 'pass') > dc = api.datacenters.list()[0] > quota = dc.quotas.add(Quota(name="quota1")) > quota.quotastoragelimits.add(QuotaStorageLimit(limit=100)) > > > > Regards, > Andrej > > - Original Message - > From: "Paul Staniforth" <p.stanifo...@leedsbeckett.ac.uk> > To: users@ovirt.org > Sent: Monday, September 12, 2016 6:00:50 PM > Subject: [ovirt-users] quota creation from ovirt-shell > > > > Hello, > > I am trying to create user quotas from the command line via the shell. > > > > > I am using ovirt 3.6.7 and the command > > > > > add quota --parent-datacenter-name Default --name testcli > > > > > creates a quota but without quotaclusterlimit or quotastoragelimit > > > > > I can't find the correct syntax to create these. > > > > > Also how would I add a consumer and change the values when created? > > > > > Any examples or pointers to documentation would be appreciated. > > > > > Thanks, > > Paul S. > To view the terms under which this email is distributed, please go to:- > http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html > > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > To view the terms under which this email is distributed, please go to:- > http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] quota creation from ovirt-shell
Thanks Andrej, it gives me another reason to learn python. I will try but things are a little hectic at the moment as it's induction week at our University. Regards, Paul S. From: Andrej Krejcir <akrej...@redhat.com> Sent: 20 September 2016 10:44 To: Staniforth, Paul Cc: users@ovirt.org Subject: Re: [ovirt-users] quota creation from ovirt-shell Hi, there is a bug in the ovirt-cli, which makes creating quotaclusterlimit and quotastoragelimit impossible. The correct syntax would be: add quotastoragelimit --parent-datacenter-name Default --parent-quota-name testcli ... You could use a python script with the SDK instead. For example: from ovirtsdk.api import API from ovirtsdk.xml.params import Quota from ovirtsdk.xml.params import QuotaStorageLimit api = API('IP:PORT/ovirt-engine/api', 'admin@internal', 'pass') dc = api.datacenters.list()[0] quota = dc.quotas.add(Quota(name="quota1")) quota.quotastoragelimits.add(QuotaStorageLimit(limit=100)) Regards, Andrej - Original Message - From: "Paul Staniforth" <p.stanifo...@leedsbeckett.ac.uk> To: users@ovirt.org Sent: Monday, September 12, 2016 6:00:50 PM Subject: [ovirt-users] quota creation from ovirt-shell Hello, I am trying to create user quotas from the command line via the shell. I am using ovirt 3.6.7 and the command add quota --parent-datacenter-name Default --name testcli creates a quota but without quotaclusterlimit or quotastoragelimit I can't find the correct syntax to create these. Also how would I add a consumer and change the values when created? Any examples or pointers to documentation would be appreciated. Thanks, Paul S. To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] quota creation from ovirt-shell
Hi, there is a bug in the ovirt-cli, which makes creating quotaclusterlimit and quotastoragelimit impossible. The correct syntax would be: add quotastoragelimit --parent-datacenter-name Default --parent-quota-name testcli ... You could use a python script with the SDK instead. For example: from ovirtsdk.api import API from ovirtsdk.xml.params import Quota from ovirtsdk.xml.params import QuotaStorageLimit api = API('IP:PORT/ovirt-engine/api', 'admin@internal', 'pass') dc = api.datacenters.list()[0] quota = dc.quotas.add(Quota(name="quota1")) quota.quotastoragelimits.add(QuotaStorageLimit(limit=100)) Regards, Andrej - Original Message - From: "Paul Staniforth" <p.stanifo...@leedsbeckett.ac.uk> To: users@ovirt.org Sent: Monday, September 12, 2016 6:00:50 PM Subject: [ovirt-users] quota creation from ovirt-shell Hello, I am trying to create user quotas from the command line via the shell. I am using ovirt 3.6.7 and the command add quota --parent-datacenter-name Default --name testcli creates a quota but without quotaclusterlimit or quotastoragelimit I can't find the correct syntax to create these. Also how would I add a consumer and change the values when created? Any examples or pointers to documentation would be appreciated. Thanks, Paul S. To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] quota creation from ovirt-shell
Hello, I am trying to create user quotas from the command line via the shell. I am using ovirt 3.6.7 and the command add quota --parent-datacenter-name Default --name testcli creates a quota but without quotaclusterlimit or quotastoragelimit I can't find the correct syntax to create these. Also how would I add a consumer and change the values when created? Any examples or pointers to documentation would be appreciated. Thanks, Paul S. To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] quota
HI I have created a quota and have set the storage limited to 900GB ,my entire storage space is 1TB but showing some extra allocation below are the details, Size:1007 GB Available:210 GB Used: 800GB Allocated:1900 GB When I try to create a vm showing insufficient resources,can you please resolve the issue ? On Tue, Apr 19, 2016 at 8:42 PM, Roman Mohrwrote: > > Hi, > > On Tue, Apr 19, 2016 at 3:30 PM, Budur Nagaraju wrote: > >> Hi >> >> >> How to set quota and assign permissions in oVirt 3.5 ? >> >> When you click on your datacenter in the tree on the left side > (IMPORTANT: not the tab named Data Centers) a new tab called "Quota" will > appear. There you can create quotas or assign them to different objects > like VM, Storage or to users and groups in the consumer subtab. > > Best Regards, > Roman > >> Thanks, >> Nagaraju >> >> >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> >> > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] quota
Hi, On Tue, Apr 19, 2016 at 3:30 PM, Budur Nagarajuwrote: > Hi > > > How to set quota and assign permissions in oVirt 3.5 ? > > When you click on your datacenter in the tree on the left side (IMPORTANT: not the tab named Data Centers) a new tab called "Quota" will appear. There you can create quotas or assign them to different objects like VM, Storage or to users and groups in the consumer subtab. Best Regards, Roman > Thanks, > Nagaraju > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] quota
Hi How to set quota and assign permissions in oVirt 3.5 ? Thanks, Nagaraju ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Quota-permissios
HI All, Creating some user policies in oVirt ,which permissions do I need to select so that users can choose the the quota while deploying the vms. Thanks, Nagaraju ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] quota limit for vm
On 09/28/2015 05:46 AM, Budur Nagaraju wrote: HI How to limit Quota in number of creation of vms?unable to find the option. The quota is intended to limit the resource usage (vcpus, memory, storage). We don't do vm number limit. Thanks, Nagaraju ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] quota limit for vm
HI How to limit Quota in number of creation of vms?unable to find the option. Thanks, Nagaraju ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users