We solved this problem looked to be a  proxy server issue... but we have
ran into other issue at the bottom of this log
when running docker-admin :



  * service[postgresql] action start[2014-04-13T04:30:55+00:00] INFO:
Processing service[postgresql] action start (crowbar-bootstrap::default
line 271)
 (up to date)
  * directory[/var/lib/postgresql/9.3/main/base] action
create[2014-04-13T04:30:55+00:00] INFO: Processing
directory[/var/lib/postgresql/9.3/main/base] action create
(crowbar-bootstrap::default line 275)
 (up to date)
  * template[/etc/postgresql/9.3/main/pg_hba.conf] action
create[2014-04-13T04:30:55+00:00] INFO: Processing
template[/etc/postgresql/9.3/main/pg_hba.conf] action create
(crowbar-bootstrap::default line 296)
 (up to date)
  * bash[create crowbar user for postgres] action
run[2014-04-13T04:30:55+00:00] INFO: Processing bash[create crowbar user
for postgres] action run (crowbar-bootstrap::default line 301)
 (skipped due to not_if)
  * gem_package[bundler] action install[2014-04-13T04:30:55+00:00] INFO:
Processing gem_package[bundler] action install (crowbar-bootstrap::default
line 307)
 (up to date)
  * gem_package[net-http-digest_auth] action
install[2014-04-13T04:30:55+00:00] INFO: Processing
gem_package[net-http-digest_auth] action install
(crowbar-bootstrap::default line 307)
 (up to date)
  * gem_package[json] action install[2014-04-13T04:30:55+00:00] INFO:
Processing gem_package[json] action install (crowbar-bootstrap::default
line 307)
 (up to date)
  * gem_package[cstruct] action install[2014-04-13T04:30:55+00:00] INFO:
Processing gem_package[cstruct] action install (crowbar-bootstrap::default
line 307)
 (up to date)
  * gem_package[builder] action install[2014-04-13T04:30:55+00:00] INFO:
Processing gem_package[builder] action install (crowbar-bootstrap::default
line 307)

    - install version 3.2.2 of package builder

  * gem_package[berkshelf] action install[2014-04-13T04:31:03+00:00] INFO:
Processing gem_package[berkshelf] action install
(crowbar-bootstrap::default line 307)

    - install version 2.0.14 of package berkshelf

  * directory[/tftpboot/gemsite/gems] action
create[2014-04-13T04:33:37+00:00] INFO: Processing
directory[/tftpboot/gemsite/gems] action create (crowbar-bootstrap::default
line 313)
[2014-04-13T04:33:37+00:00] INFO: directory[/tftpboot/gemsite/gems] created
directory /tftpboot/gemsite/gems

    - create new directory /tftpboot/gemsite/gems

  * bash[Create skeleton local gemsite] action
run[2014-04-13T04:33:37+00:00] INFO: Processing bash[Create skeleton local
gemsite] action run (crowbar-bootstrap::default line 318)
Generating Marshal quick index gemspecs for 0 gems

Complete
Generated Marshal quick index gemspecs: 0.000s
Generating Marshal master index
Generated Marshal master index: 0.000s
Generating specs index
Generated specs index: 0.000s
Generating latest specs index
Generated latest specs index: 0.000s
Generating prerelease specs index
Generated prerelease specs index: 0.000s
Compressing indicies
Compressed indicies: 0.001s
[2014-04-13T04:33:37+00:00] INFO: bash[Create skeleton local gemsite] ran
successfully

    - execute "bash"  "/tmp/chef-script20140413-13793-qt8pxq"

  * user[crowbar] action create[2014-04-13T04:33:37+00:00] INFO: Processing
user[crowbar] action create (crowbar-bootstrap::default line 324)
 (up to date)
  * directory[/var/run/crowbar] action create[2014-04-13T04:33:38+00:00]
INFO: Processing directory[/var/run/crowbar] action create
(crowbar-bootstrap::default line 337)
 (up to date)
  * directory[/var/cache/crowbar] action create[2014-04-13T04:33:38+00:00]
INFO: Processing directory[/var/cache/crowbar] action create
(crowbar-bootstrap::default line 337)
 (up to date)
  * directory[/var/cache/crowbar/gems] action
create[2014-04-13T04:33:38+00:00] INFO: Processing
directory[/var/cache/crowbar/gems] action create
(crowbar-bootstrap::default line 337)
 (up to date)
  * directory[/var/cache/crowbar/bin] action
create[2014-04-13T04:33:38+00:00] INFO: Processing
directory[/var/cache/crowbar/bin] action create (crowbar-bootstrap::default
line 337)
 (up to date)
  * directory[/var/log/crowbar] action create[2014-04-13T04:33:38+00:00]
INFO: Processing directory[/var/log/crowbar] action create
(crowbar-bootstrap::default line 337)
[2014-04-13T04:33:38+00:00] INFO: directory[/var/log/crowbar] created
directory /var/log/crowbar

    - create new directory /var/log/crowbar[2014-04-13T04:33:38+00:00]
INFO: directory[/var/log/crowbar] owner changed to 1000

    - change owner from '' to 'crowbar'

  * bash[install required gems for Crowbar using Bundler] action
run[2014-04-13T04:33:38+00:00] INFO: Processing bash[install required gems
for Crowbar using Bundler] action run (crowbar-bootstrap::default line 349)
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!

================================================================================
Error executing action `run` on resource 'bash[install required gems for
Crowbar using Bundler]'
================================================================================


Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of "bash"  "/tmp/chef-script20140413-13793-1i0uppi" ----
STDOUT: Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
STDERR: /usr/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir': Permission denied
- /opt/opencrowbar/core/rails/.bundle (Errno::EACCES)
    from /usr/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
    from /usr/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in
mkdir_p'
    from /usr/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
    from /usr/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
    from /usr/lib/ruby/1.9.1/fileutils.rb:205:in `each'
    from /usr/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/settings.rb:138:in
`set_key'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/settings.rb:17:in `[]='
    from /var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/cli.rb:237:in
`install'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/vendor/thor/command.rb:27:in
`run'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/vendor/thor/invocation.rb:121:in
`invoke_command'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/vendor/thor.rb:363:in
`dispatch'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/vendor/thor/base.rb:440:in
`start'
    from /var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/cli.rb:10:in
`start'
    from /var/lib/gems/1.9.1/gems/bundler-1.5.2/bin/bundle:20:in `block in
<top (required)>'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/friendly_errors.rb:5:in
`with_friendly_errors'
    from /var/lib/gems/1.9.1/gems/bundler-1.5.2/bin/bundle:20:in `<top
(required)>'
    from /usr/local/bin/bundle:19:in `load'
    from /usr/local/bin/bundle:19:in `<main>'
---- End output of "bash"  "/tmp/chef-script20140413-13793-1i0uppi" ----
Ran "bash"  "/tmp/chef-script20140413-13793-1i0uppi" returned 1


Resource Declaration:
---------------------
# In
/opt/opencrowbar/core/bootstrap/cookbooks/crowbar-bootstrap/recipes/default.rb

349: bash "install required gems for Crowbar using Bundler" do
350:   code "su -l -c 'cd /opt/opencrowbar/core/rails; bundle install
--path /var/cache/crowbar/gems --standalone --binstubs
/var/cache/crowbar/bin' crowbar"
351: end
352:



Compiled Resource:
------------------
# Declared in
/opt/opencrowbar/core/bootstrap/cookbooks/crowbar-bootstrap/recipes/default.rb:349:in
`from_file'

bash("install required gems for Crowbar using Bundler") do
  action "run"
  retries 0
  retry_delay 2
  command "\"bash\"  \"/tmp/chef-script20140413-13793-1i0uppi\""
  backup 5
  returns 0
  code "su -l -c 'cd /opt/opencrowbar/core/rails; bundle install --path
/var/cache/crowbar/gems --standalone --binstubs /var/cache/crowbar/bin'
crowbar"
  interpreter "bash"
  cookbook_name :"crowbar-bootstrap"
  recipe_name "default"
end



[2014-04-13T04:33:38+00:00] INFO: Running queued delayed notifications
before re-raising exception
[2014-04-13T04:33:38+00:00] ERROR: Running exception handlers
[2014-04-13T04:33:38+00:00] ERROR: Exception handlers complete
[2014-04-13T04:33:38+00:00] FATAL: Stacktrace dumped to
/var/chef/cache/chef-stacktrace.out
Chef Client failed. 16 resources updated
[2014-04-13T04:33:38+00:00] ERROR: bash[install required gems for Crowbar
using Bundler] (crowbar-bootstrap::default line 349) had an error:
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0],
but received '1'
---- Begin output of "bash"  "/tmp/chef-script20140413-13793-1i0uppi" ----
STDOUT: Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
STDERR: /usr/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir': Permission denied
- /opt/opencrowbar/core/rails/.bundle (Errno::EACCES)
    from /usr/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
    from /usr/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in
mkdir_p'
    from /usr/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
    from /usr/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
    from /usr/lib/ruby/1.9.1/fileutils.rb:205:in `each'
    from /usr/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/settings.rb:138:in
`set_key'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/settings.rb:17:in `[]='
    from /var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/cli.rb:237:in
`install'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/vendor/thor/command.rb:27:in
`run'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/vendor/thor/invocation.rb:121:in
`invoke_command'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/vendor/thor.rb:363:in
`dispatch'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/vendor/thor/base.rb:440:in
`start'
    from /var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/cli.rb:10:in
`start'
    from /var/lib/gems/1.9.1/gems/bundler-1.5.2/bin/bundle:20:in `block in
<top (required)>'
    from
/var/lib/gems/1.9.1/gems/bundler-1.5.2/lib/bundler/friendly_errors.rb:5:in
`with_friendly_errors'
    from /var/lib/gems/1.9.1/gems/bundler-1.5.2/bin/bundle:20:in `<top
(required)>'
    from /usr/local/bin/bundle:19:in `load'
    from /usr/local/bin/bundle:19:in `<main>'
---- End output of "bash"  "/tmp/chef-script20140413-13793-1i0uppi" ----
Ran "bash"  "/tmp/chef-script20140413-13793-1i0uppi" returned 1
[2014-04-13T04:33:38+00:00] FATAL: Chef::Exceptions::ChildConvergeError:
Chef run process exited unsuccessfully (exit code 1)
Chef-solo bootstrap run failed
Failed to bootstrap the Crowbar UI
root@9e720956649f:/opt/opencrowbar/core# whoami
root
root@9e720956649f:/opt/opencrowbar/core# ls
/opt/opencrowbar/core/rails/.bundle
ls: cannot access /opt/opencrowbar/core/rails/.bundle: No such file or
directory
root@9e720956649f:/opt/opencrowbar/core#
root@9e720956649f:/opt/opencrowbar/core#
root@9e720956649f:/opt/opencrowbar/core#



On Sat, Apr 12, 2014 at 7:13 PM, Raghu Katti <raka...@gmail.com> wrote:

> I have installed docker on virtualbox and also checked out latest
> opencrowbar/core. I also do have connectivity
> to us.archive.ubuntu.com but 'tools/docker-admin  ubuntu  ./production.sh
> admin.smoke.test' fails with following
> error message : Err http://us.archive.ubuntu.com precise InRelease
>
> Any thoughts on how to resolve it ?
>
> raghu@raghu-VirtualBox:~/core$ curl http://us.archive.ubuntu.com
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <html>
>  <head>
>   <title>Index of /</title>
>  </head>
>  <body>
> <h1>Index of /</h1>
> <table><tr><th><img src="/icons/blank.gif" alt="[ICO]"></th><th><a
> href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last
> modified</a></th><th><a href="?C=S;O=A">Size</a></th></tr><tr><th
> colspan="4"><hr></th></tr>
> <tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a
> href="ubuntu/">ubuntu/</a></td><td align="right">12-Apr-2014 23:53
> </td><td align="right">  - </td></tr>
> <tr><th colspan="4"><hr></th></tr>
> </table>
> <address>Apache/2.2.22 (Ubuntu) Server at us.archive.ubuntu.com Port
> 80</address>
> </body></html>
>
>
>
>
> raghu@raghu-VirtualBox:~/core$ tools/docker-admin  ubuntu
> ./production.sh admin.smoke.test
> We will mount /home/raghu at /opt/opencrowbar
> usermod: no changes
> usermod: no changes
> Sun Apr 13 00:09:11 UTC 2014
> Generating locales...
>   en_US.UTF-8... up-to-date
> Generation complete.
> [2014-04-13T00:09:12+00:00] INFO: Forking chef instance to converge...
> Starting Chef Client, version 11.8.2
> [2014-04-13T00:09:12+00:00] INFO: *** Chef 11.8.2 ***
> [2014-04-13T00:09:12+00:00] INFO: Chef-client pid: 13793
> [2014-04-13T00:09:13+00:00] WARN: Run List override has been provided.
> [2014-04-13T00:09:13+00:00] WARN: Original Run List: []
> [2014-04-13T00:09:13+00:00] WARN: Overridden Run List:
> [recipe[crowbar-bootstrap]]
> [2014-04-13T00:09:13+00:00] INFO: Run List is [recipe[crowbar-bootstrap]]
> [2014-04-13T00:09:13+00:00] INFO: Run List expands to [crowbar-bootstrap]
> [2014-04-13T00:09:13+00:00] INFO: Starting Chef Run for ee0fe8fc9f79
> [2014-04-13T00:09:13+00:00] INFO: Running start handlers
> [2014-04-13T00:09:13+00:00] INFO: Start handlers complete.
> Compiling Cookbooks...
> Converging 38 resources
> Recipe: crowbar-bootstrap::default
>   * file[/tmp/install_pkgs] action nothing[2014-04-13T00:09:13+00:00]
> INFO: Processing file[/tmp/install_pkgs] action nothing
> (crowbar-bootstrap::default line 107)
>  (skipped due to action :nothing)
>   * template[/tmp/required_pkgs] action create[2014-04-13T00:09:13+00:00]
> INFO: Processing template[/tmp/required_pkgs] action create
> (crowbar-bootstrap::default line 111)
> [2014-04-13T00:09:13+00:00] INFO: template[/tmp/required_pkgs] backed up
> to /var/chef/backup/tmp/required_pkgs.chef-20140413000913.086526
> [2014-04-13T00:09:13+00:00] INFO: template[/tmp/required_pkgs] updated
> file contents /tmp/required_pkgs
>
>     - update content in file /tmp/required_pkgs from d1b3c1 to 7b38b8
>         --- /tmp/required_pkgs    2014-02-05 18:32:51.000000000 +0000
>         +++ /tmp/chef-rendered-template20140413-13793-2f4rbp    2014-04-13
> 00:09:13.077554920 +0000
>         @@ -1,8 +1,12 @@
>          bison
>         +bsdtar
>          build-essential
>         +createrepo
>          curl
>         +dpkg-dev
>          efibootmgr
>          flex
>         +git
>          iputils-ping
>          kwalify
>          less
>
> [2014-04-13T00:09:13+00:00] INFO: template[/tmp/required_pkgs] sending
> create_if_missing action to file[/tmp/install_pkgs] (immediate)
>   * file[/tmp/install_pkgs] action
> create_if_missing[2014-04-13T00:09:13+00:00] INFO: Processing
> file[/tmp/install_pkgs] action create_if_missing
> (crowbar-bootstrap::default line 107)
> [2014-04-13T00:09:13+00:00] INFO: file[/tmp/install_pkgs] created file
> /tmp/install_pkgs
>
>     - create new file /tmp/install_pkgs
>
>   * template[/etc/apt/sources.list.d/crowbar.list] action
> create[2014-04-13T00:09:13+00:00] INFO: Processing
> template[/etc/apt/sources.list.d/crowbar.list] action create
> (crowbar-bootstrap::default line 119)
>  (up to date)
>   * bash[Install required files] action run[2014-04-13T00:09:13+00:00]
> INFO: Processing bash[Install required files] action run
> (crowbar-bootstrap::default line 183)
> Err http://archive.ubuntu.com precise InRelease
>
> Err http://us.archive.ubuntu.com precise InRelease
>
> Err http://archive.canonical.com precise InRelease
>
> Err http://extras.ubuntu.com precise InRelease
>
> Err http://security.ubuntu.com precise-security InRelease
>
> Err http://apt.postgresql.org precise-pgdg InRelease
>
> Err http://get.docker.io docker InRelease
>
_______________________________________________
Crowbar mailing list
Crowbar@dell.com
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to