You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Celso Fernandes <fe...@zertico.com> on 2013/07/17 22:30:33 UTC

Secondary Storage Error

Hi Guys,

I'm experiencing some Secondary Storage error when creating the zone.

My NFS is ok, checked mounting in many ways from my xenserver host:

[root@xenserver1 ~]# mount -v -t nfs
192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
mount: trying 192.168.0.1 prog 100003 vers 3 prot tcp port 2049
mount: trying 192.168.0.1 prog 100005 vers 3 prot udp port 892
[root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
[root@xenserver1 ~]# cat /tmp/secondary/textfile
teststring
[root@xenserver1 ~]# rm /tmp/secondary/textfile
rm: remove arquivo comum `/tmp/secondary/textfile'? y
[root@xenserver1 ~]# umount /tmp/secondary

and using NFSv4

[root@xenserver1 ~]# mount -v -t nfs4
192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
mount: pinging: prog 100003 vers 4 prot tcp port 2049
[root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
[root@xenserver1 ~]# cat /tmp/secondary/textfile
teststring
[root@xenserver1 ~]# rm /tmp/secondary/textfile
rm: remove arquivo comum `/tmp/secondary/textfile'? y
[root@xenserver1 ~]# umount /tmp/secondary

filtered the exceptions from my log with:

[root@cloudstack export]# egrep --context 3 -i "^2013-07-17
17.*exception" /var/log/cloudstack/management/management-server.log
and putted in http://pastebin.com/p32Rgc05

Any help is really appreciated, and if someone needs further info to
help I can paste more from the log on pastebin

Thank you,
Celso Fernandes

www.zertico.com

+55 35 4105-0922
Av. BPS, 1303 - PCE - PCTI - Sala 10

Re: Secondary Storage Error

Posted by Dean Kamali <de...@gmail.com>.
My pleasure :)


On Mon, Jul 22, 2013 at 9:15 AM, Celso Fernandes <fe...@zertico.com>wrote:

> Hi Dean,
>
> Looks like NFSv4 was the problem.
>
> Thank you very much,
> Celso Fernandes
>
> www.zertico.com
>
> +55 35 4105-0922
> Av. BPS, 1303 - PCE - PCTI - Sala 10
>
>
> On Wed, Jul 17, 2013 at 5:34 PM, Dean Kamali <de...@gmail.com>
> wrote:
> > From my experience, I never had much success using NFSv4, I suggest you
> try
> > and disable NFSv4 and get your NFS server to use v3 only.
> >
> >
> > On Wed, Jul 17, 2013 at 4:31 PM, Celso Fernandes <fernandes@zertico.com
> >wrote:
> >
> >> Btw, I'm using Cloudstack 4.2 SNAPSHOT build the packages today.
> >>
> >> Thank you,
> >> Celso Fernandes
> >>
> >> www.zertico.com
> >>
> >> +55 35 4105-0922
> >> Av. BPS, 1303 - PCE - PCTI - Sala 10
> >>
> >>
> >> On Wed, Jul 17, 2013 at 5:30 PM, Celso Fernandes <fernandes@zertico.com
> >
> >> wrote:
> >> > Hi Guys,
> >> >
> >> > I'm experiencing some Secondary Storage error when creating the zone.
> >> >
> >> > My NFS is ok, checked mounting in many ways from my xenserver host:
> >> >
> >> > [root@xenserver1 ~]# mount -v -t nfs
> >> > 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> >> > mount: trying 192.168.0.1 prog 100003 vers 3 prot tcp port 2049
> >> > mount: trying 192.168.0.1 prog 100005 vers 3 prot udp port 892
> >> > [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> >> > [root@xenserver1 ~]# cat /tmp/secondary/textfile
> >> > teststring
> >> > [root@xenserver1 ~]# rm /tmp/secondary/textfile
> >> > rm: remove arquivo comum `/tmp/secondary/textfile'? y
> >> > [root@xenserver1 ~]# umount /tmp/secondary
> >> >
> >> > and using NFSv4
> >> >
> >> > [root@xenserver1 ~]# mount -v -t nfs4
> >> > 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> >> > mount: pinging: prog 100003 vers 4 prot tcp port 2049
> >> > [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> >> > [root@xenserver1 ~]# cat /tmp/secondary/textfile
> >> > teststring
> >> > [root@xenserver1 ~]# rm /tmp/secondary/textfile
> >> > rm: remove arquivo comum `/tmp/secondary/textfile'? y
> >> > [root@xenserver1 ~]# umount /tmp/secondary
> >> >
> >> > filtered the exceptions from my log with:
> >> >
> >> > [root@cloudstack export]# egrep --context 3 -i "^2013-07-17
> >> > 17.*exception" /var/log/cloudstack/management/management-server.log
> >> > and putted in http://pastebin.com/p32Rgc05
> >> >
> >> > Any help is really appreciated, and if someone needs further info to
> >> > help I can paste more from the log on pastebin
> >> >
> >> > Thank you,
> >> > Celso Fernandes
> >> >
> >> > www.zertico.com
> >> >
> >> > +55 35 4105-0922
> >> > Av. BPS, 1303 - PCE - PCTI - Sala 10
> >>
>

Re: Secondary Storage Error

Posted by Celso Fernandes <fe...@zertico.com>.
Hi Dean,

Looks like NFSv4 was the problem.

Thank you very much,
Celso Fernandes

www.zertico.com

+55 35 4105-0922
Av. BPS, 1303 - PCE - PCTI - Sala 10


On Wed, Jul 17, 2013 at 5:34 PM, Dean Kamali <de...@gmail.com> wrote:
> From my experience, I never had much success using NFSv4, I suggest you try
> and disable NFSv4 and get your NFS server to use v3 only.
>
>
> On Wed, Jul 17, 2013 at 4:31 PM, Celso Fernandes <fe...@zertico.com>wrote:
>
>> Btw, I'm using Cloudstack 4.2 SNAPSHOT build the packages today.
>>
>> Thank you,
>> Celso Fernandes
>>
>> www.zertico.com
>>
>> +55 35 4105-0922
>> Av. BPS, 1303 - PCE - PCTI - Sala 10
>>
>>
>> On Wed, Jul 17, 2013 at 5:30 PM, Celso Fernandes <fe...@zertico.com>
>> wrote:
>> > Hi Guys,
>> >
>> > I'm experiencing some Secondary Storage error when creating the zone.
>> >
>> > My NFS is ok, checked mounting in many ways from my xenserver host:
>> >
>> > [root@xenserver1 ~]# mount -v -t nfs
>> > 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
>> > mount: trying 192.168.0.1 prog 100003 vers 3 prot tcp port 2049
>> > mount: trying 192.168.0.1 prog 100005 vers 3 prot udp port 892
>> > [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
>> > [root@xenserver1 ~]# cat /tmp/secondary/textfile
>> > teststring
>> > [root@xenserver1 ~]# rm /tmp/secondary/textfile
>> > rm: remove arquivo comum `/tmp/secondary/textfile'? y
>> > [root@xenserver1 ~]# umount /tmp/secondary
>> >
>> > and using NFSv4
>> >
>> > [root@xenserver1 ~]# mount -v -t nfs4
>> > 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
>> > mount: pinging: prog 100003 vers 4 prot tcp port 2049
>> > [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
>> > [root@xenserver1 ~]# cat /tmp/secondary/textfile
>> > teststring
>> > [root@xenserver1 ~]# rm /tmp/secondary/textfile
>> > rm: remove arquivo comum `/tmp/secondary/textfile'? y
>> > [root@xenserver1 ~]# umount /tmp/secondary
>> >
>> > filtered the exceptions from my log with:
>> >
>> > [root@cloudstack export]# egrep --context 3 -i "^2013-07-17
>> > 17.*exception" /var/log/cloudstack/management/management-server.log
>> > and putted in http://pastebin.com/p32Rgc05
>> >
>> > Any help is really appreciated, and if someone needs further info to
>> > help I can paste more from the log on pastebin
>> >
>> > Thank you,
>> > Celso Fernandes
>> >
>> > www.zertico.com
>> >
>> > +55 35 4105-0922
>> > Av. BPS, 1303 - PCE - PCTI - Sala 10
>>

Re: Secondary Storage Error

Posted by Dean Kamali <de...@gmail.com>.
>From my experience, I never had much success using NFSv4, I suggest you try
and disable NFSv4 and get your NFS server to use v3 only.


On Wed, Jul 17, 2013 at 4:31 PM, Celso Fernandes <fe...@zertico.com>wrote:

> Btw, I'm using Cloudstack 4.2 SNAPSHOT build the packages today.
>
> Thank you,
> Celso Fernandes
>
> www.zertico.com
>
> +55 35 4105-0922
> Av. BPS, 1303 - PCE - PCTI - Sala 10
>
>
> On Wed, Jul 17, 2013 at 5:30 PM, Celso Fernandes <fe...@zertico.com>
> wrote:
> > Hi Guys,
> >
> > I'm experiencing some Secondary Storage error when creating the zone.
> >
> > My NFS is ok, checked mounting in many ways from my xenserver host:
> >
> > [root@xenserver1 ~]# mount -v -t nfs
> > 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> > mount: trying 192.168.0.1 prog 100003 vers 3 prot tcp port 2049
> > mount: trying 192.168.0.1 prog 100005 vers 3 prot udp port 892
> > [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> > [root@xenserver1 ~]# cat /tmp/secondary/textfile
> > teststring
> > [root@xenserver1 ~]# rm /tmp/secondary/textfile
> > rm: remove arquivo comum `/tmp/secondary/textfile'? y
> > [root@xenserver1 ~]# umount /tmp/secondary
> >
> > and using NFSv4
> >
> > [root@xenserver1 ~]# mount -v -t nfs4
> > 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> > mount: pinging: prog 100003 vers 4 prot tcp port 2049
> > [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> > [root@xenserver1 ~]# cat /tmp/secondary/textfile
> > teststring
> > [root@xenserver1 ~]# rm /tmp/secondary/textfile
> > rm: remove arquivo comum `/tmp/secondary/textfile'? y
> > [root@xenserver1 ~]# umount /tmp/secondary
> >
> > filtered the exceptions from my log with:
> >
> > [root@cloudstack export]# egrep --context 3 -i "^2013-07-17
> > 17.*exception" /var/log/cloudstack/management/management-server.log
> > and putted in http://pastebin.com/p32Rgc05
> >
> > Any help is really appreciated, and if someone needs further info to
> > help I can paste more from the log on pastebin
> >
> > Thank you,
> > Celso Fernandes
> >
> > www.zertico.com
> >
> > +55 35 4105-0922
> > Av. BPS, 1303 - PCE - PCTI - Sala 10
>

Re: Secondary Storage Error

Posted by Celso Fernandes <fe...@zertico.com>.
Btw, I'm using Cloudstack 4.2 SNAPSHOT build the packages today.

Thank you,
Celso Fernandes

www.zertico.com

+55 35 4105-0922
Av. BPS, 1303 - PCE - PCTI - Sala 10


On Wed, Jul 17, 2013 at 5:30 PM, Celso Fernandes <fe...@zertico.com> wrote:
> Hi Guys,
>
> I'm experiencing some Secondary Storage error when creating the zone.
>
> My NFS is ok, checked mounting in many ways from my xenserver host:
>
> [root@xenserver1 ~]# mount -v -t nfs
> 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> mount: trying 192.168.0.1 prog 100003 vers 3 prot tcp port 2049
> mount: trying 192.168.0.1 prog 100005 vers 3 prot udp port 892
> [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> [root@xenserver1 ~]# cat /tmp/secondary/textfile
> teststring
> [root@xenserver1 ~]# rm /tmp/secondary/textfile
> rm: remove arquivo comum `/tmp/secondary/textfile'? y
> [root@xenserver1 ~]# umount /tmp/secondary
>
> and using NFSv4
>
> [root@xenserver1 ~]# mount -v -t nfs4
> 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> mount: pinging: prog 100003 vers 4 prot tcp port 2049
> [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> [root@xenserver1 ~]# cat /tmp/secondary/textfile
> teststring
> [root@xenserver1 ~]# rm /tmp/secondary/textfile
> rm: remove arquivo comum `/tmp/secondary/textfile'? y
> [root@xenserver1 ~]# umount /tmp/secondary
>
> filtered the exceptions from my log with:
>
> [root@cloudstack export]# egrep --context 3 -i "^2013-07-17
> 17.*exception" /var/log/cloudstack/management/management-server.log
> and putted in http://pastebin.com/p32Rgc05
>
> Any help is really appreciated, and if someone needs further info to
> help I can paste more from the log on pastebin
>
> Thank you,
> Celso Fernandes
>
> www.zertico.com
>
> +55 35 4105-0922
> Av. BPS, 1303 - PCE - PCTI - Sala 10