Connecting to KVM does not support using ssh keys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato | ||
2.7 |
Fix Released
|
High
|
Alberto Donato | ||
2.8 |
Fix Released
|
High
|
Alberto Donato |
Bug Description
# snap info maas
[ snip ]
installed: 2.7.0-8135-
Adding KVM to a snap installed MAAS does not appear to work, example address: 'qemu+ssh:
Excerpt from /var/snap/
2019-11-13 09:15:20 provisioningser
Traceback (most recent call last):
File "/snap/
self.
File "/snap/
self.
File "/snap/
current.result = callback(
File "/snap/
_inlineCal
--- <exception caught here> ---
File "/snap/
result = result.
File "/snap/
return g.throw(self.type, self.value, self.tb)
File "/snap/
conn = yield self.get_
File "/snap/
result = g.send(result)
File "/snap/
raise VirshError("Failed to login to virsh console.")
provisioningse
This happens if no ssh password is provided, as ssh keys are currently not supported in the snap
Related branches
- Björn Tillenius: Approve
-
Diff: 38 lines (+8/-0)3 files modifiedsnap/hooks/install (+1/-0)
snap/local/tree/bin/maas-deb-migrate (+5/-0)
snap/snapcraft.yaml (+2/-0)
summary: |
- [snap] Connect to KVM does not work, missing `virsh` in snap? + [snap] Connecting to KVM does not support using ssh keys |
description: | updated |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in maas: | |
assignee: | nobody → Alberto Donato (ack) |
status: | Triaged → In Progress |
milestone: | none → 2.7.1 |
summary: |
- [snap] Connecting to KVM does not support using ssh keys + Connecting to KVM does not support using ssh keys |
Changed in maas: | |
importance: | Medium → High |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hi, are you specifying a password for ssh?