Advertisement
Guest User

Untitled

a guest
Jan 25th, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.29 KB | None | 0 0
  1. [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)
  2. [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
  3. [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:
  4. 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'
  5. ---- Begin output of "bash" "/tmp/chef-script20130125-16328-1jfuar8" ----
  6. STDOUT:
  7. STDERR: + mkdir -p images/cirros
  8. + cd images/cirros
  9. + curl -L file:///opt/rpcs/cirros-0.3.0-x86_64-uec.tar.gz
  10. + tar -zx
  11. % Total % Received % Xferd Average Speed Time Time Time Current
  12. Dload Upload Total Spent Left Speed
  13. 100 6794k 100 6794k 0 0 26.9M 0 --:--:-- --:--:-- --:--:-- 26.9M
  14. ++ basename file:///opt/rpcs/cirros-0.3.0-x86_64-uec.tar.gz .tar.gz
  15. + image_name=cirros-0.3.0-x86_64-uec
  16. + image_name=cirros-0.3.0-x86_64-uec
  17. ++ head -n1
  18. ++ ls '*vmlinuz-virtual'
  19. ls: cannot access *vmlinuz-virtual: No such file or directory
  20. + kernel_file=
  21. + '[' 0 -eq 0 ']'
  22. ++ head -n1
  23. ++ ls cirros-0.3.0-x86_64-vmlinuz
  24. + kernel_file=cirros-0.3.0-x86_64-vmlinuz
  25. ++ ls cirros-0.3.0-x86_64-initrd
  26. ++ head -n1
  27. + ramdisk=cirros-0.3.0-x86_64-initrd
  28. + '[' 26 -eq 0 ']'
  29. ++ head -n1
  30. ++ ls cirros-0.3.0-x86_64-blank.img
  31. + kernel=cirros-0.3.0-x86_64-blank.img
  32. ++ 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
  33. ++ cut -d: -f2
  34. ++ sed 's/ //'
  35. No handlers could be found for logger "keystoneclient.client"
  36. Invalid user / password (HTTP 401)
  37. + kid=
  38. ++ 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
  39. ++ cut -d: -f2
  40. ++ sed 's/ //'
  41. No handlers could be found for logger "keystoneclient.client"
  42. Invalid user / password (HTTP 401)
  43. + rid=
  44. + 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=
  45. No handlers could be found for logger "keystoneclient.client"
  46. Invalid user / password (HTTP 401)
  47. ---- End output of "bash" "/tmp/chef-script20130125-16328-1jfuar8" ----
  48. Ran "bash" "/tmp/chef-script20130125-16328-1jfuar8" returned 1
  49. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.0.0/lib/mixlib/shellout.rb:242:in `invalid!'
  50. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.0.0/lib/mixlib/shellout.rb:228:in `error!'
  51. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/mixin/shell_out.rb:36:in `shell_out!'
  52. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/provider/execute.rb:58:in `action_run'
  53. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/provider/script.rb:33:in `action_run'
  54. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource.rb:454:in `run_action'
  55. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:49:in `run_action'
  56. /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'
  57. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `each'
  58. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `block in converge'
  59. /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'
  60. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
  61. /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'
  62. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
  63. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
  64. /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'
  65. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection.rb:92:in `execute_each_resource'
  66. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:80:in `converge'
  67. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/client.rb:330:in `converge'
  68. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/client.rb:163:in `run'
  69. /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'
  70. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/client.rb:241:in `loop'
  71. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/client.rb:241:in `run_application'
  72. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application.rb:70:in `run'
  73. /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/bin/chef-client:26:in `<top (required)>'
  74. /usr/bin/chef-client:19:in `load'
  75. /usr/bin/chef-client:19:in `<main>'
  76. [Fri, 25 Jan 2013 11:19:37 -0500] ERROR: Running exception handlers
  77. [Fri, 25 Jan 2013 11:19:59 -0500] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
  78. [Fri, 25 Jan 2013 11:19:59 -0500] ERROR: Exception handlers complete
  79. [Fri, 25 Jan 2013 11:19:59 -0500] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
  80. [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'
  81. ---- Begin output of "bash" "/tmp/chef-script20130125-16328-1jfuar8" ----
  82. STDOUT:
  83. STDERR: + mkdir -p images/cirros
  84. + cd images/cirros
  85. + curl -L file:///opt/rpcs/cirros-0.3.0-x86_64-uec.tar.gz
  86. + tar -zx
  87. % Total % Received % Xferd Average Speed Time Time Time Current
  88. Dload Upload Total Spent Left Speed
  89. 100 6794k 100 6794k 0 0 26.9M 0 --:--:-- --:--:-- --:--:-- 26.9M
  90. ++ basename file:///opt/rpcs/cirros-0.3.0-x86_64-uec.tar.gz .tar.gz
  91. + image_name=cirros-0.3.0-x86_64-uec
  92. + image_name=cirros-0.3.0-x86_64-uec
  93. ++ head -n1
  94. ++ ls '*vmlinuz-virtual'
  95. ls: cannot access *vmlinuz-virtual: No such file or directory
  96. + kernel_file=
  97. + '[' 0 -eq 0 ']'
  98. ++ head -n1
  99. ++ ls cirros-0.3.0-x86_64-vmlinuz
  100. + kernel_file=cirros-0.3.0-x86_64-vmlinuz
  101. ++ ls cirros-0.3.0-x86_64-initrd
  102. ++ head -n1
  103. + ramdisk=cirros-0.3.0-x86_64-initrd
  104. + '[' 26 -eq 0 ']'
  105. ++ head -n1
  106. ++ ls cirros-0.3.0-x86_64-blank.img
  107. + kernel=cirros-0.3.0-x86_64-blank.img
  108. ++ 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
  109. ++ cut -d: -f2
  110. ++ sed 's/ //'
  111. No handlers could be found for logger "keystoneclient.client"
  112. Invalid user / password (HTTP 401)
  113. + kid=
  114. ++ 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
  115. ++ cut -d: -f2
  116. ++ sed 's/ //'
  117. No handlers could be found for logger "keystoneclient.client"
  118. Invalid user / password (HTTP 401)
  119. + rid=
  120. + 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=
  121. No handlers could be found for logger "keystoneclient.client"
  122. Invalid user / password (HTTP 401)
  123. ---- End output of "bash" "/tmp/chef-script20130125-16328-1jfuar8" ----
  124. Ran "bash" "/tmp/chef-script20130125-16328-1jfuar8" returned 1
  125. 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'
  126. -bash: syntax error near unexpected token `/var/chef/cache/cookbooks/glance/providers/image.rb'
  127. root@node11:/etc#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement