← Back to team overview

cloud-init team mailing list archive

Re: Cloud-init not installing rpms (CentOS 6.5)

 

In case it's useful, this is /etc/cloud/cloud.cfg.d/05_logging.cfg:

  http://fpaste.org/89649/40163139/

and /etc/cloud/cloud.cfg.d/10_rackspace.cfg:

  http://fpaste.org/89647/39604008/

:)

+ Justin

On 2014-03-28 20:25, Joshua Harlow wrote:
Can u possibly pastebin the cloud-init log file and cloud.cfg
somewhere so we can investigate?

The logs usually have enough detail to figure out what/why.

Thx!

-Josh

 From: "justin@xxxxxxxxxxxxxx [5]" <justin@xxxxxxxxxxxxxx [6]>
 Date: Friday, March 28, 2014 at 12:47 PM
 To: "cloud-init@xxxxxxxxxxxxxxxxxxx [7]"
<cloud-init@xxxxxxxxxxxxxxxxxxx [8]>
 Subject: [Cloud-init] Cloud-init not installing rpms (CentOS 6.5)

Hi all,

Trying to spin up some VMs in Rackspace, but having
trouble getting rpms installed.

Using #cloud-config, passed to it via config-drive.

Passing the #cloud-config file itself seems to work,
as runcmd thing work. Anything in "packages" isn't
though.

eg (keeping it simple) this very simple config should
install git, then print a "complete" message to a
file in /tmp:

****************************************************
#cloud-config

packages:
- git

runcmd:
- echo 'complete' >> /tmp/my-cloud-config.log
****************************************************

The "complete" string is being written to the file
in /tmp correctly. But no "git" being installed, and
no mention of git anywhere in /var/log/cloud-init.log.

This is using cloud-init-0.7.4-2.el6.noarch.

Anyone have ideas on what I should check next, to find
out what's happening?

Regards and best wishes,

Justin Clift


References