Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

DNS Not Setup Correctly from Ubuntu Host #213

Closed
robertojrojas opened this issue Jul 17, 2019 · 4 comments
Closed

DNS Not Setup Correctly from Ubuntu Host #213

robertojrojas opened this issue Jul 17, 2019 · 4 comments

Comments

@robertojrojas
Copy link
Contributor

  • Ignite latest-v0.4.2
  • Ubuntu 18.04 Host
  • weaveworks/ignite-kubeadm latest-v0.4.2

Steps

  • Clean Docker
    docker images
    REPOSITORY TAG IMAGE ID CREATED SIZE
  • Install Ignite latest-v0.4.2
  • Run Test VM
    ignite run weaveworks/ignite-kubeadm:latest-v0.4.2 \ --cpus 2 \ --memory 1GB \ --ssh \ --name test-vm-v0.4.2
  • ignite ssh test-vm-v0.4.2
  • Test for Empty /etc/resolv.conf
    [ -s /etc/resolv.conf ] || echo '/etc/resolv.conf is empty'
@aojea
Copy link
Contributor

aojea commented Jul 18, 2019

seems a duplicate of this #164

EDIT

I think this issue is correct, I could reproduce that the /etc/resolv.conf is missing

@luxas
Copy link
Contributor

luxas commented Jul 18, 2019

Hi! Can you please remove the base/kernel image you're using with ignite rmi and ignite rmk, and try again with v0.4.2?

There was an issue in v0.4.0 and v0.4.1 that made the kernel overlay overwrite /etc/resolv.conf accidentally. Hence the kernel image needs to be removed and recreated after upgrading to v0.4.2.

@aojea
Copy link
Contributor

aojea commented Jul 18, 2019

awesome, it works now

@robertojrojas
Copy link
Contributor Author

Yes, the steps of removing both the image and kernel made it work. Thanks @luxas!

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

No branches or pull requests

3 participants