Sorry compile-time error in this

Use this:

if el.find('stripeCount') is not None:
value['stripeCount'] = el.find('stripeCount').text
else:
value['stripeCount'] = 1


On Wed, May 11, 2022 at 11:07 AM Ritesh Chikatwar <rchikatw@redhat.com> wrote:
and once you have done the changes Restart VDSM and SuperVDSM, then your host should be able to connect 

On Wed, May 11, 2022 at 10:33 AM Ritesh Chikatwar <rchikatw@redhat.com> wrote:
Hey Jose,


If still have a setup can you try replacing with this
if el.find('stripeCount'):
value['stripeCount'] = el.find('stripeCount').text
else:
value['stripeCount'] = '1'
can you try replacing with this

On Wed, Apr 27, 2022 at 9:48 PM José Ferradeira via Users <users@ovirt.org> wrote:
It did not work

Thanks


De: "Abe E" <aellahib@gmail.com>
Para: users@ovirt.org
Enviadas: Quarta-feira, 27 De Abril de 2022 15:58:01
Assunto: [ovirt-users] Re: Host cannot connect to storage domains

I think you're running into that bug, someone mentioned the following which seemed to work for my nodes that complained of not being able to connect to the storage pool.

The following fix worked for me, i.e. replacing the following line in
/usr/lib/python3.6/site-packages/vdsm/gluster/cli.y


Replace: value['stripeCount'] =el.find('stripeCount').text

With: if (el.find('stripeCount')): value['stripeCount'] = el.find('stripeCount').text

Restart VSMD and SuperVSMD and then your host should be able to connect if you have the same issue
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/TWTFZ4VHKSEABMEZYMDUJI2PUYA24XMU/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/22NF5BKNFPDVS3OGITBIM3XVFZJVCO2H/