Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-110307

volume.status_detail broken in upstream module

    XMLWordPrintable

    Details

      Description

      >>> volume.status_detail('cluster04')
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/glustercli/cli/parsers.py", line 268, in _parse_volume_status
          nodes.append(_parse_a_node(node_el))
        File "/usr/lib/python3/dist-packages/glustercli/cli/parsers.py", line 235, in _parse_a_node
          'size_total': int(node_el.find('sizeTotal').text),
      AttributeError: 'NoneType' object has no attribute 'text'

      Happens when a brick is offline.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                caleb Caleb St. John
                Reporter:
                caleb Caleb St. John
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: