vm-hosts read type=virsh returns Connection refused

Bug #2007868 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned
3.3
Triaged
Low
Unassigned

Bug Description

It is 3.2.7 RC1 test run, encountered this first time

2023-02-20-16:02:39 root ERROR [localhost] Command failed: maas root vm-hosts read type=virsh
2023-02-20-16:02:39 root ERROR [localhost] STDOUT follows:
b''
2023-02-20-16:02:39 root ERROR [localhost] STDERR follows:
Traceback (most recent call last):
  File "/snap/maas/26146/bin/maas", line 8, in <module>
    sys.exit(main())
  File "/snap/maas/26146/lib/python3.8/site-packages/maascli/__init__.py", line 39, in main
    options.execute(options)
  File "/snap/maas/26146/lib/python3.8/site-packages/maascli/api.py", line 143, in __call__
    response, content = http_request(
  File "/snap/maas/26146/lib/python3.8/site-packages/maascli/api.py", line 51, in http_request
    return http.request(url, method, body=body, headers=headers)
  File "/snap/maas/26146/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1948, in request
    (response, content) = self._request(
  File "/snap/maas/26146/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1621, in _request
    (response, content) = self._conn_request(
  File "/snap/maas/26146/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1528, in _conn_request
    conn.connect()
  File "/snap/maas/26146/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1224, in connect
    raise socket_err
  File "/snap/maas/26146/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1198, in connect
    self.sock.connect((self.host, self.port) + sa[2:])
ConnectionRefusedError: [Errno 111] Connection refused

logs - https://oil-jenkins.canonical.com/artifacts/9d371783-127a-4e74-849c-6151ba14c348/generated/generated/maas/logs-2023-02-20-16.08.44/10.244.40.30.tgz

summary: - maas root vm-hosts read type=virsh returns Connection refused
+ vm-hosts read type=virsh returns Connection refused
Bill Wear (billwear)
Changed in maas:
status: New → Triaged
importance: Undecided → Low
Bill Wear (billwear)
Changed in maas:
milestone: none → 3.4.0
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.