Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Fri, 25 Jan 2013 11:19:35 -0500] INFO: Processing bash[Uploading AMI image cirros] action run (/var/chef/cache/cookbooks/glance/providers/image.rb line 91)
- [Fri, 25 Jan 2013 11:19:37 -0500] ERROR: bash[Uploading AMI image cirros] (/var/chef/cache/cookbooks/glance/providers/image.rb line 91) has had an error
- [Fri, 25 Jan 2013 11:19:37 -0500] ERROR: bash[Uploading AMI image cirros] (/var/chef/cache/cookbooks/glance/providers/image.rb:91:in `_upload_ami') had an error:
- bash[Uploading AMI image cirros] (/var/chef/cache/cookbooks/glance/providers/image.rb line 91) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
- ---- Begin output of "bash" "/tmp/chef-script20130125-16328-1jfuar8" ----
- STDOUT:
- STDERR: + mkdir -p images/cirros
- + cd images/cirros
- + curl -L file:///opt/rpcs/cirros-0.3.0-x86_64-uec.tar.gz
- + tar -zx
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 6794k 100 6794k 0 0 26.9M 0 --:--:-- --:--:-- --:--:-- 26.9M
- ++ basename file:///opt/rpcs/cirros-0.3.0-x86_64-uec.tar.gz .tar.gz
- + image_name=cirros-0.3.0-x86_64-uec
- + image_name=cirros-0.3.0-x86_64-uec
- ++ head -n1
- ++ ls '*vmlinuz-virtual'
- ls: cannot access *vmlinuz-virtual: No such file or directory
- + kernel_file=
- + '[' 0 -eq 0 ']'
- ++ head -n1
- ++ ls cirros-0.3.0-x86_64-vmlinuz
- + kernel_file=cirros-0.3.0-x86_64-vmlinuz
- ++ ls cirros-0.3.0-x86_64-initrd
- ++ head -n1
- + ramdisk=cirros-0.3.0-x86_64-initrd
- + '[' 26 -eq 0 ']'
- ++ head -n1
- ++ ls cirros-0.3.0-x86_64-blank.img
- + kernel=cirros-0.3.0-x86_64-blank.img
- ++ glance -I admin -K admin -T admin -N http://10.100.0.21:35357/v2.0 add name=cirros-0.3.0-x86_64-uec-kernel is_public=true container_format=aki disk_format=aki
- ++ cut -d: -f2
- ++ sed 's/ //'
- No handlers could be found for logger "keystoneclient.client"
- Invalid user / password (HTTP 401)
- + kid=
- ++ glance -I admin -K admin -T admin -N http://10.100.0.21:35357/v2.0 add name=cirros-0.3.0-x86_64-uec-initrd is_public=true container_format=ari disk_format=ari
- ++ cut -d: -f2
- ++ sed 's/ //'
- No handlers could be found for logger "keystoneclient.client"
- Invalid user / password (HTTP 401)
- + rid=
- + glance -I admin -K admin -T admin -N http://10.100.0.21:35357/v2.0 add name=cirros-image is_public=true container_format=ami disk_format=ami kernel_id= ramdisk_id=
- No handlers could be found for logger "keystoneclient.client"
- Invalid user / password (HTTP 401)
- ---- End output of "bash" "/tmp/chef-script20130125-16328-1jfuar8" ----
- Ran "bash" "/tmp/chef-script20130125-16328-1jfuar8" returned 1
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.0.0/lib/mixlib/shellout.rb:242:in `invalid!'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.0.0/lib/mixlib/shellout.rb:228:in `error!'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/mixin/shell_out.rb:36:in `shell_out!'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/provider/execute.rb:58:in `action_run'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/provider/script.rb:33:in `action_run'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource.rb:454:in `run_action'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:49:in `run_action'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `block (2 levels) in converge'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `each'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `block in converge'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection.rb:92:in `execute_each_resource'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:80:in `converge'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/client.rb:330:in `converge'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/client.rb:163:in `run'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/client.rb:254:in `block in run_application'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/client.rb:241:in `loop'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/client.rb:241:in `run_application'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application.rb:70:in `run'
- /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/bin/chef-client:26:in `<top (required)>'
- /usr/bin/chef-client:19:in `load'
- /usr/bin/chef-client:19:in `<main>'
- [Fri, 25 Jan 2013 11:19:37 -0500] ERROR: Running exception handlers
- [Fri, 25 Jan 2013 11:19:59 -0500] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
- [Fri, 25 Jan 2013 11:19:59 -0500] ERROR: Exception handlers complete
- [Fri, 25 Jan 2013 11:19:59 -0500] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
- [Fri, 25 Jan 2013 11:19:59 -0500] FATAL: Mixlib::ShellOut::ShellCommandFailed: bash[Uploading AMI image cirros] (/var/chef/cache/cookbooks/glance/providers/image.rb line 91) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
- ---- Begin output of "bash" "/tmp/chef-script20130125-16328-1jfuar8" ----
- STDOUT:
- STDERR: + mkdir -p images/cirros
- + cd images/cirros
- + curl -L file:///opt/rpcs/cirros-0.3.0-x86_64-uec.tar.gz
- + tar -zx
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 6794k 100 6794k 0 0 26.9M 0 --:--:-- --:--:-- --:--:-- 26.9M
- ++ basename file:///opt/rpcs/cirros-0.3.0-x86_64-uec.tar.gz .tar.gz
- + image_name=cirros-0.3.0-x86_64-uec
- + image_name=cirros-0.3.0-x86_64-uec
- ++ head -n1
- ++ ls '*vmlinuz-virtual'
- ls: cannot access *vmlinuz-virtual: No such file or directory
- + kernel_file=
- + '[' 0 -eq 0 ']'
- ++ head -n1
- ++ ls cirros-0.3.0-x86_64-vmlinuz
- + kernel_file=cirros-0.3.0-x86_64-vmlinuz
- ++ ls cirros-0.3.0-x86_64-initrd
- ++ head -n1
- + ramdisk=cirros-0.3.0-x86_64-initrd
- + '[' 26 -eq 0 ']'
- ++ head -n1
- ++ ls cirros-0.3.0-x86_64-blank.img
- + kernel=cirros-0.3.0-x86_64-blank.img
- ++ glance -I admin -K admin -T admin -N http://10.100.0.21:35357/v2.0 add name=cirros-0.3.0-x86_64-uec-kernel is_public=true container_format=aki disk_format=aki
- ++ cut -d: -f2
- ++ sed 's/ //'
- No handlers could be found for logger "keystoneclient.client"
- Invalid user / password (HTTP 401)
- + kid=
- ++ glance -I admin -K admin -T admin -N http://10.100.0.21:35357/v2.0 add name=cirros-0.3.0-x86_64-uec-initrd is_public=true container_format=ari disk_format=ari
- ++ cut -d: -f2
- ++ sed 's/ //'
- No handlers could be found for logger "keystoneclient.client"
- Invalid user / password (HTTP 401)
- + rid=
- + glance -I admin -K admin -T admin -N http://10.100.0.21:35357/v2.0 add name=cirros-image is_public=true container_format=ami disk_format=ami kernel_id= ramdisk_id=
- No handlers could be found for logger "keystoneclient.client"
- Invalid user / password (HTTP 401)
- ---- End output of "bash" "/tmp/chef-script20130125-16328-1jfuar8" ----
- Ran "bash" "/tmp/chef-script20130125-16328-1jfuar8" returned 1
- root@node11:/etc# bash[Uploading AMI image cirros] (/var/chef/cache/cookbooks/glance/providers/image.rb line 91) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
- -bash: syntax error near unexpected token `/var/chef/cache/cookbooks/glance/providers/image.rb'
- root@node11:/etc#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement