OpenVZ Forum


Home » Mailing lists » Users » Conf file corruption
Conf file corruption [message #11571] Tue, 27 March 2007 12:38 Go to next message
jarcher is currently offline  jarcher
Messages: 91
Registered: August 2006
Location: Smithfield, Rhode Island
Member
Has anyone here seen their conf files get corrupted? I am finding that
when I change the value of a parameter using vzctl set while the VPS is
running, that a big chunk from the middle of my conf file gets duplicated
near the bottom of the file.

This could be because I added many lines of comments to the file and it's
bigger than the distributed files. I think it also happens when I use
vzcfgvalidate in interactive mode.

Has anyone else seen this?
Re: Conf file corruption [message #11572 is a reply to message #11571] Tue, 27 March 2007 12:52 Go to previous messageGo to next message
Jan Tomasek is currently offline  Jan Tomasek
Messages: 44
Registered: December 2006
Member
Jim Archer wrote:
> Has anyone here seen their conf files get corrupted? I am finding that
> when I change the value of a parameter using vzctl set while the VPS is
> running, that a big chunk from the middle of my conf file gets
> duplicated near the bottom of the file.
>
> This could be because I added many lines of comments to the file and
> it's bigger than the distributed files. I think it also happens when I
> use vzcfgvalidate in interactive mode.
>
> Has anyone else seen this?

Yes, I'd seen some binary data after end of my config files - multiple
times.

Well... I was lazy to report that, I only removed that in vim. ;)

Best regards
--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/
Re: Conf file corruption [message #11573 is a reply to message #11572] Tue, 27 March 2007 13:05 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Jan Tomasek wrote:
> Jim Archer wrote:
>
>>Has anyone here seen their conf files get corrupted? I am finding that
>>when I change the value of a parameter using vzctl set while the VPS is
>>running, that a big chunk from the middle of my conf file gets
>>duplicated near the bottom of the file.
>>
>>This could be because I added many lines of comments to the file and
>>it's bigger than the distributed files. I think it also happens when I
>>use vzcfgvalidate in interactive mode.
>>
>>Has anyone else seen this?
>
>
> Yes, I'd seen some binary data after end of my config files - multiple
> times.
>
> Well... I was lazy to report that, I only removed that in vim. ;)
have you used vzcfgvalidate as well or vzctl only?

Thanks,
Kirill
Re: Conf file corruption [message #11574 is a reply to message #11573] Tue, 27 March 2007 13:12 Go to previous messageGo to next message
Jan Tomasek is currently offline  Jan Tomasek
Messages: 44
Registered: December 2006
Member
Kirill Korotaev wrote:
> Jan Tomasek wrote:
>> Well... I was lazy to report that, I only removed that in vim. ;)
> have you used vzcfgvalidate as well or vzctl only?

I'm mainly using vzctl or direct file editation in vim, in past I also
few times used vzcfgvalidate, but I'm unable to recall when exactly and
in which order.

That's reason why I didn't report this, I don't known how to reproduce
problem and it didn't seam be critical as those binary data were always
at end of config file and VE was able start/stop correctly.

--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/
Re: Conf file corruption [message #11575 is a reply to message #11571] Tue, 27 March 2007 13:44 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Jim Archer wrote:
> Has anyone here seen their conf files get corrupted? I am finding
> that when I change the value of a parameter using vzctl set while the
> VPS is running, that a big chunk from the middle of my conf file gets
> duplicated near the bottom of the file.
>
> This could be because I added many lines of comments to the file and
> it's bigger than the distributed files. I think it also happens when
> I use vzcfgvalidate in interactive mode.
>
> Has anyone else seen this?
>
Hello, can you attach here this unusual config file and tell us how to
reproduce the problem?

Thank you,
Vasily.
Re: Conf file corruption [message #11594 is a reply to message #11574] Tue, 27 March 2007 22:36 Go to previous messageGo to next message
jarcher is currently offline  jarcher
Messages: 91
Registered: August 2006
Location: Smithfield, Rhode Island
Member
--On Tuesday, March 27, 2007 3:12 PM +0200 Jan Tomasek <jan@tomasek.cz>
wrote:

> Kirill Korotaev wrote:
> That's reason why I didn't report this, I don't known how to reproduce
> problem and it didn't seam be critical as those binary data were always
> at end of config file and VE was able start/stop correctly.

Well in my case, there is a little binary data added but also chunks of the
text seem repeated. I just did something very simple:

vzcfg create 5000 --config vps.b1


I attached to this email both the ve-vps.b1.conf-sample and also the
resulting 5000.conf file. The 5000.conf file is corrupted. I didn't even
start the VPS.

I am running on Debian Etch AMD64 with a prebuilt 2.6.18 kernel. I'll look
for other ways to cause this to happen, but if anyone has any questions in
the mean time just let me know.
Re: Conf file corruption [message #11601 is a reply to message #11594] Wed, 28 March 2007 06:50 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Jim,

Jim Archer wrote:
> --On Tuesday, March 27, 2007 3:12 PM +0200 Jan Tomasek <jan@tomasek.cz>
> wrote:
>
>
>>Kirill Korotaev wrote:
>>That's reason why I didn't report this, I don't known how to reproduce
>>problem and it didn't seam be critical as those binary data were always
>>at end of config file and VE was able start/stop correctly.
>
>
> Well in my case, there is a little binary data added but also chunks of the
> text seem repeated. I just did something very simple:
>
> vzcfg create 5000 --config vps.b1
>
>
> I attached to this email both the ve-vps.b1.conf-sample and also the
> resulting 5000.conf file. The 5000.conf file is corrupted. I didn't even
> start the VPS.
>
> I am running on Debian Etch AMD64 with a prebuilt 2.6.18 kernel. I'll look
> for other ways to cause this to happen, but if anyone has any questions in
> the mean time just let me know.
is it 100% reproducable on your machine?
can you please also provide vzctl version you use:
# vzctl --version

I've create a bug http://bugzilla.openvz.org/show_bug.cgi?id=515
will try to reproduce and analyze.

if you have any other sample/examples of how to trigger this,
please add this info to the bug.

Thanks a lot,
Kirill
Re: Conf file corruption [message #11616 is a reply to message #11601] Wed, 28 March 2007 19:16 Go to previous messageGo to next message
Mike Holloway is currently offline  Mike Holloway
Messages: 8
Registered: February 2007
Junior Member
I've also observed this issue, under FC5 on intel x86_64 smp (duo-
core xeon dual processor) hardware, about 4 months ago (sorry, I
can't provide the versions I was testing then, 2.6.16_testing kernel
and some version of vzctl). I only observed the binary 'fluff' at
the very end of the .conf file on that one occasion, I simply vi'd
the file and corrected it.


-mike



On Mar 28, 2007, at 2:02 AM, Kirill Korotaev wrote:

> Jim,
>
> Jim Archer wrote:
>> --On Tuesday, March 27, 2007 3:12 PM +0200 Jan Tomasek
>> <jan@tomasek.cz>
>> wrote:
>>
>>
>>> Kirill Korotaev wrote:
>>> That's reason why I didn't report this, I don't known how to
>>> reproduce
>>> problem and it didn't seam be critical as those binary data were
>>> always
>>> at end of config file and VE was able start/stop correctly.
>>
>>
>> Well in my case, there is a little binary data added but also
>> chunks of the
>> text seem repeated. I just did something very simple:
>>
>> vzcfg create 5000 --config vps.b1
>>
>>
>> I attached to this email both the ve-vps.b1.conf-sample and also the
>> resulting 5000.conf file. The 5000.conf file is corrupted. I
>> didn't even
>> start the VPS.
>>
>> I am running on Debian Etch AMD64 with a prebuilt 2.6.18 kernel.
>> I'll look
>> for other ways to cause this to happen, but if anyone has any
>> questions in
>> the mean time just let me know.
> is it 100% reproducable on your machine?
> can you please also provide vzctl version you use:
> # vzctl --version
>
> I've create a bug http://bugzilla.openvz.org/show_bug.cgi?id=515
> will try to reproduce and analyze.
>
> if you have any other sample/examples of how to trigger this,
> please add this info to the bug.
>
> Thanks a lot,
> Kirill
>
Re: Conf file corruption [message #11620 is a reply to message #11616] Thu, 29 March 2007 07:56 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Guys, one more question, have you used precompiled vzctl or compile it
by your self?

Thanks.

Mike Holloway wrote:
>
> I've also observed this issue, under FC5 on intel x86_64 smp (duo-core
> xeon dual processor) hardware, about 4 months ago (sorry, I can't
> provide the versions I was testing then, 2.6.16_testing kernel and
> some version of vzctl). I only observed the binary 'fluff' at the
> very end of the .conf file on that one occasion, I simply vi'd the
> file and corrected it.
>
>
> -mike
>
>
>
> On Mar 28, 2007, at 2:02 AM, Kirill Korotaev wrote:
>
>> Jim,
>>
>> Jim Archer wrote:
>>> --On Tuesday, March 27, 2007 3:12 PM +0200 Jan Tomasek <jan@tomasek.cz>
>>> wrote:
>>>
>>>
>>>> Kirill Korotaev wrote:
>>>> That's reason why I didn't report this, I don't known how to reproduce
>>>> problem and it didn't seam be critical as those binary data were
>>>> always
>>>> at end of config file and VE was able start/stop correctly.
>>>
>>>
>>> Well in my case, there is a little binary data added but also chunks
>>> of the
>>> text seem repeated. I just did something very simple:
>>>
>>> vzcfg create 5000 --config vps.b1
>>>
>>>
>>> I attached to this email both the ve-vps.b1.conf-sample and also the
>>> resulting 5000.conf file. The 5000.conf file is corrupted. I
>>> didn't even
>>> start the VPS.
>>>
>>> I am running on Debian Etch AMD64 with a prebuilt 2.6.18 kernel.
>>> I'll look
>>> for other ways to cause this to happen, but if anyone has any
>>> questions in
>>> the mean time just let me know.
>> is it 100% reproducable on your machine?
>> can you please also provide vzctl version you use:
>> # vzctl --version
>>
>> I've create a bug http://bugzilla.openvz.org/show_bug.cgi?id=515
>> will try to reproduce and analyze.
>>
>> if you have any other sample/examples of how to trigger this,
>> please add this info to the bug.
>>
>> Thanks a lot,
>> Kirill
>>
Re: Conf file corruption [message #11621 is a reply to message #11620] Thu, 29 March 2007 08:03 Go to previous messageGo to next message
jarcher is currently offline  jarcher
Messages: 91
Registered: August 2006
Location: Smithfield, Rhode Island
Member
I used the vzctl installed as a Debian package from ststs.org. I have not
compiled any of the OpenVZ code at all.


--On Thursday, March 29, 2007 11:56 AM +0400 Vasily Tarasov
<vtaras@openvz.org> wrote:

> Guys, one more question, have you used precompiled vzctl or compile it
> by your self?
>
> Thanks.
>
> Mike Holloway wrote:
>>
>> I've also observed this issue, under FC5 on intel x86_64 smp (duo-core
>> xeon dual processor) hardware, about 4 months ago (sorry, I can't
>> provide the versions I was testing then, 2.6.16_testing kernel and
>> some version of vzctl). I only observed the binary 'fluff' at the
>> very end of the .conf file on that one occasion, I simply vi'd the
>> file and corrected it.
>>
>>
>> -mike
>>
>>
>>
>> On Mar 28, 2007, at 2:02 AM, Kirill Korotaev wrote:
>>
>>> Jim,
>>>
>>> Jim Archer wrote:
>>>> --On Tuesday, March 27, 2007 3:12 PM +0200 Jan Tomasek <jan@tomasek.cz>
>>>> wrote:
>>>>
>>>>
>>>>> Kirill Korotaev wrote:
>>>>> That's reason why I didn't report this, I don't known how to reproduce
>>>>> problem and it didn't seam be critical as those binary data were
>>>>> always
>>>>> at end of config file and VE was able start/stop correctly.
>>>>
>>>>
>>>> Well in my case, there is a little binary data added but also chunks
>>>> of the
>>>> text seem repeated. I just did something very simple:
>>>>
>>>> vzcfg create 5000 --config vps.b1
>>>>
>>>>
>>>> I attached to this email both the ve-vps.b1.conf-sample and also the
>>>> resulting 5000.conf file. The 5000.conf file is corrupted. I
>>>> didn't even
>>>> start the VPS.
>>>>
>>>> I am running on Debian Etch AMD64 with a prebuilt 2.6.18 kernel.
>>>> I'll look
>>>> for other ways to cause this to happen, but if anyone has any
>>>> questions in
>>>> the mean time just let me know.
>>> is it 100% reproducable on your machine?
>>> can you please also provide vzctl version you use:
>>> # vzctl --version
>>>
>>> I've create a bug http://bugzilla.openvz.org/show_bug.cgi?id=515
>>> will try to reproduce and analyze.
>>>
>>> if you have any other sample/examples of how to trigger this,
>>> please add this info to the bug.
>>>
>>> Thanks a lot,
>>> Kirill
>>>
Re: Conf file corruption [message #11622 is a reply to message #11620] Thu, 29 March 2007 08:06 Go to previous messageGo to next message
Jan Tomasek is currently offline  Jan Tomasek
Messages: 44
Registered: December 2006
Member
Vasily Tarasov wrote:
> Guys, one more question, have you used precompiled vzctl or compile it
> by your self?

I'm using vzctl package from Debian Etch.

--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/
Re: Conf file corruption [message #11626 is a reply to message #11620] Thu, 29 March 2007 15:05 Go to previous message
Mike Holloway is currently offline  Mike Holloway
Messages: 8
Registered: February 2007
Junior Member
I had installed vzctl via the openvz yum repo at that time.


-mike



On Mar 29, 2007, at 2:56 AM, Vasily Tarasov wrote:

> Guys, one more question, have you used precompiled vzctl or compile it
> by your self?
>
> Thanks.
Previous Topic: How to specify my own init program ?
Next Topic: ovzkernel-devel missing ub directory
Goto Forum:
  


Current Time: Sat Apr 27 07:13:13 GMT 2024

Total time taken to generate the page: 0.02182 seconds