tim 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +392 -0
- data/Rakefile +33 -0
- data/app/assets/javascripts/tim/application.js +15 -0
- data/app/assets/stylesheets/tim/application.css +13 -0
- data/app/controllers/tim/application_controller.rb +19 -0
- data/app/controllers/tim/base_images_controller.rb +59 -0
- data/app/controllers/tim/entrypoint_controller.rb +8 -0
- data/app/controllers/tim/image_versions_controller.rb +48 -0
- data/app/controllers/tim/provider_images_controller.rb +59 -0
- data/app/controllers/tim/target_images_controller.rb +61 -0
- data/app/controllers/tim/templates_controller.rb +47 -0
- data/app/filters/tim/user_keys_filter.rb +59 -0
- data/app/helpers/tim/application_helper.rb +4 -0
- data/app/models/tim/base.rb +6 -0
- data/app/models/tim/base_image.rb +15 -0
- data/app/models/tim/image_version.rb +13 -0
- data/app/models/tim/provider_image.rb +51 -0
- data/app/models/tim/target_image.rb +50 -0
- data/app/models/tim/template.rb +19 -0
- data/app/responders/tim/custom_responder.rb +24 -0
- data/app/validators/template_validator.rb +15 -0
- data/app/views/layouts/tim/application.html.erb +14 -0
- data/app/views/tim/base_images/_base_image.xml.haml +11 -0
- data/app/views/tim/base_images/_base_image_minimal.xml.haml +2 -0
- data/app/views/tim/base_images/_form.html.erb +17 -0
- data/app/views/tim/base_images/edit.html.erb +6 -0
- data/app/views/tim/base_images/index.html.erb +17 -0
- data/app/views/tim/base_images/index.xml.haml +4 -0
- data/app/views/tim/base_images/new.html.erb +5 -0
- data/app/views/tim/base_images/show.html.erb +5 -0
- data/app/views/tim/base_images/show.xml.haml +2 -0
- data/app/views/tim/entrypoint/index.xml.haml +7 -0
- data/app/views/tim/image_versions/_form.html.erb +17 -0
- data/app/views/tim/image_versions/_image_version.xml.haml +9 -0
- data/app/views/tim/image_versions/_image_version_minimal.xml.haml +2 -0
- data/app/views/tim/image_versions/edit.html.erb +6 -0
- data/app/views/tim/image_versions/index.html.erb +17 -0
- data/app/views/tim/image_versions/index.xml.haml +4 -0
- data/app/views/tim/image_versions/new.html.erb +5 -0
- data/app/views/tim/image_versions/show.html.erb +5 -0
- data/app/views/tim/image_versions/show.xml.haml +2 -0
- data/app/views/tim/images/_form.html.erb +17 -0
- data/app/views/tim/images/edit.html.erb +6 -0
- data/app/views/tim/images/index.html.erb +21 -0
- data/app/views/tim/images/new.html.erb +5 -0
- data/app/views/tim/images/show.html.erb +5 -0
- data/app/views/tim/layouts/application.html.erb +14 -0
- data/app/views/tim/provider_images/_form.html.erb +17 -0
- data/app/views/tim/provider_images/_provider_image.xml.haml +12 -0
- data/app/views/tim/provider_images/_provider_image_minimal.xml.haml +2 -0
- data/app/views/tim/provider_images/edit.html.erb +6 -0
- data/app/views/tim/provider_images/index.html.erb +17 -0
- data/app/views/tim/provider_images/index.xml.haml +4 -0
- data/app/views/tim/provider_images/new.html.erb +5 -0
- data/app/views/tim/provider_images/show.html.erb +5 -0
- data/app/views/tim/provider_images/show.xml.haml +2 -0
- data/app/views/tim/target_images/_form.html.erb +17 -0
- data/app/views/tim/target_images/_target_image.xml.haml +13 -0
- data/app/views/tim/target_images/_target_image_minimal.xml.haml +2 -0
- data/app/views/tim/target_images/edit.html.erb +6 -0
- data/app/views/tim/target_images/index.html.erb +21 -0
- data/app/views/tim/target_images/index.xml.haml +4 -0
- data/app/views/tim/target_images/new.html.erb +5 -0
- data/app/views/tim/target_images/show.html.erb +5 -0
- data/app/views/tim/target_images/show.xml.haml +2 -0
- data/app/views/tim/templates/_form.html.erb +17 -0
- data/app/views/tim/templates/_template.xml.haml +8 -0
- data/app/views/tim/templates/_template_minimal.xml.haml +2 -0
- data/app/views/tim/templates/edit.html.erb +6 -0
- data/app/views/tim/templates/index.html.erb +17 -0
- data/app/views/tim/templates/index.xml.haml +4 -0
- data/app/views/tim/templates/new.html.erb +5 -0
- data/app/views/tim/templates/show.html.erb +5 -0
- data/app/views/tim/templates/show.xml.haml +2 -0
- data/config/cucumber.yml +8 -0
- data/config/initializers/haml.rb +1 -0
- data/config/routes.rb +9 -0
- data/config/schemas/tdl.rng +282 -0
- data/config/user_keys.yml +26 -0
- data/db/migrate/20120906180351_create_tim_base_images.rb +12 -0
- data/db/migrate/20120906210106_create_tim_image_versions.rb +10 -0
- data/db/migrate/20120910175233_create_tim_templates.rb +9 -0
- data/db/migrate/20120911202321_create_tim_target_images.rb +14 -0
- data/db/migrate/20120911204329_create_tim_provider_images.rb +19 -0
- data/lib/generators/tim/install_generator.rb +15 -0
- data/lib/generators/tim/templates/README +6 -0
- data/lib/generators/tim/templates/tim.rb +8 -0
- data/lib/image_factory/image_factory.rb +4 -0
- data/lib/image_factory/model/base.rb +88 -0
- data/lib/image_factory/model/provider_image.rb +6 -0
- data/lib/image_factory/model/target_image.rb +6 -0
- data/lib/tasks/cucumber.rake +59 -0
- data/lib/tasks/tim_tasks.rake +4 -0
- data/lib/tim.rb +8 -0
- data/lib/tim/engine.rb +9 -0
- data/lib/tim/version.rb +3 -0
- data/spec/controllers/base_images_controller_spec.rb +131 -0
- data/spec/controllers/entrypoint_controller_spec.rb +32 -0
- data/spec/controllers/image_versions_controller_spec.rb +146 -0
- data/spec/controllers/provider_images_controller_spec.rb +156 -0
- data/spec/controllers/target_images_controller_spec.rb +153 -0
- data/spec/controllers/templates_controller_spec.rb +41 -0
- data/spec/decorators/controllers/templates_controller_decorator_spec.rb +13 -0
- data/spec/factories/tim/base_image.rb +10 -0
- data/spec/factories/tim/image_factory/provider_image.rb +10 -0
- data/spec/factories/tim/image_factory/status_detail.rb +0 -0
- data/spec/factories/tim/image_factory/target_image.rb +7 -0
- data/spec/factories/tim/image_version.rb +20 -0
- data/spec/factories/tim/provider_image.rb +9 -0
- data/spec/factories/tim/target_image.rb +10 -0
- data/spec/factories/tim/template.rb +23 -0
- data/spec/filters/user_keys_filter_spec.rb +41 -0
- data/spec/fixtures/template.xml +13 -0
- data/spec/models/base_image_spec.rb +39 -0
- data/spec/models/dummy/pool_family_spec.rb +14 -0
- data/spec/models/dummy/provider_account_spec.rb +18 -0
- data/spec/models/dummy/provider_type_spec.rb +18 -0
- data/spec/models/dummy/user_spec.rb +14 -0
- data/spec/models/image_version_spec.rb +27 -0
- data/spec/models/provider_image_spec.rb +69 -0
- data/spec/models/target_image_spec.rb +75 -0
- data/spec/models/template_spec.rb +16 -0
- data/spec/spec_helper.rb +56 -0
- data/spec/support/routes.rb +41 -0
- data/spec/validators/template_validator_spec.rb +19 -0
- data/spec/views/base_images_spec.rb +23 -0
- data/spec/views/image_versions_spec.rb +25 -0
- data/spec/views/provider_images_spec.rb +30 -0
- data/spec/views/target_images_spec.rb +25 -0
- data/spec/views/templates_spec.rb +24 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/decorators/tim/controllers/templates_controller_decorator.rb +8 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/pool_family.rb +3 -0
- data/test/dummy/app/models/provider_account.rb +3 -0
- data/test/dummy/app/models/provider_type.rb +3 -0
- data/test/dummy/app/models/tim/base_image.rb +6 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/tim/base_images/_custom.xml.haml +1 -0
- data/test/dummy/app/views/tim/image_versions/_custom.xml.haml +1 -0
- data/test/dummy/app/views/tim/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/tim/provider_images/_custom.xml.haml +1 -0
- data/test/dummy/app/views/tim/target_images/_custom.xml.haml +1 -0
- data/test/dummy/app/views/tim/templates/_custom.xml.haml +1 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +58 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +28 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/tim.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20120326103723532622_create_users.rb +9 -0
- data/test/dummy/db/migrate/20120423123114264114_create_pool_families.rb +7 -0
- data/test/dummy/db/migrate/20120911182850_add_pool_family_id_to_tim_base_image.rb +5 -0
- data/test/dummy/db/migrate/20120911202845_add_provider_type_id_to_tim_target_image.rb +5 -0
- data/test/dummy/db/migrate/20120911203222_create_provider_types.rb +7 -0
- data/test/dummy/db/migrate/20120911205431_create_provider_accounts.rb +7 -0
- data/test/dummy/db/schema.rb +86 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +982 -0
- data/test/dummy/log/test.log +8629 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test.rb +0 -0
- data/test/dummy/tmp/cache/assets/C7A/BB0/sprockets%2F13445f7a19078dd2df39517062aa6711 +0 -0
- data/test/dummy/tmp/cache/assets/C8C/CC0/sprockets%2F95d79f3b3096348427f3e4e38b5202e3 +0 -0
- data/test/dummy/tmp/cache/assets/CB0/2B0/sprockets%2F79106b90879c02a115d7f6f1c8390ac4 +0 -0
- data/test/dummy/tmp/cache/assets/CE0/690/sprockets%2F04c628c2a636286bfa92a4966b82b92a +0 -0
- data/test/dummy/tmp/cache/assets/D03/040/sprockets%2Fd9e94204d4b307145f12efc109b16c1f +0 -0
- data/test/dummy/tmp/cache/assets/D06/DC0/sprockets%2Fcd282851b6e4c463409ba3ece67e0510 +0 -0
- data/test/dummy/tmp/cache/assets/D23/5F0/sprockets%2F2a521f3183c6bbcd71bd26a5490b201e +0 -0
- data/test/dummy/tmp/cache/assets/D64/3A0/sprockets%2F56ac1aed10c39b12a88cb1b30f668f58 +0 -0
- data/test/dummy/tmp/cache/assets/D69/BD0/sprockets%2F0aaf75cf34556b33a9fec534fe4d0415 +0 -0
- data/test/dummy/tmp/cache/assets/D87/D80/sprockets%2Fefa3c8b210e87358c7add88cd6f49597 +0 -0
- data/test/dummy/tmp/cache/assets/D89/200/sprockets%2Ff9b4e953c874ed6a87de6490d055d9db +0 -0
- data/test/dummy/tmp/cache/assets/DF4/430/sprockets%2F403bb1de60cae4325cebd7e6c389b8ad +0 -0
- data/test/dummy/tmp/cache/assets/E00/500/sprockets%2Faaddc5b6f2cb6b98930cc54cf4c64a95 +0 -0
- data/test/dummy/tmp/cache/assets/EB3/CE0/sprockets%2Fd75a89c9fffacd99bce7eed96844eafc +0 -0
- metadata +432 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# SQLite version 3.x
|
|
2
|
+
# gem install sqlite3
|
|
3
|
+
#
|
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
5
|
+
# gem 'sqlite3'
|
|
6
|
+
development:
|
|
7
|
+
adapter: sqlite3
|
|
8
|
+
database: db/development.sqlite3
|
|
9
|
+
pool: 5
|
|
10
|
+
timeout: 5000
|
|
11
|
+
|
|
12
|
+
# Warning: The database defined as "test" will be erased and
|
|
13
|
+
# re-generated from your development database when you run "rake".
|
|
14
|
+
# Do not set this db to the same as development or production.
|
|
15
|
+
test: &test
|
|
16
|
+
adapter: sqlite3
|
|
17
|
+
database: db/test.sqlite3
|
|
18
|
+
pool: 5
|
|
19
|
+
timeout: 5000
|
|
20
|
+
|
|
21
|
+
production:
|
|
22
|
+
adapter: sqlite3
|
|
23
|
+
database: db/production.sqlite3
|
|
24
|
+
pool: 5
|
|
25
|
+
timeout: 5000
|
|
26
|
+
|
|
27
|
+
cucumber:
|
|
28
|
+
<<: *test
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Dummy::Application.configure do
|
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
|
3
|
+
|
|
4
|
+
# In the development environment your application's code is reloaded on
|
|
5
|
+
# every request. This slows down response time but is perfect for development
|
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
|
7
|
+
config.cache_classes = false
|
|
8
|
+
|
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
|
10
|
+
config.whiny_nils = true
|
|
11
|
+
|
|
12
|
+
# Show full error reports and disable caching
|
|
13
|
+
config.consider_all_requests_local = true
|
|
14
|
+
config.action_controller.perform_caching = false
|
|
15
|
+
|
|
16
|
+
# Don't care if the mailer can't send
|
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
|
18
|
+
|
|
19
|
+
# Print deprecation notices to the Rails logger
|
|
20
|
+
config.active_support.deprecation = :log
|
|
21
|
+
|
|
22
|
+
# Only use best-standards-support built into browsers
|
|
23
|
+
config.action_dispatch.best_standards_support = :builtin
|
|
24
|
+
|
|
25
|
+
# Raise exception on mass assignment protection for Active Record models
|
|
26
|
+
config.active_record.mass_assignment_sanitizer = :strict
|
|
27
|
+
|
|
28
|
+
# Log the query plan for queries taking more than this (works
|
|
29
|
+
# with SQLite, MySQL, and PostgreSQL)
|
|
30
|
+
config.active_record.auto_explain_threshold_in_seconds = 0.5
|
|
31
|
+
|
|
32
|
+
# Do not compress assets
|
|
33
|
+
config.assets.compress = false
|
|
34
|
+
|
|
35
|
+
# Expands the lines which load the assets
|
|
36
|
+
config.assets.debug = true
|
|
37
|
+
end
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
Dummy::Application.configure do
|
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
|
3
|
+
|
|
4
|
+
# Code is not reloaded between requests
|
|
5
|
+
config.cache_classes = true
|
|
6
|
+
|
|
7
|
+
# Full error reports are disabled and caching is turned on
|
|
8
|
+
config.consider_all_requests_local = false
|
|
9
|
+
config.action_controller.perform_caching = true
|
|
10
|
+
|
|
11
|
+
# Disable Rails's static asset server (Apache or nginx will already do this)
|
|
12
|
+
config.serve_static_assets = false
|
|
13
|
+
|
|
14
|
+
# Compress JavaScripts and CSS
|
|
15
|
+
config.assets.compress = true
|
|
16
|
+
|
|
17
|
+
# Don't fallback to assets pipeline if a precompiled asset is missed
|
|
18
|
+
config.assets.compile = false
|
|
19
|
+
|
|
20
|
+
# Generate digests for assets URLs
|
|
21
|
+
config.assets.digest = true
|
|
22
|
+
|
|
23
|
+
# Defaults to nil and saved in location specified by config.assets.prefix
|
|
24
|
+
# config.assets.manifest = YOUR_PATH
|
|
25
|
+
|
|
26
|
+
# Specifies the header that your server uses for sending files
|
|
27
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
|
28
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
|
29
|
+
|
|
30
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
|
31
|
+
# config.force_ssl = true
|
|
32
|
+
|
|
33
|
+
# See everything in the log (default is :info)
|
|
34
|
+
# config.log_level = :debug
|
|
35
|
+
|
|
36
|
+
# Prepend all log lines with the following tags
|
|
37
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
|
38
|
+
|
|
39
|
+
# Use a different logger for distributed setups
|
|
40
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
|
41
|
+
|
|
42
|
+
# Use a different cache store in production
|
|
43
|
+
# config.cache_store = :mem_cache_store
|
|
44
|
+
|
|
45
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
|
46
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
|
47
|
+
|
|
48
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
|
49
|
+
# config.assets.precompile += %w( search.js )
|
|
50
|
+
|
|
51
|
+
# Disable delivery errors, bad email addresses will be ignored
|
|
52
|
+
# config.action_mailer.raise_delivery_errors = false
|
|
53
|
+
|
|
54
|
+
# Enable threaded mode
|
|
55
|
+
# config.threadsafe!
|
|
56
|
+
|
|
57
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
|
58
|
+
# the I18n.default_locale when a translation can not be found)
|
|
59
|
+
config.i18n.fallbacks = true
|
|
60
|
+
|
|
61
|
+
# Send deprecation notices to registered listeners
|
|
62
|
+
config.active_support.deprecation = :notify
|
|
63
|
+
|
|
64
|
+
# Log the query plan for queries taking more than this (works
|
|
65
|
+
# with SQLite, MySQL, and PostgreSQL)
|
|
66
|
+
# config.active_record.auto_explain_threshold_in_seconds = 0.5
|
|
67
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Dummy::Application.configure do
|
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
|
3
|
+
|
|
4
|
+
# The test environment is used exclusively to run your application's
|
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
|
8
|
+
config.cache_classes = true
|
|
9
|
+
|
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
|
11
|
+
config.serve_static_assets = true
|
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
|
13
|
+
|
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
|
15
|
+
config.whiny_nils = true
|
|
16
|
+
|
|
17
|
+
# Show full error reports and disable caching
|
|
18
|
+
config.consider_all_requests_local = true
|
|
19
|
+
config.action_controller.perform_caching = false
|
|
20
|
+
|
|
21
|
+
# Raise exceptions instead of rendering exception templates
|
|
22
|
+
config.action_dispatch.show_exceptions = false
|
|
23
|
+
|
|
24
|
+
# Disable request forgery protection in test environment
|
|
25
|
+
config.action_controller.allow_forgery_protection = false
|
|
26
|
+
|
|
27
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
|
28
|
+
# The :test delivery method accumulates sent emails in the
|
|
29
|
+
# ActionMailer::Base.deliveries array.
|
|
30
|
+
config.action_mailer.delivery_method = :test
|
|
31
|
+
|
|
32
|
+
# Raise exception on mass assignment protection for Active Record models
|
|
33
|
+
config.active_record.mass_assignment_sanitizer = :strict
|
|
34
|
+
|
|
35
|
+
# Print deprecation notices to the stderr
|
|
36
|
+
config.active_support.deprecation = :stderr
|
|
37
|
+
end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
|
5
|
+
|
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Add new inflection rules using the following format
|
|
4
|
+
# (all these examples are active by default):
|
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
|
8
|
+
# inflect.irregular 'person', 'people'
|
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
|
10
|
+
# end
|
|
11
|
+
#
|
|
12
|
+
# These inflection rules are supported but not enabled by default:
|
|
13
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
|
14
|
+
# inflect.acronym 'RESTful'
|
|
15
|
+
# end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
|
7
|
+
Dummy::Application.config.secret_token = '341ddff7e5842d758e1020dbb6f5098e1b25f7e62fe00247396a8be28f436a8e88a4ddfbea7f1f5f8110e5ffb35567cf35e96e3a13fee2146063f5aa4f9e0bc7'
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
|
4
|
+
|
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
|
6
|
+
# which shouldn't be used to store highly confidential information
|
|
7
|
+
# (create the session table with "rails generate session_migration")
|
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Tim.user_class = "User"
|
|
2
|
+
Tim.provider_account_class = "ProviderAccount"
|
|
3
|
+
Tim.provider_type_class = "ProviderType"
|
|
4
|
+
# Image Factory URL
|
|
5
|
+
Tim::ImageFactory::Base.site = "http://localhost:8075/imagefactory"
|
|
6
|
+
# FIXME: We should be able to infer these from Routes
|
|
7
|
+
Tim::ImageFactory::TargetImage.callback_url = "http://localhost:3000/tim/target_images/"
|
|
8
|
+
Tim::ImageFactory::ProviderImage.callback_url = "http://localhost:3000/tim/provider_images/"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
#
|
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
|
4
|
+
# is enabled by default.
|
|
5
|
+
|
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
|
8
|
+
wrap_parameters format: [:json]
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Disable root element in JSON by default.
|
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
|
13
|
+
self.include_root_in_json = false
|
|
14
|
+
end
|
|
Binary file
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# encoding: UTF-8
|
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
|
5
|
+
#
|
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
|
7
|
+
# database schema. If you need to create the application database on another
|
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
11
|
+
#
|
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
|
13
|
+
|
|
14
|
+
ActiveRecord::Schema.define(:version => 20120423123114264114) do
|
|
15
|
+
|
|
16
|
+
create_table "tim_base_images", :force => true do |t|
|
|
17
|
+
t.string "name"
|
|
18
|
+
t.string "description"
|
|
19
|
+
t.integer "template_id"
|
|
20
|
+
t.integer "user_id"
|
|
21
|
+
t.datetime "created_at", :null => false
|
|
22
|
+
t.datetime "updated_at", :null => false
|
|
23
|
+
t.integer "pool_family_id"
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
create_table "tim_image_versions", :force => true do |t|
|
|
27
|
+
t.integer "base_image_id"
|
|
28
|
+
t.integer "template_id"
|
|
29
|
+
t.datetime "created_at", :null => false
|
|
30
|
+
t.datetime "updated_at", :null => false
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
create_table "tim_provider_images", :force => true do |t|
|
|
34
|
+
t.string "factory_id"
|
|
35
|
+
t.integer "target_image_id"
|
|
36
|
+
t.string "provider"
|
|
37
|
+
t.string "external_image_id"
|
|
38
|
+
t.string "provider_account_id"
|
|
39
|
+
t.boolean "snapshot"
|
|
40
|
+
t.string "status"
|
|
41
|
+
t.string "status_detail"
|
|
42
|
+
t.string "progress"
|
|
43
|
+
t.datetime "created_at", :null => false
|
|
44
|
+
t.datetime "updated_at", :null => false
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
create_table "tim_target_images", :force => true do |t|
|
|
48
|
+
t.string "factory_id"
|
|
49
|
+
t.integer "image_version_id"
|
|
50
|
+
t.string "target"
|
|
51
|
+
t.string "status"
|
|
52
|
+
t.string "status_detail"
|
|
53
|
+
t.string "progress"
|
|
54
|
+
t.datetime "created_at", :null => false
|
|
55
|
+
t.datetime "updated_at", :null => false
|
|
56
|
+
t.integer "provider_type_id"
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
create_table "tim_templates", :force => true do |t|
|
|
60
|
+
t.text "xml"
|
|
61
|
+
t.datetime "created_at", :null => false
|
|
62
|
+
t.datetime "updated_at", :null => false
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
create_table "pool_families", :force => true do |t|
|
|
66
|
+
t.datetime "created_at", :null => false
|
|
67
|
+
t.datetime "updated_at", :null => false
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
create_table "provider_accounts", :force => true do |t|
|
|
71
|
+
t.datetime "created_at", :null => false
|
|
72
|
+
t.datetime "updated_at", :null => false
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
create_table "provider_types", :force => true do |t|
|
|
76
|
+
t.datetime "created_at", :null => false
|
|
77
|
+
t.datetime "updated_at", :null => false
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
create_table "users", :force => true do |t|
|
|
81
|
+
t.string "name"
|
|
82
|
+
t.datetime "created_at", :null => false
|
|
83
|
+
t.datetime "updated_at", :null => false
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
end
|
|
Binary file
|
|
@@ -0,0 +1,982 @@
|
|
|
1
|
+
|
|
2
|
+
Connecting to database specified by database.yml
|
|
3
|
+
[1m[36m (28.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
4
|
+
[1m[35m (127.8ms)[0m CREATE TABLE "tim_base_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" varchar(255), "template_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "pool_family_id" integer)
|
|
5
|
+
[1m[36m (86.0ms)[0m [1mCREATE TABLE "tim_image_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "base_image_id" integer, "template_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
6
|
+
[1m[35m (120.5ms)[0m CREATE TABLE "tim_provider_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "target_image_id" integer, "provider" varchar(255), "external_image_id" varchar(255), "provider_account_id" varchar(255), "snapshot" boolean, "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
7
|
+
[1m[36m (98.7ms)[0m [1mCREATE TABLE "tim_target_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "image_version_id" integer, "target" varchar(255), "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "provider_type_id" integer) [0m
|
|
8
|
+
[1m[35m (167.5ms)[0m CREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
9
|
+
[1m[36m (105.1ms)[0m [1mCREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
10
|
+
[1m[35m (90.4ms)[0m CREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
11
|
+
[1m[36m (119.7ms)[0m [1mCREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
12
|
+
[1m[35m (111.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
13
|
+
[1m[36m (90.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
14
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
|
15
|
+
[1m[36m (124.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
16
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
17
|
+
[1m[36m (91.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120423123114264114')[0m
|
|
18
|
+
[1m[35m (91.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120326103723532622')
|
|
19
|
+
[1m[36m (91.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911203222')[0m
|
|
20
|
+
[1m[35m (91.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911182850')
|
|
21
|
+
[1m[36m (91.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911205431')[0m
|
|
22
|
+
[1m[35m (91.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911202845')
|
|
23
|
+
[1m[36m (126.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120906180351')[0m
|
|
24
|
+
[1m[35m (89.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120906210106')
|
|
25
|
+
[1m[36m (83.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911202321')[0m
|
|
26
|
+
[1m[35m (83.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911204329')
|
|
27
|
+
[1m[36m (74.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120910175233')[0m
|
|
28
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
|
29
|
+
Connecting to database specified by database.yml
|
|
30
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
|
31
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
|
32
|
+
[1m[36m (150.6ms)[0m [1mCREATE TABLE "tim_base_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" varchar(255), "template_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "pool_family_id" integer) [0m
|
|
33
|
+
[1m[35m (95.9ms)[0m CREATE TABLE "tim_image_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "base_image_id" integer, "template_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
34
|
+
[1m[36m (95.1ms)[0m [1mCREATE TABLE "tim_provider_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "target_image_id" integer, "provider" varchar(255), "external_image_id" varchar(255), "provider_account_id" varchar(255), "snapshot" boolean, "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
35
|
+
[1m[35m (111.0ms)[0m CREATE TABLE "tim_target_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "image_version_id" integer, "target" varchar(255), "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "provider_type_id" integer)
|
|
36
|
+
[1m[36m (113.4ms)[0m [1mCREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
37
|
+
[1m[35m (84.7ms)[0m CREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
38
|
+
[1m[36m (74.2ms)[0m [1mCREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
39
|
+
[1m[35m (100.5ms)[0m CREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
40
|
+
[1m[36m (89.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
41
|
+
[1m[35m (82.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
42
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
|
43
|
+
[1m[35m (103.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
44
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
45
|
+
[1m[35m (87.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120423123114264114')
|
|
46
|
+
[1m[36m (74.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120326103723532622')[0m
|
|
47
|
+
[1m[35m (74.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911203222')
|
|
48
|
+
[1m[36m (74.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911182850')[0m
|
|
49
|
+
[1m[35m (108.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911205431')
|
|
50
|
+
[1m[36m (83.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911202845')[0m
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-09 11:37:24 -0400
|
|
54
|
+
Connecting to database specified by database.yml
|
|
55
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
56
|
+
Parameters: {"base_image"=>{"name"=>"MySecondBaseImage", "description"=>"This is my very second base image"}}
|
|
57
|
+
WARNING: Can't verify CSRF token authenticity
|
|
58
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
59
|
+
[1m[35mSQL (53.4ms)[0m INSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 09 Oct 2012 15:37:27 UTC +00:00], ["description", "This is my very second base image"], ["name", "MySecondBaseImage"], ["pool_family_id", nil], ["template_id", nil], ["updated_at", Tue, 09 Oct 2012 15:37:27 UTC +00:00], ["user_id", nil]]
|
|
60
|
+
[1m[36m (117.6ms)[0m [1mcommit transaction[0m
|
|
61
|
+
[1m[35mTim::ImageVersion Load (0.1ms)[0m SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 1
|
|
62
|
+
Rendered tim/base_images/_custom.xml.haml (1.2ms)
|
|
63
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (117.3ms)
|
|
64
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (129.3ms)
|
|
65
|
+
Completed 201 Created in 392ms (Views: 131.2ms | ActiveRecord: 0.5ms)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Started GET "/tim/base_images" for 127.0.0.1 at 2012-10-09 11:41:12 -0400
|
|
69
|
+
Processing by Tim::BaseImagesController#index as XML
|
|
70
|
+
[1m[36mTim::BaseImage Load (0.2ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" [0m
|
|
71
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (1.5ms)
|
|
72
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/index.xml.haml (3.9ms)
|
|
73
|
+
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms)
|
|
74
|
+
Connecting to database specified by database.yml
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
Started DELETE "/tim/base_images/1" for 127.0.0.1 at 2012-10-09 11:43:40 -0400
|
|
78
|
+
Processing by Tim::BaseImagesController#destroy as XML
|
|
79
|
+
Parameters: {"id"=>"1"}
|
|
80
|
+
WARNING: Can't verify CSRF token authenticity
|
|
81
|
+
[1m[36mTim::BaseImage Load (0.2ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = ? LIMIT 1[0m [["id", "1"]]
|
|
82
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
83
|
+
[1m[36mSQL (3.2ms)[0m [1mDELETE FROM "tim_base_images" WHERE "tim_base_images"."id" = ?[0m [["id", 1]]
|
|
84
|
+
[1m[35m (93.5ms)[0m commit transaction
|
|
85
|
+
Completed 204 No Content in 148ms (ActiveRecord: 0.0ms)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
Started GET "/tim/base_images" for 127.0.0.1 at 2012-10-09 11:43:52 -0400
|
|
89
|
+
Processing by Tim::BaseImagesController#index as XML
|
|
90
|
+
[1m[36mTim::BaseImage Load (0.2ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" [0m
|
|
91
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/index.xml.haml (1.7ms)
|
|
92
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-09 11:44:09 -0400
|
|
96
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
97
|
+
Parameters: {"base_image"=>{"name"=>"MySecondBaseImage", "description"=>"This is my very second base image"}}
|
|
98
|
+
WARNING: Can't verify CSRF token authenticity
|
|
99
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
100
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 09 Oct 2012 15:44:09 UTC +00:00], ["description", "This is my very second base image"], ["name", "MySecondBaseImage"], ["pool_family_id", nil], ["template_id", nil], ["updated_at", Tue, 09 Oct 2012 15:44:09 UTC +00:00], ["user_id", nil]]
|
|
101
|
+
[1m[35m (123.4ms)[0m commit transaction
|
|
102
|
+
[1m[36mTim::ImageVersion Load (0.1ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 2[0m
|
|
103
|
+
Rendered tim/base_images/_custom.xml.haml (1.0ms)
|
|
104
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (85.9ms)
|
|
105
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (90.8ms)
|
|
106
|
+
Completed 201 Created in 225ms (Views: 92.9ms | ActiveRecord: 0.5ms)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
Started GET "/tim/base_images" for 127.0.0.1 at 2012-10-09 11:44:19 -0400
|
|
110
|
+
Processing by Tim::BaseImagesController#index as XML
|
|
111
|
+
[1m[35mTim::BaseImage Load (0.3ms)[0m SELECT "tim_base_images".* FROM "tim_base_images"
|
|
112
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (1.5ms)
|
|
113
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/index.xml.haml (2.4ms)
|
|
114
|
+
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-09 11:44:22 -0400
|
|
118
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
119
|
+
Parameters: {"base_image"=>{"name"=>"MySecondBaseImage", "description"=>"This is my very second base image"}}
|
|
120
|
+
WARNING: Can't verify CSRF token authenticity
|
|
121
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
122
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 09 Oct 2012 15:44:22 UTC +00:00], ["description", "This is my very second base image"], ["name", "MySecondBaseImage"], ["pool_family_id", nil], ["template_id", nil], ["updated_at", Tue, 09 Oct 2012 15:44:22 UTC +00:00], ["user_id", nil]]
|
|
123
|
+
[1m[36m (107.1ms)[0m [1mcommit transaction[0m
|
|
124
|
+
[1m[35mTim::ImageVersion Load (0.2ms)[0m SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 3
|
|
125
|
+
Rendered tim/base_images/_custom.xml.haml (0.1ms)
|
|
126
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (3.0ms)
|
|
127
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (4.0ms)
|
|
128
|
+
Completed 201 Created in 119ms (Views: 6.4ms | ActiveRecord: 0.2ms)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
Started GET "/tim/base_images" for 127.0.0.1 at 2012-10-09 11:44:58 -0400
|
|
132
|
+
Processing by Tim::BaseImagesController#index as XML
|
|
133
|
+
[1m[36mTim::BaseImage Load (0.2ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" [0m
|
|
134
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.6ms)
|
|
135
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
136
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/index.xml.haml (2.2ms)
|
|
137
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
Started GET "/tim/base_images/3" for 127.0.0.1 at 2012-10-09 11:45:11 -0400
|
|
141
|
+
Processing by Tim::BaseImagesController#show as XML
|
|
142
|
+
Parameters: {"id"=>"3"}
|
|
143
|
+
[1m[35mTim::BaseImage Load (0.1ms)[0m SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = ? LIMIT 1 [["id", "3"]]
|
|
144
|
+
[1m[36mTim::ImageVersion Load (0.2ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 3[0m
|
|
145
|
+
Rendered tim/base_images/_custom.xml.haml (0.1ms)
|
|
146
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (2.4ms)
|
|
147
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (3.2ms)
|
|
148
|
+
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms)
|
|
149
|
+
Connecting to database specified by database.yml
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
Started GET "/tim" for 127.0.0.1 at 2012-10-09 14:09:32 -0400
|
|
153
|
+
Connecting to database specified by database.yml
|
|
154
|
+
Processing by Tim::EntrypointController#index as XML
|
|
155
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (3.5ms)
|
|
156
|
+
Completed 200 OK in 37ms (Views: 36.4ms | ActiveRecord: 0.0ms)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
Started GET "/tim/api" for 127.0.0.1 at 2012-10-09 14:09:49 -0400
|
|
160
|
+
Processing by Tim::EntrypointController#index as XML
|
|
161
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (1.6ms)
|
|
162
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
Started GET "/tim/api" for 127.0.0.1 at 2012-10-09 14:14:35 -0400
|
|
166
|
+
Connecting to database specified by database.yml
|
|
167
|
+
Processing by Tim::EntrypointController#index as XML
|
|
168
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (3.5ms)
|
|
169
|
+
Completed 200 OK in 37ms (Views: 36.2ms | ActiveRecord: 0.0ms)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
Started GET "/tim" for 127.0.0.1 at 2012-10-09 14:14:47 -0400
|
|
173
|
+
Processing by Tim::EntrypointController#index as XML
|
|
174
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (1.6ms)
|
|
175
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
176
|
+
Connecting to database specified by database.yml
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-09 16:05:09 -0400
|
|
180
|
+
Connecting to database specified by database.yml
|
|
181
|
+
Processing by Tim::BaseImagesController#index as XML
|
|
182
|
+
[1m[36mTim::BaseImage Load (0.1ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" [0m
|
|
183
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (1.4ms)
|
|
184
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
185
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/index.xml.haml (6.5ms)
|
|
186
|
+
Completed 200 OK in 52ms (Views: 41.9ms | ActiveRecord: 0.3ms)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-09 16:05:52 -0400
|
|
190
|
+
Connecting to database specified by database.yml
|
|
191
|
+
Processing by Tim::EntrypointController#index as XML
|
|
192
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (3.6ms)
|
|
193
|
+
Completed 200 OK in 37ms (Views: 36.2ms | ActiveRecord: 0.0ms)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
Started GET "/tim/templates" for 127.0.0.1 at 2012-10-09 16:06:04 -0400
|
|
197
|
+
Processing by Tim::TemplatesController#index as XML
|
|
198
|
+
[1m[36mTim::Template Load (0.1ms)[0m [1mSELECT "tim_templates".* FROM "tim_templates" [0m
|
|
199
|
+
Rendered tim/templates/_custom.xml.haml (0.7ms)
|
|
200
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template.xml.haml (3.0ms)
|
|
201
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/index.xml.haml (6.9ms)
|
|
202
|
+
Completed 200 OK in 15ms (Views: 9.4ms | ActiveRecord: 0.2ms)
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
Started GET "/tim/templates/1" for 127.0.0.1 at 2012-10-09 16:06:31 -0400
|
|
206
|
+
Processing by Tim::TemplatesController#show as XML
|
|
207
|
+
Parameters: {"id"=>"1"}
|
|
208
|
+
[1m[35mTim::Template Load (0.3ms)[0m SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = ? LIMIT 1 [["id", "1"]]
|
|
209
|
+
Rendered tim/templates/_custom.xml.haml (0.1ms)
|
|
210
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template.xml.haml (1.6ms)
|
|
211
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/show.xml.haml (3.4ms)
|
|
212
|
+
Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.3ms)
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-09 16:06:41 -0400
|
|
216
|
+
Processing by Tim::EntrypointController#index as XML
|
|
217
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (1.5ms)
|
|
218
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
Started GET "/tim/base_images" for 127.0.0.1 at 2012-10-09 16:06:51 -0400
|
|
222
|
+
Processing by Tim::BaseImagesController#index as XML
|
|
223
|
+
[1m[36mTim::BaseImage Load (0.1ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" [0m
|
|
224
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (1.3ms)
|
|
225
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
226
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/index.xml.haml (4.2ms)
|
|
227
|
+
Completed 200 OK in 43ms (Views: 6.8ms | ActiveRecord: 0.2ms)
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
Started GET "/tim/base_images/2" for 127.0.0.1 at 2012-10-09 16:06:58 -0400
|
|
231
|
+
Processing by Tim::BaseImagesController#show as XML
|
|
232
|
+
Parameters: {"id"=>"2"}
|
|
233
|
+
[1m[35mTim::BaseImage Load (0.3ms)[0m SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = ? LIMIT 1 [["id", "2"]]
|
|
234
|
+
[1m[36mTim::Template Load (0.2ms)[0m [1mSELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 1 LIMIT 1[0m
|
|
235
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.5ms)
|
|
236
|
+
[1m[35mTim::ImageVersion Load (0.1ms)[0m SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 2
|
|
237
|
+
Rendered tim/base_images/_custom.xml.haml (1.0ms)
|
|
238
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (91.5ms)
|
|
239
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (93.3ms)
|
|
240
|
+
Completed 200 OK in 98ms (Views: 95.4ms | ActiveRecord: 0.9ms)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
Started POST "/tim/image_versions" for 127.0.0.1 at 2012-10-09 16:16:02 -0400
|
|
244
|
+
Processing by Tim::ImageVersionsController#create as XML
|
|
245
|
+
Parameters: {"image_version"=>{"base_image"=>{"id"=>"2"}}}
|
|
246
|
+
WARNING: Can't verify CSRF token authenticity
|
|
247
|
+
Rendered text template (0.0ms)
|
|
248
|
+
Completed 404 Not Found in 35ms (Views: 28.9ms | ActiveRecord: 0.0ms)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-09 16:16:27 -0400
|
|
252
|
+
Processing by Tim::EntrypointController#index as XML
|
|
253
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (1.3ms)
|
|
254
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
Started GET "/tim/image_versions" for 127.0.0.1 at 2012-10-09 16:21:33 -0400
|
|
258
|
+
Processing by Tim::ImageVersionsController#index as XML
|
|
259
|
+
[1m[36mTim::ImageVersion Load (0.2ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" [0m
|
|
260
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/index.xml.haml (1.4ms)
|
|
261
|
+
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
Started POST "/tim/image_versions" for 127.0.0.1 at 2012-10-09 16:22:17 -0400
|
|
265
|
+
Processing by Tim::ImageVersionsController#create as XML
|
|
266
|
+
Parameters: {"image_version"=>{"base_image"=>{"id"=>"2"}}}
|
|
267
|
+
WARNING: Can't verify CSRF token authenticity
|
|
268
|
+
Rendered text template (0.0ms)
|
|
269
|
+
Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
Started GET "/tim/templates" for 127.0.0.1 at 2012-10-09 16:23:15 -0400
|
|
273
|
+
Processing by Tim::TemplatesController#index as XML
|
|
274
|
+
[1m[35mTim::Template Load (0.2ms)[0m SELECT "tim_templates".* FROM "tim_templates"
|
|
275
|
+
Rendered tim/templates/_custom.xml.haml (0.1ms)
|
|
276
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template.xml.haml (1.6ms)
|
|
277
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/index.xml.haml (2.6ms)
|
|
278
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
Started GET "/tim/templates/1" for 127.0.0.1 at 2012-10-09 16:23:27 -0400
|
|
282
|
+
Processing by Tim::TemplatesController#show as XML
|
|
283
|
+
Parameters: {"id"=>"1"}
|
|
284
|
+
[1m[36mTim::Template Load (0.1ms)[0m [1mSELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = ? LIMIT 1[0m [["id", "1"]]
|
|
285
|
+
Rendered tim/templates/_custom.xml.haml (0.1ms)
|
|
286
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template.xml.haml (1.4ms)
|
|
287
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/show.xml.haml (2.2ms)
|
|
288
|
+
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms)
|
|
289
|
+
Connecting to database specified by database.yml
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
Started POST "/tim/image_versions" for 127.0.0.1 at 2012-10-09 16:37:51 -0400
|
|
293
|
+
Processing by Tim::ImageVersionsController#create as XML
|
|
294
|
+
Parameters: {"image_version"=>{"base_image"=>{"name"=>"Barney", "description"=>"Wow, this is one cool base image"}}}
|
|
295
|
+
WARNING: Can't verify CSRF token authenticity
|
|
296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
297
|
+
[1m[36mSQL (4.0ms)[0m [1mINSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 09 Oct 2012 20:37:51 UTC +00:00], ["description", "Wow, this is one cool base image"], ["name", "Barney"], ["pool_family_id", nil], ["template_id", nil], ["updated_at", Tue, 09 Oct 2012 20:37:51 UTC +00:00], ["user_id", nil]]
|
|
298
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "tim_image_versions" ("base_image_id", "created_at", "template_id", "updated_at") VALUES (?, ?, ?, ?) [["base_image_id", 4], ["created_at", Tue, 09 Oct 2012 20:37:51 UTC +00:00], ["template_id", nil], ["updated_at", Tue, 09 Oct 2012 20:37:51 UTC +00:00]]
|
|
299
|
+
[1m[36m (92.0ms)[0m [1mcommit transaction[0m
|
|
300
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
301
|
+
[1m[35mTim::TargetImage Load (0.1ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."image_version_id" = 1
|
|
302
|
+
Rendered tim/image_versions/_custom.xml.haml (0.8ms)
|
|
303
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version.xml.haml (13.4ms)
|
|
304
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/show.xml.haml (15.3ms)
|
|
305
|
+
Completed 201 Created in 122ms (Views: 17.4ms | ActiveRecord: 0.4ms)
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-10 13:38:50 -0400
|
|
309
|
+
Connecting to database specified by database.yml
|
|
310
|
+
Processing by Tim::BaseImagesController#index as XML
|
|
311
|
+
[1m[36mTim::BaseImage Load (0.2ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" [0m
|
|
312
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (1.4ms)
|
|
313
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
314
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
315
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/index.xml.haml (7.4ms)
|
|
316
|
+
Completed 200 OK in 53ms (Views: 42.8ms | ActiveRecord: 0.3ms)
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-10 13:44:26 -0400
|
|
320
|
+
Processing by Tim::BaseImagesController#index as XML
|
|
321
|
+
[1m[35mTim::BaseImage Load (0.3ms)[0m SELECT "tim_base_images".* FROM "tim_base_images"
|
|
322
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.7ms)
|
|
323
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
324
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
325
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/index.xml.haml (3.6ms)
|
|
326
|
+
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.3ms)
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-10 13:44:58 -0400
|
|
330
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
331
|
+
Parameters: {"base_image"=>{"name"=>"MyFirstBaseImage", "description"=>"ThisIsABaseImage", "template"=>{"name"=>"mock", "os"=>{"name"=>"RHEL-6", "version"=>"1", "arch"=>"x86_64", "install"=>{"type"=>"iso", "iso"=>"http://mockhost/RHELMock1-x86_64-DVD.iso"}, "rootpw"=>"password"}, "description"=>"Mock Template"}, "image_versions"=>[{"target_images"=>[{"target"=>"MockSphere"}]}]}}
|
|
332
|
+
WARNING: Can't verify CSRF token authenticity
|
|
333
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
334
|
+
[1m[35mSQL (33.7ms)[0m INSERT INTO "tim_templates" ("created_at", "updated_at", "xml") VALUES (?, ?, ?) [["created_at", Wed, 10 Oct 2012 17:44:58 UTC +00:00], ["updated_at", Wed, 10 Oct 2012 17:44:58 UTC +00:00], ["xml", "<template>\n <name>mock</name>\n <os>\n <name>RHEL-6</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>"]]
|
|
335
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 10 Oct 2012 17:44:58 UTC +00:00], ["description", "ThisIsABaseImage"], ["name", "MyFirstBaseImage"], ["pool_family_id", nil], ["template_id", 2], ["updated_at", Wed, 10 Oct 2012 17:44:58 UTC +00:00], ["user_id", nil]]
|
|
336
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "tim_image_versions" ("base_image_id", "created_at", "template_id", "updated_at") VALUES (?, ?, ?, ?) [["base_image_id", 5], ["created_at", Wed, 10 Oct 2012 17:44:58 UTC +00:00], ["template_id", nil], ["updated_at", Wed, 10 Oct 2012 17:44:58 UTC +00:00]]
|
|
337
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "tim_target_images" ("created_at", "factory_id", "image_version_id", "progress", "provider_type_id", "status", "status_detail", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 10 Oct 2012 17:44:58 UTC +00:00], ["factory_id", nil], ["image_version_id", 2], ["progress", nil], ["provider_type_id", nil], ["status", nil], ["status_detail", nil], ["target", "MockSphere"], ["updated_at", Wed, 10 Oct 2012 17:44:58 UTC +00:00]]
|
|
338
|
+
[1m[35mTim::ImageVersion Load (0.1ms)[0m SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 2 LIMIT 1
|
|
339
|
+
[1m[36mTim::BaseImage Load (0.1ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = 5 LIMIT 1[0m
|
|
340
|
+
[1m[35mTim::Template Load (0.1ms)[0m SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 2 LIMIT 1
|
|
341
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "tim_target_images" SET "target" = 'MockSphere', "image_version_id" = 2, "created_at" = '2012-10-10 17:44:58.971657', "updated_at" = '2012-10-10 17:44:58.971657', "status" = 'NEW', "factory_id" = '8c8916a4-1dfb-4d96-9372-d3deae5e9d4d', "status_detail" = 'Initializing image prior to Cloud/OS customization', "progress" = 0 WHERE "tim_target_images"."id" = 1[0m
|
|
342
|
+
[1m[35m (109.7ms)[0m commit transaction
|
|
343
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
|
|
344
|
+
[1m[36mTim::ImageVersion Load (0.2ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 5[0m
|
|
345
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version_minimal.xml.haml (1.1ms)
|
|
346
|
+
Rendered tim/base_images/_custom.xml.haml (0.7ms)
|
|
347
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (8.6ms)
|
|
348
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (10.2ms)
|
|
349
|
+
Completed 201 Created in 11573ms (Views: 12.0ms | ActiveRecord: 0.2ms)
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
Started PUT "/tim/target_images//1" for 127.0.0.1 at 2012-10-10 13:45:13 -0400
|
|
353
|
+
Processing by Tim::TargetImagesController#update as HTML
|
|
354
|
+
Parameters: {"base_image"=>{"status"=>"FAILED", "_type"=>"BaseImage", "parameters"=>{"callbacks"=>["http://localhost:3000/tim/target_images//1"]}, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Generating JEOS install media"}, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHEL-6</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "percent_complete"=>0, "id"=>"f54835b3-847e-4ed6-8968-52b8624c6944"}, "id"=>"1", "target_image"=>{}}
|
|
355
|
+
WARNING: Can't verify CSRF token authenticity
|
|
356
|
+
[1m[35mTim::TargetImage Load (0.3ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "1"]]
|
|
357
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
358
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
359
|
+
Redirected to http://localhost:3000/tim/target_images/1
|
|
360
|
+
Completed 302 Found in 51ms (ActiveRecord: 0.0ms)
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
Started PUT "/tim/target_images//1" for 127.0.0.1 at 2012-10-10 13:45:13 -0400
|
|
364
|
+
Processing by Tim::TargetImagesController#update as HTML
|
|
365
|
+
Parameters: {"target_image"=>{"status"=>"FAILED", "_type"=>"TargetImage", "target"=>"MockSphere", "parameters"=>{"callbacks"=>["http://localhost:3000/tim/target_images//1"]}, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Initializing image prior to Cloud/OS customization"}, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHEL-6</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "percent_complete"=>0, "id"=>"8c8916a4-1dfb-4d96-9372-d3deae5e9d4d"}, "id"=>"1"}
|
|
366
|
+
WARNING: Can't verify CSRF token authenticity
|
|
367
|
+
[1m[36mTim::TargetImage Load (0.1ms)[0m [1mSELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1[0m [["id", "1"]]
|
|
368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
369
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "tim_target_images" SET "progress" = 0, "status" = 'FAILED', "updated_at" = '2012-10-10 17:45:13.614194' WHERE "tim_target_images"."id" = 1[0m
|
|
370
|
+
[1m[35m (90.4ms)[0m commit transaction
|
|
371
|
+
Redirected to http://localhost:3000/tim/target_images/1
|
|
372
|
+
Completed 302 Found in 98ms (ActiveRecord: 0.0ms)
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
Started GET "/tim/image_versions/2" for 127.0.0.1 at 2012-10-10 13:46:37 -0400
|
|
376
|
+
Processing by Tim::ImageVersionsController#show as XML
|
|
377
|
+
Parameters: {"id"=>"2"}
|
|
378
|
+
[1m[36mTim::ImageVersion Load (0.3ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = ? LIMIT 1[0m [["id", "2"]]
|
|
379
|
+
[1m[35mTim::BaseImage Load (0.1ms)[0m SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = 5 LIMIT 1
|
|
380
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
381
|
+
[1m[36mTim::TargetImage Load (0.1ms)[0m [1mSELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."image_version_id" = 2[0m
|
|
382
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image_minimal.xml.haml (1.1ms)
|
|
383
|
+
Rendered tim/image_versions/_custom.xml.haml (0.7ms)
|
|
384
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version.xml.haml (8.0ms)
|
|
385
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/show.xml.haml (9.6ms)
|
|
386
|
+
Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.5ms)
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
Started GET "/tim/target_images/1" for 127.0.0.1 at 2012-10-10 13:47:00 -0400
|
|
390
|
+
Processing by Tim::TargetImagesController#show as XML
|
|
391
|
+
Parameters: {"id"=>"1"}
|
|
392
|
+
[1m[35mTim::TargetImage Load (0.2ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "1"]]
|
|
393
|
+
[1m[36mTim::ImageVersion Load (0.2ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 2 LIMIT 1[0m
|
|
394
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version_minimal.xml.haml (0.3ms)
|
|
395
|
+
Rendered tim/target_images/_custom.xml.haml (0.7ms)
|
|
396
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image.xml.haml (6.0ms)
|
|
397
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/show.xml.haml (7.9ms)
|
|
398
|
+
Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.3ms)
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-10 13:57:49 -0400
|
|
402
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
403
|
+
Parameters: {"base_image"=>{"name"=>"MyFirstBaseImage", "description"=>"ThisIsABaseImage", "template"=>{"name"=>"mock", "os"=>{"name"=>"RHELMock", "version"=>"1", "arch"=>"x86_64", "install"=>{"type"=>"iso", "iso"=>"http://mockhost/RHELMock1-x86_64-DVD.iso"}, "rootpw"=>"password"}, "description"=>"Mock Template"}, "image_versions"=>[{"target_images"=>[{"target"=>"MockSphere"}]}]}}
|
|
404
|
+
WARNING: Can't verify CSRF token authenticity
|
|
405
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
406
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
407
|
+
Completed 422 Unprocessable Entity in 21ms (Views: 15.5ms | ActiveRecord: 0.1ms)
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-10 14:11:38 -0400
|
|
411
|
+
Connecting to database specified by database.yml
|
|
412
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
413
|
+
Parameters: {"base_image"=>{"name"=>"MyFirstBaseImage", "description"=>"ThisIsABaseImage", "template"=>{"name"=>"mock", "os"=>{"name"=>"RHELMock", "version"=>"1", "arch"=>"x86_64", "install"=>{"type"=>"iso", "iso"=>"http://mockhost/RHELMock1-x86_64-DVD.iso"}, "rootpw"=>"password"}, "description"=>"Mock Template"}, "image_versions"=>[{"target_images"=>[{"target"=>"MockSphere"}]}]}}
|
|
414
|
+
WARNING: Can't verify CSRF token authenticity
|
|
415
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
416
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
417
|
+
Completed 500 Internal Server Error in 182ms
|
|
418
|
+
|
|
419
|
+
Nokogiri::XML::SyntaxError (xmlRelaxNGParse: schemas is empty):
|
|
420
|
+
nokogiri (1.5.5) lib/nokogiri/xml/schema.rb:37:in `from_document'
|
|
421
|
+
nokogiri (1.5.5) lib/nokogiri/xml/schema.rb:37:in `new'
|
|
422
|
+
nokogiri (1.5.5) lib/nokogiri/xml/relax_ng.rb:8:in `RelaxNG'
|
|
423
|
+
/home/jay/projects/aeolus/tim/app/validators/template_validator.rb:7:in `validate'
|
|
424
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:310:in `_callback_before_81'
|
|
425
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:407:in `_run__2625047927881804411__validate__1558958144043740305__callbacks'
|
|
426
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
427
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_validate_callbacks'
|
|
428
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
429
|
+
activemodel (3.2.8) lib/active_model/validations.rb:227:in `run_validations!'
|
|
430
|
+
activemodel (3.2.8) lib/active_model/validations/callbacks.rb:53:in `block in run_validations!'
|
|
431
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__2625047927881804411__validation__1558958144043740305__callbacks'
|
|
432
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
433
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_validation_callbacks'
|
|
434
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
435
|
+
activemodel (3.2.8) lib/active_model/validations/callbacks.rb:53:in `run_validations!'
|
|
436
|
+
activemodel (3.2.8) lib/active_model/validations.rb:194:in `valid?'
|
|
437
|
+
activerecord (3.2.8) lib/active_record/validations.rb:69:in `valid?'
|
|
438
|
+
activerecord (3.2.8) lib/active_record/autosave_association.rb:300:in `association_valid?'
|
|
439
|
+
activerecord (3.2.8) lib/active_record/autosave_association.rb:280:in `validate_single_association'
|
|
440
|
+
activerecord (3.2.8) lib/active_record/autosave_association.rb:217:in `block in add_autosave_association_callbacks'
|
|
441
|
+
activerecord (3.2.8) lib/active_record/autosave_association.rb:161:in `instance_eval'
|
|
442
|
+
activerecord (3.2.8) lib/active_record/autosave_association.rb:161:in `block in define_non_cyclic_method'
|
|
443
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:418:in `_run__1605225500616527971__validate__1558958144043740305__callbacks'
|
|
444
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
445
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_validate_callbacks'
|
|
446
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
447
|
+
activemodel (3.2.8) lib/active_model/validations.rb:227:in `run_validations!'
|
|
448
|
+
activemodel (3.2.8) lib/active_model/validations/callbacks.rb:53:in `block in run_validations!'
|
|
449
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__1605225500616527971__validation__1558958144043740305__callbacks'
|
|
450
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
451
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_validation_callbacks'
|
|
452
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
453
|
+
activemodel (3.2.8) lib/active_model/validations/callbacks.rb:53:in `run_validations!'
|
|
454
|
+
activemodel (3.2.8) lib/active_model/validations.rb:194:in `valid?'
|
|
455
|
+
activerecord (3.2.8) lib/active_record/validations.rb:69:in `valid?'
|
|
456
|
+
activerecord (3.2.8) lib/active_record/validations.rb:77:in `perform_validations'
|
|
457
|
+
activerecord (3.2.8) lib/active_record/validations.rb:50:in `save'
|
|
458
|
+
activerecord (3.2.8) lib/active_record/attribute_methods/dirty.rb:22:in `save'
|
|
459
|
+
activerecord (3.2.8) lib/active_record/transactions.rb:241:in `block (2 levels) in save'
|
|
460
|
+
activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
|
|
461
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
|
|
462
|
+
activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction'
|
|
463
|
+
activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
|
|
464
|
+
activerecord (3.2.8) lib/active_record/transactions.rb:241:in `block in save'
|
|
465
|
+
activerecord (3.2.8) lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
|
|
466
|
+
activerecord (3.2.8) lib/active_record/transactions.rb:240:in `save'
|
|
467
|
+
/home/jay/projects/aeolus/tim/app/controllers/tim/base_images_controller.rb:29:in `create'
|
|
468
|
+
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
|
469
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
|
|
470
|
+
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
|
471
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
|
472
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:436:in `_run__1928484600686217726__process_action__1087077879857957708__callbacks'
|
|
473
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
474
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
|
475
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
476
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
|
477
|
+
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
|
478
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
|
479
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
|
|
480
|
+
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
|
481
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
|
|
482
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
|
483
|
+
actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
|
484
|
+
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
|
485
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
|
|
486
|
+
actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
|
|
487
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
|
|
488
|
+
actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
|
489
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
|
|
490
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
|
491
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
|
492
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
|
493
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
|
494
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
|
495
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
|
496
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
|
497
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
|
498
|
+
railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
|
499
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
|
500
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
|
501
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
|
502
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
|
503
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
|
504
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
|
505
|
+
rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
|
|
506
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
|
|
507
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
|
508
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
|
509
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
|
510
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
|
511
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
|
|
512
|
+
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
|
|
513
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
|
|
514
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
|
515
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1214831014544490869__call__1558958144043740305__callbacks'
|
|
516
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
517
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
|
518
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
519
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
|
520
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
|
521
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
|
522
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
|
523
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
524
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
|
525
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
|
526
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
527
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
528
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
529
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
530
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
531
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
532
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
|
533
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
|
534
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
535
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
536
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
537
|
+
/home/jay/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
538
|
+
/home/jay/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
539
|
+
/home/jay/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
Rendered /home/jay/.rvm/gems/ruby-1.9.3-p194@tim/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
|
543
|
+
Rendered /home/jay/.rvm/gems/ruby-1.9.3-p194@tim/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
|
544
|
+
Rendered /home/jay/.rvm/gems/ruby-1.9.3-p194@tim/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.5ms)
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-10 14:14:04 -0400
|
|
548
|
+
Connecting to database specified by database.yml
|
|
549
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
550
|
+
Parameters: {"base_image"=>{"name"=>"MyFirstBaseImage", "description"=>"ThisIsABaseImage", "template"=>{"name"=>"mock", "os"=>{"name"=>"RHELMock", "version"=>"1", "arch"=>"x86_64", "install"=>{"type"=>"iso", "iso"=>"http://mockhost/RHELMock1-x86_64-DVD.iso"}, "rootpw"=>"password"}, "description"=>"Mock Template"}, "image_versions"=>[{"target_images"=>[{"target"=>"MockSphere"}]}]}}
|
|
551
|
+
WARNING: Can't verify CSRF token authenticity
|
|
552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
553
|
+
[1m[35mSQL (4.2ms)[0m INSERT INTO "tim_templates" ("created_at", "updated_at", "xml") VALUES (?, ?, ?) [["created_at", Wed, 10 Oct 2012 18:14:06 UTC +00:00], ["updated_at", Wed, 10 Oct 2012 18:14:06 UTC +00:00], ["xml", "<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>"]]
|
|
554
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 10 Oct 2012 18:14:06 UTC +00:00], ["description", "ThisIsABaseImage"], ["name", "MyFirstBaseImage"], ["pool_family_id", nil], ["template_id", 3], ["updated_at", Wed, 10 Oct 2012 18:14:06 UTC +00:00], ["user_id", nil]]
|
|
555
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "tim_image_versions" ("base_image_id", "created_at", "template_id", "updated_at") VALUES (?, ?, ?, ?) [["base_image_id", 6], ["created_at", Wed, 10 Oct 2012 18:14:06 UTC +00:00], ["template_id", nil], ["updated_at", Wed, 10 Oct 2012 18:14:06 UTC +00:00]]
|
|
556
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "tim_target_images" ("created_at", "factory_id", "image_version_id", "progress", "provider_type_id", "status", "status_detail", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 10 Oct 2012 18:14:06 UTC +00:00], ["factory_id", nil], ["image_version_id", 3], ["progress", nil], ["provider_type_id", nil], ["status", nil], ["status_detail", nil], ["target", "MockSphere"], ["updated_at", Wed, 10 Oct 2012 18:14:06 UTC +00:00]]
|
|
557
|
+
[1m[35mTim::ImageVersion Load (0.1ms)[0m SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 3 LIMIT 1
|
|
558
|
+
[1m[36mTim::BaseImage Load (0.1ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = 6 LIMIT 1[0m
|
|
559
|
+
[1m[35mTim::Template Load (0.1ms)[0m SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 3 LIMIT 1
|
|
560
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "tim_target_images" SET "target" = 'MockSphere', "image_version_id" = 3, "created_at" = '2012-10-10 18:14:06.784824', "updated_at" = '2012-10-10 18:14:06.784824', "status" = 'NEW', "factory_id" = '66bdde40-5484-422c-a44a-e83cdc54b318', "status_detail" = 'Initializing image prior to Cloud/OS customization', "progress" = 0 WHERE "tim_target_images"."id" = 2[0m
|
|
561
|
+
[1m[35m (105.7ms)[0m commit transaction
|
|
562
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
|
|
563
|
+
[1m[36mTim::ImageVersion Load (0.3ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 6[0m
|
|
564
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version_minimal.xml.haml (1.2ms)
|
|
565
|
+
Rendered tim/base_images/_custom.xml.haml (0.7ms)
|
|
566
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (9.3ms)
|
|
567
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (13.5ms)
|
|
568
|
+
Completed 201 Created in 394ms (Views: 17.0ms | ActiveRecord: 0.3ms)
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
Started PUT "/tim/target_images//2" for 127.0.0.1 at 2012-10-10 14:14:07 -0400
|
|
572
|
+
Processing by Tim::TargetImagesController#update as HTML
|
|
573
|
+
Parameters: {"base_image"=>{"status"=>"COMPLETE", "_type"=>"BaseImage", "parameters"=>{"callbacks"=>["http://localhost:3000/tim/target_images//2"]}, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Initializing image prior to Cloud/OS customization"}, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "percent_complete"=>0, "id"=>"fe30d4ea-7e16-402a-9fc4-5bc71f30c2c3"}, "id"=>"2", "target_image"=>{}}
|
|
574
|
+
WARNING: Can't verify CSRF token authenticity
|
|
575
|
+
[1m[35mTim::TargetImage Load (0.2ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "2"]]
|
|
576
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
577
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
578
|
+
Redirected to http://localhost:3000/tim/target_images/2
|
|
579
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
Started PUT "/tim/target_images//2" for 127.0.0.1 at 2012-10-10 14:14:16 -0400
|
|
583
|
+
Processing by Tim::TargetImagesController#update as HTML
|
|
584
|
+
Parameters: {"target_image"=>{"status"=>"COMPLETE", "_type"=>"TargetImage", "target"=>"MockSphere", "parameters"=>{"callbacks"=>["http://localhost:3000/tim/target_images//2"]}, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Initializing image prior to Cloud/OS customization"}, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "percent_complete"=>0, "id"=>"66bdde40-5484-422c-a44a-e83cdc54b318"}, "id"=>"2"}
|
|
585
|
+
WARNING: Can't verify CSRF token authenticity
|
|
586
|
+
[1m[36mTim::TargetImage Load (0.1ms)[0m [1mSELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1[0m [["id", "2"]]
|
|
587
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
588
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "tim_target_images" SET "progress" = 0, "status" = 'COMPLETE', "updated_at" = '2012-10-10 18:14:16.665057' WHERE "tim_target_images"."id" = 2[0m
|
|
589
|
+
[1m[35m (114.8ms)[0m commit transaction
|
|
590
|
+
Redirected to http://localhost:3000/tim/target_images/2
|
|
591
|
+
Completed 302 Found in 121ms (ActiveRecord: 0.0ms)
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
Started GET "/tim/target_images" for 127.0.0.1 at 2012-10-10 14:15:19 -0400
|
|
595
|
+
Processing by Tim::TargetImagesController#index as XML
|
|
596
|
+
[1m[36mTim::TargetImage Load (0.2ms)[0m [1mSELECT "tim_target_images".* FROM "tim_target_images" [0m
|
|
597
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image_minimal.xml.haml (1.4ms)
|
|
598
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image_minimal.xml.haml (0.3ms)
|
|
599
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/index.xml.haml (5.0ms)
|
|
600
|
+
Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
Started GET "/tim/target_images/2" for 127.0.0.1 at 2012-10-10 14:15:27 -0400
|
|
604
|
+
Processing by Tim::TargetImagesController#show as XML
|
|
605
|
+
Parameters: {"id"=>"2"}
|
|
606
|
+
[1m[35mTim::TargetImage Load (0.1ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "2"]]
|
|
607
|
+
[1m[36mTim::ImageVersion Load (0.2ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 3 LIMIT 1[0m
|
|
608
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version_minimal.xml.haml (0.3ms)
|
|
609
|
+
Rendered tim/target_images/_custom.xml.haml (0.7ms)
|
|
610
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image.xml.haml (5.8ms)
|
|
611
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/show.xml.haml (7.5ms)
|
|
612
|
+
Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.3ms)
|
|
613
|
+
Connecting to database specified by database.yml
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
Started PUT "/tim/provider_images//2" for 127.0.0.1 at 2012-10-10 16:31:26 -0400
|
|
617
|
+
Connecting to database specified by database.yml
|
|
618
|
+
Processing by Tim::ProviderImagesController#update as HTML
|
|
619
|
+
Parameters: {"provider_image"=>{"status"=>"COMPLETE", "_type"=>"ProviderImage", "parameters"=>nil, "identifier_on_provider"=>nil, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Initializing image prior to Cloud/OS customization"}, "provider_account_identifier"=>nil, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "provider"=>"MockSphere", "percent_complete"=>0, "id"=>"2be7a961-2929-475e-a2ee-ab4d159f6417"}, "id"=>"2"}
|
|
620
|
+
WARNING: Can't verify CSRF token authenticity
|
|
621
|
+
Filter chain halted as Tim::UserKeysFilter rendered or redirected
|
|
622
|
+
Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-11 09:46:30 -0400
|
|
626
|
+
Connecting to database specified by database.yml
|
|
627
|
+
Processing by Tim::BaseImagesController#index as XML
|
|
628
|
+
[1m[36mTim::BaseImage Load (0.2ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" [0m
|
|
629
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (1.4ms)
|
|
630
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
631
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
632
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
633
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
|
|
634
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/index.xml.haml (31.1ms)
|
|
635
|
+
Completed 200 OK in 124ms (Views: 113.6ms | ActiveRecord: 0.3ms)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-11 09:47:06 -0400
|
|
639
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
640
|
+
Parameters: {"base_image"=>{"name"=>"MyFirstBaseImage", "description"=>"This is my very first base image", "template"=>{"name"=>"Fedora 15", "description"=>"desc", "os"=>{"rootpw"=>"password", "name"=>"Fedora", "arch"=>"x86_64", "version"=>"15", "install"=>{"type"=>"url", "url"=>"http://download.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/"}}, "repositories"=>{"repository"=>{"name"=>"custom", "url"=>"http://repos.fedorapeople.org/repos/aeolus/demo/webapp/", "signed"=>"false"}}}}}
|
|
641
|
+
WARNING: Can't verify CSRF token authenticity
|
|
642
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
643
|
+
[1m[36mSQL (27.8ms)[0m [1mINSERT INTO "tim_templates" ("created_at", "updated_at", "xml") VALUES (?, ?, ?)[0m [["created_at", Thu, 11 Oct 2012 13:47:06 UTC +00:00], ["updated_at", Thu, 11 Oct 2012 13:47:06 UTC +00:00], ["xml", "<template>\n <name>Fedora 15</name>\n <description>desc</description>\n <os>\n <rootpw>password</rootpw>\n <name>Fedora</name>\n <arch>x86_64</arch>\n <version>15</version>\n <install type=\"url\">\n <url>http://download.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/</url>\n </install>\n </os>\n <repositories>\n <repository name=\"custom\">\n <url>http://repos.fedorapeople.org/repos/aeolus/demo/webapp/</url>\n <signed>false</signed>\n </repository>\n </repositories>\n </template>"]]
|
|
644
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 11 Oct 2012 13:47:06 UTC +00:00], ["description", "This is my very first base image"], ["name", "MyFirstBaseImage"], ["pool_family_id", nil], ["template_id", 4], ["updated_at", Thu, 11 Oct 2012 13:47:06 UTC +00:00], ["user_id", nil]]
|
|
645
|
+
[1m[36m (81.4ms)[0m [1mcommit transaction[0m
|
|
646
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.4ms)
|
|
647
|
+
[1m[35mTim::ImageVersion Load (0.1ms)[0m SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 7
|
|
648
|
+
Rendered tim/base_images/_custom.xml.haml (1.0ms)
|
|
649
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (80.9ms)
|
|
650
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (89.5ms)
|
|
651
|
+
Completed 201 Created in 320ms (Views: 106.9ms | ActiveRecord: 0.4ms)
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-11 10:07:05 -0400
|
|
655
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
656
|
+
Parameters: {"base_image"=>{"name"=>"MyFirstBaseImage", "description"=>"This is my very first base image", "template"=>{"name"=>"Fedora 15", "description"=>"desc", "os"=>{"rootpw"=>"password", "name"=>"Fedora", "arch"=>"x86_64", "version"=>"15", "install"=>{"type"=>"url", "url"=>"http://download.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/"}}, "repositories"=>{"repository"=>{"name"=>"custom", "url"=>"http://repos.fedorapeople.org/repos/aeolus/demo/webapp/", "signed"=>"false"}}}}}
|
|
657
|
+
WARNING: Can't verify CSRF token authenticity
|
|
658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
659
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "tim_templates" ("created_at", "updated_at", "xml") VALUES (?, ?, ?) [["created_at", Thu, 11 Oct 2012 14:07:05 UTC +00:00], ["updated_at", Thu, 11 Oct 2012 14:07:05 UTC +00:00], ["xml", "<template>\n <name>Fedora 15</name>\n <description>desc</description>\n <os>\n <rootpw>password</rootpw>\n <name>Fedora</name>\n <arch>x86_64</arch>\n <version>15</version>\n <install type=\"url\">\n <url>http://download.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/</url>\n </install>\n </os>\n <repositories>\n <repository name=\"custom\">\n <url>http://repos.fedorapeople.org/repos/aeolus/demo/webapp/</url>\n <signed>false</signed>\n </repository>\n </repositories>\n </template>"]]
|
|
660
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 11 Oct 2012 14:07:05 UTC +00:00], ["description", "This is my very first base image"], ["name", "MyFirstBaseImage"], ["pool_family_id", nil], ["template_id", 5], ["updated_at", Thu, 11 Oct 2012 14:07:05 UTC +00:00], ["user_id", nil]]
|
|
661
|
+
[1m[35m (97.5ms)[0m commit transaction
|
|
662
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (0.3ms)
|
|
663
|
+
[1m[36mTim::ImageVersion Load (0.1ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 8[0m
|
|
664
|
+
Rendered tim/base_images/_custom.xml.haml (0.1ms)
|
|
665
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (3.5ms)
|
|
666
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (4.6ms)
|
|
667
|
+
Completed 201 Created in 112ms (Views: 7.2ms | ActiveRecord: 0.1ms)
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-11 10:11:14 -0400
|
|
671
|
+
Connecting to database specified by database.yml
|
|
672
|
+
Processing by Tim::EntrypointController#index as XML
|
|
673
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (3.5ms)
|
|
674
|
+
Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-11 10:11:29 -0400
|
|
678
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
679
|
+
Parameters: {"base_image"=>{"name"=>"MyFirstBaseImage", "description"=>"This is my very first base image", "template"=>{"name"=>"Fedora 15", "description"=>"desc", "os"=>{"rootpw"=>"password", "name"=>"Fedora", "arch"=>"x86_64", "version"=>"15", "install"=>{"type"=>"url", "url"=>"http://download.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/"}}, "repositories"=>{"repository"=>{"name"=>"custom", "url"=>"http://repos.fedorapeople.org/repos/aeolus/demo/webapp/", "signed"=>"false"}}}}}
|
|
680
|
+
WARNING: Can't verify CSRF token authenticity
|
|
681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
682
|
+
[1m[35mSQL (4.0ms)[0m INSERT INTO "tim_templates" ("created_at", "updated_at", "xml") VALUES (?, ?, ?) [["created_at", Thu, 11 Oct 2012 14:11:30 UTC +00:00], ["updated_at", Thu, 11 Oct 2012 14:11:30 UTC +00:00], ["xml", "<template>\n <name>Fedora 15</name>\n <description>desc</description>\n <os>\n <rootpw>password</rootpw>\n <name>Fedora</name>\n <arch>x86_64</arch>\n <version>15</version>\n <install type=\"url\">\n <url>http://download.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/</url>\n </install>\n </os>\n <repositories>\n <repository name=\"custom\">\n <url>http://repos.fedorapeople.org/repos/aeolus/demo/webapp/</url>\n <signed>false</signed>\n </repository>\n </repositories>\n </template>"]]
|
|
683
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 11 Oct 2012 14:11:30 UTC +00:00], ["description", "This is my very first base image"], ["name", "MyFirstBaseImage"], ["pool_family_id", nil], ["template_id", 6], ["updated_at", Thu, 11 Oct 2012 14:11:30 UTC +00:00], ["user_id", nil]]
|
|
684
|
+
[1m[35m (123.6ms)[0m commit transaction
|
|
685
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
|
|
686
|
+
[1m[36mTim::ImageVersion Load (0.1ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 9[0m
|
|
687
|
+
Rendered tim/base_images/_custom.xml.haml (0.9ms)
|
|
688
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (23.3ms)
|
|
689
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (55.3ms)
|
|
690
|
+
Completed 201 Created in 281ms (Views: 57.0ms | ActiveRecord: 0.4ms)
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-11 10:28:58 -0400
|
|
694
|
+
Connecting to database specified by database.yml
|
|
695
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
696
|
+
Parameters: {"base_image"=>{"name"=>"MyFirstBaseImage", "description"=>"ThisIsABaseImage", "template"=>{"name"=>"mock", "os"=>{"name"=>"RHELMock", "version"=>"1", "arch"=>"x86_64", "install"=>{"type"=>"iso", "iso"=>"http://mockhost/RHELMock1-x86_64-DVD.iso"}, "rootpw"=>"password"}, "description"=>"Mock Template"}, "image_versions"=>[{"target_images"=>[{"target"=>"MockSphere"}]}]}}
|
|
697
|
+
WARNING: Can't verify CSRF token authenticity
|
|
698
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
699
|
+
[1m[35mSQL (4.1ms)[0m INSERT INTO "tim_templates" ("created_at", "updated_at", "xml") VALUES (?, ?, ?) [["created_at", Thu, 11 Oct 2012 14:29:00 UTC +00:00], ["updated_at", Thu, 11 Oct 2012 14:29:00 UTC +00:00], ["xml", "<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>"]]
|
|
700
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 11 Oct 2012 14:29:00 UTC +00:00], ["description", "ThisIsABaseImage"], ["name", "MyFirstBaseImage"], ["pool_family_id", nil], ["template_id", 7], ["updated_at", Thu, 11 Oct 2012 14:29:00 UTC +00:00], ["user_id", nil]]
|
|
701
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "tim_image_versions" ("base_image_id", "created_at", "template_id", "updated_at") VALUES (?, ?, ?, ?) [["base_image_id", 10], ["created_at", Thu, 11 Oct 2012 14:29:00 UTC +00:00], ["template_id", nil], ["updated_at", Thu, 11 Oct 2012 14:29:00 UTC +00:00]]
|
|
702
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "tim_target_images" ("created_at", "factory_id", "image_version_id", "progress", "provider_type_id", "status", "status_detail", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 11 Oct 2012 14:29:00 UTC +00:00], ["factory_id", nil], ["image_version_id", 4], ["progress", nil], ["provider_type_id", nil], ["status", nil], ["status_detail", nil], ["target", "MockSphere"], ["updated_at", Thu, 11 Oct 2012 14:29:00 UTC +00:00]]
|
|
703
|
+
[1m[35mTim::ImageVersion Load (0.1ms)[0m SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 4 LIMIT 1
|
|
704
|
+
[1m[36mTim::BaseImage Load (0.1ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = 10 LIMIT 1[0m
|
|
705
|
+
[1m[35mTim::Template Load (0.1ms)[0m SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 7 LIMIT 1
|
|
706
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "tim_target_images" SET "target" = 'MockSphere', "image_version_id" = 4, "created_at" = '2012-10-11 14:29:00.442782', "updated_at" = '2012-10-11 14:29:00.442782', "status" = 'NEW', "factory_id" = '5f51cd21-4ea6-4b66-a0a2-9ddd7d7ca6d4', "status_detail" = 'Initializing image prior to Cloud/OS customization', "progress" = 0 WHERE "tim_target_images"."id" = 3[0m
|
|
707
|
+
[1m[35m (137.4ms)[0m commit transaction
|
|
708
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
|
|
709
|
+
[1m[36mTim::ImageVersion Load (0.2ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 10[0m
|
|
710
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version_minimal.xml.haml (1.5ms)
|
|
711
|
+
Rendered tim/base_images/_custom.xml.haml (0.7ms)
|
|
712
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (33.5ms)
|
|
713
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (37.6ms)
|
|
714
|
+
Completed 201 Created in 10312ms (Views: 39.7ms | ActiveRecord: 0.2ms)
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
Started PUT "/tim/target_images//3" for 127.0.0.1 at 2012-10-11 10:29:10 -0400
|
|
718
|
+
Processing by Tim::TargetImagesController#update as HTML
|
|
719
|
+
Parameters: {"base_image"=>{"status"=>"COMPLETE", "_type"=>"BaseImage", "parameters"=>{"callbacks"=>["http://localhost:3000/tim/target_images//3"]}, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Initializing image prior to Cloud/OS customization"}, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "percent_complete"=>0, "id"=>"aa73ada6-6b61-476c-9286-6a563f449a7c"}, "id"=>"3", "target_image"=>{}}
|
|
720
|
+
WARNING: Can't verify CSRF token authenticity
|
|
721
|
+
[1m[35mTim::TargetImage Load (0.3ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "3"]]
|
|
722
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
723
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
724
|
+
Redirected to http://localhost:3000/tim/target_images/3
|
|
725
|
+
Completed 302 Found in 24ms (ActiveRecord: 0.0ms)
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
Started PUT "/tim/target_images//3" for 127.0.0.1 at 2012-10-11 10:29:10 -0400
|
|
729
|
+
Processing by Tim::TargetImagesController#update as HTML
|
|
730
|
+
Parameters: {"target_image"=>{"status"=>"COMPLETE", "_type"=>"TargetImage", "target"=>"MockSphere", "parameters"=>{"callbacks"=>["http://localhost:3000/tim/target_images//3"]}, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Initializing image prior to Cloud/OS customization"}, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "percent_complete"=>0, "id"=>"5f51cd21-4ea6-4b66-a0a2-9ddd7d7ca6d4"}, "id"=>"3"}
|
|
731
|
+
WARNING: Can't verify CSRF token authenticity
|
|
732
|
+
[1m[36mTim::TargetImage Load (0.2ms)[0m [1mSELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1[0m [["id", "3"]]
|
|
733
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
734
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "tim_target_images" SET "progress" = 0, "status" = 'COMPLETE', "updated_at" = '2012-10-11 14:29:10.661931' WHERE "tim_target_images"."id" = 3[0m
|
|
735
|
+
[1m[35m (80.9ms)[0m commit transaction
|
|
736
|
+
Redirected to http://localhost:3000/tim/target_images/3
|
|
737
|
+
Completed 302 Found in 89ms (ActiveRecord: 0.0ms)
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
Started GET "/tim/target_images/3" for 127.0.0.1 at 2012-10-11 10:30:37 -0400
|
|
741
|
+
Processing by Tim::TargetImagesController#show as XML
|
|
742
|
+
Parameters: {"id"=>"3"}
|
|
743
|
+
[1m[36mTim::TargetImage Load (0.2ms)[0m [1mSELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1[0m [["id", "3"]]
|
|
744
|
+
[1m[35mTim::ImageVersion Load (0.2ms)[0m SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 4 LIMIT 1
|
|
745
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version_minimal.xml.haml (0.3ms)
|
|
746
|
+
Rendered tim/target_images/_custom.xml.haml (0.7ms)
|
|
747
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image.xml.haml (14.7ms)
|
|
748
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/show.xml.haml (26.8ms)
|
|
749
|
+
Completed 200 OK in 45ms (Views: 43.1ms | ActiveRecord: 0.3ms)
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
Started PUT "/tim/target_images" for 127.0.0.1 at 2012-10-11 10:36:21 -0400
|
|
753
|
+
Connecting to database specified by database.yml
|
|
754
|
+
|
|
755
|
+
ActionController::RoutingError (No route matches [PUT] "/tim/target_images"):
|
|
756
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
757
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
758
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
|
759
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
|
760
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
761
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
762
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
763
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
764
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
765
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
766
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
|
767
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
|
768
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
769
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
770
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
771
|
+
/home/jay/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
772
|
+
/home/jay/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
773
|
+
/home/jay/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
Rendered /home/jay/.rvm/gems/ruby-1.9.3-p194@tim/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
Started PUT "/tim/target_images/3" for 127.0.0.1 at 2012-10-11 10:36:56 -0400
|
|
780
|
+
Processing by Tim::TargetImagesController#update as XML
|
|
781
|
+
Parameters: {"target_image"=>{"id"=>"3", "provider_images"=>[{"provider"=>"MockSphere", "credentials"=>nil}]}, "id"=>"3"}
|
|
782
|
+
WARNING: Can't verify CSRF token authenticity
|
|
783
|
+
[1m[36mTim::TargetImage Load (0.2ms)[0m [1mSELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1[0m [["id", "3"]]
|
|
784
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
785
|
+
[1m[36mSQL (31.4ms)[0m [1mINSERT INTO "tim_provider_images" ("created_at", "external_image_id", "factory_id", "progress", "provider", "provider_account_id", "snapshot", "status", "status_detail", "target_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 11 Oct 2012 14:36:56 UTC +00:00], ["external_image_id", nil], ["factory_id", nil], ["progress", nil], ["provider", "MockSphere"], ["provider_account_id", nil], ["snapshot", nil], ["status", nil], ["status_detail", nil], ["target_image_id", 3], ["updated_at", Thu, 11 Oct 2012 14:36:56 UTC +00:00]]
|
|
786
|
+
[1m[35mTim::TargetImage Load (0.2ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = 3 LIMIT 1
|
|
787
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "tim_provider_images" SET "provider" = 'MockSphere', "target_image_id" = 3, "created_at" = '2012-10-11 14:36:56.479678', "updated_at" = '2012-10-11 14:36:56.479678', "status" = 'NEW', "factory_id" = '787125c9-e5b9-458b-90c7-d1dfec93c7fd', "status_detail" = 'Initializing image prior to Cloud/OS customization', "progress" = 0 WHERE "tim_provider_images"."id" = 3[0m
|
|
788
|
+
[1m[35m (131.0ms)[0m commit transaction
|
|
789
|
+
[1m[36mTim::ImageVersion Load (0.1ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 4 LIMIT 1[0m
|
|
790
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version_minimal.xml.haml (1.4ms)
|
|
791
|
+
Rendered tim/target_images/_custom.xml.haml (0.7ms)
|
|
792
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image.xml.haml (21.6ms)
|
|
793
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/show.xml.haml (57.4ms)
|
|
794
|
+
Completed 200 OK in 364ms (Views: 59.7ms | ActiveRecord: 0.4ms)
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
Started PUT "/tim/provider_images//3" for 127.0.0.1 at 2012-10-11 10:36:56 -0400
|
|
798
|
+
Processing by Tim::ProviderImagesController#update as HTML
|
|
799
|
+
Parameters: {"provider_image"=>{"status"=>"COMPLETE", "_type"=>"ProviderImage", "parameters"=>nil, "identifier_on_provider"=>nil, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Initializing image prior to Cloud/OS customization"}, "provider_account_identifier"=>nil, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "provider"=>"MockSphere", "percent_complete"=>0, "id"=>"787125c9-e5b9-458b-90c7-d1dfec93c7fd"}, "id"=>"3"}
|
|
800
|
+
WARNING: Can't verify CSRF token authenticity
|
|
801
|
+
[1m[35mTim::ProviderImage Load (0.3ms)[0m SELECT "tim_provider_images".* FROM "tim_provider_images" WHERE "tim_provider_images"."id" = ? LIMIT 1 [["id", "3"]]
|
|
802
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
803
|
+
[1m[35m (0.3ms)[0m UPDATE "tim_provider_images" SET "progress" = 0, "status" = 'COMPLETE', "updated_at" = '2012-10-11 14:36:56.760849' WHERE "tim_provider_images"."id" = 3
|
|
804
|
+
[1m[36m (85.7ms)[0m [1mcommit transaction[0m
|
|
805
|
+
Redirected to http://localhost:3000/tim/provider_images/3
|
|
806
|
+
Completed 302 Found in 100ms (ActiveRecord: 0.0ms)
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
Started GET "/tim/target_images/3" for 127.0.0.1 at 2012-10-11 10:37:43 -0400
|
|
810
|
+
Processing by Tim::TargetImagesController#show as XML
|
|
811
|
+
Parameters: {"id"=>"3"}
|
|
812
|
+
[1m[35mTim::TargetImage Load (0.2ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "3"]]
|
|
813
|
+
[1m[36mTim::ImageVersion Load (0.2ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 4 LIMIT 1[0m
|
|
814
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version_minimal.xml.haml (0.3ms)
|
|
815
|
+
Rendered tim/target_images/_custom.xml.haml (0.1ms)
|
|
816
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image.xml.haml (3.4ms)
|
|
817
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/show.xml.haml (4.2ms)
|
|
818
|
+
Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms)
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
Started GET "/tim/provider_images/" for 127.0.0.1 at 2012-10-11 10:37:57 -0400
|
|
822
|
+
Processing by Tim::ProviderImagesController#index as XML
|
|
823
|
+
[1m[35mTim::ProviderImage Load (0.2ms)[0m SELECT "tim_provider_images".* FROM "tim_provider_images"
|
|
824
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/provider_images/_provider_image_minimal.xml.haml (1.3ms)
|
|
825
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/provider_images/_provider_image_minimal.xml.haml (0.3ms)
|
|
826
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/provider_images/index.xml.haml (4.3ms)
|
|
827
|
+
Completed 200 OK in 31ms (Views: 29.3ms | ActiveRecord: 0.2ms)
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
Started GET "/tim/provider_images/3" for 127.0.0.1 at 2012-10-11 10:39:44 -0400
|
|
831
|
+
Processing by Tim::ProviderImagesController#show as XML
|
|
832
|
+
Parameters: {"id"=>"3"}
|
|
833
|
+
[1m[36mTim::ProviderImage Load (0.1ms)[0m [1mSELECT "tim_provider_images".* FROM "tim_provider_images" WHERE "tim_provider_images"."id" = ? LIMIT 1[0m [["id", "3"]]
|
|
834
|
+
[1m[35mTim::TargetImage Load (0.2ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = 3 LIMIT 1
|
|
835
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image_minimal.xml.haml (1.1ms)
|
|
836
|
+
Rendered tim/provider_images/_custom.xml.haml (0.8ms)
|
|
837
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/provider_images/_provider_image.xml.haml (12.0ms)
|
|
838
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/provider_images/show.xml.haml (17.7ms)
|
|
839
|
+
Completed 200 OK in 27ms (Views: 25.6ms | ActiveRecord: 0.3ms)
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
Started GET "/tim/provider_images/2" for 127.0.0.1 at 2012-10-11 10:40:03 -0400
|
|
843
|
+
Processing by Tim::ProviderImagesController#show as XML
|
|
844
|
+
Parameters: {"id"=>"2"}
|
|
845
|
+
[1m[36mTim::ProviderImage Load (0.2ms)[0m [1mSELECT "tim_provider_images".* FROM "tim_provider_images" WHERE "tim_provider_images"."id" = ? LIMIT 1[0m [["id", "2"]]
|
|
846
|
+
[1m[35mTim::TargetImage Load (0.2ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = 2 LIMIT 1
|
|
847
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/target_images/_target_image_minimal.xml.haml (0.4ms)
|
|
848
|
+
Rendered tim/provider_images/_custom.xml.haml (0.1ms)
|
|
849
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/provider_images/_provider_image.xml.haml (4.2ms)
|
|
850
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/provider_images/show.xml.haml (5.3ms)
|
|
851
|
+
Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.4ms)
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-11 10:56:13 -0400
|
|
855
|
+
Connecting to database specified by database.yml
|
|
856
|
+
Processing by Tim::EntrypointController#index as XML
|
|
857
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (3.5ms)
|
|
858
|
+
Completed 200 OK in 37ms (Views: 37.0ms | ActiveRecord: 0.0ms)
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
Started POST "/tim/base_images" for 127.0.0.1 at 2012-10-11 10:56:36 -0400
|
|
862
|
+
Processing by Tim::BaseImagesController#create as XML
|
|
863
|
+
Parameters: {"base_image"=>{"name"=>"MyFirstBaseImage", "description"=>"ThisIsABaseImage", "template"=>{"name"=>"mock", "os"=>{"name"=>"RHELMock", "version"=>"1", "arch"=>"x86_64", "install"=>{"type"=>"iso", "iso"=>"http://mockhost/RHELMock1-x86_64-DVD.iso"}, "rootpw"=>"password"}, "description"=>"Mock Template"}, "image_versions"=>[{"target_images"=>[{"target"=>"MockSphere"}]}]}}
|
|
864
|
+
WARNING: Can't verify CSRF token authenticity
|
|
865
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
866
|
+
[1m[35mSQL (4.6ms)[0m INSERT INTO "tim_templates" ("created_at", "updated_at", "xml") VALUES (?, ?, ?) [["created_at", Thu, 11 Oct 2012 14:56:37 UTC +00:00], ["updated_at", Thu, 11 Oct 2012 14:56:37 UTC +00:00], ["xml", "<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>"]]
|
|
867
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 11 Oct 2012 14:56:37 UTC +00:00], ["description", "ThisIsABaseImage"], ["name", "MyFirstBaseImage"], ["pool_family_id", nil], ["template_id", 8], ["updated_at", Thu, 11 Oct 2012 14:56:37 UTC +00:00], ["user_id", nil]]
|
|
868
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "tim_image_versions" ("base_image_id", "created_at", "template_id", "updated_at") VALUES (?, ?, ?, ?) [["base_image_id", 11], ["created_at", Thu, 11 Oct 2012 14:56:37 UTC +00:00], ["template_id", nil], ["updated_at", Thu, 11 Oct 2012 14:56:37 UTC +00:00]]
|
|
869
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "tim_target_images" ("created_at", "factory_id", "image_version_id", "progress", "provider_type_id", "status", "status_detail", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 11 Oct 2012 14:56:37 UTC +00:00], ["factory_id", nil], ["image_version_id", 5], ["progress", nil], ["provider_type_id", nil], ["status", nil], ["status_detail", nil], ["target", "MockSphere"], ["updated_at", Thu, 11 Oct 2012 14:56:37 UTC +00:00]]
|
|
870
|
+
[1m[35mTim::ImageVersion Load (0.1ms)[0m SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 5 LIMIT 1
|
|
871
|
+
[1m[36mTim::BaseImage Load (0.1ms)[0m [1mSELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = 11 LIMIT 1[0m
|
|
872
|
+
[1m[35mTim::Template Load (0.1ms)[0m SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 8 LIMIT 1
|
|
873
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "tim_target_images" SET "target" = 'MockSphere', "image_version_id" = 5, "created_at" = '2012-10-11 14:56:37.578961', "updated_at" = '2012-10-11 14:56:37.578961', "status" = 'NEW', "factory_id" = '3cb88dc1-a14e-4ba0-911a-e3d2e471e3ee', "status_detail" = 'Initializing image prior to Cloud/OS customization', "progress" = 0 WHERE "tim_target_images"."id" = 4[0m
|
|
874
|
+
[1m[35m (106.8ms)[0m commit transaction
|
|
875
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
|
|
876
|
+
[1m[36mTim::ImageVersion Load (0.2ms)[0m [1mSELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 11[0m
|
|
877
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/image_versions/_image_version_minimal.xml.haml (1.1ms)
|
|
878
|
+
Rendered tim/base_images/_custom.xml.haml (0.7ms)
|
|
879
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image.xml.haml (10.3ms)
|
|
880
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/show.xml.haml (15.4ms)
|
|
881
|
+
Completed 201 Created in 361ms (Views: 18.0ms | ActiveRecord: 0.2ms)
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
Started PUT "/tim/target_images//4" for 127.0.0.1 at 2012-10-11 10:56:37 -0400
|
|
885
|
+
Processing by Tim::TargetImagesController#update as HTML
|
|
886
|
+
Parameters: {"base_image"=>{"status"=>"COMPLETE", "_type"=>"BaseImage", "parameters"=>{"callbacks"=>["http://localhost:3000/tim/target_images//4"]}, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Initializing image prior to Cloud/OS customization"}, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "percent_complete"=>0, "id"=>"aa6cd135-7d51-4a73-8ff9-28c313be5f84"}, "id"=>"4", "target_image"=>{}}
|
|
887
|
+
WARNING: Can't verify CSRF token authenticity
|
|
888
|
+
[1m[35mTim::TargetImage Load (0.2ms)[0m SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "4"]]
|
|
889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
890
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
891
|
+
Redirected to http://localhost:3000/tim/target_images/4
|
|
892
|
+
Completed 302 Found in 42ms (ActiveRecord: 0.0ms)
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
Started PUT "/tim/target_images//4" for 127.0.0.1 at 2012-10-11 10:56:47 -0400
|
|
896
|
+
Processing by Tim::TargetImagesController#update as HTML
|
|
897
|
+
Parameters: {"target_image"=>{"status"=>"COMPLETE", "_type"=>"TargetImage", "target"=>"MockSphere", "parameters"=>{"callbacks"=>["http://localhost:3000/tim/target_images//4"]}, "icicle"=>nil, "status_detail"=>{"error"=>nil, "activity"=>"Initializing image prior to Cloud/OS customization"}, "template"=>"<template>\n <name>mock</name>\n <os>\n <name>RHELMock</name>\n <version>1</version>\n <arch>x86_64</arch>\n <install type=\"iso\">\n <iso>http://mockhost/RHELMock1-x86_64-DVD.iso</iso>\n </install>\n <rootpw>password</rootpw>\n </os>\n <description>Mock Template</description>\n </template>", "percent_complete"=>0, "id"=>"3cb88dc1-a14e-4ba0-911a-e3d2e471e3ee"}, "id"=>"4"}
|
|
898
|
+
WARNING: Can't verify CSRF token authenticity
|
|
899
|
+
[1m[36mTim::TargetImage Load (0.2ms)[0m [1mSELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1[0m [["id", "4"]]
|
|
900
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
901
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "tim_target_images" SET "progress" = 0, "status" = 'COMPLETE', "updated_at" = '2012-10-11 14:56:47.374117' WHERE "tim_target_images"."id" = 4[0m
|
|
902
|
+
[1m[35m (72.8ms)[0m commit transaction
|
|
903
|
+
Redirected to http://localhost:3000/tim/target_images/4
|
|
904
|
+
Completed 302 Found in 80ms (ActiveRecord: 0.0ms)
|
|
905
|
+
Connecting to database specified by database.yml
|
|
906
|
+
[1m[36m (1.7ms)[0m [1mselect sqlite_version(*)[0m
|
|
907
|
+
[1m[35m (106.1ms)[0m CREATE TABLE "tim_base_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" varchar(255), "template_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "pool_family_id" integer)
|
|
908
|
+
[1m[36m (91.8ms)[0m [1mCREATE TABLE "tim_image_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "base_image_id" integer, "template_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
909
|
+
[1m[35m (106.1ms)[0m CREATE TABLE "tim_provider_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "target_image_id" integer, "provider" varchar(255), "external_image_id" varchar(255), "provider_account_id" varchar(255), "snapshot" boolean, "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
910
|
+
[1m[36m (90.4ms)[0m [1mCREATE TABLE "tim_target_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "image_version_id" integer, "target" varchar(255), "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "provider_type_id" integer) [0m
|
|
911
|
+
[1m[35m (108.0ms)[0m CREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
912
|
+
[1m[36m (82.5ms)[0m [1mCREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
913
|
+
[1m[35m (73.7ms)[0m CREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
914
|
+
[1m[36m (100.3ms)[0m [1mCREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
915
|
+
[1m[35m (97.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
916
|
+
[1m[36m (74.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
917
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
|
918
|
+
[1m[36m (102.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
919
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
920
|
+
[1m[36m (77.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120423123114264114')[0m
|
|
921
|
+
[1m[35m (66.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120326103723532622')
|
|
922
|
+
[1m[36m (91.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911203222')[0m
|
|
923
|
+
[1m[35m (58.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911182850')
|
|
924
|
+
[1m[36m (49.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911205431')[0m
|
|
925
|
+
[1m[35m (58.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911202845')
|
|
926
|
+
[1m[36m (58.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120906180351')[0m
|
|
927
|
+
[1m[35m (58.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120906210106')
|
|
928
|
+
[1m[36m (66.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911202321')[0m
|
|
929
|
+
[1m[35m (66.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911204329')
|
|
930
|
+
[1m[36m (49.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120910175233')[0m
|
|
931
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
Started GET "/tim/" for 127.0.0.1 at 2012-10-11 11:15:08 -0400
|
|
935
|
+
Connecting to database specified by database.yml
|
|
936
|
+
Processing by Tim::EntrypointController#index as XML
|
|
937
|
+
Rendered /home/jay/projects/aeolus/tim/app/views/tim/entrypoint/index.xml.haml (3.5ms)
|
|
938
|
+
Completed 200 OK in 37ms (Views: 36.4ms | ActiveRecord: 0.0ms)
|
|
939
|
+
Connecting to database specified by database.yml
|
|
940
|
+
[1m[36m (1.9ms)[0m [1mselect sqlite_version(*)[0m
|
|
941
|
+
[1m[35m (94.8ms)[0m DROP TABLE "tim_base_images"
|
|
942
|
+
[1m[36m (124.7ms)[0m [1mCREATE TABLE "tim_base_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" varchar(255), "template_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "pool_family_id" integer) [0m
|
|
943
|
+
[1m[35m (90.1ms)[0m DROP TABLE "tim_image_versions"
|
|
944
|
+
[1m[36m (91.1ms)[0m [1mCREATE TABLE "tim_image_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "base_image_id" integer, "template_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
945
|
+
[1m[35m (90.5ms)[0m DROP TABLE "tim_provider_images"
|
|
946
|
+
[1m[36m (82.5ms)[0m [1mCREATE TABLE "tim_provider_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "target_image_id" integer, "provider" varchar(255), "external_image_id" varchar(255), "provider_account_id" varchar(255), "snapshot" boolean, "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
947
|
+
[1m[35m (82.2ms)[0m DROP TABLE "tim_target_images"
|
|
948
|
+
[1m[36m (91.0ms)[0m [1mCREATE TABLE "tim_target_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "image_version_id" integer, "target" varchar(255), "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "provider_type_id" integer) [0m
|
|
949
|
+
[1m[35m (82.4ms)[0m DROP TABLE "tim_templates"
|
|
950
|
+
[1m[36m (82.8ms)[0m [1mCREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
951
|
+
[1m[35m (90.8ms)[0m DROP TABLE "pool_families"
|
|
952
|
+
[1m[36m (99.6ms)[0m [1mCREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
953
|
+
[1m[35m (90.8ms)[0m DROP TABLE "provider_accounts"
|
|
954
|
+
[1m[36m (99.6ms)[0m [1mCREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
955
|
+
[1m[35m (90.8ms)[0m DROP TABLE "provider_types"
|
|
956
|
+
[1m[36m (89.9ms)[0m [1mCREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
957
|
+
[1m[35m (74.2ms)[0m DROP TABLE "users"
|
|
958
|
+
[1m[36m (74.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
959
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
960
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
|
961
|
+
Connecting to database specified by database.yml
|
|
962
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
|
963
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
|
964
|
+
[1m[36m (100.3ms)[0m [1mCREATE TABLE "tim_base_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" varchar(255), "template_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "pool_family_id" integer) [0m
|
|
965
|
+
[1m[35m (80.3ms)[0m CREATE TABLE "tim_image_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "base_image_id" integer, "template_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
966
|
+
[1m[36m (101.9ms)[0m [1mCREATE TABLE "tim_provider_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "target_image_id" integer, "provider" varchar(255), "external_image_id" varchar(255), "provider_account_id" varchar(255), "snapshot" boolean, "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
967
|
+
[1m[35m (85.5ms)[0m CREATE TABLE "tim_target_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "factory_id" varchar(255), "image_version_id" integer, "target" varchar(255), "status" varchar(255), "status_detail" varchar(255), "progress" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "provider_type_id" integer)
|
|
968
|
+
[1m[36m (105.5ms)[0m [1mCREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
969
|
+
[1m[35m (78.3ms)[0m CREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
970
|
+
[1m[36m (56.9ms)[0m [1mCREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
971
|
+
[1m[35m (89.0ms)[0m CREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
972
|
+
[1m[36m (74.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
973
|
+
[1m[35m (66.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
974
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
|
975
|
+
[1m[35m (101.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
976
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
977
|
+
[1m[35m (89.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120423123114264114')
|
|
978
|
+
[1m[36m (74.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120326103723532622')[0m
|
|
979
|
+
[1m[35m (74.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911203222')
|
|
980
|
+
[1m[36m (74.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911182850')[0m
|
|
981
|
+
[1m[35m (74.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120911205431')
|
|
982
|
+
[1m[36m (74.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120911202845')[0m
|