Re: Cloudstack API list all VMs

2014-03-02 Thread Daan Hoogland
H Rafael, You probably found out by now and sorry for the late reply but just for the record; no. As the UI does it you would need to do two calls; one for the regular and one for the project vms. regards, Daan On Fri, Feb 14, 2014 at 1:54 PM, Rafael Weingartner wrote: > Hi folks, > I was tryin

Re: Failing to add Primary storage

2014-03-02 Thread Nishan Sanjeewa Gunasekara
Yes. Host is shown as online. Strange thing is cloudstack tries to create an SR for primary storage and times out on that. I can see that sr from xencenter. But it's broken and cannot be deleted as well. Only way to reuse this host is to reinstall xen. Any thoughts? Regards On Mar 2, 2014 6:09 PM,

ALARM - ACS reboots host servers!!!

2014-03-02 Thread Andrei Mikhailovsky
Hello guys, I've recently came across the bug CLOUDSTACK-5429 which has rebooted all of my host servers without properly shutting down the guest vms. I've simply upgraded and rebooted one of the nfs primary storage servers and a few minutes later, to my horror, i've found out that all of my h

Re: ALARM - ACS reboots host servers!!!

2014-03-02 Thread Nux!
On 02.03.2014 21:17, Andrei Mikhailovsky wrote: Hello guys, I've recently came across the bug CLOUDSTACK-5429 which has rebooted all of my host servers without properly shutting down the guest vms. I've simply upgraded and rebooted one of the nfs primary storage servers and a few minutes later,

Re: Failing to add Primary storage

2014-03-02 Thread Geoff Higginbottom
What is providing hosting primary storage and was nfs set up in line with install docs e.g. To configure the new directories as NFS exports, edit /etc/exports. Export the NFS share(s) with rw,async,no_root_squash. For example: # vi /etc/exports Insert the following line. /export *(rw,async,no_r

Re: KVM

2014-03-02 Thread María Noelia Gil
When I run "CloudStack-setup-agent" shows the following: Starting to configure your system: Configure Apparmor ...[OK] Configure Network ... [OK] Configure Libvirt ... [OK] Configure Firewall ... [OK] Configure Nfs ... [OK] Configure cloudAgent ...

Re: KVM

2014-03-02 Thread Nux!
On 02.03.2014 23:40, María Noelia Gil wrote: (main:null) LibVirt version 0.9.10 required for guest cpu mode, but version 0.9.8 detected, so it will be disabled Maria, What distribution are you running there? Libvirt seems quite old. Current libvirt in CentOS 6 is 0.10.2. Lucian -- Sent fro

Re: KVM

2014-03-02 Thread María Noelia Gil
I am using ubuntu 12.04. Libvirt version which is installed using "apt-get install libvirt-bin”. I tried installing libvirt 0.9.10, but requires installing gnutls and I can not install this package. El 03/03/2014, a las 00:45, Nux! escribió: > What distribution are you running there? Libvirt

Re: KVM

2014-03-02 Thread Marcus
It doesn't look like you've enabled debug, you're only getting WARN and INFO messages. Please enable debug. On Sun, Mar 2, 2014 at 4:40 PM, María Noelia Gil wrote: > When I run "CloudStack-setup-agent" shows the following: > > Starting to configure your system: > Configure Apparmor ...[OK

Re: ALARM - ACS reboots host servers!!!

2014-03-02 Thread Marcus
I'm not sure I understand. How do you expect to reboot your primary storage while vms are running? It sounds like the host is being fenced since it cannot contact the resources it depends on. On Sun, Mar 2, 2014 at 3:24 PM, Nux! wrote: > On 02.03.2014 21:17, Andrei Mikhailovsky wrote: >> >> Hell

Re: ALARM - ACS reboots host servers!!!

2014-03-02 Thread Marcus
Or do you mean you have multiple primary storages and this one was not in use and put into maintenance? On Sun, Mar 2, 2014 at 5:25 PM, Marcus wrote: > I'm not sure I understand. How do you expect to reboot your primary > storage while vms are running? It sounds like the host is being > fenced s

Re: ALARM - ACS reboots host servers!!!

2014-03-02 Thread Marcus
Also, please note that in the bug you referenced it doesn't have a problem with the reboot being triggered, but with the fact that reboot never completes due to hanging NFS mount (which is why the reboot occurs, inaccessible primary storage). On Sun, Mar 2, 2014 at 5:26 PM, Marcus wrote: > Or do

Re: Failing to add Primary storage

2014-03-02 Thread Nishan Sanjeewa Gunasekara
Hi Geoff, You are right, it was a problem with my storage server. Got it fixed. All good. Thank you very much. // Nishan On Mon, Mar 3, 2014 at 9:48 AM, Geoff Higginbottom < geoff.higginbot...@shapeblue.com> wrote: > What is providing hosting primary storage and was nfs set up in line with > in

Re: ALARM - ACS reboots host servers!!!

2014-03-02 Thread Koushik Das
The primary storage needs to be put in maintenance before doing any upgrade/reboot as mentioned in the previous mails. -Koushik On 03-Mar-2014, at 6:07 AM, Marcus wrote: > Also, please note that in the bug you referenced it doesn't have a > problem with the reboot being triggered, but with the

RE: Unable to deploy vm

2014-03-02 Thread Sanjeev Neelarapu
Hi Tejas, It is recommended to use a clean secondary storage for storing all the artificats, otherwise CS might overwrite since it follows standard directory structure for storing templates. So please clean your storage before adding it to CS. Thanks, Sanjeev -Original Message- From: