Cloud-init on SLC6

Pádraig Brady P at draigBrady.com
Fri Jun 15 13:37:25 UTC 2012


On 06/15/2012 02:09 PM, Tomas Karasek wrote:
> Hi,
> we are testing cloud-init rpm from 
> http://pbrady.fedorapeople.org/cloud-init-el6/
> on Scientific Linux CERN 6 (SLC6) which is I think a derivate of EL6. 
> 
> We're getting 
> 
> 2012-06-15 14:32:39,061 - __init__.py[WARNING]: Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/cloudinit/CloudConfig/__init__.py", line 118, in run_cc_modules
>     cc.handle(name, run_args, freq=freq)
>   File "/usr/lib/python2.6/site-packages/cloudinit/CloudConfig/__init__.py", line 71, in handle
>     mod = __import__("cc_" + name.replace("-", "_"), globals())
> ImportError: No module named cc_config
> 
> during startup from
> "cloud-init-cfg config all" executed from /etc/init.d/cloud-config.
> 
> Shouldn't it be the other way around - "cloud-init-cfg all config"?
> 
> Are the iniscripts for the rpm in version control somewhere?

Not yet.
They'll be in fedora git soon,
and cloud-init upstream have expressed an interest in incorporating them,
so I'll send them there when they stabilize.

I've incorporated the above fix here:
http://pbrady.fedorapeople.org/cloud-init-el6/

I'll merge in any new srpms you have,
and will update the above as I test over the next while.

cheers,
Pádraig.



More information about the cloud mailing list