tim 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/Gemfile +17 -0
  2. data/README.rdoc +231 -8
  3. data/app/controllers/tim/application_controller.rb +6 -3
  4. data/app/controllers/tim/base_images_controller.rb +10 -18
  5. data/app/controllers/tim/image_versions_controller.rb +10 -9
  6. data/app/controllers/tim/provider_images_controller.rb +13 -10
  7. data/app/controllers/tim/target_images_controller.rb +9 -7
  8. data/app/controllers/tim/templates_controller.rb +7 -7
  9. data/app/exceptions/tim/exceptions.rb +6 -0
  10. data/app/filters/tim/resource_link_filter.rb +56 -0
  11. data/app/models/tim/base_image.rb +7 -3
  12. data/app/models/tim/image_version.rb +4 -2
  13. data/app/models/tim/provider_image.rb +42 -6
  14. data/app/models/tim/target_image.rb +48 -9
  15. data/app/models/tim/template.rb +18 -3
  16. data/app/patches/rails/active_record/autosave_association.rb +29 -0
  17. data/app/validators/template_validator.rb +9 -5
  18. data/app/views/tim/base_images/_base_image.xml.haml +1 -0
  19. data/app/views/tim/target_images/_target_image.xml.haml +1 -0
  20. data/db/migrate/20121115151914_add_import_to_tim_base_images.rb +5 -0
  21. data/db/migrate/20121210131423_add_build_method_to_target_image.rb +5 -0
  22. data/db/migrate/20121216131814_rename_provider_account_id_attribute.rb +13 -0
  23. data/db/migrate/20121216134538_add_factory_base_image_id_to_image_versions.rb +5 -0
  24. data/lib/image_factory/model/base_image.rb +6 -0
  25. data/lib/tim/engine.rb +12 -0
  26. data/lib/tim/version.rb +1 -1
  27. data/spec/controllers/base_images_controller_spec.rb +24 -8
  28. data/spec/controllers/image_versions_controller_spec.rb +20 -7
  29. data/spec/controllers/provider_images_controller_spec.rb +19 -6
  30. data/spec/controllers/target_images_controller_spec.rb +22 -8
  31. data/spec/factories/tim/base_image.rb +5 -1
  32. data/spec/factories/tim/image_factory/target_image.rb +1 -0
  33. data/spec/factories/tim/image_version.rb +4 -0
  34. data/spec/factories/tim/provider_image.rb +4 -1
  35. data/spec/factories/tim/target_image.rb +6 -2
  36. data/spec/filters/resource_link_filter_spec.rb +158 -0
  37. data/spec/models/base_image_spec.rb +5 -5
  38. data/spec/models/dummy/pool_family_spec.rb +1 -1
  39. data/spec/models/dummy/provider_account_spec.rb +3 -1
  40. data/spec/models/dummy/provider_type_spec.rb +2 -1
  41. data/spec/models/dummy/user_spec.rb +1 -1
  42. data/spec/models/image_version_spec.rb +4 -3
  43. data/spec/models/provider_image_spec.rb +28 -5
  44. data/spec/models/target_image_spec.rb +74 -4
  45. data/spec/models/template_spec.rb +11 -2
  46. data/spec/validators/template_validator_spec.rb +10 -0
  47. data/spec/views/base_images_spec.rb +2 -1
  48. data/spec/views/provider_images_spec.rb +1 -0
  49. data/test/dummy/app/decorators/tim/controllers/base_images_controller_decorator.rb +13 -0
  50. data/test/dummy/config/database.yml +0 -3
  51. data/test/dummy/config/initializers/tim.rb +1 -1
  52. data/test/dummy/config/routes.rb +6 -1
  53. data/test/dummy/db/migrate/20121216133232_add_provider_account_id_to_provider_images.rb +5 -0
  54. data/test/dummy/db/schema.rb +28 -24
  55. data/tim.gemspec +32 -0
  56. metadata +46 -60
  57. data/test/dummy/db/development.sqlite3 +0 -0
  58. data/test/dummy/db/test.sqlite3 +0 -0
  59. data/test/dummy/log/development.log +0 -982
  60. data/test/dummy/log/test.log +0 -8629
  61. data/test/dummy/tmp/cache/assets/C7A/BB0/sprockets%2F13445f7a19078dd2df39517062aa6711 +0 -0
  62. data/test/dummy/tmp/cache/assets/C8C/CC0/sprockets%2F95d79f3b3096348427f3e4e38b5202e3 +0 -0
  63. data/test/dummy/tmp/cache/assets/CB0/2B0/sprockets%2F79106b90879c02a115d7f6f1c8390ac4 +0 -0
  64. data/test/dummy/tmp/cache/assets/CE0/690/sprockets%2F04c628c2a636286bfa92a4966b82b92a +0 -0
  65. data/test/dummy/tmp/cache/assets/D03/040/sprockets%2Fd9e94204d4b307145f12efc109b16c1f +0 -0
  66. data/test/dummy/tmp/cache/assets/D06/DC0/sprockets%2Fcd282851b6e4c463409ba3ece67e0510 +0 -0
  67. data/test/dummy/tmp/cache/assets/D23/5F0/sprockets%2F2a521f3183c6bbcd71bd26a5490b201e +0 -0
  68. data/test/dummy/tmp/cache/assets/D64/3A0/sprockets%2F56ac1aed10c39b12a88cb1b30f668f58 +0 -0
  69. data/test/dummy/tmp/cache/assets/D69/BD0/sprockets%2F0aaf75cf34556b33a9fec534fe4d0415 +0 -0
  70. data/test/dummy/tmp/cache/assets/D87/D80/sprockets%2Fefa3c8b210e87358c7add88cd6f49597 +0 -0
  71. data/test/dummy/tmp/cache/assets/D89/200/sprockets%2Ff9b4e953c874ed6a87de6490d055d9db +0 -0
  72. data/test/dummy/tmp/cache/assets/DF4/430/sprockets%2F403bb1de60cae4325cebd7e6c389b8ad +0 -0
  73. data/test/dummy/tmp/cache/assets/E00/500/sprockets%2Faaddc5b6f2cb6b98930cc54cf4c64a95 +0 -0
  74. data/test/dummy/tmp/cache/assets/EB3/CE0/sprockets%2Fd75a89c9fffacd99bce7eed96844eafc +0 -0
Binary file
@@ -1,982 +0,0 @@
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')