Skip to content

Instantly share code, notes, and snippets.

View lindenle's full-sized avatar
🎯
Focusing

Alex Linden Levy lindenle

🎯
Focusing
View GitHub Profile
# The top level settings are used as module
# and system configuration.
# A set of users which may be applied and/or used by various modules
# when a 'default' entry is found it will reference the 'default_user'
# from the distro configuration specified below
users:
- default
# If this is set, 'root' will not be able to ssh in and they
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[WARNING]: Unable to change the ownership of /var/log/cloud-init.log to user syslog, group adm
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Unable to change the ownership of /var/log/cloud-init.log to user syslog, group adm#012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/cloudinit/stages.py", line 155, in _initialize_filesystem#012 util.chownbyname(log_file, u, g)#012 File "/usr/lib/python2.6/site-packages/cloudinit/util.py", line 1111, in chownbyname#012 raise OSError("Unknown user or group: %s" % (e))#012OSError: Unknown user or group: 'getpwnam(): name not found: syslog'
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
Jan 8 01:09:33 alevy-
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[WARNING]: Unable to change the ownership of /var/log/cloud-init.log to user syslog, group adm
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Unable to change the ownership of /var/log/cloud-init.log to user syslog, group adm#012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/cloudinit/stages.py", line 155, in _initialize_filesystem#012 util.chownbyname(log_file, u, g)#012 File "/usr/lib/python2.6/site-packages/cloudinit/util.py", line 1111, in chownbyname#012 raise OSError("Unknown user or group: %s" % (e))#012OSError: Unknown user or group: 'getpwnam(): name not found: syslog'
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
Jan 8 01:09:33 alevy-
@lindenle
lindenle / gist:6124246
Created July 31, 2013 17:37
foreman passenger error
Could not compile passenger_native_support.so ("/opt/rh/ruby193/root/usr/bin/ruby '/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/ext/ruby/extconf.rb'" failed) (RuntimeError)
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/native_support.rb:154:in `sh'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/native_support.rb:167:in `block (2 levels) in compile'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/native_support.rb:166:in `chdir'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/native_support.rb:166:in `block in compile'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/native_support.rb:160:in `each'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/native_support.rb:160:in `each_with_index'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/native_support.rb:160:in `compile'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/native_support.rb:138:in `compile_an
@lindenle
lindenle / gist:6066187
Created July 23, 2013 21:08
404 from nova vcenter connection
2013-07-23 21:08:01.671 29032 INFO nova.manager [-] Skipping periodic task _periodic_update_dns because its interval is negative
2013-07-23 21:08:01.932 29032 INFO nova.virt.driver [-] Loading compute driver 'vmwareapi.VMwareVCDriver'
2013-07-23 21:08:02.178 29032 CRITICAL nova.virt.vmwareapi.driver [-] In vmwareapi:_create_session, got this exception: HTTP Error 404: Not Found
2013-07-23 21:08:02.183 29032 CRITICAL nova [-] HTTP Error 404: Not Found
2013-07-23 21:08:02.183 29032 TRACE nova Traceback (most recent call last):
2013-07-23 21:08:02.183 29032 TRACE nova File "/usr/bin/nova-compute", line 83, in <module>
2013-07-23 21:08:02.183 29032 TRACE nova db_allowed=False)
2013-07-23 21:08:02.183 29032 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 534, in create
2013-07-23 21:08:02.183 29032 TRACE nova db_allowed=db_allowed)
2013-07-23 21:08:02.183 29032 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 413, in __init__
Installed /opt/stack/glance
Processing dependencies for glance==2013.2.a116.gd13493b
error: Installed distribution requests 1.2.3 conflicts with requirement requests>=1.1,<1.2.3
/Users/alevy/tmp/.tmp/librarian/cache/source/git/de38923bec84e3752a204958b3435d2b/Modulefile:6:in `evaluate': compile error (SyntaxError)
/Users/alevy/tmp/.tmp/librarian/cache/source/git/de38923bec84e3752a204958b3435d2b/Modulefile:6: syntax error, unexpected tCONSTANT, expecting $end
summary 'Installs and configures bind DNS serve...
^
from /Users/alevy/.rvm/gems/ruby-1.8.7-p371@puppet-2.7.21/gems/librarian-puppet-0.9.9/lib/librarian/puppet/source/git.rb:23:in `module_version'
from /Users/alevy/.rvm/gems/ruby-1.8.7-p371@puppet-2.7.21/gems/librarian-puppet-0.9.9/lib/librarian/puppet/source/git.rb:98:in `fetch_version'
from /Users/alevy/.rvm/gems/ruby-1.8.7-p371@puppet-2.7.21/gems/librarian-puppet-0.9.9/vendor/librarian/lib/librarian/manifest.rb:109:in `fetch_version!'
from /Users/alevy/.rvm/gems/ruby-1.8.7-p371@puppet-2.7.21/gems/librarian-puppet-0.9.9/vendor/librarian/lib/librarian/manifest.rb:101:in `fetched_version'
from /Users/alevy/.rvm/gems/ruby-1.8.7-p371@puppet-2.7.21/gems/librar
=>> VBoxManage import /home/alevy/.vagrant.d/boxes/centos-5.8-puppet-2.7.21-mobitv-oracle/box.ovf
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/alevy/.vagrant.d/boxes/centos-5.8-puppet-2.7.21-mobitv-oracle/box.ovf...
OK.
Disks: vmdisk1 42949672960 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized box-disk1.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "RedHat_64"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "centos-5.8-puppet-2.7.21-mobitv-oracle"
(change with "--vsys 0 --vmname <name>")
DEBUG subprocess: stderr: Interpreting /home/alevy/.vagrant.d/boxes/centos-5.8-puppet-2.7.21-mobitv-oracle/box.ovf...
DEBUG subprocess: stderr: OK.
DEBUG subprocess: stderr: 0%...
DEBUG subprocess: stderr:
Progress object failure: NS_ERROR_CALL_FAILED
DEBUG subprocess: stdout: Disks: vmdisk1 42949672960 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized box-disk1.vmdk -1 -1
Virtual system 0:
Unable to initialize SMTP properly. Check config and use --smtp-debug. VALUES: xxxxxx
at /usr/local/Cellar/git/1.8.3.1/libexec/git-core/git-send-email line 1224.