You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Pere Casas Puig <pc...@gmail.com> on 2014/08/15 17:15:49 UTC

Problem with secondary storage and start VM

Hello,
We are new in Cloudstack, we want to deploy a medium cloud, and now we
testing cloudstack in LAB.

This is our scenario:
192.168.150.99 => storage server ( CENTOS65 +NFS )
192.168.150.100=> cloudstack-management ( CENTOS65 )
192.168.150.101=> KVM host ( CENTOS65 )

192.168.150.99:
[root@storage ~]# cat /etc/exports
/exports/  *(rw,async,no_root_squash,no_subtree_check)
/exports/primary/  *(rw,async,no_root_squash,no_subtree_check)
/exports/secondary/  *(rw,async,no_root_squash,no_subtree_check)


The problem is I can not use the secondary storage.
In the UI no show any error but is not possible to download ISOs and
TEMPLATES.
Is not possible to start the virtual machine( Secondary Storage VM
 && Console Proxy VM )

In terminal, i test to mount manually de secondary storage. It's posible:
---
mount -v -t nfs 192.168.150.99:/exports/secondary /mnt
mount.nfs: timeout set for Fri Aug 15 17:10:00 2014
mount.nfs: trying text-based options
'noac,actimeo=0,vers=4,addr=192.168.150.99,clientaddr=192.168.150.101'
192.168.150.99:/exports/secondary on /mnt type nfs (rw,noac,actimeo=0)
---

I research in log ( /var/log/cloudstack/management/management-server.log )
but i don't find anything important.


Any idea for this problem?

Thanks !!

Best regards,


---
Pere Casas Puig

Re: Problem with secondary storage and start VM

Posted by Pere Casas Puig <pc...@gmail.com>.
Finally I start SSVM.
The problem was in libvirt ( kvm host )
I only restart service and VM start to running ;)

Thanks you !!!


2014-08-15 18:08 GMT+02:00 Pere Casas Puig <pc...@gmail.com>:

> Hi,
> My ssvm not started. I think this is the problem, but i don't find the
> problem :(
>
> Now SSVM state is "starting" but never start.
>
> i don't find logs in /var/log/cloud.log but I paste management logs:
> http://pastebin.com/j0JuCjdG
>
>
> 2014-08-15 17:19 GMT+02:00 Erik Weber <te...@gmail.com>:
>
> Has your ssvm started? Can you see its console? Check /var/log/cloud.log on
>> it
>>
>> Erik
>> 15. aug. 2014 17:16 skrev "Pere Casas Puig" <pc...@gmail.com>
>> følgende:
>>
>> > Hello,
>> > We are new in Cloudstack, we want to deploy a medium cloud, and now we
>> > testing cloudstack in LAB.
>> >
>> > This is our scenario:
>> > 192.168.150.99 => storage server ( CENTOS65 +NFS )
>> > 192.168.150.100=> cloudstack-management ( CENTOS65 )
>> > 192.168.150.101=> KVM host ( CENTOS65 )
>> >
>> > 192.168.150.99:
>> > [root@storage ~]# cat /etc/exports
>> > /exports/  *(rw,async,no_root_squash,no_subtree_check)
>> > /exports/primary/  *(rw,async,no_root_squash,no_subtree_check)
>> > /exports/secondary/  *(rw,async,no_root_squash,no_subtree_check)
>> >
>> >
>> > The problem is I can not use the secondary storage.
>> > In the UI no show any error but is not possible to download ISOs and
>> > TEMPLATES.
>> > Is not possible to start the virtual machine( Secondary Storage VM
>> >  && Console Proxy VM )
>> >
>> > In terminal, i test to mount manually de secondary storage. It's
>> posible:
>> > ---
>> > mount -v -t nfs 192.168.150.99:/exports/secondary /mnt
>> > mount.nfs: timeout set for Fri Aug 15 17:10:00 2014
>> > mount.nfs: trying text-based options
>> > 'noac,actimeo=0,vers=4,addr=192.168.150.99,clientaddr=192.168.150.101'
>> > 192.168.150.99:/exports/secondary on /mnt type nfs (rw,noac,actimeo=0)
>> > ---
>> >
>> > I research in log (
>> /var/log/cloudstack/management/management-server.log )
>> > but i don't find anything important.
>> >
>> >
>> > Any idea for this problem?
>> >
>> > Thanks !!
>> >
>> > Best regards,
>> >
>> >
>> > ---
>> > Pere Casas Puig
>> >
>>
>
>
>
> --
> ---
> Pere Casas Puig
>
>


-- 
---
Pere Casas Puig

Re: Problem with secondary storage and start VM

Posted by Pere Casas Puig <pc...@gmail.com>.
Hi,
My ssvm not started. I think this is the problem, but i don't find the
problem :(

Now SSVM state is "starting" but never start.

i don't find logs in /var/log/cloud.log but I paste management logs:
http://pastebin.com/j0JuCjdG


2014-08-15 17:19 GMT+02:00 Erik Weber <te...@gmail.com>:

> Has your ssvm started? Can you see its console? Check /var/log/cloud.log on
> it
>
> Erik
> 15. aug. 2014 17:16 skrev "Pere Casas Puig" <pc...@gmail.com>
> følgende:
>
> > Hello,
> > We are new in Cloudstack, we want to deploy a medium cloud, and now we
> > testing cloudstack in LAB.
> >
> > This is our scenario:
> > 192.168.150.99 => storage server ( CENTOS65 +NFS )
> > 192.168.150.100=> cloudstack-management ( CENTOS65 )
> > 192.168.150.101=> KVM host ( CENTOS65 )
> >
> > 192.168.150.99:
> > [root@storage ~]# cat /etc/exports
> > /exports/  *(rw,async,no_root_squash,no_subtree_check)
> > /exports/primary/  *(rw,async,no_root_squash,no_subtree_check)
> > /exports/secondary/  *(rw,async,no_root_squash,no_subtree_check)
> >
> >
> > The problem is I can not use the secondary storage.
> > In the UI no show any error but is not possible to download ISOs and
> > TEMPLATES.
> > Is not possible to start the virtual machine( Secondary Storage VM
> >  && Console Proxy VM )
> >
> > In terminal, i test to mount manually de secondary storage. It's posible:
> > ---
> > mount -v -t nfs 192.168.150.99:/exports/secondary /mnt
> > mount.nfs: timeout set for Fri Aug 15 17:10:00 2014
> > mount.nfs: trying text-based options
> > 'noac,actimeo=0,vers=4,addr=192.168.150.99,clientaddr=192.168.150.101'
> > 192.168.150.99:/exports/secondary on /mnt type nfs (rw,noac,actimeo=0)
> > ---
> >
> > I research in log ( /var/log/cloudstack/management/management-server.log
> )
> > but i don't find anything important.
> >
> >
> > Any idea for this problem?
> >
> > Thanks !!
> >
> > Best regards,
> >
> >
> > ---
> > Pere Casas Puig
> >
>



-- 
---
Pere Casas Puig

Re: Problem with secondary storage and start VM

Posted by Erik Weber <te...@gmail.com>.
Has your ssvm started? Can you see its console? Check /var/log/cloud.log on
it

Erik
15. aug. 2014 17:16 skrev "Pere Casas Puig" <pc...@gmail.com>
følgende:

> Hello,
> We are new in Cloudstack, we want to deploy a medium cloud, and now we
> testing cloudstack in LAB.
>
> This is our scenario:
> 192.168.150.99 => storage server ( CENTOS65 +NFS )
> 192.168.150.100=> cloudstack-management ( CENTOS65 )
> 192.168.150.101=> KVM host ( CENTOS65 )
>
> 192.168.150.99:
> [root@storage ~]# cat /etc/exports
> /exports/  *(rw,async,no_root_squash,no_subtree_check)
> /exports/primary/  *(rw,async,no_root_squash,no_subtree_check)
> /exports/secondary/  *(rw,async,no_root_squash,no_subtree_check)
>
>
> The problem is I can not use the secondary storage.
> In the UI no show any error but is not possible to download ISOs and
> TEMPLATES.
> Is not possible to start the virtual machine( Secondary Storage VM
>  && Console Proxy VM )
>
> In terminal, i test to mount manually de secondary storage. It's posible:
> ---
> mount -v -t nfs 192.168.150.99:/exports/secondary /mnt
> mount.nfs: timeout set for Fri Aug 15 17:10:00 2014
> mount.nfs: trying text-based options
> 'noac,actimeo=0,vers=4,addr=192.168.150.99,clientaddr=192.168.150.101'
> 192.168.150.99:/exports/secondary on /mnt type nfs (rw,noac,actimeo=0)
> ---
>
> I research in log ( /var/log/cloudstack/management/management-server.log )
> but i don't find anything important.
>
>
> Any idea for this problem?
>
> Thanks !!
>
> Best regards,
>
>
> ---
> Pere Casas Puig
>