Re: [Where are the snapshot file]

2016-03-15 Thread Adrian Sender
Hi Stravos,

A bit more info with ongoing snapshot issues with Xenserver.. your snapshots
may also be failing if your chain depth exceeds 30.

Assuming your using LVMoHBA (hardware hba), easiest way to check this is as
follows:

If the xenserver snapshot chain depth exceeds 30, you will not be able to take
any new snapshots.

You may see a similar error: (note exact error will depend on CCP / CS version..

2015-11-18 10:57:42,133 WARN  [c.c.h.x.r.XenServerStorageProcessor]
(DirectAgent-243:ctx-341ac146) (logid:65b51cbd) create snapshot operation
Failed for snapshotId: 36709, reason: SR_BACKEND_FAILURE_109The snapshot chain
is too long
SR_BACKEND_FAILURE_109The snapshot chain is too long


Example
===
 [root@qh2-nsp04 ~]# vhd-util query -vsfd -n
/dev/VG_XenStorage-3965cb14-960e-d9d5-4ab9-608425f3ee20/VHD-7bf051ee-7762-4902-84be-4962e70a4e3e
-p
 10240
 1145303552
 
/dev/mapper/VG_XenStorage--3965cb14--960e--d9d5--4ab9--608425f3ee20-VHD--811a34ff--731a--4c36--92be--286831ab7393
 hidden: 0
 chain depth: 30

The best way to get the LVM path is as follows:

mysql> select * from volumes where name='ROOT-3230' \G

We are looking for the path, in this case "7bf051ee-7762-4902-84be-4962e70a4e3e"

Login to Xenserver console and do "lvscan | grep
7bf051ee-7762-4902-84be-4962e70a4e3e" This will give us VG and LV.

Then you can execute vhd-util query -vsfd -n
/dev/VG_XenStorage-3965cb14-960e-d9d5-4ab9-608425f3ee20/VHD-e00cd7a7-ae20-4b5d-a0e3-1c215d432ed4

Delete the broken snapshots from the primary storage in XenCenter.

Regards,
Adrian Sender

Testlabs Australia
Research Platform Services
M: +61. 487-440-732
E: asen...@testlabs.com.au
W: http://www.testlabs.com.au

-- Original Message ---
From: "Adrian Sender" 
To: users@cloudstack.apache.org
Sent: Wed, 16 Mar 2016 09:59:34 +1000
Subject: Re: [Where are the snapshot file]

> Hi Stravos,
> 
> Jumping in a bit late on this thread...Can you share the exact 
> management log error.
> 
> We have ran CCP 4.3 with Xenserver, everything is generally ok; most 
> common snapshot issues are as follows:
> 
> Snapshot failing
> 
> 
> The snapshotting on data volume DATA-3230 Failing. UI shows "Error"
> 
> 2014-08-26 10:51:32,884 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
> 
> (Work-Job-Executor-6:ctx-274b0a29 job-31179/job-31180 ctx-8511b016) copyAsync
> inspecting src type SNAPSHOT copyAsync inspecting dest type  SNAPSHOT
> 2014-08-26 10:51:33,055 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
> 
> (Work-Job-Executor-6:ctx-274b0a29 job-31179/job-31180 ctx-8511b016) copy
> snasphot failed: java.lang.NullPointerException
> 2014-08-26 10:51:33,056 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
> 
> (Work-Job-Executor-6:ctx-274b0a29 job-31179/job-31180 ctx-8511b016)
>  copy failed com.cloud.utils.exception.CloudRuntimeException:
java.lang.NullPointerException
> 
> 1. Show the details of the failing snapshot volume
> 
> mysql> select * from volumes where name=DATA-3230 \G
> 
> 2. get the id of the volume from the above query and delete 
> snapshots in the 'Ready' state.
> 
> delete from snapshot_store_ref where volume_id=3934 and state='Ready'
> 
> 3. Snapshots will now succeed for volume DATA-3230.
> 
> Snapshot Failing
> 
> 
> You may see the following in the logs:
> 
> 2015-11-17 15:22:16,586 DEBUG [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-339:ctx-6465ce91) (logid:9224bc6d) Failed to destroy pbd
> SR_BACKEND_FAILURE_40The SR scan failed  [opterr=['INTERNAL_ERROR',
> 'Db_exn.Uniqueness_constraint_violation("VDI", "uuid",
> "e5318c7f-9434-4f1c-8695-3e82a69d2192")']]
> 
> http://support.citrix.com/article/CTX135230
> 
> Note in this example DATA-3701 snapshot is failing, but the 
> screenshot shows the NFS secondary storage mount for account 29, 
> DATA-3701 belongs to account 113. So you can go through the tabs 
> until you find /var/cloud_mount//snapshots/113/3701 and unplug 
> just that volume.
> 
> In this example you will see many attached NFS secondary storage 
> volumes on the physical xenserver host.
> 
> 1. Get the uuid of the SR from the "General" tab on the NFS storage mount.
> 
> xe sr-list uuid=84142bd7-c19c-4a39-850b-ddd30539d8ed
> 
> [root@qh2-nsp01 ~]# xe sr-list uuid=84142bd7-c19c-4a39-850b-ddd30539d8ed
> uuid ( RO): 84142bd7-c19c-4a39-850b-ddd30539d8ed
>  name-label ( RW):
> 14a68eb4-62aa-4beb-91d5-e5070ecd46a9/var/cloud_mount/b9d64979-0c47-
> 31fe-a496-6943e9dfca63/snapshots/29/4469   name-description ( RW): 
> 14a68eb4-62aa-4beb-91d5-e5070ecd46a9/var/cloud_mount/b9d64979-0c47-
> 31fe-a496-6943e9dfca63/snapshots/29/4469   host ( RO): 
> qh2-nsp01.nsp.nectar.org.au   type ( RO): file   
> content-type ( RO): file
> 
> 2. Get the PBD UUID by using the sr-uuid from above
> 
> [root@qh2-nsp01 ~]# xe pbd-list sr-uuid=84142bd7-c19c-4a39-850b-ddd30539d8ed
> uuid ( RO)  : c15627c7-a968-ac1f-9794-2e3d66c0cec4
> host-uuid ( RO): 14a68eb

Re: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Shweta Agarwal
Hi Nezar,

You can find host name on detail view of SSVM in UI .
You can also use list api command listSystemVms to get the host details of 
system vms.

Thanks
Shweta



From: Nezar Madbouh 
Sent: Wednesday, March 16, 2016 9:58 AM
To: users@cloudstack.apache.org
Subject: Re: Unable to create a New VM - Error message: Unable to start 
instance due to Unable to get answer that is of class 
com.cloud.agent.api.StartAnswer

Hi Simon,

How can I find out which host the SSVM is on?

Thanks & Regards,
Nezar.

On 16 March 2016 at 12:28, Simon Weller  wrote:

> Can you ssh into the Secondary Storage VM?
>
> This can be done by getting the link-local-ip address from the
> infrastructure menu in the UI and then sshing into the host the SSVM is on
> and issuing this command as root: ssh -i /root/.ssh/id_rsa.cloud -p 3922
> root@link-local-ip  (replace link-local-ip with the link local ip).
>
> Try  running the SSVM diangnostic script:
> usr/local/cloud/systemvm/ssvm-check.sh
>
> - Si
> 
> From: Nezar Madbouh 
> Sent: Tuesday, March 15, 2016 7:49 PM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to create a New VM - Error message: Unable to start
> instance due to Unable to get answer that is of class
> com.cloud.agent.api.StartAnswer
>
> Hi Simon,
>
> Please see details below:
>
>
> mysql> use cloud; select id, name, status, type from host where id = 5;
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Database changed
> ++--++-+
> | id | name | status | type|
> ++--++-+
> | 5 | eqx-cs-cmp-02.ipscape.com.au | up | routing |
> ++--++-+
> 1 row in set (0.00 sec)
>
>
>
> cat /var/log/cloudstack/agent/agent.log
> com.cloud.utils.exception.CloudRuntimeException:
> com.cloud.utils.exception.CloudRuntimeException: Can't find
> volume:089ff3ca-9bff-402c-a14e-ea7a35aaad5c
> at
>
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getPhysicalDisk(KVMStoragePoolManager.java:262)
> at
>
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVbd(LibvirtComputingResource.java:3921)
> at
>
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3789)
> at
>
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1333)
> at com.cloud.agent.Agent.processRequest(Agent.java:501)
> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
> at com.cloud.utils.nio.Task.run(Task.java:84)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> agent.log.2016-03-03.gz (END)
>
>
>
> [root@eqx-cs-cmp-02 agent]# virsh pool-list
> Name State  Autostart
> -
> 2d0967f8-50d6-4d6d-87b7-4da0596f6924 active no
> b3647480-5709-36eb-9ddd-e2c666f30b57 active no
> e3831246-ff55-4af4-9964-a17565edaccc active no
>
>
>
>
> [Root @ eqx-cs-cmp-02 agent] # df -h
> FilesystemSize  Used Avail Use% Mounted on
> /dev/mapper/vg_root-lv_root
>   203G 215G 1.3G 1% /
> tmpfs 48g 48g 0 0% / dev / shm
> / Dev / sda1 477m 427m 25M 6% / boot
> xx.xx.xx.xx:/Cloudstack/primary
>   7.6T  4.1T  3.5T  54%
> /mnt/b3647480-5709-36eb-9ddd-e2c666f30b57
>
>
>
>
> I also noticed the following in cloudstack-agent.err
>
> libvirt: QEMU Driver error : Domain not found: no domain with matching name
> 'i-11-600-VM'
> libvirt: Storage Driver error : Storage volume not found: no storage vol
> with matching name '089ff3ca-9bff-402c-a14e-ea7a35aaad5c'
>
> Your help is much appreciated,
> Nezar
>
>
> On 16 March 2016 at 11:03, Simon Weller  wrote:
>
> > Nezar,
> >
> > ok, I just took a look at a pastebin you posted.
> >
> > I see it complaining about the inability to find a volume prior to
> > throwing the host exception.
> >
> > Firstly, let's find out who host 5 is. Can you log into your MySQL server
> > and run this:
> >
> > use cloud;select id,name,status,type from host where id=5;
> >
> > Can you post the results?
> >
> > If it's a host, can you post the /var/log/cloudstack/agent/agent.log from
> > that host?
> >
> > And also run virsh pool-list on the host in question?
> >
> > - Si
> >
> >
> >
> >
> >
> > 
> > From: Nezar Madbouh 
> > Sent: Tuesday, March 15, 2016 6:11 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: Unable to create a New VM - Error message: Unable to start
> > instance due to Unable to get answer that 

Re: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Nezar Madbouh
Hi Simon,

How can I find out which host the SSVM is on?

Thanks & Regards,
Nezar.

On 16 March 2016 at 12:28, Simon Weller  wrote:

> Can you ssh into the Secondary Storage VM?
>
> This can be done by getting the link-local-ip address from the
> infrastructure menu in the UI and then sshing into the host the SSVM is on
> and issuing this command as root: ssh -i /root/.ssh/id_rsa.cloud -p 3922
> root@link-local-ip  (replace link-local-ip with the link local ip).
>
> Try  running the SSVM diangnostic script:
> usr/local/cloud/systemvm/ssvm-check.sh
>
> - Si
> 
> From: Nezar Madbouh 
> Sent: Tuesday, March 15, 2016 7:49 PM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to create a New VM - Error message: Unable to start
> instance due to Unable to get answer that is of class
> com.cloud.agent.api.StartAnswer
>
> Hi Simon,
>
> Please see details below:
>
>
> mysql> use cloud; select id, name, status, type from host where id = 5;
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Database changed
> ++--++-+
> | id | name | status | type|
> ++--++-+
> | 5 | eqx-cs-cmp-02.ipscape.com.au | up | routing |
> ++--++-+
> 1 row in set (0.00 sec)
>
>
>
> cat /var/log/cloudstack/agent/agent.log
> com.cloud.utils.exception.CloudRuntimeException:
> com.cloud.utils.exception.CloudRuntimeException: Can't find
> volume:089ff3ca-9bff-402c-a14e-ea7a35aaad5c
> at
>
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getPhysicalDisk(KVMStoragePoolManager.java:262)
> at
>
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVbd(LibvirtComputingResource.java:3921)
> at
>
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3789)
> at
>
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1333)
> at com.cloud.agent.Agent.processRequest(Agent.java:501)
> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
> at com.cloud.utils.nio.Task.run(Task.java:84)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> agent.log.2016-03-03.gz (END)
>
>
>
> [root@eqx-cs-cmp-02 agent]# virsh pool-list
> Name State  Autostart
> -
> 2d0967f8-50d6-4d6d-87b7-4da0596f6924 active no
> b3647480-5709-36eb-9ddd-e2c666f30b57 active no
> e3831246-ff55-4af4-9964-a17565edaccc active no
>
>
>
>
> [Root @ eqx-cs-cmp-02 agent] # df -h
> FilesystemSize  Used Avail Use% Mounted on
> /dev/mapper/vg_root-lv_root
>   203G 215G 1.3G 1% /
> tmpfs 48g 48g 0 0% / dev / shm
> / Dev / sda1 477m 427m 25M 6% / boot
> xx.xx.xx.xx:/Cloudstack/primary
>   7.6T  4.1T  3.5T  54%
> /mnt/b3647480-5709-36eb-9ddd-e2c666f30b57
>
>
>
>
> I also noticed the following in cloudstack-agent.err
>
> libvirt: QEMU Driver error : Domain not found: no domain with matching name
> 'i-11-600-VM'
> libvirt: Storage Driver error : Storage volume not found: no storage vol
> with matching name '089ff3ca-9bff-402c-a14e-ea7a35aaad5c'
>
> Your help is much appreciated,
> Nezar
>
>
> On 16 March 2016 at 11:03, Simon Weller  wrote:
>
> > Nezar,
> >
> > ok, I just took a look at a pastebin you posted.
> >
> > I see it complaining about the inability to find a volume prior to
> > throwing the host exception.
> >
> > Firstly, let's find out who host 5 is. Can you log into your MySQL server
> > and run this:
> >
> > use cloud;select id,name,status,type from host where id=5;
> >
> > Can you post the results?
> >
> > If it's a host, can you post the /var/log/cloudstack/agent/agent.log from
> > that host?
> >
> > And also run virsh pool-list on the host in question?
> >
> > - Si
> >
> >
> >
> >
> >
> > 
> > From: Nezar Madbouh 
> > Sent: Tuesday, March 15, 2016 6:11 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: Unable to create a New VM - Error message: Unable to start
> > instance due to Unable to get answer that is of class
> > com.cloud.agent.api.StartAnswer
> >
> > Hi Simon,
> >
> > When you say "double check your routers tied to the network", do you mean
> > the physical routers or the virtual routers?
> >
> > When I try to create a VM in Prod Environment it fails. I can't ping the
> > Prod virtual router from management server or Host.
> >
> > But I can ping Dev virtual router from management server and Host and I
> was
> > able to create a VM in Dev Environment.
>

Re: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Simon Weller
Can you ssh into the Secondary Storage VM?

This can be done by getting the link-local-ip address from the infrastructure 
menu in the UI and then sshing into the host the SSVM is on and issuing this 
command as root: ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@link-local-ip  
(replace link-local-ip with the link local ip).

Try  running the SSVM diangnostic script: usr/local/cloud/systemvm/ssvm-check.sh

- Si

From: Nezar Madbouh 
Sent: Tuesday, March 15, 2016 7:49 PM
To: users@cloudstack.apache.org
Subject: Re: Unable to create a New VM - Error message: Unable to start 
instance due to Unable to get answer that is of class 
com.cloud.agent.api.StartAnswer

Hi Simon,

Please see details below:


mysql> use cloud; select id, name, status, type from host where id = 5;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
++--++-+
| id | name | status | type|
++--++-+
| 5 | eqx-cs-cmp-02.ipscape.com.au | up | routing |
++--++-+
1 row in set (0.00 sec)



cat /var/log/cloudstack/agent/agent.log
com.cloud.utils.exception.CloudRuntimeException:
com.cloud.utils.exception.CloudRuntimeException: Can't find
volume:089ff3ca-9bff-402c-a14e-ea7a35aaad5c
at
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getPhysicalDisk(KVMStoragePoolManager.java:262)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVbd(LibvirtComputingResource.java:3921)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3789)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1333)
at com.cloud.agent.Agent.processRequest(Agent.java:501)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
at com.cloud.utils.nio.Task.run(Task.java:84)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
agent.log.2016-03-03.gz (END)



[root@eqx-cs-cmp-02 agent]# virsh pool-list
Name State  Autostart
-
2d0967f8-50d6-4d6d-87b7-4da0596f6924 active no
b3647480-5709-36eb-9ddd-e2c666f30b57 active no
e3831246-ff55-4af4-9964-a17565edaccc active no




[Root @ eqx-cs-cmp-02 agent] # df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/mapper/vg_root-lv_root
  203G 215G 1.3G 1% /
tmpfs 48g 48g 0 0% / dev / shm
/ Dev / sda1 477m 427m 25M 6% / boot
xx.xx.xx.xx:/Cloudstack/primary
  7.6T  4.1T  3.5T  54%
/mnt/b3647480-5709-36eb-9ddd-e2c666f30b57




I also noticed the following in cloudstack-agent.err

libvirt: QEMU Driver error : Domain not found: no domain with matching name
'i-11-600-VM'
libvirt: Storage Driver error : Storage volume not found: no storage vol
with matching name '089ff3ca-9bff-402c-a14e-ea7a35aaad5c'

Your help is much appreciated,
Nezar


On 16 March 2016 at 11:03, Simon Weller  wrote:

> Nezar,
>
> ok, I just took a look at a pastebin you posted.
>
> I see it complaining about the inability to find a volume prior to
> throwing the host exception.
>
> Firstly, let's find out who host 5 is. Can you log into your MySQL server
> and run this:
>
> use cloud;select id,name,status,type from host where id=5;
>
> Can you post the results?
>
> If it's a host, can you post the /var/log/cloudstack/agent/agent.log from
> that host?
>
> And also run virsh pool-list on the host in question?
>
> - Si
>
>
>
>
>
> 
> From: Nezar Madbouh 
> Sent: Tuesday, March 15, 2016 6:11 PM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to create a New VM - Error message: Unable to start
> instance due to Unable to get answer that is of class
> com.cloud.agent.api.StartAnswer
>
> Hi Simon,
>
> When you say "double check your routers tied to the network", do you mean
> the physical routers or the virtual routers?
>
> When I try to create a VM in Prod Environment it fails. I can't ping the
> Prod virtual router from management server or Host.
>
> But I can ping Dev virtual router from management server and Host and I was
> able to create a VM in Dev Environment.
>
> How can I troubleshoot the Prod Virtual router. I launched the console but
> couldn't login.
>
>
> Please note that we need to take into consideration that the affected
> network is the Production network and we need to minimise service outage as
> much as possible.
>
> Your help is much appreciated,
> Nezar
>
>
>
> On 16 March 2016 at 08:37, Simon Weller  wrote:
>
> > I've seen this before 

Re: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Nezar Madbouh
Hi Simon,

Please see details below:


mysql> use cloud; select id, name, status, type from host where id = 5;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
++--++-+
| id | name | status | type|
++--++-+
| 5 | eqx-cs-cmp-02.ipscape.com.au | up | routing |
++--++-+
1 row in set (0.00 sec)



cat /var/log/cloudstack/agent/agent.log
com.cloud.utils.exception.CloudRuntimeException:
com.cloud.utils.exception.CloudRuntimeException: Can't find
volume:089ff3ca-9bff-402c-a14e-ea7a35aaad5c
at
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getPhysicalDisk(KVMStoragePoolManager.java:262)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVbd(LibvirtComputingResource.java:3921)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3789)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1333)
at com.cloud.agent.Agent.processRequest(Agent.java:501)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
at com.cloud.utils.nio.Task.run(Task.java:84)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
agent.log.2016-03-03.gz (END)



[root@eqx-cs-cmp-02 agent]# virsh pool-list
Name State  Autostart
-
2d0967f8-50d6-4d6d-87b7-4da0596f6924 active no
b3647480-5709-36eb-9ddd-e2c666f30b57 active no
e3831246-ff55-4af4-9964-a17565edaccc active no




[Root @ eqx-cs-cmp-02 agent] # df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/mapper/vg_root-lv_root
  203G 215G 1.3G 1% /
tmpfs 48g 48g 0 0% / dev / shm
/ Dev / sda1 477m 427m 25M 6% / boot
xx.xx.xx.xx:/Cloudstack/primary
  7.6T  4.1T  3.5T  54%
/mnt/b3647480-5709-36eb-9ddd-e2c666f30b57




I also noticed the following in cloudstack-agent.err

libvirt: QEMU Driver error : Domain not found: no domain with matching name
'i-11-600-VM'
libvirt: Storage Driver error : Storage volume not found: no storage vol
with matching name '089ff3ca-9bff-402c-a14e-ea7a35aaad5c'

Your help is much appreciated,
Nezar


On 16 March 2016 at 11:03, Simon Weller  wrote:

> Nezar,
>
> ok, I just took a look at a pastebin you posted.
>
> I see it complaining about the inability to find a volume prior to
> throwing the host exception.
>
> Firstly, let's find out who host 5 is. Can you log into your MySQL server
> and run this:
>
> use cloud;select id,name,status,type from host where id=5;
>
> Can you post the results?
>
> If it's a host, can you post the /var/log/cloudstack/agent/agent.log from
> that host?
>
> And also run virsh pool-list on the host in question?
>
> - Si
>
>
>
>
>
> 
> From: Nezar Madbouh 
> Sent: Tuesday, March 15, 2016 6:11 PM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to create a New VM - Error message: Unable to start
> instance due to Unable to get answer that is of class
> com.cloud.agent.api.StartAnswer
>
> Hi Simon,
>
> When you say "double check your routers tied to the network", do you mean
> the physical routers or the virtual routers?
>
> When I try to create a VM in Prod Environment it fails. I can't ping the
> Prod virtual router from management server or Host.
>
> But I can ping Dev virtual router from management server and Host and I was
> able to create a VM in Dev Environment.
>
> How can I troubleshoot the Prod Virtual router. I launched the console but
> couldn't login.
>
>
> Please note that we need to take into consideration that the affected
> network is the Production network and we need to minimise service outage as
> much as possible.
>
> Your help is much appreciated,
> Nezar
>
>
>
> On 16 March 2016 at 08:37, Simon Weller  wrote:
>
> > I've seen this before where a Virtual Router has crashed and the
> > management server can't communicate with it.
> > Are you using an advanced network setup?
> >
> > If so, double check your routers tied to the network where you are
> > attempting to start an instance.
> >
> > - Si
> >
> >
> > 
> > From: Nezar Madbouh 
> > Sent: Tuesday, March 15, 2016 4:02 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: Unable to create a New VM - Error message: Unable to start
> > instance due to Unable to get answer that is of class
> > com.cloud.agent.api.StartAnswer
> >
> > Hi Glenn,
> >
> > We have 16 hosts, all KVM.
> >
> > The error is not specific to Host 5. Every time I try to c

Dell R910 - Windows 2012 R2 Cloudstack Xenserver 6.5 Dom0 Kernel Panic

2016-03-15 Thread Adrian Sender
Dear List,

In the lab I am experiencing full Dom0 host crashes on Cloudstack 4.5 and
Xenserver 6.5 using the Windows 2012 R2 VHD template from the Microsoft site.

Cannot reproduce in test on Dell R720 or Sun X4470, this appears to be
specific to Windows 2012 R2 on Dell R910 Hardware running older bios 2.10.0
(08/29/2013); this is the latest release bios for Dell R910. Note: issue also
happened with 2.5.0 Bios on Dell R910.

If you are running Dell R910 hardware in production I strongly recommend not
deploying 2012 R2 instance on the hardware.

Panic was result of CPU getting stuck (NMI), Dell does not provide BIOS
upgrade for R 910 but errata for Xeon E7-4800 family exists

(XEN) [100514.040554] Watchdog timer detects that CPU23 is stuck!
(XEN) [100514.040559] [ Xen-4.4.1-xs108229 x86_64 debug=n Not tainted ]
(XEN) [100514.040561] CPU: 23
(XEN) [100514.040562] RIP: e008:[] _write_lock+0x4/0x50
(XEN) [100514.040570] RFLAGS: 0286 CONTEXT: hypervisor
..
..

(XEN) [100514.040625] Xen call trace:
(XEN) [100514.040627] [] _write_lock+0x4/0x50
(XEN) [100514.040631] [] __get_gfn_type_access+0x183/0x200
(XEN) [100514.040635] [] hvm_hap_nested_page_fault+0xaf/0x4d0
(XEN) [100514.040638] [] vmx_vmexit_handler+0xa8f/0x1910
(XEN) [100514.040640] [] add_entry+0x4d/0xc0
(XEN) [100514.040642] [] csched_tick+0x230/0x3d0
(XEN) [100514.040644] [] schedule+0x75e/0x7d0
(XEN) [100514.040646] [] pt_update_irq+0x212/0x230
(XEN) [100514.040648] [] csched_tick+0/0x3d0
(XEN) [100514.040650] [] vlapic_has_pending_irq+0x5f/0xa0
(XEN) [100514.040652] [] hvm_io_pending+0x28/0x50
(XEN) [100514.040653] [] vmx_vmenter_helper+0xcf/0x1b0
(XEN) [100514.040655] [] vmx_asm_vmexit_handler+0x41/0xc0
(XEN) [100514.040655]
(XEN) [100514.040658]
(XEN) [100514.040659] 
(XEN) [100514.040659] Panic on CPU 23:
(XEN) [100514.040660] FATAL TRAP: vector = 2 (nmi)
(XEN) [100514.040661] [error_code=]
(XEN) [100514.040661] 
(XEN) [100514.040662]
(XEN) [100514.040663] Reboot in five seconds...
(XEN) [100514.040665] Executing kexec image on cpu23
(XEN) [100514.042497] Shot down all CPUs


DomU (id 45 at the time of crash) caused a (HAP - hardware assisted paging
error) (Windows 2012 R2)

Very similar to errata -> BP57

Call Trace:
[82d080113040] elf_core_save_regs+0/0xb0
82d0801140ec kexec_crash+0x4c/0x50
82d08013f080 panic+0xf0/0x120
82d0801885f2 show_stack+0x162/0x1b0
82d080188c28 fatal_trap+0x78/0xb0
82d08017ef09 nmi_watchdog_tick+0x1d9/0x200
82d0801892db do_nmi+0xeb/0x1a0
82d080220874 handle_ist_exception+0x8a/0xf6

NMI interrupted Code at e008:82d080129984 and Stack at :831033c97c50

[82d080129984] _write_lock+0x4/0x50
82d0801e60f3 __get_gfn_type_access+0x183/0x200
82d0801b866f hvm_hap_nested_page_fault+0xaf/0x4d0
82d0801dc45f vmx_vmexit_handler+0xa8f/0x1910
82d08012bced add_entry+0x4d/0xc0
82d08011f9f0 csched_tick+0x230/0x3d0
82d080128dfe schedule+0x75e/0x7d0
82d0801cbc42 pt_update_irq+0x212/0x230
82d08011f7c0 csched_tick+0/0x3d0
82d0801c87ef vlapic_has_pending_irq+0x5f/0xa0
82d0801b4e58 hvm_io_pending+0x28/0x50
82d0801da1ff vmx_vmenter_helper+0xcf/0x1b0
82d0801e3901 vmx_asm_vmexit_handler+0x41/0xc0

Regards,
Adrian Sender

Testlabs Australia PTY LTD.
M: +61. 487-440-732
E:  asen...@testlabs.com.au
W:  http://www.testlabs.com.au



Re: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Simon Weller
Nezar,

ok, I just took a look at a pastebin you posted.

I see it complaining about the inability to find a volume prior to throwing the 
host exception.

Firstly, let's find out who host 5 is. Can you log into your MySQL server and 
run this:

use cloud;select id,name,status,type from host where id=5;

Can you post the results?

If it's a host, can you post the /var/log/cloudstack/agent/agent.log from that 
host?

And also run virsh pool-list on the host in question?

- Si






From: Nezar Madbouh 
Sent: Tuesday, March 15, 2016 6:11 PM
To: users@cloudstack.apache.org
Subject: Re: Unable to create a New VM - Error message: Unable to start 
instance due to Unable to get answer that is of class 
com.cloud.agent.api.StartAnswer

Hi Simon,

When you say "double check your routers tied to the network", do you mean
the physical routers or the virtual routers?

When I try to create a VM in Prod Environment it fails. I can't ping the
Prod virtual router from management server or Host.

But I can ping Dev virtual router from management server and Host and I was
able to create a VM in Dev Environment.

How can I troubleshoot the Prod Virtual router. I launched the console but
couldn't login.


Please note that we need to take into consideration that the affected
network is the Production network and we need to minimise service outage as
much as possible.

Your help is much appreciated,
Nezar



On 16 March 2016 at 08:37, Simon Weller  wrote:

> I've seen this before where a Virtual Router has crashed and the
> management server can't communicate with it.
> Are you using an advanced network setup?
>
> If so, double check your routers tied to the network where you are
> attempting to start an instance.
>
> - Si
>
>
> 
> From: Nezar Madbouh 
> Sent: Tuesday, March 15, 2016 4:02 PM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to create a New VM - Error message: Unable to start
> instance due to Unable to get answer that is of class
> com.cloud.agent.api.StartAnswer
>
> Hi Glenn,
>
> We have 16 hosts, all KVM.
>
> The error is not specific to Host 5. Every time I try to create a VM it
> gives me the same error message but on different host.
>
> How do I restart the agent on the host. Is it service affecting?
>
> Thanks very much for your help.
> Neza
>
> On 15 March 2016 at 17:37, Glenn Wagner 
> wrote:
>
> > Hi,
> >
> > Can you explain your environment first , how many hosts , what is your
> > hypervisors (KVM,Xenserver,VMware)
> >
> > The error seems to be with your Host 5 Hypervisor
> > Resource [Host:5] is unreachable:
> >
> > Go to the infrastructure section and see what host5 is reporting,
> > Have you tried to restart the agent on the Host?
> >
> > Thanks
> > Glenn
> >
> >
> >
> >
> > [image: ShapeBlue] 
> > Glenn Wagner
> > Senior Consultant ,  ShapeBlue
> > d:  * | s: +27 21 527 0091* <%7C%20s:%20+27%2021%20527%200091>  |  m:
> > *+27 73 917 4111* <+27%2073%20917%204111>
> > e:  *glenn.wag...@shapeblue.com | t: *
> >   |  w:  *www.shapeblue.com*
> > 
> > a:
> > 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130
> South Africa
> > Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> > Services India LLP is a company incorporated in India and is operated
> under
> > license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> > company incorporated in Brasil and is operated under license from Shape
> > Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
> > South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
> is
> > a registered trademark.
> > This email and any attachments to it may be confidential and are intended
> > solely for the use of the individual to whom it is addressed. Any views
> or
> > opinions expressed are solely those of the author and do not necessarily
> > represent those of Shape Blue Ltd or related companies. If you are not
> the
> > intended recipient of this email, you must neither take any action based
> > upon its contents, nor copy or show it to anyone. Please contact the
> sender
> > if you believe you have received this email in error.
> >
> >
> > -Original Message-
> > From: Nezar Madbouh [mailto:nezar.madb...@ipscape.com.au]
> > Sent: Tuesday, 15 March 2016 5:45 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: Unable to create a New VM - Error message: Unable to start
> > instance due to Unable to get answer that is of class
> > com.cloud.agent.api.StartAnswer
> >
> > Hi Jeremy,
> >
> > I have uploaded the contents to http://pastebin.com/1J3mmgTh
> >
> > your help is much appreciated,
> > Nezar.
> >
> > On 15 March 2016 at 13:46, Jeremy Peterson 
> wrote:
> >
> > > I don't see any attachments can you create a pastebin. That's easier
> > > to look through as I think attachments are removed before being sent
> > > to user group.
> > >
> > 

Re: [Where are the snapshot file]

2016-03-15 Thread Adrian Sender
Hi Stravos,

Jumping in a bit late on this thread...Can you share the exact management log
error.

We have ran CCP 4.3 with Xenserver, everything is generally ok; most common
snapshot issues are as follows:


Snapshot failing


The snapshotting on data volume DATA-3230 Failing. UI shows "Error"

2014-08-26 10:51:32,884 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
(Work-Job-Executor-6:ctx-274b0a29 job-31179/job-31180 ctx-8511b016) copyAsync
inspecting src type SNAPSHOT copyAsync inspecting dest type  SNAPSHOT
2014-08-26 10:51:33,055 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
(Work-Job-Executor-6:ctx-274b0a29 job-31179/job-31180 ctx-8511b016) copy
snasphot failed: java.lang.NullPointerException
2014-08-26 10:51:33,056 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
(Work-Job-Executor-6:ctx-274b0a29 job-31179/job-31180 ctx-8511b016) copy failed
com.cloud.utils.exception.CloudRuntimeException: java.lang.NullPointerException

