code: def read(self, entity=None, attrs=None, ignore=None, params=None):
          
          if ignore is None:
              ignore = set()
          ignore.add('root_pass')
          ignore.add('kickstart_repository')
  
          if attrs is None:
              attrs = self.read_json()
          attrs['parent_id'] = attrs.pop('ancestry')  # either an ID or None
          version = _get_version(self._server_config)
          if version >= Version('6.1') and version < Version('6.2'):
              # We cannot call `self.update_json([])`, as an ID might not be
              # present on self. However, `attrs` is guaranteed to have an ID.
              attrs2 = HostGroup(
                  self._server_config,
                  id=attrs['id']
              ).update_json([])
              for attr in ('content_source_id',
                           'content_view_id',
                           'lifecycle_environment_id'):
                  attrs[attr] = attrs2.get(attr)
          return super(HostGroup, self).read(entity, attrs, ignore, params)
docs: Deal with several bugs.
  
          For more information, see:
  
          * `Bugzilla #1235377
            <https://bugzilla.redhat.com/show_bug.cgi?id=1235377>`_
          * `Bugzilla #1235379
            <https://bugzilla.redhat.com/show_bug.cgi?id=1235379>`_
          * `Bugzilla #1450379
            <https://bugzilla.redhat.com/show_bug.cgi?id=1450379>`_