Skip to content

Instantly share code, notes, and snippets.

@rkive rkive/gist:1503054
Created Dec 20, 2011

Embed
What would you like to do?
sudo /usr/bin/cloud-init-cfg all final on fedora 16
[ec2-user@ip-xx-xx-xx-xx log]$ sudo /usr/bin/cloud-init-cfg all final
Not a directory: --regex
2011-12-20 14:53:20,589 - cc_scripts_user.py[WARNING]: failed to run-parts in /var/lib/cloud/instance/scripts
2011-12-20 14:53:20,591 - __init__.py[WARNING]: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cloudinit/CloudConfig/__init__.py", line 108, in run_cc_modules
cc.handle(name, run_args, freq=freq)
File "/usr/lib/python2.7/site-packages/cloudinit/CloudConfig/__init__.py", line 72, in handle
[ name, self.cfg, self.cloud, cloudinit.log, args ])
File "/usr/lib/python2.7/site-packages/cloudinit/__init__.py", line 309, in sem_and_run
func(*args)
File "/usr/lib/python2.7/site-packages/cloudinit/CloudConfig/cc_scripts_user.py", line 27, in handle
util.runparts(runparts_path)
File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 154, in runparts
raise subprocess.CalledProcessError(sp.returncode,cmd)
CalledProcessError: Command '['run-parts', '--regex', '.*', '/var/lib/cloud/instance/scripts']' returned non-zero exit status 1
2011-12-20 14:53:20,594 - __init__.py[ERROR]: config handling of scripts-user, None, [] failed
ec2:
ec2: #############################################################
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: 1024 db:a8:4a:d2:e9:e9:df:57:c0:73:46:01:3c:c0:5a:c3 /etc/ssh/ssh_host_dsa_key.pub (DSA)
ec2: 2048 46:ac:3b:e5:de:34:7a:cc:a9:f5:3c:32:81:51:6e:b5 /etc/ssh/ssh_host_key.pub (RSA1)
ec2: 2048 11:f9:73:00:7d:f7:fa:92:d3:71:85:ed:12:7b:be:c2 /etc/ssh/ssh_host_rsa_key.pub (RSA)
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################
cloud-init boot finished at Tue, 20 Dec 2011 19:53:20 +0000. Up 3652.21 seconds
2011-12-20 14:53:20,666 - cloud-init-cfg[ERROR]: errors running cloud_config [final]: ['scripts-user']
errors running cloud_config [final]: ['scripts-user']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.