Skip to content

Instantly share code, notes, and snippets.

@ashleydw
Created December 12, 2014 09:36
Show Gist options
  • Save ashleydw/66fbd08de27bd5663634 to your computer and use it in GitHub Desktop.
Save ashleydw/66fbd08de27bd5663634 to your computer and use it in GitHub Desktop.
vagrant_devstack_chef_error
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'osi'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: osi
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
default: Adapter 3: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /vagrant => /Users/ashley/Sites/thesis/vagrant/vagrant_devstack
default: /home/vagrant/cache => /Users/ashley/Sites/thesis/vagrant/vagrant_devstack/cache
default: /home/vagrant/.host-ssh => /Users/ashley/.ssh
default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks => /Users/ashley/Sites/thesis/vagrant/vagrant_devstack/cookbooks
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Running provisioner: chef_solo...
Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: [2014-12-12T08:43:49+00:00] INFO: Forking chef instance to converge...
==> default: [2014-12-12T08:43:49+00:00] DEBUG: Forked instance now converging
==> default: [2014-12-12T08:43:49+00:00] INFO: *** Chef 11.8.2 ***
==> default: [2014-12-12T08:43:49+00:00] INFO: Chef-client pid: 1993
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Building node object for vagrant-ubuntu-trusty-64
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Extracting run list from JSON attributes provided on command line
==> default: [2014-12-12T08:43:50+00:00] INFO: Setting the run_list to ["recipe[vagrant-openstack::hostname]", "recipe[vagrant-openstack::cache]", "recipe[vagrant-openstack::devstack-cache]", "recipe[devstack]", "recipe[vagrant-openstack::devstack-update-cache]"] from JSON
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Applying attributes from json file
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Platform is ubuntu version 14.04
==> default: [2014-12-12T08:43:50+00:00] INFO: Run List is [recipe[vagrant-openstack::hostname], recipe[vagrant-openstack::cache], recipe[vagrant-openstack::devstack-cache], recipe[devstack], recipe[vagrant-openstack::devstack-update-cache]]
==> default: [2014-12-12T08:43:50+00:00] INFO: Run List expands to [vagrant-openstack::hostname, vagrant-openstack::cache, vagrant-openstack::devstack-cache, devstack, vagrant-openstack::devstack-update-cache]
==> default: [2014-12-12T08:43:50+00:00] INFO: Starting Chef Run for vagrant-ubuntu-trusty-64
==> default: [2014-12-12T08:43:50+00:00] INFO: Running start handlers
==> default: [2014-12-12T08:43:50+00:00] INFO: Start handlers complete.
==> default: [2014-12-12T08:43:50+00:00] DEBUG: No chefignore file found at /tmp/vagrant-chef-3/chef-solo-1/cookbooks/chefignore no files will be ignored
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Cookbooks to compile: [:apt, :"vagrant-openstack", :devstack]
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Node vagrant-ubuntu-trusty-64 loading cookbook vagrant-openstack's attribute file /tmp/vagrant-chef-3/chef-solo-1/cookbooks/vagrant-openstack/attributes/default.rb
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Attribute vagrant-openstack::default
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Node vagrant-ubuntu-trusty-64 loading cookbook devstack's attribute file /tmp/vagrant-chef-3/chef-solo-1/cookbooks/devstack/attributes/default.rb
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Attribute devstack::default
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef-3/chef-solo-1/cookbooks/apt/providers/repository.rb
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-3/chef-solo-1/cookbooks/apt/providers/repository.rb into a provider named apt_repository defined in Chef::Provider::AptRepository
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef-3/chef-solo-1/cookbooks/apt/resources/repository.rb
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-3/chef-solo-1/cookbooks/apt/resources/repository.rb into a resource named apt_repository defined in Chef::Resource::AptRepository
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Recipe vagrant-openstack::hostname via include_recipe
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Found recipe hostname in cookbook vagrant-openstack
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Recipe vagrant-openstack::cache via include_recipe
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Found recipe cache in cookbook vagrant-openstack
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Recipe vagrant-openstack::devstack-cache via include_recipe
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Found recipe devstack-cache in cookbook vagrant-openstack
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Recipe apt via include_recipe
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Found recipe default in cookbook apt
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Recipe devstack via include_recipe
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Found recipe default in cookbook devstack
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Recipe apt via include_recipe
==> default: [2014-12-12T08:43:50+00:00] DEBUG: I am not loading apt, because I have already seen it.
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Recipe vagrant-openstack::devstack-update-cache via include_recipe
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Found recipe devstack-update-cache in cookbook vagrant-openstack
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading Recipe apt via include_recipe
==> default: [2014-12-12T08:43:50+00:00] DEBUG: I am not loading apt, because I have already seen it.
==> default: [2014-12-12T08:43:50+00:00] WARN: Cloning resource attributes for package[rsync] from prior resource (CHEF-3694)
==> default: [2014-12-12T08:43:50+00:00] WARN: Previous package[rsync]: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/vagrant-openstack/recipes/devstack-cache.rb:22:in `from_file'
==> default: [2014-12-12T08:43:50+00:00] WARN: Current package[rsync]: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/vagrant-openstack/recipes/devstack-update-cache.rb:22:in `from_file'
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Loading from cookbook_path: /tmp/vagrant-chef-3/chef-solo-1/cookbooks
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Converging node vagrant-ubuntu-trusty-64
==> default: [2014-12-12T08:43:50+00:00] INFO: Processing execute[/root/hostname.sh] action nothing (vagrant-openstack::hostname line 24)
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Skipping execute[/root/hostname.sh] due to action :nothing
==> default: [2014-12-12T08:43:50+00:00] INFO: Processing template[/root/hostname.sh] action create (vagrant-openstack::hostname line 30)
==> default: [2014-12-12T08:43:50+00:00] DEBUG: touching /root/hostname.sh to create it
==> default: [2014-12-12T08:43:50+00:00] INFO: template[/root/hostname.sh] created file /root/hostname.sh
==> default: [2014-12-12T08:43:50+00:00] DEBUG: running: diff -u /root/hostname.sh /tmp/chef-rendered-template20141212-1993-1vyj4w7
==> default: [2014-12-12T08:43:50+00:00] DEBUG: reading modes from /root/hostname.sh file
==> default: [2014-12-12T08:43:50+00:00] DEBUG: applying mode = 644, uid = 0, gid = 0 to /tmp/chef-rendered-template20141212-1993-1vyj4w7
==> default: [2014-12-12T08:43:50+00:00] DEBUG: moving temporary file /tmp/chef-rendered-template20141212-1993-1vyj4w7 into place at /root/hostname.sh
==> default: [2014-12-12T08:43:50+00:00] INFO: template[/root/hostname.sh] updated file contents /root/hostname.sh
==> default: [2014-12-12T08:43:50+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:43:50+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:43:50+00:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
==> default: [2014-12-12T08:43:50+00:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
==> default: [2014-12-12T08:43:50+00:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
==> default: [2014-12-12T08:43:50+00:00] INFO: template[/root/hostname.sh] owner changed to 0
==> default: [2014-12-12T08:43:50+00:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
==> default: [2014-12-12T08:43:50+00:00] INFO: template[/root/hostname.sh] group changed to 0
==> default: [2014-12-12T08:43:50+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:43:50+00:00] INFO: template[/root/hostname.sh] mode changed to 755
==> default: [2014-12-12T08:43:50+00:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.
==> default: [2014-12-12T08:43:50+00:00] INFO: template[/root/hostname.sh] sending run action to execute[/root/hostname.sh] (immediate)
==> default: [2014-12-12T08:43:50+00:00] INFO: Processing execute[/root/hostname.sh] action run (vagrant-openstack::hostname line 24)
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:43:50+00:00] INFO: execute[/root/hostname.sh] ran successfully
==> default: [2014-12-12T08:43:50+00:00] INFO: Processing execute[rm -rf /var/cache/apt; mkdir -p /home/vagrant/cache/aptcache; ln -s /home/vagrant/cache/aptcache /var/cache/apt] action run (vagrant-openstack::cache line 23)
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:43:50+00:00] INFO: execute[rm -rf /var/cache/apt; mkdir -p /home/vagrant/cache/aptcache; ln -s /home/vagrant/cache/aptcache /var/cache/apt] ran successfully
==> default: [2014-12-12T08:43:50+00:00] INFO: Processing execute[mkdir -p /home/vagrant/cache/pipcache; ln -s /home/vagrant/cache/pipcache /var/cache/pip] action run (vagrant-openstack::cache line 25)
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:43:50+00:00] INFO: execute[mkdir -p /home/vagrant/cache/pipcache; ln -s /home/vagrant/cache/pipcache /var/cache/pip] ran successfully
==> default: [2014-12-12T08:43:50+00:00] INFO: Processing execute[ln -s /home/vagrant/.host-ssh/id_rsa /home/vagrant/.ssh/id_rsa] action run (vagrant-openstack::cache line 29)
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:43:50+00:00] INFO: execute[ln -s /home/vagrant/.host-ssh/id_rsa /home/vagrant/.ssh/id_rsa] ran successfully
==> default: [2014-12-12T08:43:50+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22)
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Skipping execute[apt-get-update] due to not_if ruby block
==> default: [2014-12-12T08:43:50+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29)
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Skipping execute[apt-get update] due to action :nothing
==> default: [2014-12-12T08:43:50+00:00] INFO: Processing package[update-notifier-common] action install (apt::default line 36)
==> default: [2014-12-12T08:43:50+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:43:50+00:00] DEBUG: package[update-notifier-common] checking package status for update-notifier-common
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[update-notifier-common] current version is 0.154.1ubuntu1
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[update-notifier-common] candidate version is 0.154.1ubuntu1
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[update-notifier-common] is already installed - nothing to do
==> default: [2014-12-12T08:43:53+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 40)
==> default: [2014-12-12T08:43:53+00:00] DEBUG: Skipping execute[apt-get-update-periodic] due to only_if ruby block
==> default: [2014-12-12T08:43:53+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 50)
==> default: [2014-12-12T08:43:53+00:00] INFO: directory[/var/cache/local] created directory /var/cache/local
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
==> default: [2014-12-12T08:43:53+00:00] INFO: directory[/var/cache/local] owner changed to 0
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
==> default: [2014-12-12T08:43:53+00:00] INFO: directory[/var/cache/local] group changed to 0
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:43:53+00:00] INFO: directory[/var/cache/local] mode changed to 644
==> default: [2014-12-12T08:43:53+00:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.
==> default: [2014-12-12T08:43:53+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 50)
==> default: [2014-12-12T08:43:53+00:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
==> default: [2014-12-12T08:43:53+00:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
==> default: [2014-12-12T08:43:53+00:00] INFO: directory[/var/cache/local/preseeding] group changed to 0
==> default: [2014-12-12T08:43:53+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:43:53+00:00] INFO: directory[/var/cache/local/preseeding] mode changed to 644
==> default: [2014-12-12T08:43:53+00:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.
==> default: [2014-12-12T08:43:53+00:00] INFO: Processing package[rsync] action install (vagrant-openstack::devstack-cache line 22)
==> default: [2014-12-12T08:43:53+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[rsync] checking package status for rsync
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[rsync] current version is 3.1.0-2ubuntu0.1
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[rsync] candidate version is 3.1.0-2ubuntu0.1
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[rsync] is already installed - nothing to do
==> default: [2014-12-12T08:43:53+00:00] INFO: Processing execute[mkdir -p /home/vagrant/cache/stack; rsync -vur --delete --exclude=stack/nova-volumes-backing-file --exclude=stack/glance/images/* /home/vagrant/cache/stack /opt; chown -R vagrant /opt/stack] action run (vagrant-openstack::devstack-cache line 27)
==> default: [2014-12-12T08:43:53+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:43:53+00:00] INFO: execute[mkdir -p /home/vagrant/cache/stack; rsync -vur --delete --exclude=stack/nova-volumes-backing-file --exclude=stack/glance/images/* /home/vagrant/cache/stack /opt; chown -R vagrant /opt/stack] ran successfully
==> default: [2014-12-12T08:43:53+00:00] INFO: Processing package[git] action install (devstack::default line 22)
==> default: [2014-12-12T08:43:53+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[git] checking package status for git
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[git] current version is nil
==> default: [2014-12-12T08:43:53+00:00] DEBUG: package[git] candidate version is 1:1.9.1-1
==> default: [2014-12-12T08:43:59+00:00] INFO: Processing execute[git clone git://github.com/openstack-dev/devstack.git] action run (devstack::default line 24)
==> default: [2014-12-12T08:43:59+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:44:10+00:00] INFO: execute[git clone git://github.com/openstack-dev/devstack.git] ran successfully
==> default: [2014-12-12T08:44:10+00:00] INFO: Processing execute[git checkout master] action run (devstack::default line 31)
==> default: [2014-12-12T08:44:10+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default: [2014-12-12T08:44:10+00:00] INFO: execute[git checkout master] ran successfully
==> default: [2014-12-12T08:44:10+00:00] INFO: Processing template[/home/vagrant/devstack/local.conf] action create (devstack::default line 37)
==> default: [2014-12-12T08:44:10+00:00] DEBUG: touching /home/vagrant/devstack/local.conf to create it
==> default: [2014-12-12T08:44:10+00:00] INFO: template[/home/vagrant/devstack/local.conf] created file /home/vagrant/devstack/local.conf
==> default: [2014-12-12T08:44:10+00:00] DEBUG: running: diff -u /home/vagrant/devstack/local.conf /tmp/chef-rendered-template20141212-1993-1q9x225
==> default: [2014-12-12T08:44:10+00:00] DEBUG: reading modes from /home/vagrant/devstack/local.conf file
==> default: [2014-12-12T08:44:10+00:00] DEBUG: applying mode = 644, uid = 0, gid = 0 to /tmp/chef-rendered-template20141212-1993-1q9x225
==> default: [2014-12-12T08:44:10+00:00] DEBUG: moving temporary file /tmp/chef-rendered-template20141212-1993-1q9x225 into place at /home/vagrant/devstack/local.conf
==> default: [2014-12-12T08:44:10+00:00] INFO: template[/home/vagrant/devstack/local.conf] updated file contents /home/vagrant/devstack/local.conf
==> default: [2014-12-12T08:44:10+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:44:10+00:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
==> default: [2014-12-12T08:44:10+00:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
==> default: [2014-12-12T08:44:10+00:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
==> default: [2014-12-12T08:44:10+00:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
==> default: [2014-12-12T08:44:10+00:00] INFO: template[/home/vagrant/devstack/local.conf] owner changed to 1000
==> default: [2014-12-12T08:44:10+00:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
==> default: [2014-12-12T08:43:49+00:00] INFO: Forking chef instance to converge...
==> default: [2014-12-12T08:43:49+00:00] DEBUG: Fork successful. Waiting for new chef pid: 1993
==> default: [2014-12-12T09:02:32+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 9 (KILL)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment