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

openstack: fix dispatcher #327

Merged
merged 1 commit into from
Feb 22, 2017
Merged

Conversation

s-urbaniak
Copy link
Contributor

Currently the dispatcher func always performs fetching from config
drive, but never from a metadata service.

This fixes it.

Currently the dispatcher func always performs fetching from config
drive, but never from a metadata service.

This fixes it.
@s-urbaniak
Copy link
Contributor Author

This may fix coreos/bugs#1817 actually, if vexxhost provides igniton via the metadata service.

@s-urbaniak
Copy link
Contributor Author

/cc @alexsomesan

@crawford
Copy link
Contributor

That looks awfully suspicious... Good catch!

@crawford
Copy link
Contributor

Verified that this works with the metadata service:

$ journalctl -t ignition
-- Logs begin at Wed 2017-02-22 01:29:59 UTC, end at Wed 2017-02-22 01:31:22 UTC. --
Feb 22 01:30:01 localhost ignition[365]: Ignition v0.12.1-43-g966c47f-dirty
Feb 22 01:30:01 localhost ignition[365]: parsed url from cmdline: ""
Feb 22 01:30:01 localhost ignition[365]: no config URL provided
Feb 22 01:30:01 localhost ignition[365]: GET http://169.254.169.254/openstack/latest/user_data: attempt #1
Feb 22 01:30:01 localhost ignition[365]: config drive ("/dev/disk/by-label/config-2") not found. Waiting...
Feb 22 01:30:02 localhost ignition[365]: config drive ("/dev/disk/by-label/config-2") not found. Waiting...
Feb 22 01:30:02 localhost ignition[365]: GET result: OK
Feb 22 01:30:02 localhost ignition[423]: Ignition v0.12.1-43-g966c47f-dirty

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

Successfully merging this pull request may close these issues.

3 participants