Re: VR starting problem

2017-11-07 Thread hello

Спасибо Сергей:)

Thank you, but actually fix was very easy (2 days i search 
it)Just removed entries from database template_spool_ref




Sergey Levitskiy писал 2017-11-08 03:07:

Try one of these:
https://discussions.citrix.com/topic/299938-error-when-disabling-ha-the-uuid-you-supplied-was-invalid/
http://blog.branix.net/cloudplatform/when-live-storage-migration-goes-wrong


On 11/7/17, 12:58 PM, "he...@powershield.ru"  
wrote:


All day we tested and have no idea where is a problem:)

1. We can create template from stopped VM (after stopping VM, we 
can't

start with the same error: Insufficient capacity)
2. We can download and install ISO
3. We can create new DATADISK and attach it to online VM's
4. We can create new Disk Offering. Create new DATADISK and
attach/detach from the VM's.

We try'ed to search VDI, because some error's with the same VDI 
uuid:

c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-1:ctx-bea5904c)
(logid:1f164ea4) Catch Exception 
com.xensource.xenapi.Types$UuidInvalid
:VDI getByUuid for uuid: 5e2f645f-9e5d-45df-a268-dbe9c6c9eef9 
failed due

to The uuid you supplied was invalid.

Where in database writed this uuid? We thinking, here could be a
problem. We can not find any entries by this uuid in our storage.


com.cloud.hypervisor.xenserver.resource.XenServerStorageProcessor.getVDIbyUuid(XenServerStorageProcessor.java:743)
Caused by: The uuid you supplied was invalid.

Unsupported data object (VOLUME,

org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@4ddd9112),

no need to delete from object in store ref table
com.cloud.exception.StorageUnavailableException: Resource
[StoragePool:6] is unreachable: Unable to create

Vol[5128|vm=5101|ROOT]:com.cloud.utils.exception.CloudRuntimeException:
Catch Exception com.xensource.xenapi.Types$UuidInvalid :VDI 
getByUuid
for uuid: 5e2f645f-9e5d-45df-a268-dbe9c6c9eef9 failed due to The 
uuid

you supplied was invalid.

It's also writing, that storage is unreachable Resource 
[StoragePool:6]

is unreachable: Unable to create

But as i wrote, we can create new diskdata and so on on this 
storage

without problem.


https://pastebin.com/HLt40fK0


Re: VR starting problem

2017-11-07 Thread Sergey Levitskiy
Try one of these:
https://discussions.citrix.com/topic/299938-error-when-disabling-ha-the-uuid-you-supplied-was-invalid/
http://blog.branix.net/cloudplatform/when-live-storage-migration-goes-wrong


On 11/7/17, 12:58 PM, "he...@powershield.ru"  wrote:

All day we tested and have no idea where is a problem:)

1. We can create template from stopped VM (after stopping VM, we can't 
start with the same error: Insufficient capacity)
2. We can download and install ISO
3. We can create new DATADISK and attach it to online VM's
4. We can create new Disk Offering. Create new DATADISK and 
attach/detach from the VM's.

We try'ed to search VDI, because some error's with the same VDI uuid:
c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-1:ctx-bea5904c) 
(logid:1f164ea4) Catch Exception com.xensource.xenapi.Types$UuidInvalid 
:VDI getByUuid for uuid: 5e2f645f-9e5d-45df-a268-dbe9c6c9eef9 failed due 
to The uuid you supplied was invalid.

Where in database writed this uuid? We thinking, here could be a 
problem. We can not find any entries by this uuid in our storage.
  

com.cloud.hypervisor.xenserver.resource.XenServerStorageProcessor.getVDIbyUuid(XenServerStorageProcessor.java:743)
Caused by: The uuid you supplied was invalid.

Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@4ddd9112), 
no need to delete from object in store ref table
com.cloud.exception.StorageUnavailableException: Resource 
[StoragePool:6] is unreachable: Unable to create 
Vol[5128|vm=5101|ROOT]:com.cloud.utils.exception.CloudRuntimeException: 
Catch Exception com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid 
for uuid: 5e2f645f-9e5d-45df-a268-dbe9c6c9eef9 failed due to The uuid 
you supplied was invalid.

