Questions tagged [multipass]

12 questions
2
votes
1 answer

How to export Kubernetes ports to macOS host?

I want to setup a local Kubernetes cluster for testing on macOS. I selected microk8s provided by Canonical. Kubernetes doesn't run native on macOS, but uses a Linux VM provided by multipass. Installation was smooth and deployment of the…
stwissel
  • 680
  • 2
  • 8
  • 22
1
vote
1 answer

multipass moving data directory fail

I am following: https://github.com/canonical/multipass/pull/1789 and https://lucasroesler.com/posts/2020/multipass-data-partition/ to move MULTIPASS_STORAGE to another location, but I am not lucky. I am setting…
Raul Cejas
  • 111
  • 2
1
vote
0 answers

Instance created in multipass without IP address

The error is the following, when creating an instance in multipass it is created without an IP address. I run the multipass launch command, and the instance is created normally. C:\Windows\system32>multipass launch Launched:…
Esteban_G5
  • 11
  • 2
1
vote
1 answer

How to modfiy multipass default iptables rules?

I have several multipass instances running in an Ubuntu 18 environment. These are webservers for development and should be accessible in my local network. To allow connections from other computers on the network I used iptables to change the…
0
votes
0 answers

Port forwarding multipass instance on windows 10 (hyper-v manager)

I'm currently using Multipass on my Windows 10 machine and I'm having trouble setting up virtual switch for my Multipass instance. I want to create a mail server and send mails over the internet. Can someone guide me on how to properly configure…
0
votes
0 answers

Communicating with VM on remote host (How to configure routing)

I am running an Ubuntu 20.04 LTS Focal Server and am tying to stand up VMs on the server using Multipass. I am able to successfully launch VMs and can ssh to them from the server. However I am unable to establish an ssh session from my laptop and…
klog
  • 101
0
votes
0 answers

multipass list failed: failed to determine IP address

When I run multipass list I am getting: list failed: failed to determine IP address. sudo journalctl -u snap.lxd.daemon -n 300 lxd.daemon[3050]: time="2023-04-02T17:03:10-03:00" level=warning msg="Could not get VM state from agent" err="dial unix…
Raul Cejas
  • 111
  • 2
0
votes
0 answers

multipass no running after restart service

multipass is not running: abr 02 21:44:21 raul-MAX-L5 dnsmasq[7213]: failed to create listening socket for 10.209.23.1: Address already in use abr 02 21:44:21 raul-MAX-L5 dnsmasq[7213]: FAILED to start up abr 02 21:44:21 raul-MAX-L5…
Raul Cejas
  • 111
  • 2
0
votes
1 answer

multipass cloud-init.yaml ssh asks for password

I am trying to get ssh working in multipass, so I can ssh user@ip -i key.pub not using multipass shell. I am using the following cloud-init: ssh-keygen -C vmadmin -f user_key users: - default - name: vmadmin sudo: ALL=(ALL) NOPASSWD:ALL …
Chris G.
  • 207
  • 1
  • 9
0
votes
1 answer

Give VM a static ipv6 address

I am a ”networking beginner“, so I hope this question makes sense. I have an Ubuntu 22.04 server and a virtual machine based on qemu/multipass (also running Ubuntu 22.04). The goal is to have the web server running in the vm. I use port forwarding…
topskip
  • 53
  • 4
0
votes
0 answers

check_kvm_support script failed to start error when attempting to create VM

When I attempt to initialise a VM on Debian 10 instance I am getting an error : multipass launch --name kube-master --cpus 1 --mem 1024M --disk 3G launch failed: The check_kvm_support script failed to start. Ensure it is in multipassd's PATH. I…
Golide
  • 123
  • 1
  • 2
  • 10
0
votes
1 answer

Multipass mount folder on zfs file system - Source path does not exist

I am trying to add storage to an existing Multipass VM. I created a new ZFS filesystem, mounted locally at /zfs/morespace. Then tried to mount it with multipass mount /zfs/morespace existingvm:/mnt/morespace I received the error: Source path…