Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

host.otp isnt detemplated in user-data #169

Closed
ddoc opened this issue Mar 30, 2015 · 7 comments
Closed

host.otp isnt detemplated in user-data #169

ddoc opened this issue Mar 30, 2015 · 7 comments

Comments

@ddoc
Copy link

ddoc commented Mar 30, 2015

I am using user-data templates on ec2 and @host.otp is not populated.

In the first case the value is simply blank, but when I get the user-data using curl the otp is there. This is on foreman 1. 7

My workaround: http://pastie.org/10063791

@mmoll
Copy link
Contributor

mmoll commented Apr 1, 2015

I'm not sure if that's a problem of core, templates or the configuration here. @stbenjam, could you have a look?

@stbenjam
Copy link
Member

stbenjam commented Apr 1, 2015

It's quite possible though that it doesn't get done for user data, because it's a different path in the code (as you noticed, it works with curl - that goes through the right code path). Would you mind filing an issue at
http://projects.theforeman.org/projects/foreman/issues/new? I'm surprised no one noticed until now.

@mmoll
Copy link
Contributor

mmoll commented Apr 12, 2015

@mmoll
Copy link
Contributor

mmoll commented Oct 13, 2016

no reaction, closing.

@mmoll mmoll closed this as completed Oct 13, 2016
@wzzrd
Copy link

wzzrd commented Nov 9, 2016

Can this be reopened? I'm seeing this exact same thing and filed a downstream bug for it.

@mmoll
Copy link
Contributor

mmoll commented Nov 9, 2016

@wzzrd please open a new upstream bug for it and set "related to" to http://projects.theforeman.org/issues/10119.

@wzzrd
Copy link

wzzrd commented Nov 9, 2016

Done. Also linked downstream BZ.

http://projects.theforeman.org/issues/17292

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

4 participants