1. Show the details of the failing snapshot volume

mysql> select * from volumes where name=DATA-3230 \G


2. get the id of the volume from the above query and delete snapshots in the
'Ready' state.

delete from snapshot_store_ref where volume_id=3934 and state='Ready'

3. Snapshots will now succeed for volume DATA-3230.


Snapshot Failing


You may see the following in the logs:

2015-11-17 15:22:16,586 DEBUG [c.c.h.x.r.XenServerStorageProcessor]
(DirectAgent-339:ctx-6465ce91) (logid:9224bc6d) Failed to destroy pbd
SR_BACKEND_FAILURE_40The SR scan failed  [opterr=['INTERNAL_ERROR',
'Db_exn.Uniqueness_constraint_violation("VDI", "uuid",
"e5318c7f-9434-4f1c-8695-3e82a69d2192")']]

http://support.citrix.com/article/CTX135230

Note in this example DATA-3701 snapshot is failing, but the screenshot shows
the NFS secondary storage mount for account 29, DATA-3701 belongs to account
113. So you can go through the tabs until you find
/var/cloud_mount//snapshots/113/3701 and unplug just that volume. 


In this example you will see many attached NFS secondary storage volumes on
the physical xenserver host.

1. Get the uuid of the SR from the "General" tab on the NFS storage mount.

xe sr-list uuid=84142bd7-c19c-4a39-850b-ddd30539d8ed

[root@qh2-nsp01 ~]# xe sr-list uuid=84142bd7-c19c-4a39-850b-ddd30539d8ed
uuid ( RO): 84142bd7-c19c-4a39-850b-ddd30539d8ed
 name-label ( RW):
14a68eb4-62aa-4beb-91d5-e5070ecd46a9/var/cloud_mount/b9d64979-0c47-31fe-a496-6943e9dfca63/snapshots/29/4469
   name-description ( RW):
14a68eb4-62aa-4beb-91d5-e5070ecd46a9/var/cloud_mount/b9d64979-0c47-31fe-a496-6943e9dfca63/snapshots/29/4469
   host ( RO): qh2-nsp01.nsp.nectar.org.au
   type ( RO): file
   content-type ( RO): file


2. Get the PBD UUID by using the sr-uuid from above

[root@qh2-nsp01 ~]# xe pbd-list sr-uuid=84142bd7-c19c-4a39-850b-ddd30539d8ed
uuid ( RO)  : c15627c7-a968-ac1f-9794-2e3d66c0cec4
host-uuid ( RO): 14a68eb4-62aa-4beb-91d5-e5070ecd46a9
  sr-uuid ( RO): 84142bd7-c19c-4a39-850b-ddd30539d8ed
device-config (MRO): location:
/var/cloud_mount/b9d64979-0c47-31fe-a496-6943e9dfca63/snapshots/29/4469
   currently-attached ( RO): true

3. Unplug the pdb using the uuid from above

xe pbd-unplug uuid=c15627c7-a968-ac1f-9794-2e3d66c0cec4

4. At this point you should notice the state change to broken and a red cross
through the secondary mount point in Xencenter.

5. Finally remove the sr from the host completely using the original sr uuid.

xe sr-forget uuid=84142bd7-c19c-4a39-850b-ddd30539d8ed

6 Repeat this procedure for any other attached NFS snapshot mounts, check all
xenservers. 

Regards,
Adrian Sender

-- Original Message ---
From: Prashant Mishra 
To: "users@cloudstack.apache.org" 
Sent: Tue, 15 Mar 2016 12:48:10 +
Subject: Re: [Where are the snapshot file]

> There are some discussion related to this please check
> https://issues.apache.org/jira/browse/CLOUDSTACK-9297
> 
> On 3/15/16, 5:49 PM, "Stavros Konstantaras"  wrote:
> 
> >Yes indeed. Currently I am fighting with the very well known "Unable to
> >determine the storage pool of the snapshot² after deleting some snapshots
> >and creating new ones.
> >
> >Is there any workaround for this issue?
> >
> >Cheers
> >Stavros
> >
> >
> >Stavros Konstantaras
> >Science faculty Research IT support (FEIOG)
> >University of Amsterdam, Science Park 904, 1098 XH
> >
> >Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A
> >
> >> On 15 Mar 2016, at 13:01, Simon Weller  wrote:
> >> 
> >> Can you post some logs from both the management server and the agent
> >>(on the host) when you try and delete a snapshot?
> >> 
> >> I just looked through Jira and there are quite a few issues related to
> >>snapshots.
> >> 
> >> - Si
> >> 
> >> 
> >> From: Gian Paolo Buono 
> >> Sent: Tuesday, March 15, 2016 6:52 AM
> >> To: users@cloudstack.apache.org
> >> 

Re: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Nezar Madbouh
Hi Simon,

When you say "double check your routers tied to the network", do you mean
the physical routers or the virtual routers?

When I try to create a VM in Prod Environment it fails. I can't ping the
Prod virtual router from management server or Host.

But I can ping Dev virtual router from management server and Host and I was
able to create a VM in Dev Environment.

How can I troubleshoot the Prod Virtual router. I launched the console but
couldn't login.


Please note that we need to take into consideration that the affected
network is the Production network and we need to minimise service outage as
much as possible.

Your help is much appreciated,
Nezar



On 16 March 2016 at 08:37, Simon Weller  wrote:

> I've seen this before where a Virtual Router has crashed and the
> management server can't communicate with it.
> Are you using an advanced network setup?
>
> If so, double check your routers tied to the network where you are
> attempting to start an instance.
>
> - Si
>
>
> 
> From: Nezar Madbouh 
> Sent: Tuesday, March 15, 2016 4:02 PM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to create a New VM - Error message: Unable to start
> instance due to Unable to get answer that is of class
> com.cloud.agent.api.StartAnswer
>
> Hi Glenn,
>
> We have 16 hosts, all KVM.
>
> The error is not specific to Host 5. Every time I try to create a VM it
> gives me the same error message but on different host.
>
> How do I restart the agent on the host. Is it service affecting?
>
> Thanks very much for your help.
> Neza
>
> On 15 March 2016 at 17:37, Glenn Wagner 
> wrote:
>
> > Hi,
> >
> > Can you explain your environment first , how many hosts , what is your
> > hypervisors (KVM,Xenserver,VMware)
> >
> > The error seems to be with your Host 5 Hypervisor
> > Resource [Host:5] is unreachable:
> >
> > Go to the infrastructure section and see what host5 is reporting,
> > Have you tried to restart the agent on the Host?
> >
> > Thanks
> > Glenn
> >
> >
> >
> >
> > [image: ShapeBlue] 
> > Glenn Wagner
> > Senior Consultant ,  ShapeBlue
> > d:  * | s: +27 21 527 0091* <%7C%20s:%20+27%2021%20527%200091>  |  m:
> > *+27 73 917 4111* <+27%2073%20917%204111>
> > e:  *glenn.wag...@shapeblue.com | t: *
> >   |  w:  *www.shapeblue.com*
> > 
> > a:
> > 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130
> South Africa
> > Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> > Services India LLP is a company incorporated in India and is operated
> under
> > license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> > company incorporated in Brasil and is operated under license from Shape
> > Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
> > South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
> is
> > a registered trademark.
> > This email and any attachments to it may be confidential and are intended
> > solely for the use of the individual to whom it is addressed. Any views
> or
> > opinions expressed are solely those of the author and do not necessarily
> > represent those of Shape Blue Ltd or related companies. If you are not
> the
> > intended recipient of this email, you must neither take any action based
> > upon its contents, nor copy or show it to anyone. Please contact the
> sender
> > if you believe you have received this email in error.
> >
> >
> > -Original Message-
> > From: Nezar Madbouh [mailto:nezar.madb...@ipscape.com.au]
> > Sent: Tuesday, 15 March 2016 5:45 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: Unable to create a New VM - Error message: Unable to start
> > instance due to Unable to get answer that is of class
> > com.cloud.agent.api.StartAnswer
> >
> > Hi Jeremy,
> >
> > I have uploaded the contents to http://pastebin.com/1J3mmgTh
> >
> > your help is much appreciated,
> > Nezar.
> >
> > On 15 March 2016 at 13:46, Jeremy Peterson 
> wrote:
> >
> > > I don't see any attachments can you create a pastebin. That's easier
> > > to look through as I think attachments are removed before being sent
> > > to user group.
> > >
> > > Jeremy
> > >
> > >
> > >  Original message 
> > > From: Nezar Madbouh 
> > > Date: 3/14/2016 6:38 PM (GMT-06:00)
> > > To: users@cloudstack.apache.org
> > > Subject: Unable to create a New VM - Error message: Unable to start
> > > instance due to Unable to get answer that is of class
> > > com.cloud.agent.api.StartAnswer
> > >
> > > Hi Shweta and Sadhu,
> > >
> > > Please find attached managerment-server.log which contains the logs
> > > since I started creating a new VM (VM id 600).
> > >
> > > Please note that we don't have agent.log files
> > >
> > > Your help is much appreciated.
> > >
> > > Regards,
> > > Nezar.
> > >
> > Find out more about ShapeBlue and our range of CloudStack related
> services:
> > IaaS Cloud Design & Build
> > 

Re: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Simon Weller
I've seen this before where a Virtual Router has crashed and the management 
server can't communicate with it.
Are you using an advanced network setup?

If so, double check your routers tied to the network where you are attempting 
to start an instance.

- Si



From: Nezar Madbouh 
Sent: Tuesday, March 15, 2016 4:02 PM
To: users@cloudstack.apache.org
Subject: Re: Unable to create a New VM - Error message: Unable to start 
instance due to Unable to get answer that is of class 
com.cloud.agent.api.StartAnswer

Hi Glenn,

We have 16 hosts, all KVM.

The error is not specific to Host 5. Every time I try to create a VM it
gives me the same error message but on different host.

How do I restart the agent on the host. Is it service affecting?

Thanks very much for your help.
Neza

On 15 March 2016 at 17:37, Glenn Wagner  wrote:

> Hi,
>
> Can you explain your environment first , how many hosts , what is your
> hypervisors (KVM,Xenserver,VMware)
>
> The error seems to be with your Host 5 Hypervisor
> Resource [Host:5] is unreachable:
>
> Go to the infrastructure section and see what host5 is reporting,
> Have you tried to restart the agent on the Host?
>
> Thanks
> Glenn
>
>
>
>
> [image: ShapeBlue] 
> Glenn Wagner
> Senior Consultant ,  ShapeBlue
> d:  * | s: +27 21 527 0091* <%7C%20s:%20+27%2021%20527%200091>  |  m:
> *+27 73 917 4111* <+27%2073%20917%204111>
> e:  *glenn.wag...@shapeblue.com | t: *
>   |  w:  *www.shapeblue.com*
> 
> a:
> 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 South 
> Africa
> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> Services India LLP is a company incorporated in India and is operated under
> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> company incorporated in Brasil and is operated under license from Shape
> Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
> South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is
> a registered trademark.
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error.
>
>
> -Original Message-
> From: Nezar Madbouh [mailto:nezar.madb...@ipscape.com.au]
> Sent: Tuesday, 15 March 2016 5:45 AM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to create a New VM - Error message: Unable to start
> instance due to Unable to get answer that is of class
> com.cloud.agent.api.StartAnswer
>
> Hi Jeremy,
>
> I have uploaded the contents to http://pastebin.com/1J3mmgTh
>
> your help is much appreciated,
> Nezar.
>
> On 15 March 2016 at 13:46, Jeremy Peterson  wrote:
>
> > I don't see any attachments can you create a pastebin. That's easier
> > to look through as I think attachments are removed before being sent
> > to user group.
> >
> > Jeremy
> >
> >
> >  Original message 
> > From: Nezar Madbouh 
> > Date: 3/14/2016 6:38 PM (GMT-06:00)
> > To: users@cloudstack.apache.org
> > Subject: Unable to create a New VM - Error message: Unable to start
> > instance due to Unable to get answer that is of class
> > com.cloud.agent.api.StartAnswer
> >
> > Hi Shweta and Sadhu,
> >
> > Please find attached managerment-server.log which contains the logs
> > since I started creating a new VM (VM id 600).
> >
> > Please note that we don't have agent.log files
> >
> > Your help is much appreciated.
> >
> > Regards,
> > Nezar.
> >
> Find out more about ShapeBlue and our range of CloudStack related services:
> IaaS Cloud Design & Build
>  | CSForge – rapid
> IaaS deployment framework 
> CloudStack Consulting  | 
> CloudStack
> Software Engineering
> 
> CloudStack Infrastructure Support
>  | CloudStack
> Bootcamp Training Courses 
>


Re: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Nezar Madbouh
Hi Glenn,

We have 16 hosts, all KVM.

The error is not specific to Host 5. Every time I try to create a VM it
gives me the same error message but on different host.

How do I restart the agent on the host. Is it service affecting?

Thanks very much for your help.
Neza

On 15 March 2016 at 17:37, Glenn Wagner  wrote:

> Hi,
>
> Can you explain your environment first , how many hosts , what is your
> hypervisors (KVM,Xenserver,VMware)
>
> The error seems to be with your Host 5 Hypervisor
> Resource [Host:5] is unreachable:
>
> Go to the infrastructure section and see what host5 is reporting,
> Have you tried to restart the agent on the Host?
>
> Thanks
> Glenn
>
>
>
>
> [image: ShapeBlue] 
> Glenn Wagner
> Senior Consultant ,  ShapeBlue
> d:  * | s: +27 21 527 0091* <%7C%20s:%20+27%2021%20527%200091>  |  m:
> *+27 73 917 4111* <+27%2073%20917%204111>
> e:  *glenn.wag...@shapeblue.com | t: *
>   |  w:  *www.shapeblue.com*
> 
> a:
> 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 South 
> Africa
> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> Services India LLP is a company incorporated in India and is operated under
> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> company incorporated in Brasil and is operated under license from Shape
> Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
> South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is
> a registered trademark.
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error.
>
>
> -Original Message-
> From: Nezar Madbouh [mailto:nezar.madb...@ipscape.com.au]
> Sent: Tuesday, 15 March 2016 5:45 AM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to create a New VM - Error message: Unable to start
> instance due to Unable to get answer that is of class
> com.cloud.agent.api.StartAnswer
>
> Hi Jeremy,
>
> I have uploaded the contents to http://pastebin.com/1J3mmgTh
>
> your help is much appreciated,
> Nezar.
>
> On 15 March 2016 at 13:46, Jeremy Peterson  wrote:
>
> > I don't see any attachments can you create a pastebin. That's easier
> > to look through as I think attachments are removed before being sent
> > to user group.
> >
> > Jeremy
> >
> >
> >  Original message 
> > From: Nezar Madbouh 
> > Date: 3/14/2016 6:38 PM (GMT-06:00)
> > To: users@cloudstack.apache.org
> > Subject: Unable to create a New VM - Error message: Unable to start
> > instance due to Unable to get answer that is of class
> > com.cloud.agent.api.StartAnswer
> >
> > Hi Shweta and Sadhu,
> >
> > Please find attached managerment-server.log which contains the logs
> > since I started creating a new VM (VM id 600).
> >
> > Please note that we don't have agent.log files
> >
> > Your help is much appreciated.
> >
> > Regards,
> > Nezar.
> >
> Find out more about ShapeBlue and our range of CloudStack related services:
> IaaS Cloud Design & Build
>  | CSForge – rapid
> IaaS deployment framework 
> CloudStack Consulting  | 
> CloudStack
> Software Engineering
> 
> CloudStack Infrastructure Support
>  | CloudStack
> Bootcamp Training Courses 
>


RE: [Where are the snapshot file]

2016-03-15 Thread Suresh Sadhu
Hi Gian,

The reason might be if we delete any intermediate snapshot from  CloudStack, 
the file will not be physically removed from secondary storage(scenario 2 as 
specified in the  below article :),it will keep till  you removed the last 
snapshot. In case of xen, it maintain the snapshot chain ,once it reaches the 
limit, then it will perform full snapshot.

http://support.citrix.com/article/CTX135172

You will see intermittent issue if  the  snapshot chain lost the its chain info 
due to manually deleting of  files form secondary  or  corruption of  vdi file 
or due  to any corner cases where deleting one file instead of another 
file/restarting of ms while snapshot operation in the middle might result data 
inconsistence in between cloudstack data and Real data.


Regards
Sadhu


-Original Message-
From: Gian Paolo Buono [mailto:gianpaolo.bu...@gesca.it]
Sent: Tuesday, March 15, 2016 9:03 PM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Simon,

but the issue occurs randomly when i setup reccurring snapshot, to clarify  I 
have attached two image, Snap.png that show the state Allocated and i 
RecSnap.png that show the snapshot's policy.

 The recurring spanshot policy is set to Daily keep 2 Snap but in the snapshot 
list  i can see many older snap, Can you explain to me why ?

Best Regards
Gian Paolo



On 03/15/2016 03:59 PM, Simon Weller wrote:

Gian,

Can you tail the logs for when you take the snapshot and just upload that 
section to pastebin?




From: Gian Paolo Buono 

Sent: Tuesday, March 15, 2016 8:15 AM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Hi Simon,

in attachement the management-server.log of both the server (we run a 
configuration of managemente server in load balancing), the host are XenServer.


Gian Paolo

On 03/15/2016 01:01 PM, Simon Weller wrote:


Can you post some logs from both the management server and the agent (on the 
host) when you try and delete a snapshot?

I just looked through Jira and there are quite a few issues related to 
snapshots.

- Si


From: Gian Paolo Buono 

Sent: Tuesday, March 15, 2016 6:52 AM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Hi Simon,

we run Citrix CloudPlatfor 4.3 but we want to migrate to CloudStack 4.8...

there is a fix ?

Best regards



This communication may contain information that is proprietary, confidential, 
or exempt from disclosure. If you are not the intended recipient, please note 
that any other dissemination, distribution, use or copying of this 
communication is strictly prohibited. Anyone who receives this message in error 
should notify the sender immediately by telephone or by return e-mail and 
delete it from his or her computer.

On 03/15/2016 12:46 PM, Simon Weller wrote:

Gian,

What version of CloudStack are you running?

I recall (quite a long time ago), there was a bug where volumes and snapshots 
weren't getting cleaned up correctly.
If I recall correctly, that was somewhere around 4.2.

- Si


From: Gian Paolo Buono 

Sent: Tuesday, March 15, 2016 6:10 AM
To: 
users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Thank you it's correct :) , but now I have another question..

  From console of CloudStack I have deleted a snapshot, on the database the 
status is changed in Destroyed but the file it's stil on secondary storage:

ls -ltr d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
-rw-r--r-- 1 root root 1271296512 Mar 11 04:02 
d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd

Also in snapshots view sometimes the status is allocated...but what does it 
mean ?


Best Regards

On 03/15/2016 11:15 AM, Stavros Konstantaras wrote:

Hi Gian,

If you run the following query in MySQL and check the column "install_path" you 
will find the location of snapshot file in secondary storage:


I hope that it helps you.

Best Regards
Stavros



Stavros Konstantaras
Science faculty Research IT support (FEIOG) University of Amsterdam, Science 
Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A



On 15 Mar 2016, at 11:11, Gian Paolo Buono 

 wrote:

Hi all, how can I know where are the snapshot file (vhd) on the secondary 
storage ? Is there a mysql query ?

Kind regards










Re: [Where are the snapshot file]

2016-03-15 Thread Gian Paolo Buono
Simon,

but the issue occurs randomly when i setup reccurring snapshot, to clarify  I 
have attached two image, Snap.png that show the state Allocated and i 
RecSnap.png that show the snapshot's policy.

 The recurring spanshot policy is set to Daily keep 2 Snap but in the snapshot 
list  i can see many older snap, Can you explain to me why ?

Best Regards
Gian Paolo



On 03/15/2016 03:59 PM, Simon Weller wrote:

Gian,

Can you tail the logs for when you take the snapshot and just upload that 
section to pastebin?




From: Gian Paolo Buono 

Sent: Tuesday, March 15, 2016 8:15 AM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Hi Simon,

in attachement the management-server.log of both the server (we run a
configuration of managemente server in load balancing), the host are
XenServer.


Gian Paolo

On 03/15/2016 01:01 PM, Simon Weller wrote:


Can you post some logs from both the management server and the agent (on the 
host) when you try and delete a snapshot?

I just looked through Jira and there are quite a few issues related to 
snapshots.

- Si


From: Gian Paolo Buono 

Sent: Tuesday, March 15, 2016 6:52 AM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Hi Simon,

we run Citrix CloudPlatfor 4.3 but we want to migrate to CloudStack 4.8...

there is a fix ?

Best regards



This communication may contain information that is proprietary, confidential, 
or exempt from disclosure. If you are not the intended recipient, please note 
that any other dissemination, distribution, use or copying of this 
communication is strictly prohibited. Anyone who receives this message in error 
should notify the sender immediately by telephone or by return e-mail and 
delete it from his or her computer.

On 03/15/2016 12:46 PM, Simon Weller wrote:

Gian,

What version of CloudStack are you running?

I recall (quite a long time ago), there was a bug where volumes and snapshots 
weren't getting cleaned up correctly.
If I recall correctly, that was somewhere around 4.2.

- Si


From: Gian Paolo Buono 

Sent: Tuesday, March 15, 2016 6:10 AM
To: 
users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Thank you it's correct :) , but now I have another question..

  From console of CloudStack I have deleted a snapshot, on the database the 
status is changed in Destroyed but the file it's stil on secondary storage:

ls -ltr d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
-rw-r--r-- 1 root root 1271296512 Mar 11 04:02 
d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd

Also in snapshots view sometimes the status is allocated...but what does it 
mean ?


Best Regards

On 03/15/2016 11:15 AM, Stavros Konstantaras wrote:

Hi Gian,

If you run the following query in MySQL and check the column “install_path” you 
will find the location of snapshot file in secondary storage:


I hope that it helps you.

Best Regards
Stavros



Stavros Konstantaras
Science faculty Research IT support (FEIOG)
University of Amsterdam, Science Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A



On 15 Mar 2016, at 11:11, Gian Paolo Buono 

 wrote:

Hi all, how can I know where are the snapshot file (vhd) on the
secondary storage ? Is there a mysql query ?

Kind regards
















Re: [Where are the snapshot file]

2016-03-15 Thread Simon Weller
Gian,

Can you tail the logs for when you take the snapshot and just upload that 
section to pastebin?




From: Gian Paolo Buono 
Sent: Tuesday, March 15, 2016 8:15 AM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Hi Simon,

in attachement the management-server.log of both the server (we run a
configuration of managemente server in load balancing), the host are
XenServer.


Gian Paolo

On 03/15/2016 01:01 PM, Simon Weller wrote:
> Can you post some logs from both the management server and the agent (on the 
> host) when you try and delete a snapshot?
>
> I just looked through Jira and there are quite a few issues related to 
> snapshots.
>
> - Si
>
> 
> From: Gian Paolo Buono 
> Sent: Tuesday, March 15, 2016 6:52 AM
> To: users@cloudstack.apache.org
> Subject: Re: [Where are the snapshot file]
>
> Hi Simon,
>
> we run Citrix CloudPlatfor 4.3 but we want to migrate to CloudStack 4.8...
>
> there is a fix ?
>
> Best regards
>
>
>
> This communication may contain information that is proprietary, confidential, 
> or exempt from disclosure. If you are not the intended recipient, please note 
> that any other dissemination, distribution, use or copying of this 
> communication is strictly prohibited. Anyone who receives this message in 
> error should notify the sender immediately by telephone or by return e-mail 
> and delete it from his or her computer.
>
> On 03/15/2016 12:46 PM, Simon Weller wrote:
>
> Gian,
>
> What version of CloudStack are you running?
>
> I recall (quite a long time ago), there was a bug where volumes and snapshots 
> weren't getting cleaned up correctly.
> If I recall correctly, that was somewhere around 4.2.
>
> - Si
>
> 
> From: Gian Paolo Buono 
> 
> Sent: Tuesday, March 15, 2016 6:10 AM
> To: users@cloudstack.apache.org
> Subject: Re: [Where are the snapshot file]
>
> Thank you it's correct :) , but now I have another question..
>
>   From console of CloudStack I have deleted a snapshot, on the database the 
> status is changed in Destroyed but the file it's stil on secondary storage:
>
> ls -ltr d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
> -rw-r--r-- 1 root root 1271296512 Mar 11 04:02 
> d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
>
> Also in snapshots view sometimes the status is allocated...but what does it 
> mean ?
>
>
> Best Regards
>
> On 03/15/2016 11:15 AM, Stavros Konstantaras wrote:
>
> Hi Gian,
>
> If you run the following query in MySQL and check the column “install_path” 
> you will find the location of snapshot file in secondary storage:
> 
>
> I hope that it helps you.
>
> Best Regards
> Stavros
>
>
> 
> Stavros Konstantaras
> Science faculty Research IT support (FEIOG)
> University of Amsterdam, Science Park 904, 1098 XH
>
> Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A
>
>
>
> On 15 Mar 2016, at 11:11, Gian Paolo Buono 
> 
>  wrote:
>
> Hi all, how can I know where are the snapshot file (vhd) on the
> secondary storage ? Is there a mysql query ?
>
> Kind regards
>
>
>
>
>
>
>
>
>



RE: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Suresh Sadhu
HI Nezar,

I have checked the logs  and not finding enough information. As I requested 
earlier, please share the  host and agent state. In your logs. It shows host is 
not reachable[also not finding async job  details on this deployment].

For you ,all the vm deployments are failing on  your environment or only  few 
vmdeployment on specific host has problem.

Is it production environment or staging environment?.  It will be more helpful  
if you provide us  the agent logs to debug.



Regards
Sadhu














From: Nezar Madbouh [mailto:nezar.madb...@ipscape.com.au]
Sent: Tuesday, March 15, 2016 5:08 AM
To: users@cloudstack.apache.org
Subject: Unable to create a New VM - Error message: Unable to start instance 
due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

Hi Shweta and Sadhu,

Please find attached managerment-server.log which contains the logs since I 
started creating a new VM (VM id 600).

Please note that we don't have agent.log files

Your help is much appreciated.

Regards,
Nezar.



DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


Re: IPs Getting Stuck on Multiple Routers

2016-03-15 Thread Jeff Hair
Don't think there's any real known workaround except a cron job to sync the
IPs on the router with what's in the database. This is how we solved it in
4.2. Every 3 minutes get a list of IPs from the routers, compare to DB,
then send an IpAssoc command to fix them if necessary.

But I'm looking for a better way to fix it this time. Maybe refactoring the
IP assignment in enableStaticNat to only associate/disassociate one IP at a
time would work.

On Tue, Mar 15, 2016 at 9:26 AM, Sven Knohsalla 
wrote:

> Hi,
>
> we are running into the same problem.
> Is there are workaround for this issue ?
>
> Thanks in advance.
>
> Regards,
> Sven.
>
> -Ursprüngliche Nachricht-
> Von: Jeff Hair [mailto:j...@greenqloud.com]
> Gesendet: Dienstag, 15. März 2016 09:49
> An: users@cloudstack.apache.org
> Betreff: Re: IPs Getting Stuck on Multiple Routers
>
> Thanks for the reply. Is there a JIRA ticket for this?
>
> On Tue, Mar 15, 2016 at 6:35 AM, Sanjeev Neelarapu <
> sanjeev.neelar...@accelerite.com> wrote:
>
> > Hi Jeff,
> >
> > This is a known issue and is hypervisor agnostic.
> >
> > -Sanjeev
> >
> > -Original Message-
> > From: Jeff Hair [mailto:j...@greenqloud.com]
> > Sent: Monday, March 14, 2016 10:06 PM
> > To: users@cloudstack.apache.org
> > Subject: IPs Getting Stuck on Multiple Routers
> >
> > Hi,
> >
> > If you disassociate a bunch of public IPs at once from an account, it
> > tends to be that the IPs are still stuck on the virtual router even
> > though they have been successfully released on the management server.
> > Another account later acquires that IP, and now two routers have the
> > same public IPs attached to them. This leads to intermittent
> > connectivity loss for the accounts.
> >
> > The only way currently to fix this is to restart network (not
> > acceptable in production environment) or to make some kind of cron job
> > which manually fixes broken IPs (barely any better).
> >
> > This happens at least on KVM. I assume it happens on other hypervisors
> > as well.
> >
> > Is this a known issue?
> >
> > Thanks,
> >
> > Jeff
> >
> >
> >
> > DISCLAIMER
> > ==
> > This e-mail may contain privileged and confidential information which
> > is the property of Accelerite, a Persistent Systems business. It is
> > intended only for the use of the individual or entity to which it is
> > addressed. If you are not the intended recipient, you are not
> > authorized to read, retain, copy, print, distribute or use this
> > message. If you have received this communication in error, please
> > notify the sender and delete all copies of this message. Accelerite, a
> > Persistent Systems business does not accept any liability for virus
> infected mails.
> >
>
>
>
> --
> *Jeff Hair*
> Technical Lead and Software Developer
>
> Tel: (+354) 415 0200
> j...@greenqloud.com
> www.greenqloud.com
>



-- 
*Jeff Hair*
Technical Lead and Software Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com


RE: [Migrate from Citrix CloudPlatform 4.3 to CloudStack 4.8]

2016-03-15 Thread Glenn Wagner
Hi Gian,

Yes this can be done without breaking your environment,
I would suggest you test this in a Lab first with a copy of your production DB.

Have a look at the upgrade from 4.3 Doc with regard to the template you need to 
use for XenServer or VMware (Update System-VM templates)
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.8.0/upgrade/upgrade-4.3.html

Thanks
Glenn




[ShapeBlue]
Glenn Wagner
Senior Consultant   ,   ShapeBlue


d:   | s: +27 21 527 0091|  
m:  +27 73 917 4111

e:  glenn.wag...@shapeblue.com | t: 
 |  w:  
www.shapeblue.com

a:  2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 
South Africa


[cid:image5ab372.png@affc5b60.4988ada7]


Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services 
India LLP is a company incorporated in India and is operated under license from 
Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in 
Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd 
is a company registered by The Republic of South Africa and is traded under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error.




-Original Message-
From: Gian Paolo Buono [mailto:gianpaolo.bu...@gesca.it]
Sent: Tuesday, 15 March 2016 1:36 PM
To: users@cloudstack.apache.org
Subject: [Migrate from Citrix CloudPlatform 4.3 to CloudStack 4.8]

Hi all,

we have need to migrate from Citrix CloudPlatform 4.3 to CloudStack 4.8.
I have read this post:

https://www.citrix.com/blogs/2014/04/01/citrix-cloudplatform-and-apache-cloudstack/

Do you think that is it possible without destroy our infrasctracture cloud ?

Best Regards
Gian Paolo
Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build | 
CSForge – rapid IaaS deployment framework
CloudStack Consulting | 
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support | CloudStack 
Bootcamp Training Courses


Re: [Migrate from Citrix CloudPlatform 4.3 to CloudStack 4.8]

2016-03-15 Thread Daan Hoogland
Yes Gian Paolo, it is possible but it will take a big effort, mostly in
planning. How big, depends on what your set-up is. The main issue is
networking. You need to ask yourself a couple of questions:
What type of networking do you use?
What type do you use and what services do your virtual routers provide?

try to construct a test environment that you can easily recreate to play
upgrades before the real thing.


On Tue, Mar 15, 2016 at 12:36 PM, Gian Paolo Buono  wrote:

> Hi all,
>
> we have need to migrate from Citrix CloudPlatform 4.3 to CloudStack 4.8.
> I have read this post:
>
>
> https://www.citrix.com/blogs/2014/04/01/citrix-cloudplatform-and-apache-cloudstack/
>
> Do you think that is it possible without destroy our infrasctracture
> cloud ?
>
> Best Regards
> Gian Paolo




-- 
Daan


Re: [Where are the snapshot file]

2016-03-15 Thread Prashant Mishra
There are some discussion related to this please check
https://issues.apache.org/jira/browse/CLOUDSTACK-9297

On 3/15/16, 5:49 PM, "Stavros Konstantaras"  wrote:

>Yes indeed. Currently I am fighting with the very well known "Unable to
>determine the storage pool of the snapshot² after deleting some snapshots
>and creating new ones.
>
>Is there any workaround for this issue?
>
>Cheers
>Stavros
>
>
>Stavros Konstantaras
>Science faculty Research IT support (FEIOG)
>University of Amsterdam, Science Park 904, 1098 XH
>
>Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A
>
>> On 15 Mar 2016, at 13:01, Simon Weller  wrote:
>>
>> Can you post some logs from both the management server and the agent
>>(on the host) when you try and delete a snapshot?
>>
>> I just looked through Jira and there are quite a few issues related to
>>snapshots.
>>
>> - Si
>>
>> 
>> From: Gian Paolo Buono 
>> Sent: Tuesday, March 15, 2016 6:52 AM
>> To: users@cloudstack.apache.org
>> Subject: Re: [Where are the snapshot file]
>>
>> Hi Simon,
>>
>> we run Citrix CloudPlatfor 4.3 but we want to migrate to CloudStack
>>4.8...
>>
>> there is a fix ?
>>
>> Best regards
>>
>>
>>
>> This communication may contain information that is proprietary,
>>confidential, or exempt from disclosure. If you are not the intended
>>recipient, please note that any other dissemination, distribution, use
>>or copying of this communication is strictly prohibited. Anyone who
>>receives this message in error should notify the sender immediately by
>>telephone or by return e-mail and delete it from his or her computer.
>>
>> On 03/15/2016 12:46 PM, Simon Weller wrote:
>>
>> Gian,
>>
>> What version of CloudStack are you running?
>>
>> I recall (quite a long time ago), there was a bug where volumes and
>>snapshots weren't getting cleaned up correctly.
>> If I recall correctly, that was somewhere around 4.2.
>>
>> - Si
>>
>> 
>> From: Gian Paolo Buono
>>
>> Sent: Tuesday, March 15, 2016 6:10 AM
>> To: users@cloudstack.apache.org
>> Subject: Re: [Where are the snapshot file]
>>
>> Thank you it's correct :) , but now I have another question..
>>
>> From console of CloudStack I have deleted a snapshot, on the database
>>the status is changed in Destroyed but the file it's stil on secondary
>>storage:
>>
>> ls -ltr d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
>> -rw-r--r-- 1 root root 1271296512 Mar 11 04:02
>>d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
>>
>> Also in snapshots view sometimes the status is allocated...but what
>>does it mean ?
>>
>>
>> Best Regards
>>
>> On 03/15/2016 11:15 AM, Stavros Konstantaras wrote:
>>
>> Hi Gian,
>>
>> If you run the following query in MySQL and check the column
>>³install_path² you will find the location of snapshot file in secondary
>>storage:
>> 
>>
>> I hope that it helps you.
>>
>> Best Regards
>> Stavros
>>
>>
>> 
>> Stavros Konstantaras
>> Science faculty Research IT support (FEIOG)
>> University of Amsterdam, Science Park 904, 1098 XH
>>
>> Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A
>>
>>
>>
>> On 15 Mar 2016, at 11:11, Gian Paolo Buono
>>>olo.bu...@gesca.it> wrote:
>>
>> Hi all, how can I know where are the snapshot file (vhd) on the
>> secondary storage ? Is there a mysql query ?
>>
>> Kind regards
>>
>>
>>
>>
>>
>>
>>
>>
>>
>




DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


Re: [Where are the snapshot file]

2016-03-15 Thread Stavros Konstantaras
Yes indeed. Currently I am fighting with the very well known "Unable to 
determine the storage pool of the snapshot” after deleting some snapshots and 
creating new ones. 

Is there any workaround for this issue? 

Cheers
Stavros


Stavros Konstantaras
Science faculty Research IT support (FEIOG) 
University of Amsterdam, Science Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A

> On 15 Mar 2016, at 13:01, Simon Weller  wrote:
> 
> Can you post some logs from both the management server and the agent (on the 
> host) when you try and delete a snapshot?
> 
> I just looked through Jira and there are quite a few issues related to 
> snapshots.
> 
> - Si
> 
> 
> From: Gian Paolo Buono 
> Sent: Tuesday, March 15, 2016 6:52 AM
> To: users@cloudstack.apache.org
> Subject: Re: [Where are the snapshot file]
> 
> Hi Simon,
> 
> we run Citrix CloudPlatfor 4.3 but we want to migrate to CloudStack 4.8...
> 
> there is a fix ?
> 
> Best regards
> 
> 
> 
> This communication may contain information that is proprietary, confidential, 
> or exempt from disclosure. If you are not the intended recipient, please note 
> that any other dissemination, distribution, use or copying of this 
> communication is strictly prohibited. Anyone who receives this message in 
> error should notify the sender immediately by telephone or by return e-mail 
> and delete it from his or her computer.
> 
> On 03/15/2016 12:46 PM, Simon Weller wrote:
> 
> Gian,
> 
> What version of CloudStack are you running?
> 
> I recall (quite a long time ago), there was a bug where volumes and snapshots 
> weren't getting cleaned up correctly.
> If I recall correctly, that was somewhere around 4.2.
> 
> - Si
> 
> 
> From: Gian Paolo Buono 
> 
> Sent: Tuesday, March 15, 2016 6:10 AM
> To: users@cloudstack.apache.org
> Subject: Re: [Where are the snapshot file]
> 
> Thank you it's correct :) , but now I have another question..
> 
> From console of CloudStack I have deleted a snapshot, on the database the 
> status is changed in Destroyed but the file it's stil on secondary storage:
> 
> ls -ltr d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
> -rw-r--r-- 1 root root 1271296512 Mar 11 04:02 
> d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
> 
> Also in snapshots view sometimes the status is allocated...but what does it 
> mean ?
> 
> 
> Best Regards
> 
> On 03/15/2016 11:15 AM, Stavros Konstantaras wrote:
> 
> Hi Gian,
> 
> If you run the following query in MySQL and check the column “install_path” 
> you will find the location of snapshot file in secondary storage:
> 
> 
> I hope that it helps you.
> 
> Best Regards
> Stavros
> 
> 
> 
> Stavros Konstantaras
> Science faculty Research IT support (FEIOG)
> University of Amsterdam, Science Park 904, 1098 XH
> 
> Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A
> 
> 
> 
> On 15 Mar 2016, at 11:11, Gian Paolo Buono 
> 
>  wrote:
> 
> Hi all, how can I know where are the snapshot file (vhd) on the
> secondary storage ? Is there a mysql query ?
> 
> Kind regards
> 
> 
> 
> 
> 
> 
> 
> 
> 



Re: [Where are the snapshot file]

2016-03-15 Thread Simon Weller
Can you post some logs from both the management server and the agent (on the 
host) when you try and delete a snapshot?

I just looked through Jira and there are quite a few issues related to 
snapshots.

- Si


From: Gian Paolo Buono 
Sent: Tuesday, March 15, 2016 6:52 AM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Hi Simon,

we run Citrix CloudPlatfor 4.3 but we want to migrate to CloudStack 4.8...

there is a fix ?

Best regards



This communication may contain information that is proprietary, confidential, 
or exempt from disclosure. If you are not the intended recipient, please note 
that any other dissemination, distribution, use or copying of this 
communication is strictly prohibited. Anyone who receives this message in error 
should notify the sender immediately by telephone or by return e-mail and 
delete it from his or her computer.

On 03/15/2016 12:46 PM, Simon Weller wrote:

Gian,

What version of CloudStack are you running?

I recall (quite a long time ago), there was a bug where volumes and snapshots 
weren't getting cleaned up correctly.
If I recall correctly, that was somewhere around 4.2.

- Si


From: Gian Paolo Buono 

Sent: Tuesday, March 15, 2016 6:10 AM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Thank you it's correct :) , but now I have another question..

 From console of CloudStack I have deleted a snapshot, on the database the 
status is changed in Destroyed but the file it's stil on secondary storage:

ls -ltr d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
-rw-r--r-- 1 root root 1271296512 Mar 11 04:02 
d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd

Also in snapshots view sometimes the status is allocated...but what does it 
mean ?


Best Regards

On 03/15/2016 11:15 AM, Stavros Konstantaras wrote:

Hi Gian,

If you run the following query in MySQL and check the column “install_path” you 
will find the location of snapshot file in secondary storage:


I hope that it helps you.

Best Regards
Stavros



Stavros Konstantaras
Science faculty Research IT support (FEIOG)
University of Amsterdam, Science Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A



On 15 Mar 2016, at 11:11, Gian Paolo Buono 

 wrote:

Hi all, how can I know where are the snapshot file (vhd) on the
secondary storage ? Is there a mysql query ?

Kind regards











Re: [Where are the snapshot file]

2016-03-15 Thread Gian Paolo Buono
Hi Simon,

we run Citrix CloudPlatfor 4.3 but we want to migrate to CloudStack 4.8...

there is a fix ?

Best regards



This communication may contain information that is proprietary, confidential, 
or exempt from disclosure. If you are not the intended recipient, please note 
that any other dissemination, distribution, use or copying of this 
communication is strictly prohibited. Anyone who receives this message in error 
should notify the sender immediately by telephone or by return e-mail and 
delete it from his or her computer.

On 03/15/2016 12:46 PM, Simon Weller wrote:

Gian,

What version of CloudStack are you running?

I recall (quite a long time ago), there was a bug where volumes and snapshots 
weren't getting cleaned up correctly.
If I recall correctly, that was somewhere around 4.2.

- Si


From: Gian Paolo Buono 

Sent: Tuesday, March 15, 2016 6:10 AM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Thank you it's correct :) , but now I have another question..

 From console of CloudStack I have deleted a snapshot, on the database the 
status is changed in Destroyed but the file it's stil on secondary storage:

ls -ltr d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
-rw-r--r-- 1 root root 1271296512 Mar 11 04:02 
d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd

Also in snapshots view sometimes the status is allocated...but what does it 
mean ?


Best Regards

On 03/15/2016 11:15 AM, Stavros Konstantaras wrote:

Hi Gian,

If you run the following query in MySQL and check the column “install_path” you 
will find the location of snapshot file in secondary storage:


I hope that it helps you.

Best Regards
Stavros



Stavros Konstantaras
Science faculty Research IT support (FEIOG)
University of Amsterdam, Science Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A



On 15 Mar 2016, at 11:11, Gian Paolo Buono 

 wrote:

Hi all, how can I know where are the snapshot file (vhd) on the
secondary storage ? Is there a mysql query ?

Kind regards











Re: [Where are the snapshot file]

2016-03-15 Thread Simon Weller
Gian,

What version of CloudStack are you running?

I recall (quite a long time ago), there was a bug where volumes and snapshots 
weren't getting cleaned up correctly. 
If I recall correctly, that was somewhere around 4.2.

- Si


From: Gian Paolo Buono 
Sent: Tuesday, March 15, 2016 6:10 AM
To: users@cloudstack.apache.org
Subject: Re: [Where are the snapshot file]

Thank you it's correct :) , but now I have another question..

 From console of CloudStack I have deleted a snapshot, on the database the 
status is changed in Destroyed but the file it's stil on secondary storage:

ls -ltr d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
-rw-r--r-- 1 root root 1271296512 Mar 11 04:02 
d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd

Also in snapshots view sometimes the status is allocated...but what does it 
mean ?


Best Regards

On 03/15/2016 11:15 AM, Stavros Konstantaras wrote:

Hi Gian,

If you run the following query in MySQL and check the column “install_path” you 
will find the location of snapshot file in secondary storage:


I hope that it helps you.

Best Regards
Stavros



Stavros Konstantaras
Science faculty Research IT support (FEIOG)
University of Amsterdam, Science Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A



On 15 Mar 2016, at 11:11, Gian Paolo Buono 
 wrote:

Hi all, how can I know where are the snapshot file (vhd) on the
secondary storage ? Is there a mysql query ?

Kind regards









[Migrate from Citrix CloudPlatform 4.3 to CloudStack 4.8]

2016-03-15 Thread Gian Paolo Buono
Hi all,

we have need to migrate from Citrix CloudPlatform 4.3 to CloudStack 4.8. 
I have read this post:

https://www.citrix.com/blogs/2014/04/01/citrix-cloudplatform-and-apache-cloudstack/

Do you think that is it possible without destroy our infrasctracture 
cloud ?

Best Regards
Gian Paolo

Re: [Where are the snapshot file]

2016-03-15 Thread Gian Paolo Buono
Thank you it's correct :) , but now I have another question..

 From console of CloudStack I have deleted a snapshot, on the database the 
status is changed in Destroyed but the file it's stil on secondary storage:

ls -ltr d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd
-rw-r--r-- 1 root root 1271296512 Mar 11 04:02 
d8736bdb-22c6-46fe-a27e-0ee5dc99a867.vhd

Also in snapshots view sometimes the status is allocated...but what does it 
mean ?


Best Regards

On 03/15/2016 11:15 AM, Stavros Konstantaras wrote:

Hi Gian,

If you run the following query in MySQL and check the column “install_path” you 
will find the location of snapshot file in secondary storage:


I hope that it helps you.

Best Regards
Stavros



Stavros Konstantaras
Science faculty Research IT support (FEIOG)
University of Amsterdam, Science Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A



On 15 Mar 2016, at 11:11, Gian Paolo Buono 
 wrote:

Hi all, how can I know where are the snapshot file (vhd) on the
secondary storage ? Is there a mysql query ?

Kind regards









Re: Unable to create a New VM - Error message: Unable to start instance due to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

2016-03-15 Thread Prashant Mishra
I checked logs you have provided could not see any development  on VM id:600 
,not even async job creation for that vm deployment . I saw some jobs(job-9066) 
are getting expired due to long wait time and other issues which you have 
already mentioned but could not relate these  to vm  id:600 deployment failure 
. For further investigationdb dump , and agent log in debug mode are needed.

Thanks
prashant

From: Glenn Wagner 
mailto:glenn.wag...@shapeblue.com>>
Reply-To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Date: Tuesday, March 15, 2016 at 12:07 PM
To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Subject: RE: Unable to create a New VM - Error message: Unable to start 
instance due to Unable to get answer that is of class 
com.cloud.agent.api.StartAnswer

Hi,

Can you explain your environment first , how many hosts , what is your 
hypervisors (KVM,Xenserver,VMware)

The error seems to be with your Host 5 Hypervisor
Resource [Host:5] is unreachable:

Go to the infrastructure section and see what host5 is reporting,
Have you tried to restart the agent on the Host?

Thanks
Glenn




[ShapeBlue]
Glenn Wagner
Senior Consultant   ,   ShapeBlue


d:   | s: +27 21 527 0091|  
m:  +27 73 917 4111

e:  glenn.wag...@shapeblue.com | t: 
 |  w:  
www.shapeblue.com

a:  2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 
South Africa


[cid:image4248bd.png@a5bb5798.45b972e8]


Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services 
India LLP is a company incorporated in India and is operated under license from 
Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in 
Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd 
is a company registered by The Republic of South Africa and is traded under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error.




-Original Message-
From: Nezar Madbouh [mailto:nezar.madb...@ipscape.com.au]
Sent: Tuesday, 15 March 2016 5:45 AM
To: users@cloudstack.apache.org
Subject: Re: Unable to create a New VM - Error message: Unable to start 
instance due to Unable to get answer that is of class 
com.cloud.agent.api.StartAnswer

Hi Jeremy,

I have uploaded the contents to http://pastebin.com/1J3mmgTh

your help is much appreciated,
Nezar.

On 15 March 2016 at 13:46, Jeremy Peterson 
mailto:jpeter...@acentek.net>> wrote:

> I don't see any attachments can you create a pastebin. That's easier
> to look through as I think attachments are removed before being sent
> to user group.
>
> Jeremy
>
>
>  Original message 
> From: Nezar Madbouh 
> mailto:nezar.madb...@ipscape.com.au>>
> Date: 3/14/2016 6:38 PM (GMT-06:00)
> To: users@cloudstack.apache.org
> Subject: Unable to create a New VM - Error message: Unable to start
> instance due to Unable to get answer that is of class
> com.cloud.agent.api.StartAnswer
>
> Hi Shweta and Sadhu,
>
> Please find attached managerment-server.log which contains the logs
> since I started creating a new VM (VM id 600).
>
> Please note that we don't have agent.log files
>
> Your help is much appreciated.
>
> Regards,
> Nezar.
>
Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build | 
CSForge - rapid IaaS deployment framework
CloudStack Consulting | 
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support | CloudStack 
Bootcamp Training Courses



DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify t

Re: Certification info

2016-03-15 Thread Dag Sonstebo
Hi Venkatesh,

first of all keep in mind the exam is written against CloudStack 4.4 - so 
concentrate on the documentation for this.

You have probably already reviewed the information on the exam site:
https://www.accel-exam.jp/en/index.html

https://www.accel-exam.jp/en/objectives.html

https://www.accel-exam.jp/en/exam.html#about-accel

https://www.accel-exam.jp/en/downloads/ACCEL_brochure_en.pdf



With regards to what to study - you probably want to cover all CloudStack 
documentation as well as playing with this in the lab.

For starters:
http://docs.cloudstack.apache.org/en/master/concepts.html


http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.4/


http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.4/


http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4.4/


https://cwiki.apache.org/confluence/display/CLOUDSTACK/Home



Dag Sonstebo
Cloud Architect
ShapeBlue






[ShapeBlue]
Dag Sonstebo
ShapeBlue

d:   | s: +44 203 603 0540

e:  dag.sonst...@shapeblue.com | t: 
 |  w:  
www.shapeblue.com

a:  53 Chandos Place, Covent Garden London WC2N 4HS UK


[cid:image0c6c51.png@8c5783e4.46a6d821]


Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services 
India LLP is a company incorporated in India and is operated under license from 
Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in 
Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd 
is a company registered by The Republic of South Africa and is traded under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error.




On 14/03/2016, 08:20, "kotipalli venkatesh"  
wrote:

>Hi All,
>
>I am planning write ACCEL.
>
>Is any one completed exam, Please share the knowledge.
>
>Please suggest some tips to clear the exam.
>
>Regards,
>Venkatesh.k
Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build | 
CSForge – rapid IaaS deployment framework
CloudStack Consulting | 
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support | CloudStack 
Bootcamp Training Courses


Re: [Where are the snapshot file]

2016-03-15 Thread Stavros Konstantaras
Hi Gian,

If you run the following query in MySQL and check the column “install_path” you 
will find the location of snapshot file in secondary storage:


I hope that it helps you.

Best Regards
Stavros



Stavros Konstantaras
Science faculty Research IT support (FEIOG) 
University of Amsterdam, Science Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763  3465 A8DC 7C92 330F D59A

> On 15 Mar 2016, at 11:11, Gian Paolo Buono  wrote:
> 
> Hi all, how can I know where are the snapshot file (vhd) on the 
> secondary storage ? Is there a mysql query ?
> 
> Kind regards
> 



[Where are the snapshot file]

2016-03-15 Thread Gian Paolo Buono
Hi all, how can I know where are the snapshot file (vhd) on the 
secondary storage ? Is there a mysql query ?

Kind regards



AW: IPs Getting Stuck on Multiple Routers

2016-03-15 Thread Sven Knohsalla
Hi,

we are running into the same problem.
Is there are workaround for this issue ?

Thanks in advance.

Regards,
Sven.

-Ursprüngliche Nachricht-
Von: Jeff Hair [mailto:j...@greenqloud.com] 
Gesendet: Dienstag, 15. März 2016 09:49
An: users@cloudstack.apache.org
Betreff: Re: IPs Getting Stuck on Multiple Routers

Thanks for the reply. Is there a JIRA ticket for this?

On Tue, Mar 15, 2016 at 6:35 AM, Sanjeev Neelarapu < 
sanjeev.neelar...@accelerite.com> wrote:

> Hi Jeff,
>
> This is a known issue and is hypervisor agnostic.
>
> -Sanjeev
>
> -Original Message-
> From: Jeff Hair [mailto:j...@greenqloud.com]
> Sent: Monday, March 14, 2016 10:06 PM
> To: users@cloudstack.apache.org
> Subject: IPs Getting Stuck on Multiple Routers
>
> Hi,
>
> If you disassociate a bunch of public IPs at once from an account, it 
> tends to be that the IPs are still stuck on the virtual router even 
> though they have been successfully released on the management server. 
> Another account later acquires that IP, and now two routers have the 
> same public IPs attached to them. This leads to intermittent 
> connectivity loss for the accounts.
>
> The only way currently to fix this is to restart network (not 
> acceptable in production environment) or to make some kind of cron job 
> which manually fixes broken IPs (barely any better).
>
> This happens at least on KVM. I assume it happens on other hypervisors 
> as well.
>
> Is this a known issue?
>
> Thanks,
>
> Jeff
>
>
>
> DISCLAIMER
> ==
> This e-mail may contain privileged and confidential information which 
> is the property of Accelerite, a Persistent Systems business. It is 
> intended only for the use of the individual or entity to which it is 
> addressed. If you are not the intended recipient, you are not 
> authorized to read, retain, copy, print, distribute or use this 
> message. If you have received this communication in error, please 
> notify the sender and delete all copies of this message. Accelerite, a 
> Persistent Systems business does not accept any liability for virus infected 
> mails.
>



--
*Jeff Hair*
Technical Lead and Software Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com


Re: IPs Getting Stuck on Multiple Routers

2016-03-15 Thread Jeff Hair
Thanks for the reply. Is there a JIRA ticket for this?

On Tue, Mar 15, 2016 at 6:35 AM, Sanjeev Neelarapu <
sanjeev.neelar...@accelerite.com> wrote:

> Hi Jeff,
>
> This is a known issue and is hypervisor agnostic.
>
> -Sanjeev
>
> -Original Message-
> From: Jeff Hair [mailto:j...@greenqloud.com]
> Sent: Monday, March 14, 2016 10:06 PM
> To: users@cloudstack.apache.org
> Subject: IPs Getting Stuck on Multiple Routers
>
> Hi,
>
> If you disassociate a bunch of public IPs at once from an account, it
> tends to be that the IPs are still stuck on the virtual router even though
> they have been successfully released on the management server. Another
> account later acquires that IP, and now two routers have the same public
> IPs attached to them. This leads to intermittent connectivity loss for the
> accounts.
>
> The only way currently to fix this is to restart network (not acceptable
> in production environment) or to make some kind of cron job which manually
> fixes broken IPs (barely any better).
>
> This happens at least on KVM. I assume it happens on other hypervisors as
> well.
>
> Is this a known issue?
>
> Thanks,
>
> Jeff
>
>
>
> DISCLAIMER
> ==
> This e-mail may contain privileged and confidential information which is
> the property of Accelerite, a Persistent Systems business. It is intended
> only for the use of the individual or entity to which it is addressed. If
> you are not the intended recipient, you are not authorized to read, retain,
> copy, print, distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all copies of
> this message. Accelerite, a Persistent Systems business does not accept any
> liability for virus infected mails.
>



-- 
*Jeff Hair*
Technical Lead and Software Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com