Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-21 Thread Yaniv Kaul
On Fri, Apr 21, 2017 at 4:38 PM, Rafał Wojciechowski <
i...@rafalwojciechowski.pl> wrote:

> hi,
>
> my issue was related to bug in libvirtd.
> it was found in core dump by libvirt team
>
> "
>
> I'll send a patch to upstream libvirt to fix this crash.  However it can take
> a while to get it back to CentOS/RHEL.  The source of this crash is that you
> have a "tun0" network interface without IP address and that interface is
> checked before "ovirtmgmt" and it causes the crash.  You can workaround it
> by removing the "tun0" interface if it doesn't have any IP address.
>
> Pavel
>
> "
>
> workaround is working fine for me.
>

Thanks for following this!
Any idea how did you get to have the tun0 there in the first place?
Y.

Regards,
> Rafal Wojciechowski
>
> W dniu 18.04.2017 o 16:55, Rafał Wojciechowski pisze:
>
> hi,
>
> I was unable to just remove glibc and install it again - I have
> reinstalled it and rebooted the machine but it was not fixed anything
> Thanks anyway.
>
> Regards,
> Rafal Wojciechowski
> W dniu 18.04.2017 o 10:53, Yanir Quinn pisze:
>
> Hi Rafal
> not sure it relates to your issue, but i experienced a similar issue with
> segfault (running on fedora 25)
> to resolve it i had to remove glibc packages and then install them again
> (maybe a same workaround for libvirt will do the job here)
>
> Regards
> Yanir Quinn
>
> On Tue, Apr 18, 2017 at 9:32 AM, Francesco Romani 
> wrote:
>
>>
>>
>> On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
>> >
>> > hello,
>> >
>> > I made comparison(+diff) between xml passing through vdsm which is
>> > working and another one which cause libvirtd segfault
>> >
>> > https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl
>> 5M1UNdIGYhyRLivL9gydE=
>> >
>> >
>> > I am not sure if below setting are fine but I dont know how to change
>> them
>> >
>> > 
>> > (I dont have so much ram and vgamem)
>> >
>>
>> those are kibibytes though
>> (https://libvirt.org/formatdomain.html#elementsVideo), are pretty
>> conservarvative settings
>> >
>> > > > passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1"
>> type="spice">
>> > (ports with "-"? maybe it is fine because of autoport settings...)
>> >
>>
>> Yes, "-1" means "autoallocation from libvirt".
>> I don't see obvious issues in this XML, and, most importantly, one
>> invalid XML should never cause libvirtd to segfault.
>>
>> I'd file a libvirt bug.
>>
>>
>> --
>> Francesco Romani
>> Senior SW Eng., Virtualization R
>> Red Hat
>> IRC: fromani github: @fromanirh
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-21 Thread Rafał Wojciechowski

hello,

I am not sure.
I have simple openvpn client profile with systemd enabled on boot time, 
but I think I was not included it anywhere for libvirt/ovirt purpose.


also strange for me was statement that this interface was without IP - 
this interface should be up with IP after connection established... but 
anyway even if some dependencies occurs, then it should be handled 
somehow with proper error.


Regards,

Rafal Wojciechowski


W dniu 21.04.2017 o 17:41, Yaniv Kaul pisze:



On Fri, Apr 21, 2017 at 4:38 PM, Rafał Wojciechowski 
> wrote:


hi,

my issue was related to bug in libvirtd.
it was found in core dump by libvirt team

"

I'll send a patch to upstream libvirt to fix this crash.  However it can 
take
a while to get it back to CentOS/RHEL.  The source of this crash is that you
have a "tun0" network interface without IP address and that interface is
checked before "ovirtmgmt" and it causes the crash.  You can workaround it
by removing the "tun0" interface if it doesn't have any IP address.

Pavel

"

workaround is working fine for me.


Thanks for following this!
Any idea how did you get to have the tun0 there in the first place?
Y.

Regards,
Rafal Wojciechowski

W dniu 18.04.2017 o 16:55, Rafał Wojciechowski pisze:


hi,

I was unable to just remove glibc and install it again - I have
reinstalled it and rebooted the machine but it was not fixed anything
Thanks anyway.

Regards,
Rafal Wojciechowski

W dniu 18.04.2017 o 10:53, Yanir Quinn pisze:

Hi Rafal
not sure it relates to your issue, but i experienced a similar
issue with segfault (running on fedora 25)
to resolve it i had to remove glibc packages and then install
them again (maybe a same workaround for libvirt will do the job
here)

Regards
Yanir Quinn

On Tue, Apr 18, 2017 at 9:32 AM, Francesco Romani
> wrote:



On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
>
> hello,
>
> I made comparison(+diff) between xml passing through vdsm
which is
> working and another one which cause libvirtd segfault
>
>

https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE=


>
>
> I am not sure if below setting are fine but I dont know
how to change them
>
> 
> (I dont have so much ram and vgamem)
>

those are kibibytes though
(https://libvirt.org/formatdomain.html#elementsVideo
), are
pretty
conservarvative settings
>
>  passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1"
type="spice">
> (ports with "-"? maybe it is fine because of autoport
settings...)
>

Yes, "-1" means "autoallocation from libvirt".
I don't see obvious issues in this XML, and, most
importantly, one
invalid XML should never cause libvirtd to segfault.

I'd file a libvirt bug.


--
Francesco Romani
Senior SW Eng., Virtualization R
Red Hat
IRC: fromani github: @fromanirh

___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users







___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users


___ Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-21 Thread Rafał Wojciechowski

hi,

my issue was related to bug in libvirtd.
it was found in core dump by libvirt team

"

I'll send a patch to upstream libvirt to fix this crash.  However it can take
a while to get it back to CentOS/RHEL.  The source of this crash is that you
have a "tun0" network interface without IP address and that interface is
checked before "ovirtmgmt" and it causes the crash.  You can workaround it
by removing the "tun0" interface if it doesn't have any IP address.

Pavel

"

workaround is working fine for me.

Regards,
Rafal Wojciechowski

W dniu 18.04.2017 o 16:55, Rafał Wojciechowski pisze:


hi,

I was unable to just remove glibc and install it again - I have 
reinstalled it and rebooted the machine but it was not fixed anything

Thanks anyway.

Regards,
Rafal Wojciechowski

W dniu 18.04.2017 o 10:53, Yanir Quinn pisze:

Hi Rafal
not sure it relates to your issue, but i experienced a similar issue 
with segfault (running on fedora 25)
to resolve it i had to remove glibc packages and then install them 
again (maybe a same workaround for libvirt will do the job here)


Regards
Yanir Quinn

On Tue, Apr 18, 2017 at 9:32 AM, Francesco Romani > wrote:




On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
>
> hello,
>
> I made comparison(+diff) between xml passing through vdsm which is
> working and another one which cause libvirtd segfault
>
>

https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE=


>
>
> I am not sure if below setting are fine but I dont know how to
change them
>
> 
> (I dont have so much ram and vgamem)
>

those are kibibytes though
(https://libvirt.org/formatdomain.html#elementsVideo
), are pretty
conservarvative settings
>
>  passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1"
type="spice">
> (ports with "-"? maybe it is fine because of autoport settings...)
>

Yes, "-1" means "autoallocation from libvirt".
I don't see obvious issues in this XML, and, most importantly, one
invalid XML should never cause libvirtd to segfault.

I'd file a libvirt bug.


--
Francesco Romani
Senior SW Eng., Virtualization R
Red Hat
IRC: fromani github: @fromanirh

___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users







___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-18 Thread Rafał Wojciechowski

hi,

I was unable to just remove glibc and install it again - I have 
reinstalled it and rebooted the machine but it was not fixed anything

Thanks anyway.

Regards,
Rafal Wojciechowski

W dniu 18.04.2017 o 10:53, Yanir Quinn pisze:

Hi Rafal
not sure it relates to your issue, but i experienced a similar issue 
with segfault (running on fedora 25)
to resolve it i had to remove glibc packages and then install them 
again (maybe a same workaround for libvirt will do the job here)


Regards
Yanir Quinn

On Tue, Apr 18, 2017 at 9:32 AM, Francesco Romani > wrote:




On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
>
> hello,
>
> I made comparison(+diff) between xml passing through vdsm which is
> working and another one which cause libvirtd segfault
>
>

https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE=


>
>
> I am not sure if below setting are fine but I dont know how to
change them
>
> 
> (I dont have so much ram and vgamem)
>

those are kibibytes though
(https://libvirt.org/formatdomain.html#elementsVideo
), are pretty
conservarvative settings
>
>  passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1"
type="spice">
> (ports with "-"? maybe it is fine because of autoport settings...)
>

Yes, "-1" means "autoallocation from libvirt".
I don't see obvious issues in this XML, and, most importantly, one
invalid XML should never cause libvirtd to segfault.

I'd file a libvirt bug.


--
Francesco Romani
Senior SW Eng., Virtualization R
Red Hat
IRC: fromani github: @fromanirh

___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-18 Thread Yanir Quinn
Hi Rafal
not sure it relates to your issue, but i experienced a similar issue with
segfault (running on fedora 25)
to resolve it i had to remove glibc packages and then install them again
(maybe a same workaround for libvirt will do the job here)

Regards
Yanir Quinn

On Tue, Apr 18, 2017 at 9:32 AM, Francesco Romani 
wrote:

>
>
> On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
> >
> > hello,
> >
> > I made comparison(+diff) between xml passing through vdsm which is
> > working and another one which cause libvirtd segfault
> >
> > https://paste.fedoraproject.org/paste/eqpe8Byu2l-
> 3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE=
> >
> >
> > I am not sure if below setting are fine but I dont know how to change
> them
> >
> > 
> > (I dont have so much ram and vgamem)
> >
>
> those are kibibytes though
> (https://libvirt.org/formatdomain.html#elementsVideo), are pretty
> conservarvative settings
> >
> >  > passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice">
> > (ports with "-"? maybe it is fine because of autoport settings...)
> >
>
> Yes, "-1" means "autoallocation from libvirt".
> I don't see obvious issues in this XML, and, most importantly, one
> invalid XML should never cause libvirtd to segfault.
>
> I'd file a libvirt bug.
>
>
> --
> Francesco Romani
> Senior SW Eng., Virtualization R
> Red Hat
> IRC: fromani github: @fromanirh
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-18 Thread Francesco Romani


On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
>
> hello,
>
> I made comparison(+diff) between xml passing through vdsm which is
> working and another one which cause libvirtd segfault
>
> https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE=
>
>
> I am not sure if below setting are fine but I dont know how to change them
>
> 
> (I dont have so much ram and vgamem)
>

those are kibibytes though
(https://libvirt.org/formatdomain.html#elementsVideo), are pretty
conservarvative settings
>
>  passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice">
> (ports with "-"? maybe it is fine because of autoport settings...)
>

Yes, "-1" means "autoallocation from libvirt".
I don't see obvious issues in this XML, and, most importantly, one
invalid XML should never cause libvirtd to segfault.

I'd file a libvirt bug.


-- 
Francesco Romani
Senior SW Eng., Virtualization R
Red Hat
IRC: fromani github: @fromanirh

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-18 Thread Rafał Wojciechowski

hello,

I made comparison(+diff) between xml passing through vdsm which is 
working and another one which cause libvirtd segfault


https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE= 



I am not sure if below setting are fine but I dont know how to change them


(I dont have so much ram and vgamem)

passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice">

(ports with "-"? maybe it is fine because of autoport settings...)


Regards,
Rafal Wojciechowski


hello,

I extracted xml from /var/log/core for some test VM and tried to 
validy via virt-xml-validate

maybe it could help in this case

https://paste.fedoraproject.org/paste/F878jO-16OEQZAQX0imQx15M1UNdIGYhyRLivL9gydE=


Regards,
Rafal Wojciechowski



hi,

I will add few informations:

currently I am using:

libvirt-daemon-kvm-2.0.0-10.el7_3.5.x86_64
libvirt-daemon-driver-qemu-2.0.0-10.el7_3.5.x86_64
qemu-kvm-ev-2.6.0-28.el7_3.6.1.x86_64
ovirt-engine-4.1.1.8-1.el7.centos.noarch(I tried update, to see if it 
will help but nothing has changed)


same problem exists with SELinux and without SELinux(now it is in 
permissive mode; after the reboot)


Regards,
Rafal Wojciechowski

W dniu 14.04.2017 o 15:39, Sandro Bonazzola pisze:

Adding Francesco and Michal

On Sun, Apr 9, 2017 at 1:05 PM, Rafał Wojciechowski 
> wrote:


hi, I am having some problems after upgrade Ovirt from 4.0 to 4.1
version. I made full reinstall of Ovirt, but it seems to be not
ovirt upgrade related problem(libvirt)
strange thing is that I am able to run any VM in headless mode
without console
and with Console(spice) it it throwing error like here

https://paste.fedoraproject.org/paste/4WZIackx7ndzv2Kg-ucybl5M1UNdIGYhyRLivL9gydE=


if someone knows the resolution here I will be very happy to apply it


___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users





--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

  
TRIED. TESTED. TRUSTED. 





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-17 Thread Rafał Wojciechowski

hello,

I extracted xml from /var/log/core for some test VM and tried to validy 
via virt-xml-validate

maybe it could help in this case

https://paste.fedoraproject.org/paste/F878jO-16OEQZAQX0imQx15M1UNdIGYhyRLivL9gydE=


Regards,
Rafal Wojciechowski


hi,

I will add few informations:

currently I am using:

libvirt-daemon-kvm-2.0.0-10.el7_3.5.x86_64
libvirt-daemon-driver-qemu-2.0.0-10.el7_3.5.x86_64
qemu-kvm-ev-2.6.0-28.el7_3.6.1.x86_64
ovirt-engine-4.1.1.8-1.el7.centos.noarch(I tried update, to see if it 
will help but nothing has changed)


same problem exists with SELinux and without SELinux(now it is in 
permissive mode; after the reboot)


Regards,
Rafal Wojciechowski

W dniu 14.04.2017 o 15:39, Sandro Bonazzola pisze:

Adding Francesco and Michal

On Sun, Apr 9, 2017 at 1:05 PM, Rafał Wojciechowski 
> wrote:


hi, I am having some problems after upgrade Ovirt from 4.0 to 4.1
version. I made full reinstall of Ovirt, but it seems to be not
ovirt upgrade related problem(libvirt)
strange thing is that I am able to run any VM in headless mode
without console
and with Console(spice) it it throwing error like here

https://paste.fedoraproject.org/paste/4WZIackx7ndzv2Kg-ucybl5M1UNdIGYhyRLivL9gydE=


if someone knows the resolution here I will be very happy to apply it


___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users





--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

  
TRIED. TESTED. TRUSTED. 





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-14 Thread Rafał Wojciechowski

hi,

I will add few informations:

currently I am using:

libvirt-daemon-kvm-2.0.0-10.el7_3.5.x86_64
libvirt-daemon-driver-qemu-2.0.0-10.el7_3.5.x86_64
qemu-kvm-ev-2.6.0-28.el7_3.6.1.x86_64
ovirt-engine-4.1.1.8-1.el7.centos.noarch(I tried update, to see if it 
will help but nothing has changed)


same problem exists with SELinux and without SELinux(now it is in 
permissive mode; after the reboot)


Regards,
Rafal Wojciechowski

W dniu 14.04.2017 o 15:39, Sandro Bonazzola pisze:

Adding Francesco and Michal

On Sun, Apr 9, 2017 at 1:05 PM, Rafał Wojciechowski 
> wrote:


hi, I am having some problems after upgrade Ovirt from 4.0 to 4.1
version. I made full reinstall of Ovirt, but it seems to be not
ovirt upgrade related problem(libvirt)
strange thing is that I am able to run any VM in headless mode
without console
and with Console(spice) it it throwing error like here

https://paste.fedoraproject.org/paste/4WZIackx7ndzv2Kg-ucybl5M1UNdIGYhyRLivL9gydE=


if someone knows the resolution here I will be very happy to apply it


___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users





--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

  
TRIED. TESTED. TRUSTED. 



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-14 Thread Sandro Bonazzola
Adding Francesco and Michal

On Sun, Apr 9, 2017 at 1:05 PM, Rafał Wojciechowski <
i...@rafalwojciechowski.pl> wrote:

> hi, I am having some problems after upgrade Ovirt from 4.0 to 4.1 version.
> I made full reinstall of Ovirt, but it seems to be not ovirt upgrade
> related problem(libvirt)
> strange thing is that I am able to run any VM in headless mode without
> console
> and with Console(spice) it it throwing error like here
> https://paste.fedoraproject.org/paste/4WZIackx7ndzv2Kg-
> ucybl5M1UNdIGYhyRLivL9gydE=
> if someone knows the resolution here I will be very happy to apply it
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

TRIED. TESTED. TRUSTED. 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users