add-chassis with virsh doesn't work anymore
Bug #2058626 reported by
Radu Popescu
This bug report is a duplicate of:
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error).
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Undecided
|
Unassigned |
Bug Description
add-chassis with virsh doesn't work anymore.
virsh -c qemu+ssh:
Whenever I try with both SSH keys or user/password, MAAS doesn't even try to login to the remote host.
Nothing relevant in the logs. All I can see is the API request coming to region controller.
MAAS version: 3.4.1-14343-
To post a comment you must log in.
Might be related to: https:/ /bugs.launchpad .net/maas/ +bug/2053033
maas.log shows:
./common/ log/maas. log:2024- 03-21T20: 00:49.079689+ 00:00 maas maas.rpc.cluster: [error] Failed to probe and enlist virsh nodes: Failed to login to virsh console. log/maas. log:2024- 03-21T20: 06:16.106421+ 00:00 maas maas.rpc.cluster: [error] Failed to probe and enlist virsh nodes: Failed to login to virsh console. log/maas. log:2024- 03-21T20: 06:43.983522+ 00:00 maas maas.rpc.cluster: [error] Failed to probe and enlist virsh nodes: Failed to login to virsh console. log/maas. log:2024- 03-21T20: 11:50.136092+ 00:00 maas maas.rpc.cluster: [error] Failed to probe and enlist virsh nodes: Failed to login to virsh console. log/maas. log:2024- 03-21T20: 13:41.665473+ 00:00 maas maas.rpc.cluster: [error] Failed to probe and enlist virsh nodes: Failed to login to virsh console.
./common/
./common/
./common/
./common/
and /var/log/kern.log:
./kern.log:Mar 21 20:06:16 maas kernel: [105847.495815] audit: type=1400 audit(171105157 6.000:1963) : apparmor="DENIED" operation="exec" profile= "snap.maas. supervisor" name="/ usr/bin/ pkttyagent" pid=139536 comm="virsh" requested_mask="x" denied_mask="x" fsuid=0 ouid=0 3.874:1964) : apparmor="DENIED" operation="exec" profile= "snap.maas. supervisor" name="/ usr/bin/ pkttyagent" pid=139556 comm="virsh" requested_mask="x" denied_mask="x" fsuid=0 ouid=0 0.024:1970) : apparmor="DENIED" operation="exec" profile= "snap.maas. supervisor" name="/ usr/bin/ pkttyagent" pid=140558 comm="virsh" requested_mask="x" denied_mask="x" fsuid=0 ouid=0 1.557:1976) : apparmor="DENIED" operation="exec" profile= "snap.maas. supervisor" name="/ usr/bin/ pkttyagent" pid=141295 comm="virsh" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
./kern.log:Mar 21 20:06:43 maas kernel: [105875.373362] audit: type=1400 audit(171105160
./kern.log:Mar 21 20:11:50 maas kernel: [106181.519394] audit: type=1400 audit(171105191
./kern.log:Mar 21 20:13:41 maas kernel: [106293.055388] audit: type=1400 audit(171105202