tim 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +392 -0
  3. data/Rakefile +33 -0
  4. data/app/assets/javascripts/tim/application.js +15 -0
  5. data/app/assets/stylesheets/tim/application.css +13 -0
  6. data/app/controllers/tim/application_controller.rb +19 -0
  7. data/app/controllers/tim/base_images_controller.rb +59 -0
  8. data/app/controllers/tim/entrypoint_controller.rb +8 -0
  9. data/app/controllers/tim/image_versions_controller.rb +48 -0
  10. data/app/controllers/tim/provider_images_controller.rb +59 -0
  11. data/app/controllers/tim/target_images_controller.rb +61 -0
  12. data/app/controllers/tim/templates_controller.rb +47 -0
  13. data/app/filters/tim/user_keys_filter.rb +59 -0
  14. data/app/helpers/tim/application_helper.rb +4 -0
  15. data/app/models/tim/base.rb +6 -0
  16. data/app/models/tim/base_image.rb +15 -0
  17. data/app/models/tim/image_version.rb +13 -0
  18. data/app/models/tim/provider_image.rb +51 -0
  19. data/app/models/tim/target_image.rb +50 -0
  20. data/app/models/tim/template.rb +19 -0
  21. data/app/responders/tim/custom_responder.rb +24 -0
  22. data/app/validators/template_validator.rb +15 -0
  23. data/app/views/layouts/tim/application.html.erb +14 -0
  24. data/app/views/tim/base_images/_base_image.xml.haml +11 -0
  25. data/app/views/tim/base_images/_base_image_minimal.xml.haml +2 -0
  26. data/app/views/tim/base_images/_form.html.erb +17 -0
  27. data/app/views/tim/base_images/edit.html.erb +6 -0
  28. data/app/views/tim/base_images/index.html.erb +17 -0
  29. data/app/views/tim/base_images/index.xml.haml +4 -0
  30. data/app/views/tim/base_images/new.html.erb +5 -0
  31. data/app/views/tim/base_images/show.html.erb +5 -0
  32. data/app/views/tim/base_images/show.xml.haml +2 -0
  33. data/app/views/tim/entrypoint/index.xml.haml +7 -0
  34. data/app/views/tim/image_versions/_form.html.erb +17 -0
  35. data/app/views/tim/image_versions/_image_version.xml.haml +9 -0
  36. data/app/views/tim/image_versions/_image_version_minimal.xml.haml +2 -0
  37. data/app/views/tim/image_versions/edit.html.erb +6 -0
  38. data/app/views/tim/image_versions/index.html.erb +17 -0
  39. data/app/views/tim/image_versions/index.xml.haml +4 -0
  40. data/app/views/tim/image_versions/new.html.erb +5 -0
  41. data/app/views/tim/image_versions/show.html.erb +5 -0
  42. data/app/views/tim/image_versions/show.xml.haml +2 -0
  43. data/app/views/tim/images/_form.html.erb +17 -0
  44. data/app/views/tim/images/edit.html.erb +6 -0
  45. data/app/views/tim/images/index.html.erb +21 -0
  46. data/app/views/tim/images/new.html.erb +5 -0
  47. data/app/views/tim/images/show.html.erb +5 -0
  48. data/app/views/tim/layouts/application.html.erb +14 -0
  49. data/app/views/tim/provider_images/_form.html.erb +17 -0
  50. data/app/views/tim/provider_images/_provider_image.xml.haml +12 -0
  51. data/app/views/tim/provider_images/_provider_image_minimal.xml.haml +2 -0
  52. data/app/views/tim/provider_images/edit.html.erb +6 -0
  53. data/app/views/tim/provider_images/index.html.erb +17 -0
  54. data/app/views/tim/provider_images/index.xml.haml +4 -0
  55. data/app/views/tim/provider_images/new.html.erb +5 -0
  56. data/app/views/tim/provider_images/show.html.erb +5 -0
  57. data/app/views/tim/provider_images/show.xml.haml +2 -0
  58. data/app/views/tim/target_images/_form.html.erb +17 -0
  59. data/app/views/tim/target_images/_target_image.xml.haml +13 -0
  60. data/app/views/tim/target_images/_target_image_minimal.xml.haml +2 -0
  61. data/app/views/tim/target_images/edit.html.erb +6 -0
  62. data/app/views/tim/target_images/index.html.erb +21 -0
  63. data/app/views/tim/target_images/index.xml.haml +4 -0
  64. data/app/views/tim/target_images/new.html.erb +5 -0
  65. data/app/views/tim/target_images/show.html.erb +5 -0
  66. data/app/views/tim/target_images/show.xml.haml +2 -0
  67. data/app/views/tim/templates/_form.html.erb +17 -0
  68. data/app/views/tim/templates/_template.xml.haml +8 -0
  69. data/app/views/tim/templates/_template_minimal.xml.haml +2 -0
  70. data/app/views/tim/templates/edit.html.erb +6 -0
  71. data/app/views/tim/templates/index.html.erb +17 -0
  72. data/app/views/tim/templates/index.xml.haml +4 -0
  73. data/app/views/tim/templates/new.html.erb +5 -0
  74. data/app/views/tim/templates/show.html.erb +5 -0
  75. data/app/views/tim/templates/show.xml.haml +2 -0
  76. data/config/cucumber.yml +8 -0
  77. data/config/initializers/haml.rb +1 -0
  78. data/config/routes.rb +9 -0
  79. data/config/schemas/tdl.rng +282 -0
  80. data/config/user_keys.yml +26 -0
  81. data/db/migrate/20120906180351_create_tim_base_images.rb +12 -0
  82. data/db/migrate/20120906210106_create_tim_image_versions.rb +10 -0
  83. data/db/migrate/20120910175233_create_tim_templates.rb +9 -0
  84. data/db/migrate/20120911202321_create_tim_target_images.rb +14 -0
  85. data/db/migrate/20120911204329_create_tim_provider_images.rb +19 -0
  86. data/lib/generators/tim/install_generator.rb +15 -0
  87. data/lib/generators/tim/templates/README +6 -0
  88. data/lib/generators/tim/templates/tim.rb +8 -0
  89. data/lib/image_factory/image_factory.rb +4 -0
  90. data/lib/image_factory/model/base.rb +88 -0
  91. data/lib/image_factory/model/provider_image.rb +6 -0
  92. data/lib/image_factory/model/target_image.rb +6 -0
  93. data/lib/tasks/cucumber.rake +59 -0
  94. data/lib/tasks/tim_tasks.rake +4 -0
  95. data/lib/tim.rb +8 -0
  96. data/lib/tim/engine.rb +9 -0
  97. data/lib/tim/version.rb +3 -0
  98. data/spec/controllers/base_images_controller_spec.rb +131 -0
  99. data/spec/controllers/entrypoint_controller_spec.rb +32 -0
  100. data/spec/controllers/image_versions_controller_spec.rb +146 -0
  101. data/spec/controllers/provider_images_controller_spec.rb +156 -0
  102. data/spec/controllers/target_images_controller_spec.rb +153 -0
  103. data/spec/controllers/templates_controller_spec.rb +41 -0
  104. data/spec/decorators/controllers/templates_controller_decorator_spec.rb +13 -0
  105. data/spec/factories/tim/base_image.rb +10 -0
  106. data/spec/factories/tim/image_factory/provider_image.rb +10 -0
  107. data/spec/factories/tim/image_factory/status_detail.rb +0 -0
  108. data/spec/factories/tim/image_factory/target_image.rb +7 -0
  109. data/spec/factories/tim/image_version.rb +20 -0
  110. data/spec/factories/tim/provider_image.rb +9 -0
  111. data/spec/factories/tim/target_image.rb +10 -0
  112. data/spec/factories/tim/template.rb +23 -0
  113. data/spec/filters/user_keys_filter_spec.rb +41 -0
  114. data/spec/fixtures/template.xml +13 -0
  115. data/spec/models/base_image_spec.rb +39 -0
  116. data/spec/models/dummy/pool_family_spec.rb +14 -0
  117. data/spec/models/dummy/provider_account_spec.rb +18 -0
  118. data/spec/models/dummy/provider_type_spec.rb +18 -0
  119. data/spec/models/dummy/user_spec.rb +14 -0
  120. data/spec/models/image_version_spec.rb +27 -0
  121. data/spec/models/provider_image_spec.rb +69 -0
  122. data/spec/models/target_image_spec.rb +75 -0
  123. data/spec/models/template_spec.rb +16 -0
  124. data/spec/spec_helper.rb +56 -0
  125. data/spec/support/routes.rb +41 -0
  126. data/spec/validators/template_validator_spec.rb +19 -0
  127. data/spec/views/base_images_spec.rb +23 -0
  128. data/spec/views/image_versions_spec.rb +25 -0
  129. data/spec/views/provider_images_spec.rb +30 -0
  130. data/spec/views/target_images_spec.rb +25 -0
  131. data/spec/views/templates_spec.rb +24 -0
  132. data/test/dummy/Rakefile +7 -0
  133. data/test/dummy/app/assets/javascripts/application.js +15 -0
  134. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  135. data/test/dummy/app/controllers/application_controller.rb +3 -0
  136. data/test/dummy/app/decorators/tim/controllers/templates_controller_decorator.rb +8 -0
  137. data/test/dummy/app/helpers/application_helper.rb +2 -0
  138. data/test/dummy/app/models/pool_family.rb +3 -0
  139. data/test/dummy/app/models/provider_account.rb +3 -0
  140. data/test/dummy/app/models/provider_type.rb +3 -0
  141. data/test/dummy/app/models/tim/base_image.rb +6 -0
  142. data/test/dummy/app/models/user.rb +3 -0
  143. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  144. data/test/dummy/app/views/tim/base_images/_custom.xml.haml +1 -0
  145. data/test/dummy/app/views/tim/image_versions/_custom.xml.haml +1 -0
  146. data/test/dummy/app/views/tim/layouts/application.html.erb +14 -0
  147. data/test/dummy/app/views/tim/provider_images/_custom.xml.haml +1 -0
  148. data/test/dummy/app/views/tim/target_images/_custom.xml.haml +1 -0
  149. data/test/dummy/app/views/tim/templates/_custom.xml.haml +1 -0
  150. data/test/dummy/config.ru +4 -0
  151. data/test/dummy/config/application.rb +58 -0
  152. data/test/dummy/config/boot.rb +10 -0
  153. data/test/dummy/config/database.yml +28 -0
  154. data/test/dummy/config/environment.rb +5 -0
  155. data/test/dummy/config/environments/development.rb +37 -0
  156. data/test/dummy/config/environments/production.rb +67 -0
  157. data/test/dummy/config/environments/test.rb +37 -0
  158. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  159. data/test/dummy/config/initializers/inflections.rb +15 -0
  160. data/test/dummy/config/initializers/mime_types.rb +5 -0
  161. data/test/dummy/config/initializers/secret_token.rb +7 -0
  162. data/test/dummy/config/initializers/session_store.rb +8 -0
  163. data/test/dummy/config/initializers/tim.rb +8 -0
  164. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  165. data/test/dummy/config/locales/en.yml +5 -0
  166. data/test/dummy/config/routes.rb +4 -0
  167. data/test/dummy/db/development.sqlite3 +0 -0
  168. data/test/dummy/db/migrate/20120326103723532622_create_users.rb +9 -0
  169. data/test/dummy/db/migrate/20120423123114264114_create_pool_families.rb +7 -0
  170. data/test/dummy/db/migrate/20120911182850_add_pool_family_id_to_tim_base_image.rb +5 -0
  171. data/test/dummy/db/migrate/20120911202845_add_provider_type_id_to_tim_target_image.rb +5 -0
  172. data/test/dummy/db/migrate/20120911203222_create_provider_types.rb +7 -0
  173. data/test/dummy/db/migrate/20120911205431_create_provider_accounts.rb +7 -0
  174. data/test/dummy/db/schema.rb +86 -0
  175. data/test/dummy/db/test.sqlite3 +0 -0
  176. data/test/dummy/log/development.log +982 -0
  177. data/test/dummy/log/test.log +8629 -0
  178. data/test/dummy/public/404.html +26 -0
  179. data/test/dummy/public/422.html +26 -0
  180. data/test/dummy/public/500.html +26 -0
  181. data/test/dummy/public/favicon.ico +0 -0
  182. data/test/dummy/script/rails +6 -0
  183. data/test/dummy/test.rb +0 -0
  184. data/test/dummy/tmp/cache/assets/C7A/BB0/sprockets%2F13445f7a19078dd2df39517062aa6711 +0 -0
  185. data/test/dummy/tmp/cache/assets/C8C/CC0/sprockets%2F95d79f3b3096348427f3e4e38b5202e3 +0 -0
  186. data/test/dummy/tmp/cache/assets/CB0/2B0/sprockets%2F79106b90879c02a115d7f6f1c8390ac4 +0 -0
  187. data/test/dummy/tmp/cache/assets/CE0/690/sprockets%2F04c628c2a636286bfa92a4966b82b92a +0 -0
  188. data/test/dummy/tmp/cache/assets/D03/040/sprockets%2Fd9e94204d4b307145f12efc109b16c1f +0 -0
  189. data/test/dummy/tmp/cache/assets/D06/DC0/sprockets%2Fcd282851b6e4c463409ba3ece67e0510 +0 -0
  190. data/test/dummy/tmp/cache/assets/D23/5F0/sprockets%2F2a521f3183c6bbcd71bd26a5490b201e +0 -0
  191. data/test/dummy/tmp/cache/assets/D64/3A0/sprockets%2F56ac1aed10c39b12a88cb1b30f668f58 +0 -0
  192. data/test/dummy/tmp/cache/assets/D69/BD0/sprockets%2F0aaf75cf34556b33a9fec534fe4d0415 +0 -0
  193. data/test/dummy/tmp/cache/assets/D87/D80/sprockets%2Fefa3c8b210e87358c7add88cd6f49597 +0 -0
  194. data/test/dummy/tmp/cache/assets/D89/200/sprockets%2Ff9b4e953c874ed6a87de6490d055d9db +0 -0
  195. data/test/dummy/tmp/cache/assets/DF4/430/sprockets%2F403bb1de60cae4325cebd7e6c389b8ad +0 -0
  196. data/test/dummy/tmp/cache/assets/E00/500/sprockets%2Faaddc5b6f2cb6b98930cc54cf4c64a95 +0 -0
  197. data/test/dummy/tmp/cache/assets/EB3/CE0/sprockets%2Fd75a89c9fffacd99bce7eed96844eafc +0 -0
  198. metadata +432 -0
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ if File.exist?(gemfile)
5
+ ENV['BUNDLE_GEMFILE'] = gemfile
6
+ require 'bundler'
7
+ Bundler.setup
8
+ end
9
+
10
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -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,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ Dummy::Application.initialize!
@@ -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,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -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
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount Tim::Engine => "/tim"
4
+ end
@@ -0,0 +1,9 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table :users do |t|
4
+ t.string :name
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+ class CreatePoolFamilies < ActiveRecord::Migration
2
+ def change
3
+ create_table :pool_families do |t|
4
+ t.timestamps
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ class AddPoolFamilyIdToTimBaseImage < ActiveRecord::Migration
2
+ def change
3
+ add_column :tim_base_images, :pool_family_id, :integer
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddProviderTypeIdToTimTargetImage < ActiveRecord::Migration
2
+ def change
3
+ add_column :tim_target_images, :provider_type_id, :integer
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ class CreateProviderTypes < ActiveRecord::Migration
2
+ def change
3
+ create_table :provider_types do |t|
4
+ t.timestamps
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ class CreateProviderAccounts < ActiveRecord::Migration
2
+ def change
3
+ create_table :provider_accounts do |t|
4
+ t.timestamps
5
+ end
6
+ end
7
+ end
@@ -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
@@ -0,0 +1,982 @@
1
+
2
+ Connecting to database specified by database.yml
3
+  (28.1ms) select sqlite_version(*)
4
+  (127.8ms) 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
+  (86.0ms) 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) 
6
+  (120.5ms) 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
+  (98.7ms) 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) 
8
+  (167.5ms) CREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
9
+  (105.1ms) CREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
10
+  (90.4ms) CREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11
+  (119.7ms) CREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
12
+  (111.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
13
+  (90.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
14
+  (0.1ms) PRAGMA index_list("schema_migrations")
15
+  (124.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
16
+  (0.1ms) SELECT version FROM "schema_migrations"
17
+  (91.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120423123114264114')
18
+  (91.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120326103723532622')
19
+  (91.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911203222')
20
+  (91.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911182850')
21
+  (91.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911205431')
22
+  (91.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911202845')
23
+  (126.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120906180351')
24
+  (89.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120906210106')
25
+  (83.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911202321')
26
+  (83.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911204329')
27
+  (74.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120910175233')
28
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
29
+ Connecting to database specified by database.yml
30
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
31
+  (0.3ms) select sqlite_version(*)
32
+  (150.6ms) 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) 
33
+  (95.9ms) 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
+  (95.1ms) 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) 
35
+  (111.0ms) 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
+  (113.4ms) CREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37
+  (84.7ms) CREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
38
+  (74.2ms) CREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
39
+  (100.5ms) CREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
40
+  (89.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
41
+  (82.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
42
+  (0.0ms) PRAGMA index_list("schema_migrations")
43
+  (103.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
44
+  (0.0ms) SELECT version FROM "schema_migrations"
45
+  (87.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120423123114264114')
46
+  (74.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120326103723532622')
47
+  (74.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911203222')
48
+  (74.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911182850')
49
+  (108.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911205431')
50
+  (83.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911202845')
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
+  (0.0ms) begin transaction
59
+ SQL (53.4ms) 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
+  (117.6ms) commit transaction
61
+ Tim::ImageVersion Load (0.1ms) 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
+ Tim::BaseImage Load (0.2ms) SELECT "tim_base_images".* FROM "tim_base_images" 
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
+ Tim::BaseImage Load (0.2ms) SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = ? LIMIT 1 [["id", "1"]]
82
+  (0.0ms) begin transaction
83
+ SQL (3.2ms) DELETE FROM "tim_base_images" WHERE "tim_base_images"."id" = ? [["id", 1]]
84
+  (93.5ms) 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
+ Tim::BaseImage Load (0.2ms) SELECT "tim_base_images".* FROM "tim_base_images" 
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
+  (0.1ms) begin transaction
100
+ SQL (1.4ms) 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: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
+  (123.4ms) commit transaction
102
+ Tim::ImageVersion Load (0.1ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 2
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
+ Tim::BaseImage Load (0.3ms) 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
+  (0.1ms) begin transaction
122
+ SQL (0.5ms) 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
+  (107.1ms) commit transaction
124
+ Tim::ImageVersion Load (0.2ms) 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
+ Tim::BaseImage Load (0.2ms) SELECT "tim_base_images".* FROM "tim_base_images" 
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
+ Tim::BaseImage Load (0.1ms) SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = ? LIMIT 1 [["id", "3"]]
144
+ Tim::ImageVersion Load (0.2ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 3
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
+ Tim::BaseImage Load (0.1ms) SELECT "tim_base_images".* FROM "tim_base_images" 
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
+ Tim::Template Load (0.1ms) SELECT "tim_templates".* FROM "tim_templates" 
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
+ Tim::Template Load (0.3ms) 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
+ Tim::BaseImage Load (0.1ms) SELECT "tim_base_images".* FROM "tim_base_images" 
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
+ Tim::BaseImage Load (0.3ms) SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = ? LIMIT 1 [["id", "2"]]
234
+ Tim::Template Load (0.2ms) SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 1 LIMIT 1
235
+ Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.5ms)
236
+ Tim::ImageVersion Load (0.1ms) 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
+ Tim::ImageVersion Load (0.2ms) SELECT "tim_image_versions".* FROM "tim_image_versions" 
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
+ Tim::Template Load (0.2ms) 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
+ Tim::Template Load (0.1ms) SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = ? LIMIT 1 [["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
+  (0.1ms) begin transaction
297
+ SQL (4.0ms) 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 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
+ SQL (0.2ms) 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
+  (92.0ms) commit transaction
300
+ Rendered /home/jay/projects/aeolus/tim/app/views/tim/base_images/_base_image_minimal.xml.haml (0.3ms)
301
+ Tim::TargetImage Load (0.1ms) 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
+ Tim::BaseImage Load (0.2ms) SELECT "tim_base_images".* FROM "tim_base_images" 
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
+ Tim::BaseImage Load (0.3ms) 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
+  (0.0ms) begin transaction
334
+ SQL (33.7ms) 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
+ SQL (0.3ms) INSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+ SQL (0.2ms) INSERT INTO "tim_target_images" ("created_at", "factory_id", "image_version_id", "progress", "provider_type_id", "status", "status_detail", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+ Tim::ImageVersion Load (0.1ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 2 LIMIT 1
339
+ Tim::BaseImage Load (0.1ms) SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = 5 LIMIT 1
340
+ Tim::Template Load (0.1ms) SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 2 LIMIT 1
341
+  (0.4ms) UPDATE "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
342
+  (109.7ms) commit transaction
343
+ Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
344
+ Tim::ImageVersion Load (0.2ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 5
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
+ Tim::TargetImage Load (0.3ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "1"]]
357
+  (0.0ms) begin transaction
358
+  (0.0ms) 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
+ Tim::TargetImage Load (0.1ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "1"]]
368
+  (0.1ms) begin transaction
369
+  (0.3ms) UPDATE "tim_target_images" SET "progress" = 0, "status" = 'FAILED', "updated_at" = '2012-10-10 17:45:13.614194' WHERE "tim_target_images"."id" = 1
370
+  (90.4ms) 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
+ Tim::ImageVersion Load (0.3ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = ? LIMIT 1 [["id", "2"]]
379
+ Tim::BaseImage Load (0.1ms) 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
+ Tim::TargetImage Load (0.1ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."image_version_id" = 2
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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "1"]]
393
+ Tim::ImageVersion Load (0.2ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 2 LIMIT 1
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
+  (0.1ms) begin transaction
406
+  (0.0ms) rollback transaction
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
+  (0.0ms) begin transaction
416
+  (0.1ms) 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
+  (0.0ms) begin transaction
553
+ SQL (4.2ms) 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
+ SQL (0.2ms) INSERT INTO "tim_base_images" ("created_at", "description", "name", "pool_family_id", "template_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+ SQL (0.2ms) INSERT INTO "tim_target_images" ("created_at", "factory_id", "image_version_id", "progress", "provider_type_id", "status", "status_detail", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+ Tim::ImageVersion Load (0.1ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 3 LIMIT 1
558
+ Tim::BaseImage Load (0.1ms) SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = 6 LIMIT 1
559
+ Tim::Template Load (0.1ms) SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 3 LIMIT 1
560
+  (0.6ms) UPDATE "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
561
+  (105.7ms) commit transaction
562
+ Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
563
+ Tim::ImageVersion Load (0.3ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 6
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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "2"]]
576
+  (0.0ms) begin transaction
577
+  (0.0ms) 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
+ Tim::TargetImage Load (0.1ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "2"]]
587
+  (0.1ms) begin transaction
588
+  (0.3ms) UPDATE "tim_target_images" SET "progress" = 0, "status" = 'COMPLETE', "updated_at" = '2012-10-10 18:14:16.665057' WHERE "tim_target_images"."id" = 2
589
+  (114.8ms) 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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" 
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
+ Tim::TargetImage Load (0.1ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "2"]]
607
+ Tim::ImageVersion Load (0.2ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 3 LIMIT 1
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
+ Tim::BaseImage Load (0.2ms) SELECT "tim_base_images".* FROM "tim_base_images" 
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
+  (0.1ms) begin transaction
643
+ SQL (27.8ms) INSERT INTO "tim_templates" ("created_at", "updated_at", "xml") VALUES (?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (81.4ms) commit transaction
646
+ Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.4ms)
647
+ Tim::ImageVersion Load (0.1ms) 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
+  (0.1ms) begin transaction
659
+ SQL (0.5ms) 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
+ SQL (0.1ms) 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 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
+  (97.5ms) commit transaction
662
+ Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (0.3ms)
663
+ Tim::ImageVersion Load (0.1ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 8
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
+  (0.1ms) begin transaction
682
+ SQL (4.0ms) 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
+ SQL (0.2ms) 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 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
+  (123.6ms) commit transaction
685
+ Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
686
+ Tim::ImageVersion Load (0.1ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 9
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
+  (0.0ms) begin transaction
699
+ SQL (4.1ms) 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
+ SQL (0.2ms) 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 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
+ SQL (0.2ms) 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
+ SQL (0.2ms) INSERT INTO "tim_target_images" ("created_at", "factory_id", "image_version_id", "progress", "provider_type_id", "status", "status_detail", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+ Tim::ImageVersion Load (0.1ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 4 LIMIT 1
704
+ Tim::BaseImage Load (0.1ms) SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = 10 LIMIT 1
705
+ Tim::Template Load (0.1ms) SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 7 LIMIT 1
706
+  (0.5ms) UPDATE "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
707
+  (137.4ms) commit transaction
708
+ Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
709
+ Tim::ImageVersion Load (0.2ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 10
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
+ Tim::TargetImage Load (0.3ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "3"]]
722
+  (0.1ms) begin transaction
723
+  (0.0ms) 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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "3"]]
733
+  (0.1ms) begin transaction
734
+  (0.3ms) UPDATE "tim_target_images" SET "progress" = 0, "status" = 'COMPLETE', "updated_at" = '2012-10-11 14:29:10.661931' WHERE "tim_target_images"."id" = 3
735
+  (80.9ms) 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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "3"]]
744
+ Tim::ImageVersion Load (0.2ms) 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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "3"]]
784
+  (0.0ms) begin transaction
785
+ SQL (31.4ms) INSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = 3 LIMIT 1
787
+  (0.4ms) UPDATE "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
788
+  (131.0ms) commit transaction
789
+ Tim::ImageVersion Load (0.1ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 4 LIMIT 1
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
+ Tim::ProviderImage Load (0.3ms) SELECT "tim_provider_images".* FROM "tim_provider_images" WHERE "tim_provider_images"."id" = ? LIMIT 1 [["id", "3"]]
802
+  (0.1ms) begin transaction
803
+  (0.3ms) 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
+  (85.7ms) commit transaction
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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "3"]]
813
+ Tim::ImageVersion Load (0.2ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 4 LIMIT 1
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
+ Tim::ProviderImage Load (0.2ms) 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
+ Tim::ProviderImage Load (0.1ms) SELECT "tim_provider_images".* FROM "tim_provider_images" WHERE "tim_provider_images"."id" = ? LIMIT 1 [["id", "3"]]
834
+ Tim::TargetImage Load (0.2ms) 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
+ Tim::ProviderImage Load (0.2ms) SELECT "tim_provider_images".* FROM "tim_provider_images" WHERE "tim_provider_images"."id" = ? LIMIT 1 [["id", "2"]]
846
+ Tim::TargetImage Load (0.2ms) 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
+  (0.0ms) begin transaction
866
+ SQL (4.6ms) 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
+ SQL (0.2ms) 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 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
+ SQL (0.2ms) 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
+ SQL (0.4ms) INSERT INTO "tim_target_images" ("created_at", "factory_id", "image_version_id", "progress", "provider_type_id", "status", "status_detail", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+ Tim::ImageVersion Load (0.1ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."id" = 5 LIMIT 1
871
+ Tim::BaseImage Load (0.1ms) SELECT "tim_base_images".* FROM "tim_base_images" WHERE "tim_base_images"."id" = 11 LIMIT 1
872
+ Tim::Template Load (0.1ms) SELECT "tim_templates".* FROM "tim_templates" WHERE "tim_templates"."id" = 8 LIMIT 1
873
+  (0.5ms) UPDATE "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
874
+  (106.8ms) commit transaction
875
+ Rendered /home/jay/projects/aeolus/tim/app/views/tim/templates/_template_minimal.xml.haml (1.1ms)
876
+ Tim::ImageVersion Load (0.2ms) SELECT "tim_image_versions".* FROM "tim_image_versions" WHERE "tim_image_versions"."base_image_id" = 11
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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "4"]]
889
+  (0.0ms) begin transaction
890
+  (0.0ms) 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
+ Tim::TargetImage Load (0.2ms) SELECT "tim_target_images".* FROM "tim_target_images" WHERE "tim_target_images"."id" = ? LIMIT 1 [["id", "4"]]
900
+  (0.1ms) begin transaction
901
+  (0.4ms) UPDATE "tim_target_images" SET "progress" = 0, "status" = 'COMPLETE', "updated_at" = '2012-10-11 14:56:47.374117' WHERE "tim_target_images"."id" = 4
902
+  (72.8ms) 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
+  (1.7ms) select sqlite_version(*)
907
+  (106.1ms) 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
+  (91.8ms) 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) 
909
+  (106.1ms) 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
+  (90.4ms) 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) 
911
+  (108.0ms) CREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
912
+  (82.5ms) CREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
913
+  (73.7ms) CREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
914
+  (100.3ms) CREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
915
+  (97.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
916
+  (74.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
917
+  (0.1ms) PRAGMA index_list("schema_migrations")
918
+  (102.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
919
+  (0.1ms) SELECT version FROM "schema_migrations"
920
+  (77.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120423123114264114')
921
+  (66.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120326103723532622')
922
+  (91.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911203222')
923
+  (58.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911182850')
924
+  (49.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911205431')
925
+  (58.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911202845')
926
+  (58.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120906180351')
927
+  (58.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120906210106')
928
+  (66.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911202321')
929
+  (66.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911204329')
930
+  (49.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120910175233')
931
+  (0.1ms) 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
+  (1.9ms) select sqlite_version(*)
941
+  (94.8ms) DROP TABLE "tim_base_images"
942
+  (124.7ms) 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) 
943
+  (90.1ms) DROP TABLE "tim_image_versions"
944
+  (91.1ms) 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) 
945
+  (90.5ms) DROP TABLE "tim_provider_images"
946
+  (82.5ms) 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) 
947
+  (82.2ms) DROP TABLE "tim_target_images"
948
+  (91.0ms) 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) 
949
+  (82.4ms) DROP TABLE "tim_templates"
950
+  (82.8ms) CREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
951
+  (90.8ms) DROP TABLE "pool_families"
952
+  (99.6ms) CREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
953
+  (90.8ms) DROP TABLE "provider_accounts"
954
+  (99.6ms) CREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
955
+  (90.8ms) DROP TABLE "provider_types"
956
+  (89.9ms) CREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
957
+  (74.2ms) DROP TABLE "users"
958
+  (74.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
959
+  (0.1ms) SELECT version FROM "schema_migrations"
960
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
961
+ Connecting to database specified by database.yml
962
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
963
+  (0.3ms) select sqlite_version(*)
964
+  (100.3ms) 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) 
965
+  (80.3ms) 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
+  (101.9ms) 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) 
967
+  (85.5ms) 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
+  (105.5ms) CREATE TABLE "tim_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
969
+  (78.3ms) CREATE TABLE "pool_families" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
970
+  (56.9ms) CREATE TABLE "provider_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
971
+  (89.0ms) CREATE TABLE "provider_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
972
+  (74.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
973
+  (66.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
974
+  (0.0ms) PRAGMA index_list("schema_migrations")
975
+  (101.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
976
+  (0.1ms) SELECT version FROM "schema_migrations"
977
+  (89.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120423123114264114')
978
+  (74.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120326103723532622')
979
+  (74.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911203222')
980
+  (74.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911182850')
981
+  (74.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911205431')
982
+  (74.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120911202845')