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

ignition -> config -> replace not working on Digitalocean #829

Closed
aidun opened this issue Jul 17, 2019 · 2 comments
Closed

ignition -> config -> replace not working on Digitalocean #829

aidun opened this issue Jul 17, 2019 · 2 comments

Comments

@aidun
Copy link

aidun commented Jul 17, 2019

Bug

I use the following ignition string as user data for a Digitalocean droplet:
{ "ignition": { "version": "2.2.0", "config": { "replace": { "source": "http://${digitalocean_droplet.bootstrap-helper.ipv4_address}:80/bootstrap.ign" } } } }
The droplet boot up, get the initial user-data and try to fetch the remote config. This not working at the moment.

Operating System Version

Droplet images coreos-{stable,beta,alpha}

Ignition Version

2.2.0

Environment

Digitalocean

Expected Behavior

Coreos should fetch the ignition file from the http url

Actual Behavior

the http client produces get error

Reproduction Steps

  1. Create a do droplet with core os image
  2. Put the ignition config above as userdata
  3. Boot the droplet

Other Information

I think the network connection is not configured at the moment of fetching the file. I seems DO does not provide the network configuration by DHCP.

@bgilbert
Copy link
Contributor

On DigitalOcean, Container Linux doesn't have a publicly routable IP address when Ignition runs (coreos/bugs#2205), so Ignition can't fetch arbitrary URLs. We're not going to be able to fix that on Container Linux, but we hope to address the issue on Fedora CoreOS.

This isn't actually an Ignition bug -- it's the responsibility of bootengine on Container Linux or ignition-dracut on Fedora CoreOS -- so I'll close. Thanks for reporting.

@aidun
Copy link
Author

aidun commented Jul 17, 2019

Thanks for the clarification. I will watch at the other issues.

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

No branches or pull requests

2 participants