It's also writing, that storage is unreachable Resource [StoragePool:6] 
is unreachable: Unable to create

But as i wrote, we can create new diskdata and so on on this storage 
without problem.


https://pastebin.com/HLt40fK0




Re: VR starting problem

2017-11-07 Thread hello

All day we tested and have no idea where is a problem:)

1. We can create template from stopped VM (after stopping VM, we can't 
start with the same error: Insufficient capacity)

2. We can download and install ISO
3. We can create new DATADISK and attach it to online VM's
4. We can create new Disk Offering. Create new DATADISK and 
attach/detach from the VM's.


We try'ed to search VDI, because some error's with the same VDI uuid:
c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-1:ctx-bea5904c) 
(logid:1f164ea4) Catch Exception com.xensource.xenapi.Types$UuidInvalid 
:VDI getByUuid for uuid: 5e2f645f-9e5d-45df-a268-dbe9c6c9eef9 failed due 
to The uuid you supplied was invalid.


Where in database writed this uuid? We thinking, here could be a 
problem. We can not find any entries by this uuid in our storage.
 
com.cloud.hypervisor.xenserver.resource.XenServerStorageProcessor.getVDIbyUuid(XenServerStorageProcessor.java:743)

Caused by: The uuid you supplied was invalid.

Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@4ddd9112), 
no need to delete from object in store ref table
com.cloud.exception.StorageUnavailableException: Resource 
[StoragePool:6] is unreachable: Unable to create 
Vol[5128|vm=5101|ROOT]:com.cloud.utils.exception.CloudRuntimeException: 
Catch Exception com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid 
for uuid: 5e2f645f-9e5d-45df-a268-dbe9c6c9eef9 failed due to The uuid 
you supplied was invalid.


It's also writing, that storage is unreachable Resource [StoragePool:6] 
is unreachable: Unable to create


But as i wrote, we can create new diskdata and so on on this storage 
without problem.



https://pastebin.com/HLt40fK0


Re: Unable to access guest

2017-11-07 Thread Asanka Gunasekara
Hi All, can a VPC span across two clusters?


Above question is because, I just got it working by creating a seprat VPC
in the new clusre2.

Thanks and Regards

Asanka

On 7 November 2017 at 14:34, Asanka Gunasekara  wrote:

> Please note I am setting up a POC using trial vmware products
>
> On 7 November 2017 at 14:26, Asanka Gunasekara  wrote:
>
>> Hi All, I have a VMware environment managed by Cloudstack 4.10. Initially
>> I had a single cluster  with two nodes and one VDS. This set-up
>> works fine! Then I created a second cluster  under same
>> datacenter with just one node and the same VDS spans across both cluster1
>> and cluster2.
>>
>> I can create guest VMs through CloudStack with out any issue and
>> CloudStack assigns IP address with out any issue. And still cluste1 works
>> fine while cluster2 guests dont have network access (hence not getting the
>> ip that was assigned by CloudStack). I tried statically configuring the IP
>> to guest this did not helped either.
>>
>> I think it is something to do with VDS but I am not sure where to start
>>
>> Thanks and Regards
>>
>> Asanka
>>
>>
>>
>>
>


Re: Unable to access guest

2017-11-07 Thread Asanka Gunasekara
Please note I am setting up a POC using trial vmware products

On 7 November 2017 at 14:26, Asanka Gunasekara  wrote:

> Hi All, I have a VMware environment managed by Cloudstack 4.10. Initially
> I had a single cluster  with two nodes and one VDS. This set-up
> works fine! Then I created a second cluster  under same
> datacenter with just one node and the same VDS spans across both cluster1
> and cluster2.
>
> I can create guest VMs through CloudStack with out any issue and
> CloudStack assigns IP address with out any issue. And still cluste1 works
> fine while cluster2 guests dont have network access (hence not getting the
> ip that was assigned by CloudStack). I tried statically configuring the IP
> to guest this did not helped either.
>
> I think it is something to do with VDS but I am not sure where to start
>
> Thanks and Regards
>
> Asanka
>
>
>
>


