Skip to content

Instantly share code, notes, and snippets.

View hogepodge's full-sized avatar

Chris Hoge hogepodge

View GitHub Profile
@hogepodge
hogepodge / gist:418c9809cd84c896b827
Created July 28, 2014 19:43
puppet-openstack dependencies 4.1.0
├── dprince-qpid (v1.0.2) ├── dprince-qpid (v1.0.2)
├── duritong-sysctl (v0.0.1) ├── duritong-sysctl (v0.0.1)
├── garethr-erlang (v0.3.0) ├── garethr-erlang (v0.3.0)
├── puppetlabs-apache (v1.1.1) ├── puppetlabs-apache (v1.1.1)
├── puppetlabs-apt (v1.5.0) (1.5.2) ├── puppetlabs-apt (v1.5.2) ├── puppetlabs-apt (v1.5.0)
├── puppetlabs-auth_conf (v0.2.2) ├── puppetlabs-auth_conf (v0.2.2)
├── puppetlabs-ceilometer (v4.1.0) ├── puppetlabs-ceilometer (v4.1.0)
├── puppetlabs-cinder (v4.1.0) ├── puppetlabs-cinder (v4.1.0)
├── puppetlabs
@hogepodge
hogepodge / neutron.conf
Created June 24, 2014 15:44
failing ml2 + ovs/gre configuration (vif_type=binding failed)
[DEFAULT]
# Print more verbose output (set logging level to INFO instead of default WARNING level).
# verbose = True
verbose = True
# Print debugging output (set logging level to DEBUG instead of default WARNING level).
# debug = False
debug = True
# Where to store Neutron state files. This directory must be writable by the
class { 'resource-gates':
anchor { 'package-gate': } ->
anchor { 'configuration-gate': } ->
anchor { 'service-gate': }
}
[Librarian] Ruby Version: 2.0.0
[Librarian] Ruby Platform: universal.x86_64-darwin13
[Librarian] Rubygems Version: 2.0.3
[Librarian] Librarian Version: 0.1.2
[Librarian] Librarian Adapter: puppet
[Librarian] Librarian Adapter Version: 0.9.14
[Librarian] Project: /Users/hoge/puppetlabs-openstack
[Librarian] Specfile: Puppetfile
[Librarian] Lockfile: Puppetfile.lock
[Librarian] Git: /usr/bin/git
agrant box add centos-65-x64 centos-65-x64-vf602.box --provider vmware_fusion
/Applications/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:176:in `split': bad URI(is not URI?): file:///Users/hoge/Documents/Virtual Machines.localized/centos-65_64.vmwarevm/centos-65-x64-vf602.box (URI::InvalidURIError)
from /Applications/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:211:in `parse'
from /Applications/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:747:in `parse'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:448:in `metadata_url?'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:76:in `block in call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:74:in `map'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:74:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in
$foo = { a => "'a'" }
$bar = to_python_type($foo)
notify { "${bar}": }
Error: Execution of '/usr/bin/keystone --endpoint http://127.0.0.1:35357/v2.0/ user-role-add --user-id 590ccda3ba2d49b3ba735a0454270b4d --tenant-id 3906fa8a768a41c09923704a08c63756 --role-id ' returned 1: 'role'
Error: /Stage[main]/Havana::Profile::Keystone/Havana::Resources::User[test]/Keystone_user_role[test@test]/roles: change from _member_ to Member admin failed: Execution of '/usr/bin/keystone --endpoint http://127.0.0.1:35357/v2.0/ user-role-add --user-id 590ccda3ba2d49b3ba735a0454270b4d --tenant-id 3906fa8a768a41c09923704a08c63756 --role-id ' returned 1: 'role'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-cinder' returned 1: Error: Package: python-swiftclient-1.8.0-1.el6.noarch (openstack-havana)
Requires: pyOpenSSL >= 0.12
Installed: pyOpenSSL-0.10-2.el6.x86_64 (@sl)
pyOpenSSL = 0.10-2.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
@hogepodge
hogepodge / gist:6964550
Created October 13, 2013 17:01
Creating an auth_file for openstack.
class { '::openstack::auth_file':
admin_password => hiera('grizzly::keystone::admin_password'),
}