VR starting problem

2017-11-06 Thread hello
Hello, ACS: 4.8.0 XenServer 6.5SP1 We have got some problem with additional space for our client. We are created new Disk Offering, then we tryed to attach for our client, but got error: Unable to find suitable primary storage when creating volume We checked datadisk and we see, there is n

Re: HTTPS LB and x-forwarded-for

2017-11-06 Thread Nux!
Thanks Andrija, LB outside of the VR sounds like a good idea. An appliance based on, say cloud-init + ansible and so on could do the trick; alas it'd need to be outside ACS. I guess as users we could maybe come up with a spec for an improvement, at least we'd have something the devs could look

Re: VR starting problem

2017-11-06 Thread Ivan Kudryavtsev
Hi, you should dive into management server logs to find relevant messages. Otherwise it's impossible to predict what's wrong with the system. Check logs and find exceptions and other errornous stuff. 6 нояб. 2017 г. 18:14 пользователь написал: > Hello, > > ACS: 4.8.0 > XenServer 6.5SP1 > > > We

Re: Enabling local-storage for Guest VMs

2017-11-06 Thread Asanka Gunasekara
Thank you Sergey, Though I change the record to 1, I don't see storage_pool getting updated, do I need to restart the cloudstack? MariaDB [cloud]> select id, is_local_storage_enabled from data_center; ++--+ | id | is_local_storage_enabled | ++---

Re: VR starting problem

2017-11-06 Thread hello
Now, i see the problem, then VR restarting. 2017-11-06 11:54:15,821 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-43:ctx-02214ed9 job-14455) (logid:18ad84ad) Complete async job-14455, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/n

Re: VR starting problem

2017-11-06 Thread Ivan Kudryavtsev
Hi. Try to find in early logs what exactly resource is insufficient. Try to play with threshold of it. 6 нояб. 2017 г. 21:57 пользователь написал: > Now, i see the problem, then VR restarting. > > 2017-11-06 11:54:15,821 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (API-Job-Executor-43:ctx-02214ed9

Re: Enabling local-storage for Guest VMs

2017-11-06 Thread Sergey Levitskiy
Try unmanage your vmware cluster and make it Managed again. Restarting ACS will also do the trick. On 11/6/17, 5:35 AM, "Asanka Gunasekara" wrote: Thank you Sergey, Though I change the record to 1, I don't see storage_pool getting updated, do I need to restart the cloudstack? M

Re: VR starting problem

2017-11-06 Thread Ivan Kudryavtsev
Could it be, that your storage, cluster, pod, zone is in the maintanence mode? 6 нояб. 2017 г. 23:51 пользователь "Ivan Kudryavtsev" < [email protected]> написал: > Hi. Try to find in early logs what exactly resource is insufficient. Try > to play with threshold of it. > > 6 нояб. 2017 г.

Re: VR starting problem

2017-11-06 Thread hello
Insufficient space on pool: 6 since its usage percentage: 0.8669012505498059 has crossed the pool.storage.capacity.disablethreshold: 0.85 Checked now, and i see, what storage capacity is only 70% Ivan Kudryavtsev писал 2017-11-06 19:51: Hi. Try to find in early logs what exactly resource is

Re: VR starting problem

2017-11-06 Thread hello
No, i re-checked maybe 10 times. I just added some more space, but the problem is same. All VM's working but if client restart - they goes down, with the same error with insufficient storage. Ivan Kudryavtsev писал 2017-11-06 20:16: Could it be, that your storage, cluster, pod, zone is in the

Re: VR starting problem

2017-11-06 Thread Ivan Kudryavtsev
Hi. Don't mix "used" and "allocated". Just change the specified threshold to 0.98 and go ahead. 7 нояб. 2017 г. 0:22 пользователь написал: > No, i re-checked maybe 10 times. I just added some more space, but the > problem is same. All VM's working but if client restart - they goes down, > with t

Re: VR starting problem

2017-11-06 Thread hello
Changed few hours ago, and anyway still the same problem. Ivan Kudryavtsev писал 2017-11-06 20:40: Hi. Don't mix "used" and "allocated". Just change the specified threshold to 0.98 and go ahead. 7 нояб. 2017 г. 0:22 пользователь написал: No, i re-checked maybe 10 times. I just added some

Re: VR starting problem

2017-11-06 Thread hello
We deleted system VM's and also, can't start. Now seeing the error: INFO [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-11:ctx-eaf4ab20 job-97/job-14993 ctx-7391ff7c) (logid:66199d2c) Unable to contact resource. com.cloud.exception.StorageUnavailableException: Resource [StoragePool:6]

RE: VR starting problem

2017-11-06 Thread Paul Angus
Please could you use something like pastebin (https://pastebin.com/) to paste larger sections of your logs. The section you have pasted is more likely from XenServer trying to remove a disk image that was never created in the first place. It may not be the root cause. Kind regards, Paul Angus

Re: VR starting problem

2017-11-06 Thread hello
Hello, Here is some of log. https://pastebin.com/JU0qr69V Interested line: dataCenterId:: 2 // podId:: null // clusterId:: null As you can see, datacenter (zone) showing, but can't see pod and cluster Paul Angus писал 2017-11-06 22:44: Please could you use something like pastebin (htt

RE: VR starting problem

2017-11-06 Thread Paul Angus
Ideally we'd need to start the log even earlier, but I can still see: Insufficient space on pool: 6 since its usage percentage: 0.8669012505498059 has crossed the pool.storage.capacity.disablethreshold: 0.85 If you increased pool.storage.capacity.disablethreshold to above 087, then you need to r

Re: VR starting problem

2017-11-06 Thread hello
As i wrote before, i already did it before first my e-mail here, but without luck:) Paul Angus писал 2017-11-07 00:12: Ideally we'd need to start the log even earlier, but I can still see: Insufficient space on pool: 6 since its usage percentage: 0.8669012505498059 has crossed the pool.storag

RE: VR starting problem

2017-11-06 Thread Paul Angus
Yes, I see that, but as the message is still the same, you either changed a similar but different setting (there are a number of similarly named global settings) or you did not restart all of your management servers. Kind regards, Paul Angus [email protected]  www.shapeblue.com 53 Cha

Re: VR starting problem

2017-11-06 Thread hello
We re-checked in: Global settings Zone Settings Cluster Settings Again re-checked right now: Global Settings: CPU, Memory and Storages set to 0.98 Zone Settings: Storage set to 0.98 Cluster Settings: CPU, Memory and Storages set to 0.98 We restart management server like 10 times. We even restar

Re: VR starting problem

2017-11-06 Thread hello
Checking pool 6 for storage, totalSize: 549754968, usedBytes: 3634788040704, usedPct: 0.6611656063055564, disable threshold: 0.98 Checking pool: 6 for volume allocation [Vol[2426|vm=2402|ROOT]], maxSize : 549754968, totalAllocatedSize : 3328936879616, askingSize : 3151880704, allocated d

Re: Enabling local-storage for Guest VMs

2017-11-06 Thread Asanka Gunasekara
Thank you Sergey, I restarted the ACS, can see the local storage in storage_pool table Thank you all for the help extended Best Regards Asanka On 6 November 2017 at 22:35, Sergey Levitskiy wrote: > Try unmanage your vmware cluster and make it Managed again. Restarting ACS > will also do the t