Unable to access guest

2017-11-07 Thread Asanka Gunasekara
Hi All, I have a VMware environment managed by Cloudstack 4.10. Initially I
had a single cluster  with two nodes and one VDS. This set-up
works fine! Then I created a second cluster  under same
datacenter with just one node and the same VDS spans across both cluster1
and cluster2.

I can create guest VMs through CloudStack with out any issue and CloudStack
assigns IP address with out any issue. And still cluste1 works fine while
cluster2 guests dont have network access (hence not getting the ip that was
assigned by CloudStack). I tried statically configuring the IP to guest
this did not helped either.

I think it is something to do with VDS but I am not sure where to start

Thanks and Regards

Asanka


Re: VR starting problem

2017-11-07 Thread hello

Good morning for everyone,

we still have the problem, anyone have any ideas?

Primary storage is presetup'ed and can see it in GUI. In logs, we found 
this:


StorageUnavailableException: Resource [StoragePool:6] is unreachable

We can't start systemvm's.

All logs:

https://pastebin.com/JU0qr69V
https://pastebin.com/A5Z4zA2U


Paul Angus писал 2017-11-07 00:18:

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

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue




-Original Message-
From: he...@powershield.ru [mailto:he...@powershield.ru]
Sent: 06 November 2017 21:15
To: users@cloudstack.apache.org
Subject: Re: VR starting problem

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.storage.capacity.disablethreshold: 0.85

If you increased pool.storage.capacity.disablethreshold to above 087,
then you need to restart your management server(s) for it to take
effect.

It would be better though, if you add another primary storage pool, or
increase the storage in the existing pool. As increasing the threshold
isn't a long term solution.






Kind regards,

Paul Angus

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue




-Original Message-
From: he...@powershield.ru [mailto:he...@powershield.ru]
Sent: 06 November 2017 20:53
To: users@cloudstack.apache.org
Subject: Re: VR starting problem

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 (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

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue




-Original Message-
From: he...@powershield.ru [mailto:he...@powershield.ru]
Sent: 06 November 2017 18:14
To: users@cloudstack.apache.org
Subject: Re: VR starting problem

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] is unreachable: Unable to create
Vol[2034|vm=2010|ROOT]:com.cloud.utils.exception.CloudRuntimeException:
Catch Exception com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid
for uuid: 5e2f645f-9e5d-45df-a268-dbe9c6c9eef9 failed due to The uuid
you supplied was invalid.

2017-11-06 20:16:49,498 DEBUG [c.c.h.x.r.XenServerStorageProcessor]
(DirectAgent-6:ctx-b7ab797e) (logid:d3084120) Catch Exception
com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
5e2f645f-9e5d-45df-a268-dbe9c6c9eef9 failed due to The uuid you
supplied was invalid.
2017-11-06 20:16:49,501 WARN  [c.c.h.x.r.XenServerStorageProcessor]
(DirectAgent-6:ctx-b7ab797e) (logid:d3084120) Unable to create 
volume;

Pool=volumeTO[uuid=efa30838-f8e4-4186-a299-d2ae716d9081|path=null|datastore=PrimaryDataStoreTO[uuid=SR-UK|name=null|id=6|pooltype=PreSetup]];
Disk:
com.cloud.utils.exception.CloudRuntimeException: Catch Exception
com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
5e2f645f-9e5d-45df-a268-dbe9c6c9eef9 failed due to The uuid you
supplied was invalid.





he...@powershield.ru писал 2017-11-06 20:48:

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 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
maintanence mode?

6 нояб. 2017 г. 23:51 пользователь "Ivan Kudryavtsev" <
kudryavtsev...@bw-sw.com> написал:

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