Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to determine IP address #1584

Open
rcsrao opened this issue Jun 9, 2020 · 5 comments
Open

failed to determine IP address #1584

rcsrao opened this issue Jun 9, 2020 · 5 comments
Labels

Comments

@rcsrao
Copy link

rcsrao commented Jun 9, 2020

Mac OS
We have created 2 instances without VPN and they were working fine until we connect to VPN. And we are aware that multipass hasn't worked with VPN. We have disconnected the VPN and tried to ping/stop/start instance and no luck. Instance never recovered.

We have followed all netwrok tips from https://multipass.run/docs/troubleshooting-networking-on-macos#:~:text=Unable%20to%20determine%20IP%20address,from%20a%20Firewall%20or%20VPN.
Still no luck.

$ multipass start k8s-master
start failed: The following errors occurred:
failed to determine IP address

# tail -f k8s-master-hyperkit.log
[ OK ] Reached target Cloud-init target.
[ OK ] Started Daily apt download activities.

Ubuntu 18.04.4 LTS master-node ttyS0

master-node login: [ 56.664725] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 56.666813] ata1.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 19 pio 16392 in
[ 56.666813] Get event status notification 4a 01 00 00 10 00 00 00 08 00res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 56.671857] ata1.00: status: { DRDY }

[2020-06-09T20:06:35.091] [info] [k8s-master] hyperkit: [INFO] image has 0 free sectors and 53776 used sectors
[2020-06-09T20:06:35.091] [info] [k8s-master] mirage_block_open: block_config = file:///var/root/Library/Application Support/multipassd/vault/instances/k8s-master/ubuntu-18.04-server-cloudimg-amd64.img?sync=os&buffered=1 and qcow_config = discard=true;compact_after_unmaps=262144;keep_erased=262144;runtime_asserts=false and stats_config = None returning 0
mirage_block_stat

# tail -f multipassd.log
[2020-06-09T20:06:35.091] [info] [k8s-master] hyperkit: [INFO] image has 0 free sectors and 53776 used sectors
[2020-06-09T20:06:35.091] [info] [k8s-master] mirage_block_open: block_config = file:///var/root/Library/Application Support/multipassd/vault/instances/k8s-master/ubuntu-18.04-server-cloudimg-amd64.img?sync=os&buffered=1 and qcow_config = discard=true;compact_after_unmaps=262144;keep_erased=262144;runtime_asserts=false and stats_config = None returning 0
mirage_block_stat

[2020-06-09T20:06:35.091] [info] [k8s-master] fcntl(F_PUNCHHOLE) failed: host filesystem does not support sparse files: Operation not permitted
[2020-06-09T20:06:35.645] [info] [k8s-master] rdmsr to register 0x140 on vcpu 0
[2020-06-09T20:06:35.780] [info] [k8s-master] rdmsr to register 0x140 on vcpu 1
[2020-06-09T20:06:36.961] [info] [k8s-master] rdmsr to register 0x64e on vcpu 0
[2020-06-09T20:06:36.961] [info] [k8s-master] rdmsr to register 0x34 on vcpu 0
[2020-06-09T20:06:40.102] [info] [k8s-master] hyperkit: [INFO] block recycler: triggering background flush: 53776 used; 0 junk; 0 erased; 0 available; 0 copies; 0 roots; 0 Copying; 0 Copied; 0 Flushed; 0 Referenced; max_cluster = 53779

@rcsrao rcsrao added the bug label Jun 9, 2020
@rcsrao
Copy link
Author

rcsrao commented Jun 13, 2020

Can someone check this?

@riptl
Copy link

riptl commented Jan 26, 2021

This still occurs on Ubuntu 21.04 with latest edge multipass.

multipass  1.7.0-dev.331+g19791238
multipassd 1.7.0-dev.331+g19791238

@gauze
Copy link

gauze commented Mar 12, 2021

I have just started trying to use multipass and I have launched, deleted, and purged 3 times and rebooted to try to get something besides this to happen:

$ sudo /var/lib/snapd/snap/bin/multipass launch --name MT

launch failed: The following errors occurred:
failed to determine IP address

is dnsmasq.pid inside the vm? cause it's nowhere on my hosts harddrive.

@ricab
Copy link
Collaborator

ricab commented Mar 12, 2021

Hi @gauze, dnsmasq.pid doesn't exist anymore. Are you using a VPN? If so, it's probably disrupting networking to the instance. Otherwise, have a look at our network troubleshooting and let us know if it helps.

@gauze
Copy link

gauze commented Mar 12, 2021

ok turning off my firewall worked. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants