Re: user-data via CDROM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17.12.12 10:59, jvlcek wrote:
> On 12/17/2012 10:06 AM, Shahar Havivi wrote:
> > On 16.12.12 17:04, Dennis Gregorovic wrote:
> >> On Sun, 2012-12-16 at 15:33 +0200, Shahar Havivi wrote:
> >>> On 16.12.12 15:15, Shahar Havivi wrote:
> >>>> On 14.12.12 21:22, Dennis Gregorovic wrote:
> >>>>> On Thu, 2012-12-13 at 16:29 -0500, Dennis Gregorovic wrote:
> >>>>>> On Mon, 2012-12-10 at 13:43 -0500, Perry Myers wrote:
> >>>>>>> On 12/10/2012 01:41 PM, Jay Greguske wrote:
> >>>>>>>> On 12/10/2012 12:07 PM, Shahar Havivi wrote:
> >>>>>>>>> On 10.12.12 12:03, Perry Myers wrote:
> >>>>>>>>>> On 12/10/2012 12:00 PM, Shahar Havivi wrote:
> >>>>>>>>>>> On 10.12.12 10:55, jvlcek wrote:
> >>>>>>>>>>>> Shahar,
> >>>>>>>>>>>>
> >>>>>>>>>>>> It's complaining about the ec2-user not being there?
> >>>>>>>>>>>>
> >>>>>>>>>>>> Are you specifying the ec2-user in the cloud-init.conf file or are you just
> >>>>>>>>>>>> using root?
> >>>>>>>>>>> No,
> >>>>>>>>>>> Where is this file suppose to be?
> >>>>>>>>>> That version of cloud-init should be released with the RHEL 6.4 public
> >>>>>>>>>> beta last week.
> >>>>>>>>>>
> >>>>>>>>>> It could be that the file is not properly showing up on the beta
> >>>>>>>>>> channel.  If you have access to the 6.4 Beta channels, there's the core
> >>>>>>>>>> channel, optional, supplementary and then there should be a new RHEL
> >>>>>>>>>> Common channel where cloud-init lives.
> >>>>>>>>>>
> >>>>>>>>>> Can you see if you have access to this channel?
> >>>>>>>>>>
> >>>>>>>>>> (adding some add'l folks to help with details on how to get access to
> >>>>>>>>>> that channel)
> >>>>>>>>>>
> >>>>>>>>>> Perry
> >>>>>>>>> Thank you,
> >>>>>>>>> I will try to get 6.4
> >>>>>>>> The 6.4 Beta AMIs do not have cloud-init in them. They were targeted to,
> >>>>>>>> but that didn't happen for one reason or another. They should get it in
> >>>>>>>> a future snapshot, and certainly before the RC.
> >>>>>>> Ah ok.  Thanks for clarifying.  What about availability to just grab the
> >>>>>>> cloud-init package from the 6.4 beta channel?  Should that work as well?
> >>>>>>>
> >>>>>>> Shahar is working with oVirt and cloud-init, so grabbing from RHN/CDN
> >>>>>>> would be sufficient.  Doesn't need to be in an AMI
> >>>>>>>
> >>>>>>> Perry
> >>>>>> The beta channels with cloud-init should be available through RHN
> >>>>>> tomorrow or Monday.
> >>>>>>
> >>>>>> Cheers
> >>>>>> -- Dennis
> >>>> What is the channel name that include the cloud-init (I couldn't fine a
> >>>> channel with cloud-init in its name).
> >>> Found it in the common channel, 
> >>> I have a problem installing it because I get glibc-common dependency
> >>> mismatch...
> >>> Is there other channel that I need my host to be register to?
> >> You probably need the Red Hat Enterprise Linux Server Beta channel as
> >> well.
> >>
> >> Cheers
> >> -- Dennis
> > Thanks Dennis!
> > I manage to install the cloud-init in Rhel 6.4
> > The hostname can be set via nocloud CDROM but not the ip or the mac address.
> > also cloud init try for 5 minutes to call for this address:
> > url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [0/120s]: http error [404]
> > which for my understanding it shouldn't because I try to config it via the
> > drive (CDROM in this case).
> >
> > When I try to set it via openstack, I use the "config-2" label in the CDROM
> > and set json file at this path:
> > openstack/latest/meta-data.json
> >
> > at the log I am getting the line:
> > [CLOUDINIT] DataSourceAltCloud.py[DEBUG]: cloud_type: UNKNOWN
> > which indicate that its not recognize the the type (openstack).
> >
> > Am I doing something wrong?
> 
> 
> The data source: "DataSourceAltCloud" can only be used to pass in
> "user-data" and it only
> supports cloud types: EC2, RHEVm and vSphere.
> 
> What cloud back-end are you running on?
> 
I am running on RHEV-M (oVirt)

> I  thought you stated you are using the data source: "nocloud".
I am trying to run with nocloud and openstack

> 
> cloud-init functionality can be configured a bit using it's
> configuration file. You might want
> to experiment to make sure all the functionality you want is enabled in it.
> For reference, the upstream version can be viewed here:
> http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/config/cloud.cfg
Thanks,
I will look at it
> 
> The warning  from url_helper.py seems to indicate the ec2 style
> meta-data is not
> available. I'm not sure why. You might want to  post a description of
> your set-up
> and ask about this warning upstream at: cloud-init@xxxxxxxxxxxxxxxxxxx
> 
> Joe
> 
> 
> 
> 
> >>>>> The channels should be available now.
> >>>>>
> >>>>> -- Dennis
> >>>>>
> >>
> 
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux