Task #3019

Bug #3118: fix up docker code and add some basic docker info on doc.arvados.org

Fix docker installation so it can run current workbench, apiserver, sso-provider, and keep

Added by Tom Clegg over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
07/16/2014
Due date:
% Done:

0%

Estimated time:

Description

Bring the docker scripts up to date with
  • Docker 1.0
  • Current versions of Arvados components
With a fresh docker install, it should be possible to:
  • Use a browser (running on a real host) to log in to Workbench
  • Use arv-put and arv-get (running on a real host) to store/retrieve data in the dockerized Keep services

History

#1 Updated by Tom Clegg over 5 years ago

  • Subject changed from Fix docker installation so it can run current workbench, apiserver, and keep to Fix docker installation so it can run current workbench, apiserver, sso-provider, and keep

#2 Updated by Tom Clegg over 5 years ago

  • Description updated (diff)

#3 Updated by Tom Clegg over 5 years ago

  • Target version deleted (2014-07-16 Sprint)

#4 Updated by Brad Chapman over 5 years ago

As some additional information, currently the workbench build fails on Ubuntu 13.10 with Docker 1.0:

2014/06/29 10:25:56 The command [/bin/sh -c bundle install --gemfile=/usr/src/arvados/apps/workbench/Gemfile &&    touch /usr/src/arvados/apps/workbench/log/production.log &&    chmod 666 /usr/src/arvados/apps/workbench/log/production.log &&    touch /usr/src/arvados/apps/workbench/db/production.sqlite3 &&    bundle install --gemfile=/usr/src/arvados/apps/workbench/Gemfile &&    cd /usr/src/arvados/apps/workbench &&    rake assets:precompile &&    chown -R www-data:www-data /usr/src/arvados/apps/workbench] returned a non-zero code: 1
make: *** [workbench-image] Error 1

docker logs indicate some kind of rails-related error:

themes_for_rails at /usr/local/rvm/gems/ruby-2.1.0/bundler/gems/themes_for_rails-1fd2d7897d75 did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
  duplicate dependency on rails (= 3.0.11, development), (>= 3.0.0) use:
    add_runtime_dependency 'rails', '= 3.0.11', '>= 3.0.0'
Using themes_for_rails 0.5.1 from https://github.com/holtkampw/themes_for_rails (at 1fd2d78)
Using therubyracer 0.12.0
Using uglifier 2.3.1
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
rake aborted!
Refusing to start in development mode with missing configuration.

The following configuration settings must be specified in
config/application.yml:
* secret_token

/usr/src/arvados/apps/workbench/config/load_config.rb:40:in `block in <top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.1.1/lib/rails/railtie.rb:210:in `instance_eval'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.1.1/lib/rails/railtie.rb:210:in `configure'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.1.1/lib/rails/railtie.rb:182:in `configure'
/usr/src/arvados/apps/workbench/config/load_config.rb:16:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `block in require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:232:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
/usr/src/arvados/apps/workbench/config/application.rb:53:in `<top (required)>'
/usr/src/arvados/apps/workbench/Rakefile:5:in `require'
/usr/src/arvados/apps/workbench/Rakefile:5:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)

#5 Updated by Ward Vandewege over 5 years ago

  • Assigned To set to Ward Vandewege
  • Parent task set to #3118

#6 Updated by Ward Vandewege over 5 years ago

  • Status changed from New to Resolved
  • Start date set to 07/16/2014
  • Remaining (hours) set to 0.0

Also available in: Atom PDF