Foreman finish template is not getting resolve when user-data of the image is enabled

  1. Can't I install a puppet module with finish-template?
    Installing packages through Puppet modules (I think this is what
    you mean) is something that will happen after your finish-template
    goes in.

  2. Is user_data is compulsory to pull the template ( i.e reading the
    template from foreman )?
    I don't understand the question, user_data is pushed from Foreman to
    the Compute Resource.

  3. Do you think I went wrong in my configuration?
    No, it's just fine. I haven't read your user_data template in detail
    though. I'm not sure why your user_data didn't get in EC2, but it's
    worth che

  4. Is it possible to provision VM (With template) with user-data disabled.
    Yes, but you need an external IP to which Foreman can connect to,
    and a Smart Proxy with TFTP enabled. The advantage of user-data is
    that you get to skip that and there is no need for the external IP.

There are some diagrams that Lukas Zapletal is going to add to the
docs soon, https://github.com/theforeman/theforeman.org/pull/333/files
, take a look at the 2 diagrams regarding Cloud-based provisioning if
you want to understand what is going on behind the scenes.

··· On Wed, Mar 4, 2015 at 6:20 AM, Balasekhar Nelli wrote: > Is AMI causing a issue? I am using CentOS 6.5 Operating System. One more > thing is, I could not able to ssh to foreman server to provisioned VM and > vice versa. > > On Monday, March 2, 2015 at 6:53:16 PM UTC+5:30, Balasekhar Nelli wrote: >> >> Hi, >> >> I am using Foreman 1.6 and using AWS EC2 as compute resource. >> Problem is, Foreman could not able to resolve the finish template when the >> user-data of image is enabled. And, I could not able to provision the VM. >> >> When user-date of image is disabled, foreman able to resolve the >> finish-template and able to provision the vm (Without reading the template, >> i.e puppet client installation). >> Could you guide me where I am going wrong? Its been two week I am >> struggling with this issue. >> >> Thanks, >> Sekhar >> >> The information in this message may be proprietary and/or confidential, >> and protected from disclosure. If the reader of this message is not the >> intended recipient, you are hereby notified that any dissemination, >> distribution or copying of this communication is strictly prohibited. If you >> have received this communication in error, please notify ATMECS and delete >> it from your computer. > > > The information in this message may be proprietary and/or confidential, and > protected from disclosure. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. If you have received > this communication in error, please notify ATMECS and delete it from your > computer. > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Daniel Lobato

@elobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30