Bug filed

https://bugzilla.redhat.com/show_bug.cgi?id=1637302


On Mon, 8 Oct 2018 at 11:21, Sahina Bose <sabose@redhat.com> wrote:
Thanks for reporting this issue. Can you please log a bug report on this?

On Mon, Oct 8, 2018 at 3:20 PM Kaustav Majumder <kmajumde@redhat.com> wrote:
Hi,
You can find the related logs in  supervdsm.log

MainProcess|jsonrpc/4::DEBUG::2018-10-05 06:05:18,038::commands::65::root::(execCmd) /usr/bin/taskset --cpu-list 0-3 /usr/sbin/gluster --mode=script volume heal gv0 info --xml (cwd None)
MainProcess|jsonrpc/4::ERROR::2018-10-05 06:05:18,282::supervdsm_server::100::SuperVdsm.ServerCallback::(wrapper) Error in volumeHealInfo
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/supervdsm_server.py", line 98, in wrapper
    res = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/gluster/cli.py", line 1617, in volumeHealInfo
    raise ge.GlusterXmlErrorException(err=[etree.tostring(xmltree)])
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1126, in tostring
    ElementTree(element).write(file, encoding, method=method)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 817, in write
    self._root, encoding, default_namespace
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 876, in _namespaces
    iterate = elem.getiterator # cET compatibility
AttributeError: 'bool' object has no attribute 'getiterator'

Thanks, 
Kaustav

On Mon, Oct 8, 2018 at 2:58 PM Piotr Kliczewski <piotr.kliczewski@gmail.com> wrote:
This error was raised on vdsm side here [1]. I was unable to find
'getiterator' in vdsm code based.
Please provide gluster related logs.

This error means that 'bool' object had no attribute 'getiterator' and
the call failed with runtime issue.

Thanks,
Piotr

[1] https://github.com/oVirt/vdsm/blob/ce0721dbf5fbdd2a9a6ee6fd30e0e2bc9e138ef9/lib/yajsonrpc/__init__.py#L351
On Mon, Oct 8, 2018 at 7:32 AM Maton, Brett <matonb@ltresources.co.uk> wrote:
>
> Sure, log attached this one does have the JSON_RPC errors in it.
>
> Thanks,
> Brett
>
> On Mon, 8 Oct 2018 at 06:08, Kaustav Majumder <kmajumde@redhat.com> wrote:
>>
>> Hi ,
>> I don't see any errors in the vdsm logs you have sent. Can you forward  engine.log as well
>>
>> On Fri, Oct 5, 2018 at 11:56 AM Sahina Bose <sabose@redhat.com> wrote:
>>>
>>> Can you provide the vdsm.log and supervdsm.log with the relevant log.
>>> Adding Kaustav to look into this
>>>
>>> On Fri, Oct 5, 2018 at 11:00 AM Maton, Brett <matonb@ltresources.co.uk> wrote:
>>>>
>>>>
>>>> I'm seeing the following errors appear in the event log every 10 minutes for each participating host in the gluster cluster
>>>>
>>>> GetGlusterVolumeHealInfoVDS failed: Internal JSON-RPC error: {'reason': "'bool' object has no attribute 'getiterator'"}
>>>>
>>>> Gluster brick health is good
>>>>
>>>> Any ideas ?
>>>>
>>>> oVirt 4.2.7.2-1.el7
>>>> CentOS 7
>>>>
>>>> _______________________________________________
>>>> Users mailing list -- users@ovirt.org
>>>> To unsubscribe send an email to users-leave@ovirt.org
>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
>>>> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/2KLFU2C5UHDFLTH3XUHZ5DGF7WVNGNJZ/
>>
>>
>>
>> Thanks,
>> Kaustav
>
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/IQBRQLRUEIDVMJTNZWWB3SHFDM5RJXNE/


--

KAUSTAV MAJUMDER

ASSOCIATE SOFTWARE ENGINEER

Red Hat India PVT LTD.

kmajumder@redhat.com    M: 08981884037     IM: IRC: kmajumder

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/7VWHIQIHSGHMLVUFD4KEYMFO5ZL4XC45/