Re: Unable to create a deployment for VM

2017-10-20 Thread Dag Sonstebo
Sure – you can log bugs and feature requests on the official Jira board – just make sure you open the ticket against the CloudStack project: https://issues.apache.org/jira/secure/Dashboard.jspa Regards, Dag Sonstebo Cloud Architect ShapeBlue On 20/10/2017, 16:01, "Jevgeni Zolotarjov" wrote:

Re: Unable to create a deployment for VM

2017-10-20 Thread Jevgeni Zolotarjov
true, it does. But for understanding the problem, I would have to 1. analyze the logs, 2. multiply [service offering core count] x [service offering MHz] and 3. check it against the remainder from the indicator on the dashboard. Yes, it works that way too. But then I also have to 4. consider cpu.o

Re: Unable to create a deployment for VM

2017-10-20 Thread Dag Sonstebo
Agree the error could be clearer – but if you check your CloudStack dashboard the pie chart for CPU already tells you your CPU utilisation. You can also use the listCapacity API call mentioned before: # cloudmonkey list capacity count = 9 capacity: +--+--

Re: Unable to create a deployment for VM

2017-10-20 Thread Jevgeni Zolotarjov
Thanks a lot! It was it! Actually the error reporting could be done in a wiser way to inform administrator about what is the problem in particular. Do you know, where can I request this feature? Regards, Jevgeni On Fri, Oct 20, 2017 at 1:25 PM, Dag Sonstebo wrote: > Capacity type 1 is CPU: ht

Re: Unable to create a deployment for VM

2017-10-20 Thread Dag Sonstebo
Capacity type 1 is CPU: http://cloudstack.apache.org/api/apidocs-4.10/apis/listCapacity.html You would look at changing cluster.cpu.allocated.capacity.disablethreshold in global settings – or the same under your cluster settings. You can also play with cpu.overprovisioning.factor – but keep in

Re: Unable to create a deployment for VM

2017-10-20 Thread Ivan Kudryavtsev
Ok, you decide, then) 20 окт. 2017 г. 17:16 пользователь "Jevgeni Zolotarjov" < j.zolotar...@gmail.com> написал: > I changed cluster.threshold.enabled to false. But it didn't help. > I guess the root cause it something different. > > My storage capacity if above 3TB, and only under 300GB used. >

Re: Unable to create a deployment for VM

2017-10-20 Thread Jevgeni Zolotarjov
I changed cluster.threshold.enabled to false. But it didn't help. I guess the root cause it something different. My storage capacity if above 3TB, and only under 300GB used. No threshold setting was changed ever since installation. On Fri, Oct 20, 2017 at 12:59 PM, Ivan Kudryavtsev wrote: > Ju

Re: Unable to create a deployment for VM

2017-10-20 Thread Ivan Kudryavtsev
Just look for threshold. Logs don't include such information. 2017-10-20 16:56 GMT+07:00 Jevgeni Zolotarjov : > What is exact parameter name? > > On Fri, Oct 20, 2017 at 12:44 PM, Ivan Kudryavtsev < > kudryavtsev...@bw-sw.com > > wrote: > > > Ah, OK > > > > 2017-10-20 09:10:53,697 DEBUG [c.c.d.Fi

Re: Unable to create a deployment for VM

2017-10-20 Thread Jevgeni Zolotarjov
What is exact parameter name? On Fri, Oct 20, 2017 at 12:44 PM, Ivan Kudryavtsev wrote: > Ah, OK > > 2017-10-20 09:10:53,697 DEBUG [c.c.d.FirstFitPlanner] > (API-Job-Executor-40:ctx-a4cff151 job-181 ctx-91a5717c) (logid:25e762a0) > Cannot allocate cluster list [1] for vm creation since their all

Re: Unable to create a deployment for VM

2017-10-20 Thread Ivan Kudryavtsev
Ah, OK 2017-10-20 09:10:53,697 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-40:ctx-a4cff151 job-181 ctx-91a5717c) (logid:25e762a0) Cannot allocate cluster list [1] for vm creation since their allocated percentage crosses the disable capacity threshold defined at each cluster/ at global value fo

Re: Unable to create a deployment for VM

2017-10-20 Thread Jevgeni Zolotarjov
Hi, Yes I have one host. But I have exactly zero affinity group s - I dont use affinity groups. I could successfully add few instances and they are running. The exceptions says: InsufficientServerCapacityException But there is plenty of storage. Disk Total 3.24 TB Disk Allocated 265.33 GB On Fri

Re: Unable to create a deployment for VM

2017-10-20 Thread Jevgeni Zolotarjov
Hi, Yes I have one host. But I have exactly zero affinity groups. I could successfully add few instances and they are running. The On Fri, Oct 20, 2017 at 12:35 PM, Ivan Kudryavtsev wrote: > Hi, > It seems you have one host and place several VMs in a single anti-affinity > group, don't you? Th

Re: Iptables of Host machine blocks http traffic to Guest VM's

2017-10-20 Thread Muhammad Adeel Zahid
Thanks guys, got it working after applying ingress rules and configuring firewall rules of the template From: Dag Sonstebo Sent: Friday, October 20, 2017 12:12:12 PM To: users@cloudstack.apache.org Subject: Re: Iptables of Host machine blocks http traffic to Gues

Re: Unable to create a deployment for VM

2017-10-20 Thread Ivan Kudryavtsev
Hi, It seems you have one host and place several VMs in a single anti-affinity group, don't you? This is how it should really work if you do that thing. Anti-affinity groups are meaningless if you don't have several hosts. 2017-10-20 16:19 GMT+07:00 Jevgeni Zolotarjov : > I could successfully cre

Unable to create a deployment for VM

2017-10-20 Thread Jevgeni Zolotarjov
I could successfully create and run an instance with prepared Compute offering. But when I try to add one more instance of the same Compute offering, I am getting an error. Unable to create a deployment for VM There are plenty of resources on host: cores, RAM, storage. Pleas help management-serv

Re: Rsize / Wsize configuration for NFS share

2017-10-20 Thread Ivan Kudryavtsev
Ok, answering myself about "sync" / "async" and other stuff (default rsize/wsize): It comes from server after negotiation. But still the question how to deal with rsize/wsize and cloudstack agent mount... 2017-10-20 14:57 GMT+07:00 Ivan Kudryavtsev : > Hello, Eric. > > Thanks for your very compr

Re: Rsize / Wsize configuration for NFS share

2017-10-20 Thread Ivan Kudryavtsev
Hello, Eric. Thanks for your very comprehensive answer. I believe it's great it'll be in archives for future users. I haven't decided how to go completely, but have several questions here. You mentioned: > 10.100.255.3:/storage/primary3 on /mnt/0ab13de9-2310-334c-b438-94dfb0b8ec84 type nfs4 (rw,

Re: Rsize / Wsize configuration for NFS share

2017-10-20 Thread Eric Green
Okay. So: 1) Don't use EXT4 with LVM/RAID, it performs terribly with QCOW2. Use XFS. 2) I didn't do anything to my NFS mount options and they came out fine: 10.100.255.3:/storage/primary3 on /mnt/0ab13de9-2310-334c-b438-94dfb0b8ec84 type nfs4 (rw,relatime,sync,vers=4.0,rsize=1048576,wsize=1048

Re: Iptables of Host machine blocks http traffic to Guest VM's

2017-10-20 Thread Dag Sonstebo
Adeel, Take a look at the admin guide - http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/networking_and_traffic.html#egress-fw-rules Regards, Dag Sonstebo Cloud Architect ShapeBlue On 19/10/2017, 20:56, "Rafael Weingärtner" wrote: This process of enabling ingr