Merge lp:~james-page/heat/redux into lp:~ubuntu-server-dev/heat/havana

Proposed by James Page
Status: Merged
Merged at revision: 15
Proposed branch: lp:~james-page/heat/redux
Merge into: lp:~ubuntu-server-dev/heat/havana
Diff against target: 12443 lines (+260/-11905)
35 files modified
debian/CHANGELOG (+0/-11199)
debian/changelog (+18/-1)
debian/control (+121/-120)
debian/debian_control_vars (+0/-1)
debian/heat-api-cfn.config.in (+0/-14)
debian/heat-api-cfn.install (+1/-1)
debian/heat-api-cfn.postinst.in (+0/-20)
debian/heat-api-cfn.templates (+0/-33)
debian/heat-api-cfn.upstart (+8/-0)
debian/heat-api-cloudwatch.config.in (+0/-14)
debian/heat-api-cloudwatch.install (+1/-1)
debian/heat-api-cloudwatch.postinst.in (+0/-20)
debian/heat-api-cloudwatch.templates (+0/-63)
debian/heat-api-cloudwatch.upstart (+8/-0)
debian/heat-api.config.in (+0/-15)
debian/heat-api.install (+1/-1)
debian/heat-api.postinst.in (+0/-23)
debian/heat-api.templates (+0/-79)
debian/heat-api.upstart (+8/-0)
debian/heat-common.dirs (+3/-0)
debian/heat-common.install (+2/-0)
debian/heat-common.postinst (+9/-5)
debian/heat-engine.config.in (+0/-14)
debian/heat-engine.install (+1/-1)
debian/heat-engine.postinst (+1/-12)
debian/heat-engine.prerm (+0/-17)
debian/heat-engine.templates (+0/-26)
debian/heat-engine.upstart (+8/-0)
debian/patches/default-kombu.patch (+48/-0)
debian/patches/default-sqlite.patch (+17/-0)
debian/patches/series (+2/-0)
debian/po/POTFILES.in (+0/-4)
debian/po/templates.pot (+0/-184)
debian/rules (+1/-36)
debian/watch (+2/-1)
To merge this branch: bzr merge lp:~james-page/heat/redux
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+179197@code.launchpad.net
To post a comment you must log in.
lp:~james-page/heat/redux updated
17. By James Page

d/control: Update VCS locations to ubuntu-server-dev branches.

18. By James Page

Re-enable DEP8 tests

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== removed file 'debian/CHANGELOG'
--- debian/CHANGELOG 2013-05-29 17:36:41 +0000
+++ debian/CHANGELOG 1970-01-01 00:00:00 +0000
@@ -1,11199 +0,0 @@
1commit 05a39ef93f32ca79d09c419b5132cef12a349060
2Author: Zane Bitter <zbitter@redhat.com>
3Date: Tue Oct 23 11:44:50 2012 +0200
4
5 Set release to final for v7
6
7 Change-Id: Ia11e0a401a0a3087823556c1e702219bb503d8e2
8 Signed-off-by: Zane Bitter <zbitter@redhat.com>
9
10commit d65ae5b3133c72bd6bde013ace36bcfbbc1e51a9
11Author: Steven Hardy <shardy@redhat.com>
12Date: Mon Oct 22 18:38:06 2012 +0100
13
14 heat engine : Make Resource::swift handle auth_token
15
16 Make Resource::swift() handle auth_token so the S3
17 resource will work with AWS auth
18
19 Fixes #271
20
21 Change-Id: Ie5aca026dea25045e42aab677a2c793c79de1658
22 Signed-off-by: Steven Hardy <shardy@redhat.com>
23
24commit 7036a387f48fb0cd5266f57fa148a32d98cd7270
25Author: Zane Bitter <zbitter@redhat.com>
26Date: Thu Oct 18 15:50:27 2012 +0200
27
28 ReST API: Add a keystone endpoint
29
30 Change-Id: I2770279ec50822c106d3ae23ce2f736a49139443
31 Signed-off-by: Zane Bitter <zbitter@redhat.com>
32
33commit 567128f594bf45748528e610f01d90255ff0eb60
34Author: Zane Bitter <zbitter@redhat.com>
35Date: Thu Oct 18 16:50:53 2012 +0200
36
37 Handle %(tenant_id)s in endpoints when updating
38
39 Change-Id: I61112f02b60b6bb63f33d5459edec1f44a49bdd5
40 Signed-off-by: Zane Bitter <zbitter@redhat.com>
41
42commit 2e7e7c44cf52191cf54222c8256c6afcc6f00aa5
43Author: Zane Bitter <zbitter@redhat.com>
44Date: Mon Oct 22 11:24:59 2012 +0200
45
46 Change the service user to match devstack
47
48 The user which authenticates keystone tokens should be the "heat" user in
49 the "service" tenant. This changes the default configuration to do this, as
50 devstack already does.
51
52 Ref #269
53
54 Change-Id: I89978ec0b490f6d404c568197dd4208097a4b695
55 Signed-off-by: Zane Bitter <zbitter@redhat.com>
56
57commit 3bc725b5bd1ec82cc5e307d08803836d83a9e143
58Author: Zane Bitter <zbitter@redhat.com>
59Date: Mon Oct 22 11:20:07 2012 +0200
60
61 Pass the correct tenant for the service user
62
63 Previously, the service user (which authenticates tokens passes to the
64 engine by the APIs) was paired with the tenant of the end user to do
65 authentication, which worked only when they were in the same tenant. This
66 should not be the case, since the service user should only have an admin
67 role in the "service" tenant.
68
69 Fixes #269
70
71 Change-Id: I99b764fc489429dd6d081485bd89d5dde737c124
72 Signed-off-by: Zane Bitter <zbitter@redhat.com>
73
74commit d75075cf35907530f8211d53d89b4ffd186fe251
75Merge: 5d7ebba 0816b29
76Author: Jenkins <jenkins@review.openstack.org>
77Date: Fri Oct 19 20:45:14 2012 +0000
78
79 Merge "ReST API: Format output as JSON"
80
81commit 5d7ebbaa06fa348e1e50121316580811c3f15105
82Merge: c2d262e 0f108b7
83Author: Jenkins <jenkins@review.openstack.org>
84Date: Fri Oct 19 18:37:58 2012 +0000
85
86 Merge "Start and enable libvirtd."
87
88commit 0f108b72dea71d9667a573d5661a301bdeec99cb
89Author: Ian Main <imain@redhat.com>
90Date: Fri Oct 19 11:30:27 2012 -0700
91
92 Start and enable libvirtd.
93
94 Just did a fresh install on fedora 17 and found libvirt was not running
95 by default which caused nova to not start. Explicitly enable it.
96
97 Change-Id: Id244af934007020d1a9f263dd71f04e5950dd2c5
98 Signed-off-by: Ian Main <imain@redhat.com>
99
100commit c2d262e6b26d0dd14c6f6c76100e78a4154fef08
101Author: Steven Hardy <shardy@redhat.com>
102Date: Fri Oct 19 19:11:51 2012 +0100
103
104 heat engine : Resource.keystone handle auth_token
105
106 Handle auth_token as well as username/password
107
108 Fixes #268
109
110 Change-Id: I7015556d74e026977fdd04f4ce9a378c0fac7695
111 Signed-off-by: Steven Hardy <shardy@redhat.com>
112
113commit 13ec48afe3aa12804cf15ad02557b1949cd52cdc
114Author: Steven Hardy <shardy@redhat.com>
115Date: Fri Oct 19 19:02:33 2012 +0100
116
117 heat engine : Rework auth.authenticate
118
119 engine.auth.authenticate is really creating a novaclient
120 connection, so move this into Resource.nova
121
122 Ref #268
123
124 Change-Id: I15d9c0537b3af9e65cd1ea5bd667bde0c89dc4c2
125 Signed-off-by: Steven Hardy <shardy@redhat.com>
126
127commit 52968f4a16b1af85770f532f734143add807c53b
128Author: Steven Hardy <shardy@redhat.com>
129Date: Fri Oct 19 16:12:15 2012 +0100
130
131 heat engine : remove unused EC2 style auth from engine
132
133 We handle EC2 style auth at the heat-api-cfn level, so EC2
134 style authenticated requests simply pass us an auth_token in
135 the context, so remove this duplicate/dead code.
136
137 Ref #268
138
139 Change-Id: I17708cb6ef4b0eb4989d47c116b6211f0d419dcb
140 Signed-off-by: Steven Hardy <shardy@redhat.com>
141
142commit 0816b2963c4c334efe65f2a0cf2748ae6bc708c0
143Author: Zane Bitter <zbitter@redhat.com>
144Date: Fri Oct 19 17:14:12 2012 +0200
145
146 ReST API: Format output as JSON
147
148 Eventually, both XML and JSON will be supported, but for now make the
149 output JSON, the same as the input.
150
151 Change-Id: If0f00b182c27616a9a6f08b468d732c718b7635a
152 Signed-off-by: Zane Bitter <zbitter@redhat.com>
153
154commit 5658f9d4dbe759fe26a7b820058b8e257f796f35
155Author: Jeff Peeler <jpeeler@redhat.com>
156Date: Fri Oct 19 11:20:04 2012 -0400
157
158 Do not assume host has selinux utils installed
159
160 related to #265
161
162 Change-Id: I4a6cff1f05b6f4f88d672cc0d4ce5e8f62a58e47
163 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
164
165commit 6ea813be339f8218cef6ceaa61bbe3a698783e09
166Author: Zane Bitter <zbitter@redhat.com>
167Date: Fri Oct 19 16:15:13 2012 +0200
168
169 Identify stacks using tenant UUIDs
170
171 Tenant names may come and go, but UUIDs are universally unique. Therefore,
172 ownership of the stack should be keyed on the tenant_id, not the tenant
173 name.
174
175 Change-Id: I7ec410aeaeceb6319299935b5f34d7c4e9c63d67
176 Signed-off-by: Zane Bitter <zbitter@redhat.com>
177
178commit debeccde8f9d3e99d2addc843d718eaf1e588dfe
179Author: Jeff Peeler <jpeeler@redhat.com>
180Date: Thu Oct 18 14:53:26 2012 -0400
181
182 Make default distribution U10 for deb template
183
184 Change-Id: Ifcfc7d1fbb6fac2a785a0dc5a4e6ba09cf898ed4
185 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
186
187commit 0ee9371f0c67d2334ced2a5bec171864a4fa7374
188Author: Steven Hardy <shardy@redhat.com>
189Date: Wed Oct 17 13:37:57 2012 +0100
190
191 heat engine : Make wait-condition poll interval better
192
193 Remove rising-rate sleep-time logic and replace with a bounded
194 poll interval derived from the timeout - this should avoid ramping
195 up to a really long interval and delaying stack complete status
196
197 Fixes #264
198
199 Change-Id: Id53b87a988299708c29fc853f2801f527fd825dd
200 Signed-off-by: Steven Hardy <shardy@redhat.com>
201
202commit 0c81d9dbef675c666ba1bb9d659457b3acc05e78
203Author: Zane Bitter <zbitter@redhat.com>
204Date: Tue Oct 16 16:31:59 2012 +0200
205
206 Handle upgrades in heat-keystone-setup
207
208 Handle upgrades of Heat by removing any outdated endpoints that exist in
209 keystone and adding any existing "heat" service user to an admin role in
210 the service tenant.
211
212 Change-Id: If6393417b5404a56b4723f42fb1a1b394d01cc6a
213 Signed-off-by: Zane Bitter <zbitter@redhat.com>
214
215commit bae47db46091c7ee2840abb264818731ed4ae099
216Author: Zane Bitter <zbitter@redhat.com>
217Date: Wed Oct 17 10:33:45 2012 +0200
218
219 Rename CloudFormation service to heat-cfn
220
221 This is consistent with what is implemented in devstack.
222
223 Change-Id: If47c28ddbef1d6c61e2d741f359d850e4ecffaa9
224 Signed-off-by: Zane Bitter <zbitter@redhat.com>
225
226commit 453854cdf697453376364eae51d65e3e58d82f51
227Merge: a97c6d3 3308e27
228Author: Jenkins <jenkins@review.openstack.org>
229Date: Wed Oct 17 08:33:13 2012 +0000
230
231 Merge "heat tests : Remove utils.Stack getter methods"
232
233commit 3308e276481a7160adb58b9c1cad7327543c47cc
234Author: Steven Hardy <shardy@redhat.com>
235Date: Tue Oct 16 17:24:53 2012 +0100
236
237 heat tests : Remove utils.Stack getter methods
238
239 Remove the get_*_client getter methods, as they aren't
240 actually doing anything, so just access the attributes
241
242 Change-Id: Ic6740bdfe7d44c40b9fdf9fc4d03f8eddaf9a740
243 Signed-off-by: Steven Hardy <shardy@redhat.com>
244
245commit a97c6d3181a3d09751c3f88eee5a43e9eed0ad37
246Author: Zane Bitter <zbitter@redhat.com>
247Date: Tue Oct 16 16:33:55 2012 +0200
248
249 Use password in preference to token if both supplied
250
251 Fixes #263 - devstack is providing a token in the environment, which was
252 causing the wrong path to get hit.
253
254 Change-Id: I9aae346e57fdfe156e52d4696e8f2f859884ff2f
255 Signed-off-by: Zane Bitter <zbitter@redhat.com>
256
257commit f3ab48b64e13d681ff4d07aae67c31fb6c266683
258Merge: 74b207a cd512f5
259Author: Jenkins <jenkins@review.openstack.org>
260Date: Tue Oct 16 14:16:50 2012 +0000
261
262 Merge "heat : heat cli pep cleanups"
263
264commit 74b207a332d67fd530f3a87fbf83f6981e75d113
265Author: Steven Hardy <shardy@redhat.com>
266Date: Tue Oct 16 14:16:17 2012 +0100
267
268 heat tests : add ValidateTemplate test to CFN_API_Actions_Boto test
269
270 Add test for ValidateTemplate test to test_CFN_API_Actions_Boto.py
271
272 Change-Id: I1fff55cd9aaa0c62c2a1e05050695bcd3f96664a
273 Signed-off-by: Steven Hardy <shardy@redhat.com>
274
275commit da5406a043512dbc47064794d6ab1ab1e0ba228b
276Author: Steven Hardy <shardy@redhat.com>
277Date: Tue Oct 16 13:45:24 2012 +0100
278
279 heat tests : Add ValidateTemplate test to CFN_API_Actions test
280
281 Add test for ValidateTemplate action to test_CFN_API_Actions.py
282
283 Change-Id: Ia7a377f952d096e7b728a7151906ab2781695008
284 Signed-off-by: Steven Hardy <shardy@redhat.com>
285
286commit 3cbbafd3c2fd321941722eea598aead1dd3d481b
287Author: Steven Hardy <shardy@redhat.com>
288Date: Tue Oct 16 13:19:27 2012 +0100
289
290 heat API : ValidateTemplate fix response format
291
292 Fix CFN API ValidateTemplate response format, missing the
293 ValidateTemplateResponse wrapper, required by boto to parse the response
294
295 Change-Id: I89464df402346ff87041496652d2b4d39cc35fc6
296 Signed-off-by: Steven Hardy <shardy@redhat.com>
297
298commit cd512f5e915ff7de89c4829e45e367f9b201a3db
299Author: Steven Hardy <shardy@redhat.com>
300Date: Tue Oct 16 14:34:38 2012 +0100
301
302 heat : heat cli pep cleanups
303
304 Fix some pep whitespace issues, which were not picked
305 up by the jenkins gate for some reason..
306
307 Change-Id: I9a3488d61a3cde4bb8038f3f1927eb0c1ad0f60c
308 Signed-off-by: Steven Hardy <shardy@redhat.com>
309
310commit 98b6c2a566812abdb1c89e9dec51331baea5ae14
311Author: Steven Hardy <shardy@redhat.com>
312Date: Mon Oct 8 13:48:27 2012 +0100
313
314 heat : boto_client_cloudwatch allow credentials override
315
316 Allow the AWS key/secret to be passed in when making the client
317 connection like boto_client.py
318
319 Ref #222
320
321 Change-Id: Iee24120eb52c8ffb97b1b421b0a27313e5f5cbdd
322 Signed-off-by: Steven Hardy <shardy@redhat.com>
323
324commit b1c97d145531ba3aeff055d7028ff49df13cad9e
325Author: Zane Bitter <zbitter@redhat.com>
326Date: Tue Oct 16 13:35:23 2012 +0200
327
328 Catch SSH Disconnection errors in functional tests
329
330 Change-Id: I24f959cbaa36138bafeda70a3966000673c80c56
331 Signed-off-by: Zane Bitter <zbitter@redhat.com>
332
333commit 46a41590fb8ebbec565e0d007c429a17d0d7f5eb
334Author: Steven Hardy <shardy@redhat.com>
335Date: Tue Oct 16 10:38:17 2012 +0100
336
337 heat : add template-swift-url option to client
338
339 Add option to bin/heat to retrieve template body from swift
340
341 Fixes #216
342
343 Change-Id: I425d7cd0f01875d85d97906f4f91c3a3b2fcf851
344 Signed-off-by: Steven Hardy <shardy@redhat.com>
345
346commit 84ddb9fb654ee8cd57273110f4760f44af43be3a
347Author: Steven Hardy <shardy@redhat.com>
348Date: Mon Oct 15 16:42:52 2012 +0100
349
350 heat cli: encapsulate template arg-parsing
351
352 Encapsulate template argument parsing in a helper function
353 cleans up some duplication and provides a single place to add
354 swift-template-url logic
355
356 Ref #216
357
358 Change-Id: I36515f318ed79899a2710899ffca83e4452c61f4
359 Signed-off-by: Steven Hardy <shardy@redhat.com>
360
361commit 4bd5c4a9dde0afbcd31438604c3aa05799c472ce
362Author: Steven Hardy <shardy@redhat.com>
363Date: Mon Oct 15 17:01:39 2012 +0100
364
365 heat engine : remove unused validate_template params
366
367 Remove unused params argument to validate_template, since
368 it is no longer passed by the CFN API meaning the validate
369 action fails
370
371 Fixes #262
372
373 Change-Id: Ic2a5ede02649f2d6dff86595efb0127e07fbf253
374 Signed-off-by: Steven Hardy <shardy@redhat.com>
375
376commit ac38cae7f5352a0c2592d6789bdd5e35ca5aa900
377Author: Zane Bitter <zbitter@redhat.com>
378Date: Mon Oct 15 16:33:19 2012 +0200
379
380 Obey the passed in distro value in HAProxy template
381
382 Change-Id: I7e1dad654746329763bb575a09611aa0b827ec24
383 Signed-off-by: Zane Bitter <zbitter@redhat.com>
384
385commit 64965db9de997d55d7599073d2a310251fc355e3
386Author: Zane Bitter <zbitter@redhat.com>
387Date: Mon Oct 15 16:13:12 2012 +0200
388
389 Use --script option to parted in templates
390
391 Provisioning scripts should never expect user input.
392
393 Change-Id: I0099cee6a920313c2b5c8e86ddb18de11bab8329
394 Signed-off-by: Zane Bitter <zbitter@redhat.com>
395
396commit 65496df4a9c08d0ef7fc191f192b19df39447198
397Author: Zane Bitter <zbitter@redhat.com>
398Date: Mon Oct 15 15:46:49 2012 +0200
399
400 Reduce timeout periods in functional tests
401
402 Many of the timeouts were absurdly long and delayed reporting of test
403 results by many hours at a time.
404
405 Change-Id: I9a70442548097d607eab87471a8037b566127ac9
406 Signed-off-by: Zane Bitter <zbitter@redhat.com>
407
408commit fdf285f4df7b4589e8801c77bdd3c3b2f57c9812
409Author: Zane Bitter <zbitter@redhat.com>
410Date: Fri Oct 12 22:32:54 2012 +0200
411
412 ReST API: Add unit tests
413
414 Change-Id: Id815c7d5d08e912f64268529b4bdbdcd06c1c47e
415 Signed-off-by: Zane Bitter <zbitter@redhat.com>
416
417commit b3fba7da803d3c0239f7d3a27a69cd099fb6552e
418Author: Steven Hardy <shardy@redhat.com>
419Date: Mon Oct 15 11:34:52 2012 +0100
420
421 heat : Getting started updates for Cloudwatch
422
423 Update GettingStarted.rst:
424 - Add heat-api-cloudwatch section
425 - Add firewall rules required for heat-metadata and heat-api-cloudwatch
426
427 Change-Id: I3b232f378a23b6c334c7e8e5af3ab067ffd50381
428 Signed-off-by: Steven Hardy <shardy@redhat.com>
429
430commit 47c79a2051f7738a482bad090b894c6e480dfe7a
431Author: Zane Bitter <zbitter@redhat.com>
432Date: Mon Oct 15 11:57:11 2012 +0200
433
434 Getting Started: Fix IP address determination on F17
435
436 The format of the output of ifconfig has changed between Fedora 16 and
437 Fedora 17, so starting the metadata server failed on the latter due to a
438 missing IP address.
439
440 The change makes the script work with either format, and also now fails
441 with an error if it breaks again.
442
443 Change-Id: I7012af7bd7c15f6a962d19e66c8a0d8401243895
444 Signed-off-by: Zane Bitter <zbitter@redhat.com>
445
446commit b53436bf402a992cc9c135dd833bdb15465d4244
447Merge: 2f2c5e7 4d262e3
448Author: Jenkins <jenkins@review.openstack.org>
449Date: Mon Oct 15 08:57:10 2012 +0000
450
451 Merge "heat : Remove cloudwatch functionalty from metadata server"
452
453commit 2f2c5e7494270c9877d92b66dc6f7131ad31c710
454Merge: 737f4f4 318f233
455Author: Jenkins <jenkins@review.openstack.org>
456Date: Mon Oct 15 08:55:04 2012 +0000
457
458 Merge "heat templates : Add boto config to HA templates"
459
460commit 737f4f4320510371ceaab0ef6e528aa567e52eec
461Merge: be39298 ebc3129
462Author: Jenkins <jenkins@review.openstack.org>
463Date: Mon Oct 15 08:43:19 2012 +0000
464
465 Merge "heat engine : Move watch logic into WatchRule class"
466
467commit ebc3129e44d5762756d28133880b07a13f6e0be3
468Author: Steven Hardy <shardy@redhat.com>
469Date: Fri Sep 28 08:02:20 2012 +0100
470
471 heat engine : Move watch logic into WatchRule class
472
473 Move engine/manager.py logic into WatchRule class so watch-
474 related DB manipulation and related logic is encapsulated in
475 the WatchRule class
476
477 Fixes #217
478
479 Change-Id: I5405ab631de17efda7eefb45dadad55ee12c533c
480 Signed-off-by: Steven Hardy <shardy@redhat.com>
481
482commit be392980ce9c450cc92a6a57ddbe2b09693e1273
483Author: Zane Bitter <zbitter@redhat.com>
484Date: Fri Oct 12 22:32:54 2012 +0200
485
486 ReST API: Report template validation errors
487
488 Use a different HTTP Status code (Bad Request) for validation errors.
489
490 Change-Id: Ie1097dfbbe920a2efb641b343114d7b4decac473
491 Signed-off-by: Zane Bitter <zbitter@redhat.com>
492
493commit a5c7b42e23add65e4f990674f24aa9bd90725a72
494Author: Zane Bitter <zbitter@redhat.com>
495Date: Fri Oct 12 22:32:54 2012 +0200
496
497 ReST API: Return appropriate error codes
498
499 Change-Id: I769366dd164199c3b7d16ca8bf4c4d99d21dbb7b
500 Signed-off-by: Zane Bitter <zbitter@redhat.com>
501
502commit 238187ee0a9d075d1e86534a72ae2eb8e53cce26
503Author: Zane Bitter <zbitter@redhat.com>
504Date: Fri Oct 12 22:32:54 2012 +0200
505
506 ReST API: Separate out code to fetch template from a URL
507
508 This will make testing a bit easier.
509
510 Change-Id: I8f9d63e3ff68174bb9f1284c21f52696ec5ac006
511 Signed-off-by: Zane Bitter <zbitter@redhat.com>
512
513commit 8be0906b7aa3162d9d1435eb8ed0d8ba9c226066
514Author: Steven Hardy <shardy@redhat.com>
515Date: Fri Oct 12 17:18:11 2012 +0100
516
517 heat : db API add watch_rule_get_by_name
518
519 Add watch_rule_get_by_name, and move the previous
520 watch_rule_get to look up rule by ID, which is consistent
521 with the other api calls. Lookup by id is required for
522 WatchRule rework
523
524 Ref #217
525
526 Change-Id: I4b5d08ffcd31b6b522c65edd0a202e8cf5a367b8
527 Signed-off-by: Steven Hardy <shardy@redhat.com>
528
529commit db0a268f414e963d73ded7449662385f8e5435c1
530Author: Steven Hardy <shardy@redhat.com>
531Date: Fri Oct 12 10:49:13 2012 +0100
532
533 heat : db API add watch_rule_update DB API action
534
535 Add watch_rule_update DB API call, needed for WatchRule
536 refactor/rework
537
538 Ref #217
539
540 Signed-off-by: Steven Hardy <shardy@redhat.com>
541
542 Change-Id: Ie8321d390ab96e987bfa4c97c26f1e0305f6bd48
543
544commit 4d262e3b29faeb6499ca2befe52d81aea3583ef7
545Author: Steven Hardy <shardy@redhat.com>
546Date: Fri Oct 12 13:45:11 2012 +0100
547
548 heat : Remove cloudwatch functionalty from metadata server
549
550 Remove the cloudwatch metric functionality from the heat-metadata
551 service, since all stats should now be sent via the CloudWatch
552 api via the PutMetricData action (ref cfn-push-stats update)
553
554 Note that after this change you will need to rebuild your jeos
555 images to get the new version of cfn-push-stats from heat-jeos
556
557 Signed-off-by: Steven Hardy <shardy@redhat.com>
558
559 Change-Id: I5eec60d3dd0abfb32e2b4777635f1b0e2714a2c2
560
561commit 318f233c54c4f2046052a4a70411600e53aa847f
562Author: Steven Hardy <shardy@redhat.com>
563Date: Wed Oct 10 10:03:11 2012 +0100
564
565 heat templates : Add boto config to HA templates
566
567 Add boto config to HA/IHA templates as it's now required for
568 authenticated cfn-push-stats which uses the CloudWatch API
569
570 Signed-off-by: Steven Hardy <shardy@redhat.com>
571
572 Change-Id: I8670f6774834e9f41870240496fe74728306cf17
573
574commit 5df2d6f7020c54fc7e5c9c8e68662708791e3f69
575Merge: e690324 64fc539
576Author: Jenkins <jenkins@review.openstack.org>
577Date: Wed Oct 10 22:17:18 2012 +0000
578
579 Merge "ReST API: Add some simple API documentation"
580
581commit e69032415cdaec1b9594eccaca839181d398ee43
582Merge: 3e196ee a553fc2
583Author: Jenkins <jenkins@review.openstack.org>
584Date: Wed Oct 10 22:16:56 2012 +0000
585
586 Merge "ReST API: Use JSON documents for data input"
587
588commit 3e196ee0062c1084730b1429e04571761cfd4221
589Merge: a7babbd 4fca773
590Author: Jenkins <jenkins@review.openstack.org>
591Date: Wed Oct 10 22:14:02 2012 +0000
592
593 Merge "ReST API: Refactor handling of input data"
594
595commit a7babbd61f738687f5c2a0eb0b487655d2bc8e5b
596Author: Steve Baker <sbaker@redhat.com>
597Date: Thu Oct 11 08:18:04 2012 +1300
598
599 Unit test for load balancer resource type.
600
601 Change-Id: I2386419563f02bcb509a8547fd587b9af6285c5c
602
603commit abafede828fff481912bb1044e0683536468eb64
604Merge: d41fe6f c0ec1c1
605Author: Jenkins <jenkins@review.openstack.org>
606Date: Wed Oct 10 18:17:25 2012 +0000
607
608 Merge "heat : Add missing calculate_properties to user resource"
609
610commit d41fe6f6f018fc15fa578692b145aac4707edf63
611Merge: 96c9b50 73b19cb
612Author: Jenkins <jenkins@review.openstack.org>
613Date: Wed Oct 10 18:15:07 2012 +0000
614
615 Merge "heat engine : Avoid printing credentials to logfile"
616
617commit c0ec1c1dd4aaba11b11f21877e57ee113abd1fdf
618Author: Steven Hardy <shardy@redhat.com>
619Date: Wed Oct 10 18:20:25 2012 +0100
620
621 heat : Add missing calculate_properties to user resource
622
623 Adding calculate_properties to user AccessKey resource, or
624 we get a key error when trying to list resources in stacks
625 using this resource type
626
627 Fixes #194
628
629 Change-Id: I905c162dd6bc3557825610f046e6ee8228d5225b
630 Signed-off-by: Steven Hardy <shardy@redhat.com>
631
632commit 73b19cb666d70f2288a96c95cfab4bf8ed391faa
633Author: Steven Hardy <shardy@redhat.com>
634Date: Mon Oct 8 17:16:42 2012 +0100
635
636 heat engine : Avoid printing credentials to logfile
637
638 Avoid printing the AWS secret key to the (world-readable)
639 engine logfile
640
641 Fixes #258
642
643 Change-Id: I26d809064c603421c4bbe4a060de5d4776fec4b8
644 Signed-off-by: Steven Hardy <shardy@redhat.com>
645
646commit 96c9b50778ab3fc36d33544e6d6510d75e09c044
647Author: Steven Hardy <shardy@redhat.com>
648Date: Wed Oct 10 18:51:20 2012 +0100
649
650 heat engine : only attempt stack update from valid states
651
652 Only attempt to update a stack if it is in CREATE_COMPLETE
653 or UPDATE_COMPLETE state
654
655 Fixes #260
656
657 Change-Id: If47a628f1602d5d8783b3f0e90fd7e76ccef46ba
658 Signed-off-by: Steven Hardy <shardy@redhat.com>
659
660commit 64fc539afcd2adfe8d8698bb6a838a22fc3a132e
661Author: Zane Bitter <zbitter@redhat.com>
662Date: Wed Oct 10 18:22:01 2012 +0200
663
664 ReST API: Add some simple API documentation
665
666 Change-Id: I6b3ff5a46e0ba836634cc21cf7ee8945a18a6a3a
667 Signed-off-by: Zane Bitter <zbitter@redhat.com>
668
669commit a553fc2ba55170fc27f2d4e6c5b44d6570523bda
670Author: Zane Bitter <zbitter@redhat.com>
671Date: Tue Oct 9 17:55:37 2012 +0200
672
673 ReST API: Use JSON documents for data input
674
675 This is more in keeping with how OpenStack resources are manipulated than
676 the previous implementation, which used WWW Forms encoding.
677
678 Change-Id: Iba7a6b83a65637cf999c67ef3f4dea7b3e64100d
679 Signed-off-by: Zane Bitter <zbitter@redhat.com>
680
681commit 4fca77337a4a491cb1e340d515fabc36b09ee860
682Author: Zane Bitter <zbitter@redhat.com>
683Date: Wed Oct 10 15:38:04 2012 +0200
684
685 ReST API: Refactor handling of input data
686
687 Create a separate class for dealing with the data associated with a
688 PUT/POST request.
689
690 Change-Id: I054bc74cf65055d23eb716738c29e751a32f3022
691 Signed-off-by: Zane Bitter <zbitter@redhat.com>
692
693commit 454b2dffb6b988ca6381c9ef1a973be654921b2b
694Author: Zane Bitter <zbitter@redhat.com>
695Date: Wed Oct 10 15:38:04 2012 +0200
696
697 ReST API: Fix template validation
698
699 Also move the URL to be local to a tenant. This is because keystone will
700 automatically fill in the tenant id in the endpoint, so all requests will
701 use this as a base URL.
702
703 Change-Id: I3fbd5a7d256426079824f8a26fdcd41eac083146
704 Signed-off-by: Zane Bitter <zbitter@redhat.com>
705
706commit efd529408659110806aab6de4d37b705bc840143
707Author: Steven Hardy <shardy@redhat.com>
708Date: Wed Oct 10 11:57:33 2012 +0100
709
710 heat : workaround engine error with version code
711
712 Work around lack of git sha in vcsversion so we don't get an
713 engine error if the version dict doesn't contain the sha key
714
715 Fixes #259
716
717 Change-Id: I25d2cfb008a5a9e0e1a60e7360e58608d2d8e9c0
718 Signed-off-by: Steven Hardy <shardy@redhat.com>
719
720commit a34b9ef5ab0aa3590fd28cb9f8088a3e0896947f
721Author: Steve Baker <sbaker@redhat.com>
722Date: Wed Oct 10 13:21:47 2012 +1300
723
724 Change endpoint service type from orchestration to cloudformation.
725
726 This is required so that the REST API can take over the orchestration service type.
727
728 This will break exiting setups until heat-keystone-setup is re-run.
729
730 There will be a corresponding update to devstack, which may be out of sync to this one.
731
732commit afe93704f327a4514fa826b06d275729cf214073
733Merge: 2e3bdd9 4651be7
734Author: Jenkins <jenkins@review.openstack.org>
735Date: Tue Oct 9 16:19:50 2012 +0000
736
737 Merge "Remove unnecessary keystone scripts"
738
739commit 2e3bdd951028f8d0b201b9ddb2553b194a1b0941
740Author: Jeff Peeler <jpeeler@redhat.com>
741Date: Fri Sep 28 20:00:34 2012 -0400
742
743 Fix versioning code
744
745 Removed cruft from OpenStack common versioning code that was removed.
746 Added optional git SHA information if module is available. The
747 intent is to have the additional git revision reported only when FINAL
748 is set to False.
749
750 Change-Id: Iae94b84027e7428cd394726e07845d2bad631586
751 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
752
753commit 4651be78386832b8fd1f931f9574f7566d976198
754Author: Jeff Peeler <jpeeler@redhat.com>
755Date: Fri Sep 28 20:08:35 2012 -0400
756
757 Remove unnecessary keystone scripts
758
759 Make remaining keystone script check installed version of Nova and use
760 proper arguments to keystone.
761
762 closes #252
763
764 Change-Id: Ie4709891c7ca89d73390a3474e3d10beab449395
765 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
766
767commit 9cf1c6f269ac10c2493653c646bbef9271cf7122
768Author: Zane Bitter <zbitter@redhat.com>
769Date: Tue Oct 9 10:37:01 2012 +0200
770
771 Fix bugs in ReST API stack creation
772
773 Change-Id: I39277224305465cc951e397f340012563c0f7174
774 Signed-off-by: Zane Bitter <zbitter@redhat.com>
775
776commit 3e603825a8c743e9a1e2f6f4362669cb6d187c47
777Author: Zane Bitter <zbitter@redhat.com>
778Date: Tue Oct 9 12:06:44 2012 +0200
779
780 Allow authentication to Nova with a Keystone token
781
782 Change-Id: I3ca90169559cc167ff51db5fe47ceec8c917f04b
783 Signed-off-by: Zane Bitter <zbitter@redhat.com>
784
785commit 5f7ccf6129f669a757253db8ce2ce88e8f3cd228
786Merge: c6ad01b 8c9bd2a
787Author: Jenkins <jenkins@review.openstack.org>
788Date: Mon Oct 8 19:42:08 2012 +0000
789
790 Merge "Make sure to remove python-glanceclient too"
791
792commit c6ad01b6b31e08a792cf7d5cad33f01bcaa8e88e
793Merge: 703693b dd6975e
794Author: Jenkins <jenkins@review.openstack.org>
795Date: Mon Oct 8 19:09:37 2012 +0000
796
797 Merge "Fix hash-bang directive in nova_create_flavors.sh"
798
799commit 703693b03e5cfb39a71a337e1d97a121a914a951
800Merge: 0fa2903 cdd392b
801Author: Jenkins <jenkins@review.openstack.org>
802Date: Mon Oct 8 16:02:04 2012 +0000
803
804 Merge "heat tests : add functional test for UpdateStack"
805
806commit 0fa2903fac98b31d46e546714ea9f2c71f130837
807Merge: 0549320 f8f0fac
808Author: Jenkins <jenkins@review.openstack.org>
809Date: Mon Oct 8 15:57:25 2012 +0000
810
811 Merge "heat tests : functional utils support for UpdateStack"
812
813commit 05493200445075782c8d5ed009ef8989d0f71ef6
814Merge: 49ce173 8c191d4
815Author: Jenkins <jenkins@review.openstack.org>
816Date: Mon Oct 8 15:56:55 2012 +0000
817
818 Merge "heat tests : Add new boto API test"
819
820commit 49ce173820ec8bd1928252a8eacb85d4373711dc
821Author: Steven Hardy <shardy@redhat.com>
822Date: Mon Oct 8 16:21:25 2012 +0100
823
824 heat engine : workaround lack of no_cache on essex
825
826 no_cache novaclient fix doesn't work on essex, so try
827 both the essex and the folsom compatible novaclient
828 prototypes
829
830 Change-Id: I0749f821981550d7a5f5a95e2f5951c77d8e1529
831 Signed-off-by: Steven Hardy <shardy@redhat.com>
832
833commit c491afaef6c5af6e28382eaadb6fe584061f9702
834Author: Eoghan Glynn <eglynn@redhat.com>
835Date: Mon Oct 8 15:20:37 2012 +0100
836
837 Avoid create_stack RPC call timing out on precise
838
839 The create_stack RPC call times out on Ubuntu as novaclient
840 blocks expecting stdin when prompting for a keyring password:
841
842 Please set a password for your new keyring
843
844 This probably does not occur on Fedora due to the version or
845 presence of the python-keyring package differing.
846
847 The problem can be avoided by ensuring the no_cache flag is
848 set on the novaclient.
849
850 Change-Id: I3ac9e74571ff837cd07fc3f36ecf706180f4dc46
851
852commit dd6975eadc7720c4dcd8624a1fb43c9ccb820259
853Author: Eoghan Glynn <eglynn@redhat.com>
854Date: Mon Oct 8 12:51:17 2012 +0100
855
856 Fix hash-bang directive in nova_create_flavors.sh
857
858 The script employs bash-isms, so the directive to use the
859 Bourne shell causes some predictable failures:
860
861 nova_create_flavors.sh: [[: not found
862
863 ... etc.
864
865 Change-Id: I60f3de55d2ebbfa47d444ec72c07728bbfa38be6
866
867commit f912bfc4d03f8c801c2b4d29bd1c9fa1a3396ced
868Author: Steve Baker <sbaker@redhat.com>
869Date: Fri Oct 5 10:07:53 2012 +0100
870
871 import gettext to fix db migration execution
872
873commit 8c9bd2a71b917d89cdb131669b581c0ce59e9683
874Author: Jeff Peeler <jpeeler@redhat.com>
875Date: Fri Sep 28 20:04:16 2012 -0400
876
877 Make sure to remove python-glanceclient too
878
879 Change-Id: I44c39824f5b1d96ac69e6972506fc865718b3c59
880 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
881
882commit cdd392ba816bfda1c866b590be051111035ab2a4
883Author: Steven Hardy <shardy@redhat.com>
884Date: Thu Sep 27 14:12:59 2012 +0100
885
886 heat tests : add functional test for UpdateStack
887
888 Add new API test to prove UpdateStack action
889
890 Change-Id: I656f3965a222ee1dcd890d4e4491f5550fada461
891 Signed-off-by: Steven Hardy <shardy@redhat.com>
892
893commit f8f0fac96ec086f1b2ebc6c780155a0a0caa56e7
894Author: Steven Hardy <shardy@redhat.com>
895Date: Wed Sep 26 14:37:07 2012 +0100
896
897 heat tests : functional utils support for UpdateStack
898
899 Add Stack.update method so UpdateStack API action
900 can be tested
901
902 Change-Id: I2fdc37b15eab9b7d786153877755a631fda0ad2a
903 Signed-off-by: Steven Hardy <shardy@redhat.com>
904
905commit 8c191d49a1082e712dec24856f47835fcdd5b26e
906Author: Steven Hardy <shardy@redhat.com>
907Date: Mon Sep 24 17:41:23 2012 +0100
908
909 heat tests : Add new boto API test
910
911 Add new test_CFN_API_Actions_Boto.py test, which
912 tests the CFN API via the boto client
913
914 Change-Id: Iad796da35009fbad0ce21ba0d7ab73c2fd16cd7d
915 Signed-off-by: Steven Hardy <shardy@redhat.com>
916
917commit ed998e8c287ee7290246178e0b8feb98eec95096
918Merge: 2abd571 9e237f5
919Author: Jenkins <jenkins@review.openstack.org>
920Date: Fri Sep 28 01:42:09 2012 +0000
921
922 Merge "Add the beginnings of an OpenStack ReST API"
923
924commit 2abd5713e1b519610a595bda31945b9c7e6dc852
925Merge: 00faf05 988092b
926Author: Jenkins <jenkins@review.openstack.org>
927Date: Fri Sep 28 01:32:49 2012 +0000
928
929 Merge "Unit test for DBInstance resource."
930
931commit 00faf05e5c47c751a2118a913c967181a6ba2f6c
932Merge: f26b218 642d740
933Author: Jenkins <jenkins@review.openstack.org>
934Date: Fri Sep 28 01:30:34 2012 +0000
935
936 Merge "heat tests : API test fixup for ResourceProperties"
937
938commit 9e237f5a665042db2d592a4a0977cff933062590
939Author: Zane Bitter <zbitter@redhat.com>
940Date: Tue Sep 25 16:13:35 2012 +0200
941
942 Add the beginnings of an OpenStack ReST API
943
944 So far only access to stacks (not resources and events) is implemented.
945
946 Change-Id: I9655e9441087ef60c06e67e2d6ae68ec4a3b2d11
947 Signed-off-by: Zane Bitter <zbitter@redhat.com>
948
949commit 642d740b86e07ec2fc60119cb62c0dabd2a28314
950Author: Steven Hardy <shardy@redhat.com>
951Date: Thu Sep 27 15:00:50 2012 +0100
952
953 heat tests : API test fixup for ResourceProperties
954
955 Fixup CFN API functional test after ResourceProperties
956 format change
957
958 Change-Id: I91d88443bc885163cffafc83615aa0cfa8d3ff83
959 Signed-off-by: Steven Hardy <shardy@redhat.com>
960
961commit f26b2188319a293b4dff6a88c571215798634e85
962Author: Zane Bitter <zbitter@redhat.com>
963Date: Thu Sep 27 14:40:52 2012 +0200
964
965 Allow separate versioning of each API
966
967 Previously, all APIs used single versioning definition. Since these are
968 likely to change at different rates (AWS APIs are unlikely to change at
969 all, but OpenStack APIs probably will), give each their own version
970 definition.
971
972 Change-Id: I6985205dfcb5baf6f49ad32b091d811f97d1552a
973 Signed-off-by: Zane Bitter <zbitter@redhat.com>
974
975commit 3c85e1941f95e30b2c592117b4b6b23cecb87bbd
976Author: Steven Hardy <shardy@redhat.com>
977Date: Thu Sep 27 14:43:34 2012 +0100
978
979 heat API : return ResourceProperties as JSON
980
981 For boto to correctly parse the API DescribeStackEvents
982 action, the ResourceProperties key in the response
983 must be a string, as per the AWS spec, so we encode the
984 properties in a JSON blob
985
986 Fixes #245
987
988 Change-Id: Icd38984836a941ed4a012b06382933bb46f43c4f
989 Signed-off-by: Steven Hardy <shardy@redhat.com>
990
991commit 715a62d2b4fd2fd9169254835234e7861027579e
992Author: Zane Bitter <zbitter@redhat.com>
993Date: Thu Sep 27 14:57:50 2012 +0200
994
995 Move CloudFormation API to heat.api.cfn package
996
997 Change-Id: Ib0adf6f38da298b0b87d80272904767066b41087
998 Signed-off-by: Zane Bitter <zbitter@redhat.com>
999
1000commit e890e7d422fd07dc022b9b755a575519d849b1f8
1001Author: Zane Bitter <zbitter@redhat.com>
1002Date: Thu Sep 27 11:49:07 2012 +0200
1003
1004 Make the keystone service type configurable
1005
1006 We will eventually need to have clients for both the OpenStack and
1007 CloudFormation-compatible APIs, and they will need to have different
1008 service types.
1009
1010 Change-Id: I06ae727c17c245ae60934bbed6e1631c7ad5fd77
1011 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1012
1013commit 988092b70b3b53c6f9277c3a208f50395b4a7e16
1014Author: Steve Baker <sbaker@redhat.com>
1015Date: Wed Sep 26 15:53:03 2012 +1200
1016
1017 Unit test for DBInstance resource.
1018
1019 Coverage is 100% assuming you don't count the
1020 nested template as code.
1021
1022 Change-Id: I846ed736d75eeef8723c33db7cae889a26049d9a
1023
1024commit 5208008db047d8cda231100db817c6f0e1c190a5
1025Author: Steven Dake <sdake@redhat.com>
1026Date: Wed Sep 26 10:08:05 2012 -0700
1027
1028 Add a Folsom specific heat-keystone-setup binary to bin
1029
1030 Fixes issue #253
1031
1032 Change-Id: Ie223c43c15ac806da393e3d532ef410526ac16ce
1033 Signed-off-by: Steven Dake <sdake@redhat.com>
1034
1035commit ff10a55f16f4579ad3ec9e600b8448606242fd50
1036Author: Steven Hardy <shardy@redhat.com>
1037Date: Wed Sep 26 16:21:33 2012 +0100
1038
1039 heat engine : format stack outputs for updated stacks
1040
1041 Fix bug where stack outputs are not formatted when
1042 stacks are in UPDATE_COMPLETE state
1043
1044 Fixes #250
1045
1046 Change-Id: I8936c8e62b8c9b1f28f09eb5b8c50eb79cb76eb2
1047 Signed-off-by: Steven Hardy <shardy@redhat.com>
1048
1049commit d9f63269f1a0205811cd84487787c8c1291a952b
1050Author: Steven Hardy <shardy@redhat.com>
1051Date: Wed Sep 26 14:51:08 2012 +0100
1052
1053 heat : fix glanceclient deprecation warning
1054
1055 glanceclient module name changed for F18, so do
1056 a conditional import which should import the correct
1057 version provided one is available (tested on F17/F18)
1058
1059 Fixes #251
1060
1061 Change-Id: I095560f29a408949a7d54795fc000c094b1d63b9
1062 Signed-off-by: Steven Hardy <shardy@redhat.com>
1063
1064commit 8f1de0c11ae7d2c357656f73590f9e3b3f73c990
1065Author: Steve Baker <sbaker@redhat.com>
1066Date: Tue Sep 25 11:46:08 2012 +1200
1067
1068 Fix test_waitcondition.py race by converting to mox.
1069
1070 Eventlet calls and metadata state changes are now
1071 mocked, so there are no sleeps, and in theory no
1072 chance of races.
1073
1074 Change-Id: I05fee73a8cefafe1f2bb5a4ca65c585933497475
1075
1076commit adb6adb516be589f090a15488b81c1f5ee64821a
1077Merge: 6e3505e aab5902
1078Author: Jenkins <jenkins@review.openstack.org>
1079Date: Mon Sep 24 14:57:28 2012 +0000
1080
1081 Merge "Rename heat/cloudformations.py to heat/cloudformation.py"
1082
1083commit aab5902a1b485a27cc0a1c83559ee70fa5de76fc
1084Author: Steven Dake <sdake@redhat.com>
1085Date: Sun Sep 23 21:34:20 2012 -0700
1086
1087 Rename heat/cloudformations.py to heat/cloudformation.py
1088
1089 Change-Id: I1db2e5b191b35a07aa51113829d95085bfbfc8e7
1090 Signed-off-by: Steven Dake <sdake@redhat.com>
1091
1092commit 6e3505e33b40fa72715dbe7c200b76b8e4d5b7c2
1093Author: Steve Baker <sbaker@redhat.com>
1094Date: Tue Sep 18 14:31:57 2012 +1200
1095
1096 Trivial unit test changes
1097
1098 - rename assertEquals to assertEqual
1099 - fix the swiftclient package import, which was broken
1100 for testing
1101
1102 Change-Id: Icbe80ded918b9b2d089797645bf8d46a9efaf619
1103
1104commit 54d53d307d5378a15c627b642fae6246fe33a13d
1105Author: Steve Baker <sbaker@redhat.com>
1106Date: Mon Sep 24 15:26:56 2012 +1200
1107
1108 Switch to in-memory sqlite for unit tests; 1500% speed improvement.
1109
1110 All unit tests now run in 4 seconds, instead of 64 seconds on a HDD.
1111
1112 _ENGINE global setting had to be moved into get_engine() so that migration works, otherwise get_engine() creates a new isolated in-memory database for
1113 every call.
1114
1115 Other unit test speedups in this change are to stub out some eventlet sleeps
1116 which saves about 5 seconds.
1117
1118 Change-Id: I3643b73dd9bd86c414934b7c78db67402587f570
1119
1120commit 71324379f93c255f852d24e989b07aaf08358dc2
1121Author: Steve Baker <sbaker@redhat.com>
1122Date: Mon Sep 24 09:08:20 2012 +1200
1123
1124 Move test skipping on import failure from package to function.
1125
1126 This gives a better test output on what has been skipped and why.
1127
1128 The unittest2.TestCase class has been removed because it is unused and
1129 unittest2 is not available to the gates.
1130
1131 Change-Id: I1b5ae0845b2ef8dadc5cff42770ef062ea4e862f
1132
1133commit 2ae14776f1378fae928a83f085124b02ffb7e75b
1134Merge: 79e2e76 b879228
1135Author: Jenkins <jenkins@review.openstack.org>
1136Date: Sun Sep 23 22:24:47 2012 +0000
1137
1138 Merge "Get rid of gratuitous params in RPC API"
1139
1140commit 79e2e764aaf31521002107978595051e94be31fa
1141Merge: c663b63 312ff2d
1142Author: Jenkins <jenkins@review.openstack.org>
1143Date: Sun Sep 23 22:17:15 2012 +0000
1144
1145 Merge "Stop deprecation warning when creating resources directly."
1146
1147commit b87922862f031483c781562cfb1bef5433bdb7e6
1148Author: Zane Bitter <zbitter@redhat.com>
1149Date: Fri Sep 21 17:12:46 2012 +0200
1150
1151 Get rid of gratuitous params in RPC API
1152
1153 For historical reasons, we were passing all of the parameters from the query
1154 string received by the AWS API to the engine as "params" in many calls.
1155 This is not required, since all of the relevant information has already
1156 been extracted.
1157
1158 Change-Id: Iedec5b442ccb0b358afc8a4e06f60672890aba05
1159 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1160
1161commit c663b6381d28303116152df02d870bf7de2b6514
1162Author: Steve Baker <sbaker@redhat.com>
1163Date: Fri Sep 21 15:18:36 2012 +1200
1164
1165 Unit test coverage for user resources, plus some user fixes.
1166
1167 - User 'Policies' attribute removed since it shouldn't exist
1168 - fixed 'SecretAccessKey' attribute in AccessKey
1169
1170 Change-Id: Iff7cf0bda074cb615045e7236f274cafa56909f6
1171
1172commit 36af6c7a3067ddfa893dcd4ae03830556407a9fd
1173Author: Jeff Peeler <jpeeler@redhat.com>
1174Date: Thu Sep 20 17:11:47 2012 -0400
1175
1176 Change file to executable to get rid of rpmlint warning
1177
1178 Change-Id: I5274c04bca9c5f089c39a241cc2ba4ea96e279ac
1179 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
1180
1181commit 580b0d667d318b58e584b1ee0d86cbce0a4a9ecc
1182Author: Jeff Peeler <jpeeler@redhat.com>
1183Date: Thu Sep 20 14:15:49 2012 -0400
1184
1185 Version 6 about to be announced for release, time for v7
1186
1187 Change-Id: Ie85008bc7acce7535268fec0a62a0fda7bbbd1ec
1188 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
1189
1190commit d2c8b97015352da73c2dc9463f8d20c6a98dea04
1191Author: Steven Hardy <shardy@redhat.com>
1192Date: Thu Sep 20 18:10:29 2012 +0100
1193
1194 heat : HA functional test missing import
1195
1196 Change-Id: Ife9b85c321b41f9d838bf413734a803f858d93c8
1197 Signed-off-by: Steven Hardy <shardy@redhat.com>
1198
1199commit f5033cffb6ec4de1d055079f6f4cfe29e507c52f
1200Author: Steven Hardy <shardy@redhat.com>
1201Date: Thu Sep 20 17:59:11 2012 +0100
1202
1203 heat tests : convert HA test to exec_sudo_command
1204
1205 Use exec_sudo_command to ensure sudo command works
1206
1207 Change-Id: I9e4b25de04112f860c40604f6152f86efd937468
1208 Signed-off-by: Steven Hardy <shardy@redhat.com>
1209
1210commit 89b052aee4dd7d4399bc0f137739a2a0f86f098f
1211Author: Steven Hardy <shardy@redhat.com>
1212Date: Thu Sep 20 16:02:27 2012 +0100
1213
1214 heat tests : Fixup IHA functional test
1215
1216 Add more prints to monitor progress and ensure
1217 the halt sudo command works by using the new utils
1218 function, workaround paramiko SSH issue
1219
1220 Ref #246
1221
1222 Change-Id: I656925e61b878a9f2eabfbd65bee796d9d8ee54d
1223 Signed-off-by: Steven Hardy <shardy@redhat.com>
1224
1225commit 0991ed88f25771d5adde2119c5b967cd4b397816
1226Author: Steven Hardy <shardy@redhat.com>
1227Date: Thu Sep 20 14:37:41 2012 +0100
1228
1229 heat tests : functional tests add exec_sudo_command
1230
1231 Add new method in the Instance class, which uses paramiko
1232 invoke_shell instead of exec_command, so sudo commands can
1233 run despite requiretty being set in our sudo config
1234
1235 Ref #246
1236
1237 Change-Id: I3be691167d4c757b68e589261d6f3a1263d77e69
1238 Signed-off-by: Steven Hardy <shardy@redhat.com>
1239
1240commit 2652832ef3594329fd0afb66ec1c5d8836987c18
1241Author: Zane Bitter <zbitter@redhat.com>
1242Date: Thu Sep 20 11:14:53 2012 +0200
1243
1244 Don't fail to delete if VolumeAttachment not found
1245
1246 Change-Id: If12b7ebbee2d71e39e49152d971c11f55badca18
1247 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1248
1249commit a974326cd7b72518178fa077b842b96867515aea
1250Author: Zane Bitter <zbitter@redhat.com>
1251Date: Thu Sep 20 11:14:53 2012 +0200
1252
1253 Improve debugging ability for functional tests
1254
1255 Use proper assert*() functions so that we can get some information out of
1256 any failed tests.
1257
1258 Change-Id: I92d937015562371c2b39bbcf5b9cbd2b6ca19d52
1259 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1260
1261commit 4dab6823640d51ab01d191194c98d5fcf1a46e35
1262Author: Zane Bitter <zbitter@redhat.com>
1263Date: Thu Sep 20 11:14:53 2012 +0200
1264
1265 Fix typo in test file name
1266
1267 Change-Id: I6c55e9ca8deaab41f8ed47e09553d1ad4811d879
1268 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1269
1270commit 4cb19b8f437b6cdd4effed274bca51aa088787ff
1271Author: Steven Hardy <shardy@redhat.com>
1272Date: Thu Sep 20 08:51:02 2012 +0100
1273
1274 heat tests : fixup test_CFN_API_Actions.py
1275
1276 Fixup CFN API test following API keyname change ref #244
1277
1278 Ref #243
1279
1280 Change-Id: I6c235949ee6bb950d0cc5fa39391ee2b6073b0a0
1281 Signed-off-by: Steven Hardy <shardy@redhat.com>
1282
1283commit 4f558eb479eefbde404a1b422f96877d59868d23
1284Merge: 377a133 1721bac
1285Author: Jenkins <jenkins@review.openstack.org>
1286Date: Thu Sep 20 03:05:06 2012 +0000
1287
1288 Merge "Unit tests for autoscaling resources. 100% coverage!"
1289
1290commit 312ff2dfeec87aad98c0383ab465d8cc30cd7ef1
1291Author: Steve Baker <sbaker@redhat.com>
1292Date: Thu Sep 20 14:51:48 2012 +1200
1293
1294 Stop deprecation warning when creating resources directly.
1295
1296 This change stops the following warning from being logged:
1297 heat/heat/engine/resources.py:141: DeprecationWarning: object.__new__()
1298 takes no parameters
1299 return super(Resource, cls).__new__(cls, name, json, stack)
1300
1301 Change-Id: Icf6187fdcc460d9cd732ebfc0cf14390dc240c5c
1302
1303commit 377a13308a43bb7caf2635bf0da0c7e9ab05800e
1304Author: Steve Baker <sbaker@redhat.com>
1305Date: Thu Sep 20 12:05:48 2012 +1200
1306
1307 Unit tests for volumes and attachments
1308
1309 Change-Id: Id8f1bab9d4cb782830e38a30a6411095d3710273
1310
1311commit a1ff5662bfa1e3e3c8f53d47ac6b6d18f00d556c
1312Author: Jeff Peeler <jpeeler@redhat.com>
1313Date: Wed Sep 19 15:56:26 2012 -0400
1314
1315 Update another embedded template to F17
1316
1317 Change-Id: I4244c98f72bd38afe6d6cd0c7a64aa69b79b578d
1318 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
1319
1320commit ed64506fcf4df813bef01f047fe64f5c6276f116
1321Author: Jeff Peeler <jpeeler@redhat.com>
1322Date: Wed Sep 19 14:56:37 2012 -0400
1323
1324 Changed embedded loadbalancer template to use F17
1325
1326 Change-Id: I7d06045198add18b020736c9e019e848592c7d60
1327 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
1328
1329commit 722da7e22c2c9263fd3d4d5a8dd2c0c88d8fc4b2
1330Author: Steven Hardy <shardy@redhat.com>
1331Date: Wed Sep 19 16:12:52 2012 +0100
1332
1333 heat API : fix wrongly named key for stack events
1334
1335 We return a key of "ResourceStatusData", should be "ResourceStatusReason"
1336
1337 Fixes #244
1338
1339 Change-Id: I692825b0c800815777e9f73bd7060a108e16e45a
1340 Signed-off-by: Steven Hardy <shardy@redhat.com>
1341
1342commit 89a3cf01e8211df96a0e58d31d73746c1d8b6d84
1343Merge: 09f2744 ed282f0
1344Author: Jenkins <jenkins@review.openstack.org>
1345Date: Wed Sep 19 15:10:45 2012 +0000
1346
1347 Merge "Fix scoping issue"
1348
1349commit 09f2744c8e8eb9e31b91176acaa63957163b5be0
1350Merge: 73a8743 9c2bd62
1351Author: Jenkins <jenkins@review.openstack.org>
1352Date: Wed Sep 19 15:09:21 2012 +0000
1353
1354 Merge "Make instance match expected name"
1355
1356commit 73a87433678f04b99a566340934b2f3f2557c8bc
1357Author: Steven Hardy <shardy@redhat.com>
1358Date: Wed Sep 19 11:48:29 2012 +0100
1359
1360 heat : ensure DB user creds aren't written decrypted
1361
1362 Return the decrypted user_creds record as a dict copy
1363 and do not decrypt the credentials direct into the
1364 sqlalchemy model object, or we can inadvertently
1365 end up committing decrypted credentials to the DB
1366
1367 Ref #218
1368
1369 Change-Id: I0df9afcb271804557c94cdf0c913f7a26affdc83
1370 Signed-off-by: Steven Hardy <shardy@redhat.com>
1371
1372commit ed282f09ccb1ebbe56f5bfd1366099424633bd0d
1373Author: Jeff Peeler <jpeeler@redhat.com>
1374Date: Wed Sep 19 00:41:37 2012 -0400
1375
1376 Fix scoping issue
1377
1378 Change-Id: I03ed3e503b7888591dd10c647296792f24679743
1379 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
1380
1381commit 9c2bd6216f7cfb1215dadcda3a6e15795006fb50
1382Author: Jeff Peeler <jpeeler@redhat.com>
1383Date: Wed Sep 19 00:01:12 2012 -0400
1384
1385 Make instance match expected name
1386
1387 Change-Id: Ic94cf389306ac45679601bcdcfbef98bc83e2453
1388 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
1389
1390commit 52f5d7c7fed085d695089cd8fbba8b70c7142964
1391Author: Jeff Peeler <jpeeler@redhat.com>
1392Date: Tue Sep 18 22:19:59 2012 -0400
1393
1394 Look for instance name that matches template
1395
1396 Change-Id: I8963b36fa4c4530cfec9c388c5758812d7d1bddc
1397 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
1398
1399commit cd47a395afce13d060434540f1900fec9753d631
1400Merge: 71eeb88 77a31d3
1401Author: Jenkins <jenkins@review.openstack.org>
1402Date: Tue Sep 18 17:14:24 2012 +0000
1403
1404 Merge "Implement test_AutoScalingMultiAZSample.py"
1405
1406commit 71eeb8882537e0daee8daf74fd593cdf84a07e82
1407Merge: 31c1eb9 66aa7c3
1408Author: Jenkins <jenkins@review.openstack.org>
1409Date: Tue Sep 18 17:11:38 2012 +0000
1410
1411 Merge "Tag functional tests with the JEOS required"
1412
1413commit 31c1eb907c5c7e484017c4e5bd15593f2e9bd708
1414Merge: fa9905d 3a850df
1415Author: Jenkins <jenkins@review.openstack.org>
1416Date: Tue Sep 18 17:06:31 2012 +0000
1417
1418 Merge "Make automated scripts quieter"
1419
1420commit fa9905d87a51fb1ff8bf311c31ba1621c67a9046
1421Author: Steven Dake <sdake@redhat.com>
1422Date: Tue Sep 18 09:49:46 2012 -0700
1423
1424 Provide full URL address in AutoScalingMultiAZSample.template
1425
1426 Fixes issue #242
1427
1428 Change-Id: Iafcf32f22f7a59ce08473981c7ff332bb1eb47f8
1429 Signed-off-by: Steven Dake <sdake@redhat.com>
1430
1431commit 66aa7c33692399c96834915b99ad805b99b7f670
1432Author: Zane Bitter <zbitter@redhat.com>
1433Date: Tue Sep 18 17:59:51 2012 +0200
1434
1435 Tag functional tests with the JEOS required
1436
1437 Change-Id: Ie0204d5382d402058b5538884d42512e724e94db
1438 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1439
1440commit 3a850dfe3287b82fc0850ef9056a5a9de6cfd6d9
1441Author: Zane Bitter <zbitter@redhat.com>
1442Date: Tue Sep 18 18:01:56 2012 +0200
1443
1444 Make automated scripts quieter
1445
1446 This eliminates a lot of not-very-interesting stuff from the test logs.
1447
1448 Change-Id: I20bd90f8875645ef02ce3423a555c523b62ca4e3
1449 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1450
1451commit 77a31d31b226e081b6dc9a1681f61aeb22a0926f
1452Author: Steven Dake <sdake@redhat.com>
1453Date: Mon Sep 17 17:49:32 2012 -0700
1454
1455 Implement test_AutoScalingMultiAZSample.py
1456
1457 Fixes issue #200
1458
1459 Change-Id: Iaea2d01a9659c703986d009fb9c0605ba6d0279f
1460 Signed-off-by: Steven Dake <sdake@redhat.com>
1461
1462commit 2af388ae9c6fdad8972f036b5bcdeb79ca05a8df
1463Merge: 15e02a2 28b4d3e
1464Author: Jenkins <jenkins@review.openstack.org>
1465Date: Tue Sep 18 16:01:32 2012 +0000
1466
1467 Merge "Remove unnecesssary nova constructor calls in each manager API call path"
1468
1469commit 15e02a245e719d440d0152e0ea264e362536fb3b
1470Author: Steven Hardy <shardy@redhat.com>
1471Date: Tue Sep 18 15:59:04 2012 +0100
1472
1473 heat engine : loadbalancer add missing calculate_properties()
1474
1475 Add calculate_properties() call to ensure the user defined parameter
1476 values are correctly updated in self.parameters
1477
1478 Ref #241
1479
1480 Change-Id: I7f4ec0ac546a5599359b6aa2e713ea1b6051ff34
1481 Signed-off-by: Steven Hardy <shardy@redhat.com>
1482
1483commit 84c04e38731d2d49e55f754e5ffeeb117c8b74f2
1484Author: Steven Hardy <shardy@redhat.com>
1485Date: Tue Sep 18 13:28:49 2012 +0100
1486
1487 heat engine : convert stack resource to physical_resource_name
1488
1489 Covert stack.Stack to use physical_resource_name or nested stack
1490 references are not fully-qualified
1491
1492 Ref #241
1493
1494 Change-Id: I6e38a7de5af5fe79ddc62cfee9dfe26cae30df6c
1495 Signed-off-by: Steven Hardy <shardy@redhat.com>
1496
1497commit fd2c75938abbcb2eb434efaa4d3114c76288d7d6
1498Author: Zane Bitter <zbitter@redhat.com>
1499Date: Tue Sep 18 13:15:06 2012 +0200
1500
1501 Return exit code rom run_tests.sh
1502
1503 Change-Id: Iddec2eb8e552f88bd04657536df094355b96b804
1504 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1505
1506commit 84da9d441df3edbc0ae0fb2f46fcdd31aa413362
1507Author: Zane Bitter <zbitter@redhat.com>
1508Date: Tue Sep 18 13:31:37 2012 +0200
1509
1510 Avoid test runner crash when we have no tty
1511
1512 Change-Id: I6dac94a98b9125d3371c19fa14a0de9b4e766820
1513 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1514
1515commit 1721bac83097291b52d05e1fa9ba8c713ab93551
1516Author: Steve Baker <sbaker@redhat.com>
1517Date: Tue Sep 18 14:30:00 2012 +1200
1518
1519 Unit tests for autoscaling resources. 100% coverage!
1520
1521 Change-Id: Idff792aa4898b14f3a55b5b44e6133cdcf496e97
1522
1523commit 86c76940078506aa5b6610511f6763a1b2267733
1524Merge: 85cd0f0 f309e51
1525Author: Jenkins <jenkins@review.openstack.org>
1526Date: Tue Sep 18 00:42:28 2012 +0000
1527
1528 Merge "Use stack_identity where it has changed from stack_name."
1529
1530commit 85cd0f09743c42f4ba05cb8a8db7185486a48db5
1531Merge: fbcf37f 2080423
1532Author: Jenkins <jenkins@review.openstack.org>
1533Date: Tue Sep 18 00:41:37 2012 +0000
1534
1535 Merge "Tests EIP resource creation and association."
1536
1537commit fbcf37f17a9c244e4e18f736f4fc0c701d952e2e
1538Author: Steven Hardy <shardy@redhat.com>
1539Date: Mon Sep 17 23:23:49 2012 +0100
1540
1541 heat tests : New wordpress IHA functional test
1542
1543 Add new test_WordPress_Single_Instance_With_IHA test
1544
1545 Fixes #213
1546
1547 Change-Id: Ibacfe4d5eb57c470a3e2a000ec794adfb432c081
1548 Signed-off-by: Steven Hardy <shardy@redhat.com>
1549
1550commit 2080423d2eaab34b804cdab6f8a24828979ba2b0
1551Author: Steve Baker <sbaker@redhat.com>
1552Date: Mon Sep 17 14:07:08 2012 +1200
1553
1554 Tests EIP resource creation and association.
1555
1556 Change-Id: I3af9556930a447eeba6e3152d004ddae7999d638
1557
1558commit d81d3406ba375b1ad35d2330b0b1015e16436c8e
1559Author: Steven Dake <sdake@redhat.com>
1560Date: Mon Sep 17 12:57:27 2012 -0700
1561
1562 Allow linux distribution to be passed to multiaz template for test case
1563
1564 Change-Id: I054c3ad72cea2727dd8f5956166d753fff7363e7
1565 Signed-off-by: Steven Dake <sdake@redhat.com>
1566
1567commit c5d512465979d0c3851352736ca0acc7091722a6
1568Author: Steven Dake <sdake@redhat.com>
1569Date: Mon Sep 17 12:51:21 2012 -0700
1570
1571 Fix backtrace when using loadbalancer
1572
1573 Loadbalancer incorrectly tried to reference a string as an integer.
1574
1575 This resulted in the following typeerror which is repaired by
1576 thi patch:
1577
1578 timeout_check = 'timeout check %ds' % (health_chk['Timeout'])
1579 TypeError: %d format: a number is required, not unicode
1580
1581 Fixes issue #240
1582
1583 Change-Id: I7e2697200d3fa9b0cb009f3a7898d487b70fc23a
1584 Signed-off-by: Steven Dake <sdake@redhat.com>
1585
1586commit 77864991de744096976936eebaf61d0f7fd4440e
1587Author: Steven Dake <sdake@redhat.com>
1588Date: Mon Sep 17 12:09:59 2012 -0700
1589
1590 Fix spelling errors in loadbalancer which resulted in template not launching
1591
1592 Fixes issue #239
1593
1594 Change-Id: I20f685598b90a40ed0452af8b7c018a1bf7e0492
1595 Signed-off-by: Steven Dake <sdake@redhat.com>
1596 Signed-off-by: Tomas Sedovic <tsedovic@redhat.com>
1597
1598commit 28b4d3e37ccf1adffa0d3327736964d03dc6c472
1599Author: Steven Dake <sdake@redhat.com>
1600Date: Sun Sep 16 12:40:02 2012 -0700
1601
1602 Remove unnecesssary nova constructor calls in each manager API call path
1603
1604 auth.authenticate() creates a nova client object. This nova client
1605 object is never reused introducing a 40msec penalty for each API call.
1606 The heat-api-cfn module authenticates incoming requests. In a
1607 properly secured environment (one where RPC is secured), the
1608 auth.authenticate() calls serve no purpose.
1609
1610 Change-Id: I847af259f521a32a7bf3fda0ce3f72735f762a0c
1611 Signed-off-by: Steven Dake <sdake@redhat.com>
1612
1613commit 37def2b2df7d945fe4300de893489c9364e2762b
1614Author: Ian Main <imain@redhat.com>
1615Date: Mon Sep 17 12:12:24 2012 -0700
1616
1617 Fix up tags
1618
1619 Fix the remaining tags to include the template.
1620
1621 Change-Id: I307d2a7a2678617f38ad3329b51855d5ca6614c2
1622 Signed-off-by: Ian Main <imain@redhat.com>
1623
1624commit e32feeb448b388d31ac27e76e5bbad82b0e2d112
1625Author: Steven Dake <sdake@redhat.com>
1626Date: Mon Sep 17 10:41:41 2012 -0700
1627
1628 Fix test_WordPress_2_Instances_With_EBS.py
1629
1630 Change-Id: Iee70c20b4dc771da5cc84bcfe7bb1cd1ba5280d1
1631 Signed-off-by: Steven Dake <sdake@redhat.com>
1632
1633commit 754fe2861ef4a739830de1a95fe27ed701ca8b69
1634Merge: a7a9fe5 e1c0b4e
1635Author: Jenkins <jenkins@review.openstack.org>
1636Date: Mon Sep 17 16:41:34 2012 +0000
1637
1638 Merge "Change templates to launch F17 (not F16) by default"
1639
1640commit e1c0b4eafcbefc441b105298afca69450bb13694
1641Author: Zane Bitter <zbitter@redhat.com>
1642Date: Mon Sep 17 17:46:45 2012 +0200
1643
1644 Change templates to launch F17 (not F16) by default
1645
1646 Change-Id: If8b97e85f2dca5251145a8eebb184e43e25a34ea
1647 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1648
1649commit a7a9fe515cecc44fde6864a4e6c5e257f68b46a2
1650Author: Steven Hardy <shardy@redhat.com>
1651Date: Mon Sep 17 16:57:46 2012 +0100
1652
1653 heat tests : add HAProxy functional test
1654
1655 Add new test_HAProxy_Single_Instance.py functional test
1656
1657 Fixes #202
1658
1659 Change-Id: I34818756dc5d8ac1f42302118eaa630348946d38
1660 Signed-off-by: Steven Hardy <shardy@redhat.com>
1661
1662commit 96af1144b08d9d08d54528c37e9dc0d5e0c23bb5
1663Author: Steven Hardy <shardy@redhat.com>
1664Date: Mon Sep 17 16:56:36 2012 +0100
1665
1666 heat templates : add LinuxDistribution parameter to HAProxy
1667
1668 Add LinuxDistribution section and mappings to HAProxy template,
1669 to align with other templates and for compatibility with functional
1670 test infrastructure
1671
1672 Change-Id: Ib86ac4f587aebf712df1c9ad09cebc44f853e114
1673 Signed-off-by: Steven Hardy <shardy@redhat.com>
1674
1675commit 81e835841c9f63a5c6f5a7dc1ef0732493fce3d4
1676Author: Steven Hardy <shardy@redhat.com>
1677Date: Mon Sep 17 16:54:23 2012 +0100
1678
1679 heat tests : functional tests allow non-default stackname
1680
1681 Allow the default "teststack" to be overridden, so multiple
1682 stacks can be created in one test
1683
1684 Change-Id: I09a4128b98df7af6c6b85552ac2175919a697c50
1685 Signed-off-by: Steven Hardy <shardy@redhat.com>
1686
1687commit 0ad5ab9748e49196b4105528b6634213b4e596c2
1688Author: Zane Bitter <zbitter@redhat.com>
1689Date: Mon Sep 17 16:53:09 2012 +0200
1690
1691 Switch to Fedora 17 on guests in Getting Started
1692
1693 Change-Id: I24ff5305876d91828e15f89e363d03bbf6bed923
1694 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1695
1696commit c53b4fb733407c92f076faae6629a608aa3f26a2
1697Author: Steven Hardy <shardy@redhat.com>
1698Date: Mon Sep 17 10:59:56 2012 +0100
1699
1700 heat : Show user parameter values in heat describe
1701
1702 Return an agregate set of stack parameters via heat describe
1703 and underlying engine show_stack call, so we see the template
1704 parameters, and any user-overridden values (ie don't just show
1705 the template defaults, which is not really very useful)
1706
1707 Fixes #238
1708
1709 Change-Id: Ia2cc3271f0dcf8c986e968bc21775d31ecbe6228
1710 Signed-off-by: Steven Hardy <shardy@redhat.com>
1711
1712commit fdbd64dd2d0f364c0fd4a510ae4e124855a17eae
1713Author: Steven Hardy <shardy@redhat.com>
1714Date: Mon Sep 17 10:45:53 2012 +0100
1715
1716 heat tests : expose keyname from Stack object
1717
1718 Expose keyname via Stack.keyname so it can be acccessed in tests
1719
1720 Change-Id: I7bca1acad150647d525c0a51f4ce75b0ba21050d
1721 Signed-off-by: Steven Hardy <shardy@redhat.com>
1722
1723commit 42f2fd86f3942529afe5c21a128c30fe7cf76c89
1724Author: Zane Bitter <zbitter@redhat.com>
1725Date: Mon Sep 17 11:46:11 2012 +0200
1726
1727 Work around nova-network launch issue harder
1728
1729 Change-Id: Ia1bf8cb2f0e23755100713c1289baa371bbfb956
1730 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1731
1732commit 397488959fca2fb74c9d6851941dae601fa3e1c1
1733Merge: 8df32a9 1a98136
1734Author: Jenkins <jenkins@review.openstack.org>
1735Date: Mon Sep 17 07:46:00 2012 +0000
1736
1737 Merge "Use openstack.common.timeutils.isotime()"
1738
1739commit f309e5190062f938e0fdcc14b433c87d858b52de
1740Author: Steve Baker <sbaker@redhat.com>
1741Date: Mon Sep 17 13:11:59 2012 +1200
1742
1743 Use stack_identity where it has changed from stack_name.
1744
1745 This is causing my test_rpcapi to fail.
1746
1747 Also, attempt to enable test_rpcapi by setting
1748 @attr(tag=['unit', 'rpcapi'])
1749
1750 Change-Id: Ie831ddddaccc4245a18e5bc754cbf413cea65741
1751
1752commit 8df32a93d2efa66905ab85260ee03c6f2ba0b227
1753Author: Steve Baker <sbaker@redhat.com>
1754Date: Mon Sep 17 12:03:05 2012 +1200
1755
1756 Unit test S3 Bucket resource with associated fixes.
1757
1758 Change-Id: Ib23ed500385c299247bf80062a7a4342f5afe1d2
1759
1760commit 1a98136a64be413f63044312df40ad459b5a0262
1761Author: Steven Dake <sdake@redhat.com>
1762Date: Sun Sep 16 17:00:56 2012 -0700
1763
1764 Use openstack.common.timeutils.isotime()
1765
1766 Remove heat_utils.strftime() and replace callers with
1767 openstack.common.timeutils.isotime(). They do similar activites, and
1768 since its carried in common, makes more sense to use that version.
1769
1770 Change-Id: Icd919fb218a5f97be103eda7814a5fb56e1b0a02
1771 Signed-off-by: Steven Dake <sdake@redhat.com>
1772
1773commit 77700c10bf6187b4cf0f84d82309d499134d0a7c
1774Author: Zane Bitter <zbitter@redhat.com>
1775Date: Sun Sep 16 20:49:05 2012 +0200
1776
1777 Work around nova-network launch issue
1778
1779 Launch nova-network *after* nova-cert to work around the SELinux error in
1780 https://bugzilla.redhat.com/show_bug.cgi?id=857747
1781
1782 Change-Id: I2ca4af4b950cca92cdd2785c493d8453648ccbb0
1783 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1784
1785commit 137e3592223f5a4f4591cf30e1bc197b4058da8c
1786Author: Jeff Peeler <jpeeler@redhat.com>
1787Date: Fri Sep 14 21:52:15 2012 -0400
1788
1789 Change rpc cleanup to occur before killing engine thread
1790
1791 This bug only manifested itself after a heat request was made to the
1792 engine. Once a request was made a Qpid connection handler continued
1793 to wait in a select call, presumably for a subsequent request. Closing
1794 the connection immediately after detecting a keyboard interrupt and then
1795 terminating the thread yields a clean shutdown with no traceback.
1796
1797 Closes #176
1798
1799 Change-Id: Ifdb82d33a6c52a004bbd6b08c564264f4140e800
1800 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
1801
1802commit 1650f849fb09bbb521360b352248f63c26b1752e
1803Author: Jeff Peeler <jpeeler@redhat.com>
1804Date: Fri Sep 14 01:44:37 2012 -0400
1805
1806 Add new OpenShift test
1807
1808 New utility functions added to add/remove host file entries.
1809
1810 Closes #204
1811
1812 Change-Id: I182b451a25e22a558d1b4073e981cdc826ab836d
1813 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
1814
1815commit e5ce50eaf39feda335d2c5d620297aeb4ea9fbe1
1816Author: Steven Hardy <shardy@redhat.com>
1817Date: Thu Sep 13 18:11:10 2012 +0100
1818
1819 heat tests : new functional test for CFN API
1820
1821 Add new test which tests most actions of the CFN API
1822 note UpdateStack, ValidateTemplate and EstimateTemplateCost
1823 are still TODO
1824
1825 Change-Id: I814508871ddd81495f5d41d38e8e724ab4d03765
1826 Signed-off-by: Steven Hardy <shardy@redhat.com>
1827
1828commit d0c394542c1d5ba96da98c47a7468f0e92c678e2
1829Author: Steven Hardy <shardy@redhat.com>
1830Date: Thu Sep 13 10:59:17 2012 +0100
1831
1832 heat tests : Update test_WordPress_With_RDS
1833
1834 Update test_WordPress_With_RDS.py to use new test infrastructure
1835
1836 Change-Id: Iea78e4d2507f0f59db3528b475e6981ea027a617
1837 Signed-off-by: Steven Hardy <shardy@redhat.com>
1838
1839commit 4481b66624904e9d04bb91a02b658c4690dedfac
1840Author: Steven Hardy <shardy@redhat.com>
1841Date: Fri Sep 14 13:36:45 2012 +0100
1842
1843 heat tests : remove duplicate cleanup Wordpress_Boto
1844
1845 Remove the duplicate cleanup call, should only be in tearDown
1846 fixture
1847
1848 Change-Id: I43cbe28694b248550689be08522d9774a38e6f64
1849 Signed-off-by: Steven Hardy <shardy@redhat.com>
1850
1851commit ef809d370a4c28a77d7d28fe54124d06075ceae2
1852Author: Steven Hardy <shardy@redhat.com>
1853Date: Fri Sep 14 11:59:58 2012 +0100
1854
1855 heat tests : bugfix utils cleanup function
1856
1857 end state for stacks is DELETE_COMPLETE, but then they
1858 are deleted, hence we need to test for either DELETE_COMPLETE
1859 or a null result to avoid false failures
1860
1861 Change-Id: I7e35c5a734d1005fa38d587353cbca5b911ec77b
1862 Signed-off-by: Steven Hardy <shardy@redhat.com>
1863
1864commit 8357920281c017f316b1fc214ddb621efa5bc667
1865Author: Steven Hardy <shardy@redhat.com>
1866Date: Fri Sep 14 10:34:35 2012 +0100
1867
1868 heat tests : bugfix utils cleanup
1869
1870 Initialize tries variable or we get a referenced before
1871 assignment error
1872
1873 Change-Id: Ic8eb68ced893fb89844e81e895c766e8f8b04bee
1874 Signed-off-by: Steven Hardy <shardy@redhat.com>
1875
1876commit f397d7ad5292689ce106dd7de9579651a6d2be4c
1877Author: Zane Bitter <zbitter@redhat.com>
1878Date: Thu Sep 13 21:40:49 2012 +0200
1879
1880 tests: Wait for delete completion
1881
1882 Wait for the stack to actually be deleted before ending the test.
1883
1884 Fixes #233
1885
1886 Change-Id: I4f2060ff73615bcb16ac9cba3d7062117cca08dd
1887 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1888
1889commit ab754ba493a282c0790e72a73d0f09d26cb50cf3
1890Author: Zane Bitter <zbitter@redhat.com>
1891Date: Wed Sep 12 16:12:45 2012 +0200
1892
1893 tests: Clean up after a failed functional test
1894
1895 Ensure that whenever a stack is created, we delete it after the test by
1896 putting the cleanup() call into the tearDown() method. For this to work,
1897 we must also move the actual creation into the test itself, since an
1898 exception during setUp() will mean that tearDown is not called.
1899
1900 Change-Id: I481e691f07c1af9e931258d7ba4453b2037c62ad
1901 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1902
1903commit e7bd43657d7f0f881b66ae1eec4c87cfbe57923c
1904Author: Zane Bitter <zbitter@redhat.com>
1905Date: Thu Sep 13 17:42:34 2012 +0200
1906
1907 tests: Make StackBoto inherit more from Stack
1908
1909 Change-Id: Ie2b6f2e6dd7d3f75622422d68449972ee7eceb00
1910 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1911
1912commit f5dfdff4b8eedc25af8c329ecc5e5490aec9a5ff
1913Author: Zane Bitter <zbitter@redhat.com>
1914Date: Thu Sep 13 20:56:48 2012 +0200
1915
1916 tests: Fail promptly on stack creation failure
1917
1918 Fix the functional tests to report failure as soon as stack creation fails,
1919 rather than waiting 80+ minutes to time out.
1920
1921 Change-Id: Ie48a84c7bb3ab274337297cc740b78d58d8ed4a6
1922 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1923
1924commit ed33a8dc90468f2873a4a581c22027f10d9393d4
1925Author: Steven Dake <sdake@redhat.com>
1926Date: Thu Sep 13 11:36:31 2012 -0700
1927
1928 Add Wordpress_2_Instances testcase
1929
1930 Fixes Issue #205
1931
1932 Change-Id: Ic7a08b2ac278a032033bec47bbfe53aeb11b253e
1933 Signed-off-by: Steven Dake <sdake@redhat.com>
1934
1935commit d17039840e171370bfd7e233c49719f0cd76d4bb
1936Merge: ec0f4ef 0660460
1937Author: Jenkins <jenkins@review.openstack.org>
1938Date: Thu Sep 13 17:56:15 2012 +0000
1939
1940 Merge "Add test_WordPress_2_Instances_With_EBS_EIP.py"
1941
1942commit 06604600fbdb6d69ebe7e2e13a647ba3915e7b91
1943Author: Steven Dake <sdake@redhat.com>
1944Date: Thu Sep 13 10:13:58 2012 -0700
1945
1946 Add test_WordPress_2_Instances_With_EBS_EIP.py
1947
1948 This work is based upon Tomas Sedovic's work.
1949
1950 A floating ip checker is added to instance() in util.py
1951
1952 Change-Id: I138a5f7bc0c5d04bc5308a80113f3057440578b9
1953 Signed-off-by: Steven Dake <sdake@redhat.com>
1954 Signed-off-by: Tomas Sedovic <tsedovic@redhat.com>
1955
1956commit ec0f4efd32b66a883680c707e5c0c32f82f7d847
1957Author: Steven Hardy <shardy@redhat.com>
1958Date: Wed Sep 12 12:07:51 2012 +0100
1959
1960 heat tests : functional test utils add response_xml_item
1961
1962 Add response_xml_item method to Stack, which allows stack
1963 API XML responses to be more easily parsed base on xpath
1964 prefix and keyname
1965
1966 Change-Id: I96437bd7ff4575e9262d46c4c21f4408041e147d
1967 Signed-off-by: Steven Hardy <shardy@redhat.com>
1968
1969commit 411656a5d6b29ccbbf4bf1157c0c89e7f3cd6b4e
1970Author: Zane Bitter <zbitter@redhat.com>
1971Date: Thu Sep 13 17:50:29 2012 +0200
1972
1973 Fix timing issue in starting openstack-network
1974
1975 Change-Id: I31f3092f95b140015d661ebd86bd1567c607f3d4
1976 Signed-off-by: Zane Bitter <zbitter@redhat.com>
1977
1978commit dad88e25b1abcb7e123c1a13205107fb793ac4a2
1979Author: Steven Dake <sdake@redhat.com>
1980Date: Thu Sep 13 07:17:24 2012 -0700
1981
1982 There is no spoon take 2
1983
1984 ugh
1985
1986 Change-Id: I746c721ed779b1c63592fa0e07053d27ef4231a0
1987 Signed-off-by: Steven Dake <sdake@redhat.com>
1988
1989commit a4fdfd41195efcadc67f598b223f3691b63848bc
1990Author: Steven Dake <sdake@redhat.com>
1991Date: Thu Sep 13 06:59:03 2012 -0700
1992
1993 There is no spoon
1994
1995 There is no name, only resource_name.
1996
1997 Change-Id: I1455d497c68fb650d3aef0f1232872f441005c0d
1998 Signed-off-by: Steven Dake <sdake@redhat.com>
1999
2000commit 5553ac7ad6e0951cd8b31474eaf25c2512c71e4b
2001Merge: 4063e2d 614287a
2002Author: Jenkins <jenkins@review.openstack.org>
2003Date: Thu Sep 13 13:19:07 2012 +0000
2004
2005 Merge "heat : Revert "Make sure the properties are defined in all cases.""
2006
2007commit 4063e2d70f0a864f011a0d998b3585974f7701bd
2008Merge: b4287c2 38e3b5a
2009Author: Jenkins <jenkins@review.openstack.org>
2010Date: Thu Sep 13 13:18:58 2012 +0000
2011
2012 Merge "heat : bugfix convert User resource to physical_resource_name()"
2013
2014commit b4287c209ec53e6ae6209fc203cb928b4b03fb20
2015Merge: da37711 61ba35b
2016Author: Jenkins <jenkins@review.openstack.org>
2017Date: Thu Sep 13 11:56:15 2012 +0000
2018
2019 Merge "Update openstack-common"
2020
2021commit 614287a9645ab6b32fe9fc71a99a1a7308bf61d3
2022Author: Steven Hardy <shardy@redhat.com>
2023Date: Thu Sep 13 12:01:03 2012 +0100
2024
2025 heat : Revert "Make sure the properties are defined in all cases."
2026
2027 bugfix : backout #194 fix as it breaks RDS (or maybe all resoures
2028 implemented as nested-stacks)
2029
2030 This reverts commit ae0b853499296763dae77aa5c1e4c22225674489.
2031
2032 reopens #194
2033
2034 Change-Id: I349a1625a040e33e080549a137824d1d2cfca9f8
2035 Signed-off-by: Steven Hardy <shardy@redhat.com>
2036
2037commit 38e3b5a24a026e0fa087db9ade14182af752d377
2038Author: Steven Hardy <shardy@redhat.com>
2039Date: Thu Sep 13 11:27:15 2012 +0100
2040
2041 heat : bugfix convert User resource to physical_resource_name()
2042
2043 engine user.py needs the self.name references changed to
2044 self.physical_resource_name() to align with the recent resource
2045 naming changes.
2046
2047 Change-Id: I4620a4afc5e9c11d7b6d9348aaac35bcfa31bbac
2048 Signed-off-by: Steven Hardy <shardy@redhat.com>
2049
2050commit da37711c68d885bf883b49aec3ce05917e9c5bbd
2051Author: Steven Dake <sdake@redhat.com>
2052Date: Wed Sep 12 22:43:30 2012 -0700
2053
2054 creating instances failed as a result of regression in last commit
2055
2056 The previous commit to the tree organizes resource names by
2057 stack.resource. Most of the openstack APIs take resource ids
2058 but the instance create operation requires text identifiers.
2059
2060 Rewrite the text identifiers for the nova security groups before
2061 starting an instance.
2062
2063 Change-Id: I8a842868781ecb353f66b5a4e3d022766a4c8a0e
2064 Signed-off-by: Steven Dake <sdake@redhat.com>
2065
2066commit 61ba35be90d0241b066badb0149b0a5dd8c5528b
2067Author: Angus Salkeld <asalkeld@redhat.com>
2068Date: Thu Sep 13 13:50:24 2012 +1000
2069
2070 Update openstack-common
2071
2072 Change-Id: I002574a60b4f59543bc6aa73256c2f0b3b79d378
2073 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2074
2075commit 04701a275f9712865bc5b7ea458bb7123f3a34d7
2076Author: Steven Dake <sdake@redhat.com>
2077Date: Wed Sep 12 15:12:50 2012 -0700
2078
2079 Make physical resource names unique based upon stack name
2080
2081 Some templates use the same resource name when registering with
2082 nova. Nova will not allow mulitple resource names to register
2083 with the same name in all cases, and in those it does, it often
2084 becomes confused (in the case of EIP). This patch creates a
2085 dot notation
2086
2087 For the LB test, an example of the resources would be:
2088 teststack.LoadBalancer.LB_instance
2089 teststack.DatabaseServer.MySqlDatabaseServer
2090 teststack.WikiServerOne
2091
2092 Fixes Issue #160
2093 Fixes Issue #136
2094
2095 Thanks to asalkeld@redhat.com for helping sort out the unit
2096 test cases.
2097
2098 Change-Id: I14f4551feb41c7f98caa30dd98f997da6d00c467
2099 Signed-off-by: Steven Dake <sdake@redhat.com>
2100
2101commit 640c0a3e5f5ccca02d152d101e150d87b51e14eb
2102Merge: 7044fc5 d24e8c7
2103Author: Jenkins <jenkins@review.openstack.org>
2104Date: Wed Sep 12 22:41:25 2012 +0000
2105
2106 Merge "Add 2 instance with EBS test."
2107
2108commit 7044fc5edc2ecc448775891628706ca41405fe0a
2109Author: Jeff Peeler <jpeeler@redhat.com>
2110Date: Wed Sep 12 16:25:25 2012 -0400
2111
2112 Change Stack to support user defined parameter
2113
2114 This change allows tests to specify DBUsername/DBPassword if necessary.
2115 The keyname is still looked up in nova and the distribution is retrieved
2116 from the already existing Stack parameter.
2117
2118 Change-Id: I3732ffb685d68c8a72a83247f74ed11a50a74cd1
2119 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2120
2121commit fe95bd633a6b6d341052cd58814372551c75dc89
2122Merge: f2817a7 8da4ddf
2123Author: Jenkins <jenkins@review.openstack.org>
2124Date: Wed Sep 12 20:47:20 2012 +0000
2125
2126 Merge "Make S3 import except on ImportError rather then all exceptions"
2127
2128commit d24e8c746359169058e9c0577c2f843695ca3b55
2129Author: Ian Main <imain@redhat.com>
2130Date: Wed Sep 12 12:12:31 2012 -0700
2131
2132 Add 2 instance with EBS test.
2133
2134 Seems to work even.
2135
2136 Change-Id: Ie09d97dc86a68525783f1f9c080fed13e651ef78
2137 Signed-off-by: Ian Main <imain@redhat.com>
2138
2139commit f2817a79d3fa6e08fcf0c98314e2ea8df6b72f8f
2140Author: Jeff Peeler <jpeeler@redhat.com>
2141Date: Wed Sep 12 11:36:43 2012 -0400
2142
2143 Change VerifyClass to have a generic verify_url method
2144
2145 Change-Id: I0e1298e7852e336d6271c4014b11935ac3ce6689
2146 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2147
2148commit 14fe52e0e632e45657bcf1cef1dca397cc9a9e4e
2149Author: Steven Dake <sdake@redhat.com>
2150Date: Wed Sep 12 09:34:21 2012 -0700
2151
2152 Update WordPress_Compsed_Instances to new test infrastructure
2153
2154 Change-Id: I08a175d28b99b861ce29b2278e415896e79cf72a
2155 Signed-off-by: Steven Dake <sdake@redhat.com>
2156
2157commit 8da4ddf51fedefdb1601baf7359e128f22f396e2
2158Author: Steven Dake <sdake@redhat.com>
2159Date: Wed Sep 12 08:11:30 2012 -0700
2160
2161 Make S3 import except on ImportError rather then all exceptions
2162
2163 Change-Id: Icb98aed65ccba825f8402fdde95ac38b2a12c1a6
2164 Signed-off-by: Steven Dake <sdake@redhat.com>
2165
2166commit 1ba219d38df61ab4b0807c5fa730287ec903ccca
2167Author: Steven Dake <sdake@redhat.com>
2168Date: Tue Sep 11 13:49:09 2012 -0700
2169
2170 Make S3 optional since swiftclient is not available in all distributions
2171
2172 Change-Id: Ic5f61ac41090fd599f01b3eaae4ffb03aac2ebdd
2173 Signed-off-by: Steven Dake <sdake@redhat.com>
2174
2175commit e49050a87db1452907782b3d515d157c4c75248d
2176Author: Steven Hardy <shardy@redhat.com>
2177Date: Tue Sep 11 19:23:27 2012 +0100
2178
2179 heat : test utils, extract ec2 credentials from keystone
2180
2181 For StackBoto extract the ec2 credentials from keystone and
2182 pass them into the client, so the functional tests don't rely
2183 on ec2 credentials from config-files and only need the currently
2184 provided keystone credentials
2185
2186 Change-Id: Ifc959011cc5b9ee77ebf04e380dc6a4059903c6d
2187 Signed-off-by: Steven Hardy <shardy@redhat.com>
2188
2189commit ff352a0d10dbac6864bff65cb98b100107fb5060
2190Author: Steven Hardy <shardy@redhat.com>
2191Date: Tue Sep 11 19:07:00 2012 +0100
2192
2193 heat : allow boto_client to accept credentials
2194
2195 Allow ec2 credentials to optionally be passed in to boto
2196 rather than purely relying on config-files
2197
2198 Change-Id: Ib821f2bca9bc3f61af521955a9ed52f0059e70e4
2199 Signed-off-by: Steven Hardy <shardy@redhat.com>
2200
2201commit 89bedcb4d2b7b67b55ccc551a1cb53a00d172e7e
2202Author: Steven Hardy <shardy@redhat.com>
2203Date: Tue Sep 11 19:05:36 2012 +0100
2204
2205 heat : move boto.cfg to correct location
2206
2207 boto.cfg needs to be under /etc not /etc/heat
2208 or boto won't find it
2209
2210 Change-Id: I0981bb3bd46dd1630633576fc77d085410bf6362
2211 Signed-off-by: Steven Hardy <shardy@redhat.com>
2212
2213commit 455bb8889f66513c55aa60e189be3e7965a49fa9
2214Author: Steven Hardy <shardy@redhat.com>
2215Date: Tue Sep 11 19:03:41 2012 +0100
2216
2217 heat : comment credentials in template boto.cfg
2218
2219 Comment out the credentials section in /etc/boto.cfg
2220 this allows us to pass the correct host/endpoint without
2221 having world-readable credentials. This can then be used
2222 as a template for per-user ~/.boto files if desired
2223
2224 Change-Id: I4cea0cb3b790186ddc041edad0ab4ee4b7e8f956
2225 Signed-off-by: Steven Hardy <shardy@redhat.com>
2226
2227commit 33bfcd36d5c0e430eacc51c2693ee56d0c8dad36
2228Author: Steven Hardy <shardy@redhat.com>
2229Date: Tue Sep 11 13:08:22 2012 +0100
2230
2231 heat tests : add new Boto wordpress functional test
2232
2233 Add new test_WordPress_Single_Instance_Boto.py, which
2234 does a wordpress single instance test using StackBoto
2235
2236 Note, this will require a valid /etc/boto.cfg to work,
2237 and probably a recent (git) version of boto
2238
2239 Fixes #220
2240
2241 Change-Id: Ia95de35dc9d1d52ba6b9f4fae333e4fad02762ca
2242 Signed-off-by: Steven Hardy <shardy@redhat.com>
2243
2244commit 4c672508dd893d6d1094c4347201afbfe9765cae
2245Author: Steven Hardy <shardy@redhat.com>
2246Date: Tue Sep 11 13:06:09 2012 +0100
2247
2248 heat tests : functional test utils add StackBoto class
2249
2250 Add StackBoto, subclass of Stack, which implements stack
2251 setup using the boto client wrapper, allows us to test
2252 AWS auth and boto client libraries
2253
2254 Ref #220
2255
2256 Change-Id: Id5cb5ab72c7ba2e7accd76a73a94ff8fe45c62fa
2257 Signed-off-by: Steven Hardy <shardy@redhat.com>
2258
2259commit a5510ea245b9f291a2a4a496c06aeb3c71322c9c
2260Author: Steve Baker <steve@stevebaker.org>
2261Date: Tue Sep 11 14:58:34 2012 +1200
2262
2263 Implement the AWS::S3::Bucket resource type.
2264
2265 An attempt was made to make created bucket names readable and unique.
2266 Names are of the format heat-<resource name>-<random hex>. eg:
2267 heat-S3Bucket-b420d12d02e5d6e46f13
2268
2269 Only the swift v2 auth is currently supported, which means swift will need to
2270 use keystone for auth. This may be a valid assumption for any environment that
2271 is running Heat.
2272
2273 When DeletionPolicy is Delete then an attempt is made to delete the container,
2274 but the stack will still be deleted if container delete fails.
2275
2276 Run the template S3_Single_Instance.template to give it a try.
2277
2278 Functional tests will be coming in a later change.
2279
2280 Change-Id: Ifa2c3c4fcbdb00a44f8c6b347a61f8e1735e8328
2281
2282commit 1ef28a37068323a531da445815271f2b2e73ef65
2283Author: Zane Bitter <zbitter@redhat.com>
2284Date: Mon Sep 10 22:13:07 2012 +0200
2285
2286 Update documentation on configuring metadata server
2287
2288 The docs need to reflect the fact that the metadata server cannot be
2289 configured and launched until after Nova has created the virtual bridge
2290 interface.
2291
2292 See issue #196
2293
2294 Change-Id: Ia1a004106fa2b535b54c7b88e8ed177e47e72844
2295 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2296
2297commit 2e0dfbab47470e91fdbdbcfc81387692a5523fa3
2298Author: Zane Bitter <zbitter@redhat.com>
2299Date: Mon Sep 10 18:04:34 2012 +0200
2300
2301 Handle verification errors in create/update in cfn API
2302
2303 If a StackCreate or StackUpdate call fails verification in the engine, we
2304 get an error message returned rather than a stack identifier.
2305
2306 Fixes #224
2307
2308 Change-Id: I5f47f5d0e25e8bc05633d29605adcc8827edd379
2309 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2310
2311commit a080c9465833049c691fb3d50d7cf4e591dbf4a5
2312Author: Steven Hardy <shardy@redhat.com>
2313Date: Mon Sep 10 10:52:13 2012 +0100
2314
2315 heat tools : nova_create_flavors.sh additional retry logic
2316
2317 Add retry logic in order to make creating flavors more
2318 robust. Nova rate-limiting frequently causes actions to fail
2319 so wrap all requests in retry/sleep logic and check we can
2320 connect to nova before attempting to change anything
2321
2322 Ref #225
2323
2324 Change-Id: I1b1014df04602935f561c08ba29287061224b5f3
2325 Signed-off-by: Steven Hardy <shardy@redhat.com>
2326
2327commit 15a88d03e5b187b31d17a00f1b845e5a8a749502
2328Author: Steven Hardy <shardy@redhat.com>
2329Date: Mon Sep 10 11:03:37 2012 +0100
2330
2331 heat tools : add ephemeral disk for all flavors
2332
2333 Add ephemeral disk for all flavors in nova_create_flavors.sh
2334 as it's currently not possible for EBS to work without a fixed
2335 mapping to a specific block device name, meaning the EBS templates
2336 will break for micro/tiny if there if no ephemeral disk defined
2337
2338 Change-Id: I801f00aba5b431d30362cd4b34da2f66457220c5
2339 Signed-off-by: Steven Hardy <shardy@redhat.com>
2340
2341commit 0ca10d3e6a41d01435595defa33a7582f57dce68
2342Author: Steven Hardy <shardy@redhat.com>
2343Date: Mon Sep 10 10:49:45 2012 +0100
2344
2345 heat tools : check services running after openstack install
2346
2347 Check all expected services are running after starting them when
2348 doing tools/openstack install, should avoid possible racy behavior
2349 when we assume everything is up and immediately call nova_create_flavors.sh
2350
2351 Ref #225
2352
2353 Change-Id: I87ec0ca31579173cb9218fa79e027fd5b15031f0
2354 Signed-off-by: Steven Hardy <shardy@redhat.com>
2355
2356commit c292ddb164bceab5883aa585a6a2357c0e33b7aa
2357Author: Steven Dake <sdake@redhat.com>
2358Date: Fri Sep 7 13:22:42 2012 -0700
2359
2360 Rework functional test case infrasatructure
2361
2362 To support multi-instance, two new classes were made:
2363 Stack - represents a stack
2364 Instance - represents an instance
2365
2366 For multi-instance stacks, create multiple Instance objects
2367 for each instance in the stack.
2368
2369 For each instance in a stack, an instance object can be created which
2370 helps validate the individual instance sets up properly.
2371
2372 test_WordPress_Single_Instance_With_EBS.py fails - see issue #226
2373
2374 Change-Id: Iddec87cd1332a9b5796c5c7e7d382ef723c3544e
2375 Signed-off-by: Steven Dake <sdake@redhat.com>
2376 Signed-off-by: Tomas Sedovic <tsedovic@redhat.com>
2377 Signed-off-by: Ian Main <imain@redhat.com>
2378
2379commit 489ed4cab4410a2cc727a904bc53dfdd3b19e270
2380Author: Zane Bitter <zbitter@redhat.com>
2381Date: Fri Sep 7 14:55:54 2012 +0200
2382
2383 Add a string representation for identifiers
2384
2385 This makes debugging in unit tests a lot easier.
2386
2387 Change-Id: I320cdf754e405377abfeb61496b017809d25d719
2388 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2389
2390commit 48bac6ac6f4d6c5a90f2662c0f29427ffebccda7
2391Author: Zane Bitter <zbitter@redhat.com>
2392Date: Fri Sep 7 14:57:13 2012 +0200
2393
2394 Add unit tests for EngineManager create/update/delete_stack
2395
2396 Change-Id: I25aeb43ea3f5a9426b8f742a605b9699dc2b9851
2397 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2398
2399commit 4793a68e3abb6f2e02ec8037d573f93c287ca985
2400Author: Zane Bitter <zbitter@redhat.com>
2401Date: Fri Sep 7 14:54:55 2012 +0200
2402
2403 Fix update_stack call in EngineManager
2404
2405 This was broken by 38f886947c91ebf610ab2972649a06bec630746b
2406
2407 Change-Id: I134bee2df35d6b025f0ac88334ab30a9a22c7922
2408 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2409
2410commit 55eb1746aa3fcf3c7ca85cb67d8ee09585773be9
2411Author: Zane Bitter <zbitter@redhat.com>
2412Date: Fri Sep 7 15:09:54 2012 +0200
2413
2414 Reorganise etc directory for easier installation
2415
2416 This also means that the install script will install bash-completion for
2417 heat.
2418
2419 Change-Id: Ib60346c72ce6277951cb51952e359f97be20a1be
2420 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2421
2422commit a44519774a18cc86a6ede537c14bb7214b1aadc6
2423Merge: be128a8 e88e9e5
2424Author: Jenkins <jenkins@review.openstack.org>
2425Date: Fri Sep 7 03:58:50 2012 +0000
2426
2427 Merge "Switch to keystone service_type=orchestration."
2428
2429commit be128a81c61d6df9b60682cfa9ee48ba69f0ebc7
2430Author: Angus Salkeld <asalkeld@redhat.com>
2431Date: Fri Sep 7 13:12:27 2012 +1000
2432
2433 Delete unused heat-engine-paste.ini
2434
2435 Change-Id: I4c8d5b2d98634aa4d711d3fe8816891476645548
2436 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2437
2438commit ae0b853499296763dae77aa5c1e4c22225674489
2439Author: Angus Salkeld <asalkeld@redhat.com>
2440Date: Fri Sep 7 10:12:29 2012 +1000
2441
2442 Make sure the properties are defined in all cases.
2443
2444 fixes #194
2445
2446 Change-Id: I994283734d551f81143e7f5de50da0180a277119
2447 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2448
2449commit 408ba2172deee7d775d37f22e9f7f377682940fa
2450Author: Steven Dake <sdake@redhat.com>
2451Date: Thu Sep 6 15:04:03 2012 -0700
2452
2453 Add test case for WordPress_With_LB.template
2454
2455 Change-Id: I324da126b5a775a00b97d868cbd347dd65cb16aa
2456 Signed-off-by: Steven Dake <sdake@redhat.com>
2457
2458commit 245a13f8f3d514c4e4ed59fce0d1920727a230bb
2459Merge: 3b27b1d 2f9a131
2460Author: Jenkins <jenkins@review.openstack.org>
2461Date: Thu Sep 6 21:50:36 2012 +0000
2462
2463 Merge "Rename heat-api to heat-api-cfn"
2464
2465commit 3b27b1d6b1c4739b8d456703542ec8182ce12277
2466Author: Steven Dake <sdake@redhat.com>
2467Date: Thu Sep 6 13:27:50 2012 -0700
2468
2469 Add a Wordpress+MySQL composed instance functional test case
2470
2471 Change-Id: I6a905b186be59c929e530519414e46d222b4ea08
2472 Signed-off-by: Steven Dake <sdake@redhat.com>
2473
2474commit 882ef5228eb0835ee6e3a434e6ff6896afb05e2a
2475Merge: 248663b 78b7127
2476Author: Jenkins <jenkins@review.openstack.org>
2477Date: Thu Sep 6 18:24:39 2012 +0000
2478
2479 Merge "Add EBS test."
2480
2481commit 78b712741942713692c64a306c0b10ca7fae3206
2482Author: Ian Main <imain@redhat.com>
2483Date: Thu Sep 6 11:10:48 2012 -0700
2484
2485 Add EBS test.
2486
2487 Single wordpress EBS functional test.
2488
2489 Change-Id: I3a3e53b418a38a2bb8573d7abb16c9c7fe8837ca
2490 Signed-off-by: Ian Main <imain@redhat.com>
2491
2492commit 248663b0670ad75ff738ad2dc816650cf7e182cc
2493Author: Steven Hardy <shardy@redhat.com>
2494Date: Thu Sep 6 17:51:10 2012 +0100
2495
2496 heat tests : new wordpress EBS_EIP functional test
2497
2498 Add new functional test for the
2499 WordPress_Single_Instance_With_EBS_EIP template
2500
2501 Fixes #209
2502
2503 Change-Id: I800cbe21ef42611f93644e6a0c60b732af663025
2504 Signed-off-by: Steven Hardy <shardy@redhat.com>
2505
2506commit b98f402fa7ca977769de09a6cc200ee9f928bc6c
2507Author: Ian Main <imain@redhat.com>
2508Date: Thu Sep 6 09:40:42 2012 -0700
2509
2510 Forgot commas, doh!
2511
2512 I had this in and tested but forgot to put commas in after update.
2513
2514 Change-Id: I7fbcacea0a4ab40f1e6b6e016fd5940ba8432c26
2515 Signed-off-by: Ian Main <imain@redhat.com>
2516
2517commit c805d065a1f99b280093c1a37cb91c1c6815e280
2518Author: Ian Main <imain@redhat.com>
2519Date: Thu Sep 6 08:27:45 2012 -0700
2520
2521 More EBS fixes.
2522
2523 Single instance with EBS apparently needs an httpd restart in order to
2524 keep talking to mysql after we change the partition. Also change other
2525 EBS templates to use vdc.
2526
2527 Change-Id: I180cca2166a0210d5d8dd3e0aea111ea625b865a
2528 Signed-off-by: Ian Main <imain@redhat.com>
2529
2530commit 2f9a1310e3d7e1f14ed1987b1371a2d693833481
2531Author: Zane Bitter <zbitter@redhat.com>
2532Date: Thu Aug 30 13:32:47 2012 +0200
2533
2534 Rename heat-api to heat-api-cfn
2535
2536 The previous heat-api is, in fact, a CloudFormation-compatible API. Rename
2537 it to heat-api-cfn, analogous to how the EC2 API in Nova is named
2538 nova-api-ec2.
2539
2540 Change-Id: I9759f10cee6a60cdc9cb917966eb9fb95a618f85
2541 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2542
2543commit 0706efc6028d06307945f1853c5ff45c57acc384
2544Author: Steven Hardy <shardy@redhat.com>
2545Date: Thu Sep 6 14:32:14 2012 +0100
2546
2547 heat templates : EBS templates, attach volume to vdc
2548
2549 Fix Single_Instance_With_EBS templates, need the EBS
2550 disk to attach to vdc not vdb which is used for the
2551 ephemeral disk (fix from imain)
2552
2553 Fixes #185
2554
2555 Change-Id: I47d1b640d25c0f53dd4535e4bd73846d01f4fc86
2556 Signed-off-by: Steven Hardy <shardy@redhat.com>
2557
2558commit 809ad01ec7a9e0084e84f541090eb4449186509a
2559Author: Steven Hardy <shardy@redhat.com>
2560Date: Thu Sep 6 11:41:15 2012 +0100
2561
2562 heat tests : bugfix FuncUtils check StackId not StackName
2563
2564 CreateStack response no longer contains StackName, so
2565 we need to parse the StackId and extract the name from
2566 the new ARN format
2567
2568 Change-Id: If55ff286c98e8396a14fa4ee2b08622faa680a03
2569 Signed-off-by: Steven Hardy <shardy@redhat.com>
2570
2571commit 4c26639378381028af5c096885051997f34c7fed
2572Author: Steven Hardy <shardy@redhat.com>
2573Date: Thu Sep 6 11:01:10 2012 +0100
2574
2575 heat templates : Add default LinuxDistribution parameter
2576
2577 Add default value to LinuxDistribution template parameter
2578 for MySQL_Single_Instance.template
2579
2580 Change-Id: I6431b717dee700f9db588ddbaf58511d0a3b107c
2581 Signed-off-by: Steven Hardy <shardy@redhat.com>
2582
2583commit 24db4e2086b5965b14d4a197198174d45d742ed5
2584Author: Zane Bitter <zbitter@redhat.com>
2585Date: Thu Sep 6 12:37:24 2012 +0200
2586
2587 Fix identify_stack call
2588
2589 It needs to return a dictionary in order for the result to be converted to
2590 JSON.
2591
2592 Change-Id: Ieef360fd6872624325470fab626d371ed28535e6
2593 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2594
2595commit 18bc3baf15849ed9482020720ab0906f13b46069
2596Merge: 585afae b1696fb
2597Author: Jenkins <jenkins@review.openstack.org>
2598Date: Thu Sep 6 04:13:49 2012 +0000
2599
2600 Merge "Add a newline to user data injection."
2601
2602commit 585afae452922efe4f2238615add9d76719fb7f0
2603Author: Jeff Peeler <jpeeler@redhat.com>
2604Date: Wed Sep 5 22:47:18 2012 -0400
2605
2606 Modify to use systemctl and move func_utils outside of setUp
2607
2608 Change-Id: I420991fa4e881f6f9fadd0add02a9d1493240dfc
2609 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2610
2611commit b1696fb1b0be8e6e2ce154d748ed25289a216125
2612Author: Ian Main <imain@redhat.com>
2613Date: Wed Sep 5 19:00:54 2012 -0700
2614
2615 Add a newline to user data injection.
2616
2617 If no newline is present at the end of the user-data section of the
2618 template, the addition of the touch command will cause the last
2619 line to break.
2620
2621 Change-Id: I15ba402f83f6fba03f7d0455a63a5dc03480973d
2622 Signed-off-by: Ian Main <imain@redhat.com>
2623
2624commit 5655589895def95709d345509db95a2cc5e1ff7b
2625Author: Angus Salkeld <asalkeld@redhat.com>
2626Date: Thu Aug 30 11:41:25 2012 +1000
2627
2628 Fix pep8 warning
2629
2630 Change-Id: Ia0b4336e7e861fefc7afebc99a3c6ddf48841d71
2631 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2632
2633commit 38f886947c91ebf610ab2972649a06bec630746b
2634Author: Zane Bitter <zbitter@redhat.com>
2635Date: Wed Sep 5 21:51:25 2012 +0200
2636
2637 Support lookup of stacks by name or ARN
2638
2639 Previously stacks could only be referenced by name. Now, use the canonical
2640 stack identifier to act on them. The identifier can be obtained from the
2641 RPC API by looking it up with identify_stack. In the AWS API, the user
2642 can pass an ARN that is converted into an identifier.
2643
2644 Change-Id: I29309d12e522ed301c3f6269df5d1d14382b024b
2645 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2646
2647commit 052a6a431144f8d249c562e8a633e3e0afea12d5
2648Author: Zane Bitter <zbitter@redhat.com>
2649Date: Wed Sep 5 21:51:25 2012 +0200
2650
2651 Add an identify_stack RPC call
2652
2653 This call converts a stack name into a fully-qualified stack identifier.
2654
2655 This allows us to, e.g., add support for keeping deleted stacks around in
2656 the database while still allowing stack names to be reused, since the
2657 deleted stacks can be referenced using this ID.
2658
2659 Change-Id: Ide19841a92a25d2f6172f19c2627d24ab6d2fd63
2660 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2661
2662commit e8b464dabfd95c8ce7c90c72cb5132e7140062f7
2663Author: Zane Bitter <zbitter@redhat.com>
2664Date: Wed Sep 5 21:51:25 2012 +0200
2665
2666 Report StackId in ARN format
2667
2668 In the RPC API, return a full stack identifier instead of just the database
2669 ID of a stack. In the AWS API, convert this to an ARN for the user.
2670
2671 Change-Id: I5c3ede4885c4ac5801cfef49e05695f3d13622da
2672 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2673
2674commit 4465694e0d0e20ccc6383a8cd406f2df38de00ae
2675Author: Zane Bitter <zbitter@redhat.com>
2676Date: Wed Sep 5 21:51:25 2012 +0200
2677
2678 Create a unique identifier for stacks
2679
2680 Change-Id: I1517502a2a5d9a96803565297315e7b276f2e974
2681 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2682
2683commit 8e1d4ef2100c0960d634f5bd848d62fab132a4bc
2684Author: Zane Bitter <zbitter@redhat.com>
2685Date: Wed Sep 5 21:51:25 2012 +0200
2686
2687 Use assertEqual() instead of assert_()
2688
2689 assertEqual(x, y) reports helpful error messages, unlike assert_(x == y)
2690 which reports only that False is not True.
2691
2692 Change-Id: Idbea59dc4dbbe4ac00bad6f358896fbc9401acab
2693 Signed-off-by: Zane Bitter <zbitter@redhat.com>
2694
2695commit 9fecadca6c96fa33e697df833e2f170f956b1409
2696Author: Steven Hardy <shardy@redhat.com>
2697Date: Wed Sep 5 16:26:27 2012 +0100
2698
2699 heat tests : add functional test for Wordpress RDS
2700
2701 Add functional test for WordPress_With_RDS template
2702
2703 Fixes: #215
2704
2705 Change-Id: I0613c40e218acaab987a2b0e0df7737cb6f6b6b3
2706 Signed-off-by: Steven Hardy <shardy@redhat.com>
2707
2708commit ab6817ea3601ab211696bcf8635596a58e4585c0
2709Author: Steven Hardy <shardy@redhat.com>
2710Date: Wed Sep 5 15:13:59 2012 +0100
2711
2712 heat tests : convert functional test to class
2713
2714 Covert test_WordPress_Single_Instance_With_EIP to be nose
2715 unittest.TestCase subclass, so run_tests.sh outputs a more
2716 informative test identifier
2717
2718 Change-Id: I21968b4ae9e0e8f7bc1ef9d3f6db0433f106826a
2719 Signed-off-by: Steven Hardy <shardy@redhat.com>
2720
2721commit 4a0314522f63c96ad0b64df818a347da9b9dda7f
2722Author: Steven Hardy <shardy@redhat.com>
2723Date: Wed Sep 5 14:39:44 2012 +0100
2724
2725 heat tests : update WordPress_Single_Instance_With_EIP
2726
2727 Update functional test WordPress_Single_Instance_With_EIP
2728 to use the new verify_wordpress which checks that the wordpress
2729 homepage specified in the stack output looks OK
2730
2731 Change-Id: I6b839e95f2c9fc8d89a22c062c393d6f14fb5df9
2732 Signed-off-by: Steven Hardy <shardy@redhat.com>
2733
2734commit 98485bdcf4a32c32b4b50b13155eb50e25baf934
2735Author: Steven Hardy <shardy@redhat.com>
2736Date: Wed Sep 5 14:20:19 2012 +0100
2737
2738 heat tests : convert functional test to testcase class
2739
2740 Covert test_WordPress_Single_Instance to be nose unittest.TestCase
2741 subclass, so run_tests.sh outputs a more informative test identifier
2742
2743 Change-Id: I19fe8565d99253cabcbc93d2f003c69d953be615
2744 Signed-off-by: Steven Hardy <shardy@redhat.com>
2745
2746commit d20543e306136393f4807ebdebc76e921e630329
2747Author: Steven Hardy <shardy@redhat.com>
2748Date: Wed Sep 5 10:47:46 2012 +0100
2749
2750 heat tests : FuncUtils use heat_client in create_stack
2751
2752 Use heat_client (not subprocess) to create the stack,
2753 as this will allow easier testing of the boto_client
2754 library and easier checking of create_stack result
2755
2756 Change-Id: Ic3f710ec2e467bcd2fde1a2451709d444b89aca0
2757 Signed-off-by: Steven Hardy <shardy@redhat.com>
2758
2759commit e0db51bbd29b36944362cf325daab234e24ee2af
2760Author: Steven Hardy <shardy@redhat.com>
2761Date: Tue Sep 4 19:03:24 2012 +0100
2762
2763 heat tests : FuncUtils cleanup use heat_client
2764
2765 Use heat_client calls (not subprocess) in cleanup
2766
2767 Change-Id: Ie622d22af66ce00272df975823a74a8fa7bd25c8
2768 Signed-off-by: Steven Hardy <shardy@redhat.com>
2769
2770commit 750720e5a0da5a998a8cb30fa62eeb2a81d7fe1b
2771Merge: fd38656 fc25353
2772Author: Jenkins <jenkins@review.openstack.org>
2773Date: Wed Sep 5 12:33:29 2012 +0000
2774
2775 Merge "Add functional test for HA template"
2776
2777commit e88e9e526729f153884b6d8a5ac7ac9d8bae709d
2778Author: Steve Baker <steve@stevebaker.org>
2779Date: Wed Sep 5 08:16:55 2012 +1200
2780
2781 Switch to keystone service_type=orchestration.
2782
2783 This is to match the service type configured in devstack heat.
2784
2785commit fd38656097f56b51d25e4e3641936d6b3f7331dd
2786Author: Steven Hardy <shardy@redhat.com>
2787Date: Tue Sep 4 17:25:29 2012 +0100
2788
2789 heat tests : test_WordPress_Single_Instance.py update
2790
2791 Update test_WordPress_Single_Instance.py to use the new
2792 verify_wordpress which checks that the wordpress homepage
2793 specified in the stack output looks OK
2794
2795 Change-Id: I9c2c35215ac97f98e62bf1787db3d8645b50c762
2796 Signed-off-by: Steven Hardy <shardy@redhat.com>
2797
2798commit 94493237040f957ad2bd4186886d46309c2de88d
2799Author: Steven Hardy <shardy@redhat.com>
2800Date: Tue Sep 4 17:18:37 2012 +0100
2801
2802 heat tests : Add verify_wordpress helper function
2803
2804 Functional tests : Add a new VerifyStack class and retry decorator,
2805 which allows easy implementation of tests for stack successful creation.
2806
2807 Initial simple verify_wordpress function scrapes a wordpress homepage
2808 and looks for a known string in the html result.
2809
2810 Change-Id: I32bd4bea04228c4f393894c65d040d55c65ddbca
2811 Signed-off-by: Steven Hardy <shardy@redhat.com>
2812
2813commit 44bb725f41c6690dc13e3a350a5675469f24750a
2814Author: Steven Hardy <shardy@redhat.com>
2815Date: Tue Sep 4 17:08:34 2012 +0100
2816
2817 heat tests : FuncUtils add get_stack_output function
2818
2819 Add a function to FuncUtils which allows us to easily parse
2820 the stack outputs defined in a template
2821
2822 Change-Id: Ie1891cb11f54d019315350d449bdc5e22e340458
2823 Signed-off-by: Steven Hardy <shardy@redhat.com>
2824
2825commit 31a76f2ee7d3b3868179abc6e763f15de0fa5b73
2826Merge: 1c485f9 f43507a
2827Author: Jenkins <jenkins@review.openstack.org>
2828Date: Tue Sep 4 16:02:21 2012 +0000
2829
2830 Merge "heat tools : add qpid-cpp-server-daemon to tools/openstack"
2831
2832commit 1c485f9ae130fc37e993deafb0ad8fe1935d1cba
2833Author: Tomas Sedovic <tomas@sedovic.cz>
2834Date: Mon Sep 3 16:59:57 2012 +0200
2835
2836 Fix support for eventlet 0.9.16
2837
2838 The changes in c7059ae54ef2712e7599a6de30a631d3a0bb6bd2 were not enough
2839 to provide compatibility with 0.9.16 and 0.9.17.ith 0.9.16 and 0.9.17.
2840
2841 Change-Id: Id1ddc988443e162f1c835505b619b7b45e86578d
2842 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
2843
2844commit f43507a1a00b53a3372031db224598e7cb3f19a9
2845Author: Steven Hardy <shardy@redhat.com>
2846Date: Mon Sep 3 14:04:31 2012 +0100
2847
2848 heat tools : add qpid-cpp-server-daemon to tools/openstack
2849
2850 As of qpid-cpp-server-0.16-5 the service scripts have been
2851 moved to a separate qpid-cpp-server-daemon package, so add
2852 this to the list of required packages for openstack install
2853
2854 Fixes : #219
2855
2856 Change-Id: I6c8b53a69953c543df7cd68637e4ff5e4ca495ad
2857 Signed-off-by: Steven Hardy <shardy@redhat.com>
2858
2859commit fc253535f2ef3cc256b8dd6912b65ac136eafb9c
2860Author: Angus Salkeld <asalkeld@redhat.com>
2861Date: Tue Aug 28 13:16:32 2012 +1000
2862
2863 Add functional test for HA template
2864
2865 Change-Id: I6d3304b807492e7041264402d161365447fa6ce1
2866 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2867
2868commit 1ce586c96cbacc4bd60ea5dab7ed62b0cca7d3e3
2869Author: Steven Hardy <shardy@redhat.com>
2870Date: Fri Aug 31 13:49:40 2012 +0100
2871
2872 heat : run_tests.sh allow easier test selection
2873
2874 Allow each category of test (unit/funtional/pep) to be
2875 more easily selected via CLI options, default with no args
2876 remains unit+pep8
2877
2878 Change-Id: I85bbe0afe6170559a42f8c1619db24df16c6d9b0
2879 Signed-off-by: Steven Hardy <shardy@redhat.com>
2880
2881commit 51dc63bb07dd63ab900759f9bf2217b56023a598
2882Author: Steven Hardy <shardy@redhat.com>
2883Date: Wed Aug 22 10:30:46 2012 +0100
2884
2885 heat cli : initial heat-watch cloudwatch API client
2886
2887 Implements new client to demonstrate new Cloudwatch API
2888
2889 Currently only provides options for DescribeAlarms,
2890 ListMetrics, PutMetricData and SetAlarmState
2891
2892 Signed-off-by: Steven Hardy <shardy@redhat.com>
2893 Change-Id: I3963a07694cec9af96d9d7369cc7d18d629fcd2d
2894
2895commit 311092a29468e085b89ed6f07a9e593bbe6b0f37
2896Author: Steven Hardy <shardy@redhat.com>
2897Date: Wed Aug 22 10:30:03 2012 +0100
2898
2899 heat API : Implement initial CloudWatch API
2900
2901 Initial AWS-compatible CloudWatch API implementation
2902 Supports the following API actions:
2903 - DescribeAlarms : describe alarm/watch details
2904 - ListMetrics : List watch metric datapoints
2905 - PutMetricData : Create metric datapoint
2906 - SetAlarmState : temporarily set alarm state
2907
2908 Skeleton implementation of all other TODO actions which
2909 returns HeatAPINotImplementedError.
2910
2911 Only basic filtering parameters supported at this time.
2912
2913 Signed-off-by: Steven Hardy <shardy@redhat.com>
2914 Change-Id: I8628854a135fff07b675e85150ea0b50184ed2e1
2915
2916commit 7a382d5ff1390aae91f5d4df633e4cf7e2e39006
2917Merge: efe6b81 d656978
2918Author: Jenkins <jenkins@review.openstack.org>
2919Date: Fri Aug 31 15:25:47 2012 +0000
2920
2921 Merge "Add new functional test for WordPress_Single_Instance_With_EIP"
2922
2923commit efe6b8149658019dcb29e6ae7c330c94488bc39f
2924Merge: a84c2ce d7bd513
2925Author: Jenkins <jenkins@review.openstack.org>
2926Date: Fri Aug 31 15:24:36 2012 +0000
2927
2928 Merge "Connect to heat client, add accessor method, and fix ip check"
2929
2930commit a84c2cefc3e5a3f937c4cb40066a3dc489dbe4bf
2931Merge: ab39d2a 18120be
2932Author: Jenkins <jenkins@review.openstack.org>
2933Date: Fri Aug 31 15:23:30 2012 +0000
2934
2935 Merge "Add new methods to get access to nova/glance clients"
2936
2937commit ab39d2a0dd0b3668048aad7bb491d08577df56df
2938Merge: 4772e69 384a865
2939Author: Jenkins <jenkins@review.openstack.org>
2940Date: Fri Aug 31 15:22:08 2012 +0000
2941
2942 Merge "Make sure the functional test always cleans up"
2943
2944commit 4772e69b3895a737521eadb741f774680d7a7b27
2945Author: Steven Hardy <shardy@redhat.com>
2946Date: Thu Aug 30 13:56:47 2012 +0100
2947
2948 heat engine : Add set_watch_state engine RPC action
2949
2950 Add set_watch_state which allows a watch/alarm state
2951 to be temporarily overridden, simplified asynchronous
2952 version following review/discussion
2953
2954 Change-Id: I9f1424007fc16d1cec2f7dc504600455fe5ab3bb
2955 Signed-off-by: Steven Hardy <shardy@redhat.com>
2956
2957commit bea7e3faadc8123f1993f69ce979a96ec17f3d66
2958Author: Steven Hardy <shardy@redhat.com>
2959Date: Wed Aug 29 15:11:06 2012 +0100
2960
2961 heat engine : Expose valid watch states via engine.api
2962
2963 Expose valid watch states via engine.api
2964
2965 Change-Id: I26a1d8939ce75a0be88e646858f3f3b4feb5e8d0
2966 Signed-off-by: Steven Hardy <shardy@redhat.com>
2967
2968commit d656978e96489d7ce6cd0d91f90807ff2dc1f1ef
2969Author: Jeff Peeler <jpeeler@redhat.com>
2970Date: Fri Aug 31 01:57:37 2012 -0400
2971
2972 Add new functional test for WordPress_Single_Instance_With_EIP
2973
2974 Change-Id: I483c5c32b9c29dc966bd154d760108292fcdbf5f
2975 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2976
2977commit d7bd513b77d1dee5bd876aa1f27bacb281a4cdab
2978Author: Jeff Peeler <jpeeler@redhat.com>
2979Date: Fri Aug 31 01:19:39 2012 -0400
2980
2981 Connect to heat client, add accessor method, and fix ip check
2982
2983 Search server list for IP based on the PhysicalResourceId, not an arbitrary
2984 server name. Wait until stack create event before obtaining value.
2985
2986 Change-Id: Ie9e3df5369132dbf668f8b42cd10a7f2faec1922
2987 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2988
2989commit 18120bed7f69674676a1cf554abf319f1285864c
2990Author: Jeff Peeler <jpeeler@redhat.com>
2991Date: Thu Aug 30 11:38:09 2012 -0400
2992
2993 Add new methods to get access to nova/glance clients
2994
2995 Change-Id: I5be8d7d57d021635422035742f59acdaeb8b409a
2996 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2997
2998commit 384a865bcb18dc62a9f719b2c94ea7f4301fbbd1
2999Author: Tomas Sedovic <tomas@sedovic.cz>
3000Date: Thu Aug 30 15:44:41 2012 +0200
3001
3002 Make sure the functional test always cleans up
3003
3004 Change-Id: I740f676452905d3aceb3d2df37e4c4cdb6b81d7e
3005 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
3006
3007commit 119d4a06f3101fed4b562d19729ac4cdbe4341e8
3008Author: Steven Hardy <shardy@redhat.com>
3009Date: Tue Aug 28 19:25:28 2012 +0100
3010
3011 heat API : add get_param_value to API utils
3012
3013 Add get_param_value helper to common aws API utils
3014
3015 Change-Id: I69ab3ed1e34f8691457f3d986b4af06b1d381039
3016 Signed-off-by: Steven Hardy <shardy@redhat.com>
3017
3018commit 43e558ff5ebdaa2880d416857ab3573b5d0c002b
3019Author: Jeff Peeler <jpeeler@redhat.com>
3020Date: Wed Aug 29 13:30:47 2012 -0400
3021
3022 Add new arguments to run_tests
3023
3024 Execute unit tests and pep8 by default. Allow tests to be chosen in a more
3025 additive fashion. Cleaned up unnecessary let statements and variable
3026 defines.
3027
3028 Change-Id: I40676c5d0deda7bd3abc4bdadfd404f5909c166e
3029 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
3030
3031commit 129f073e660b4fa690b0c81bf9d0d7bc0f930e34
3032Author: Zane Bitter <zbitter@redhat.com>
3033Date: Wed Aug 29 19:12:48 2012 +0200
3034
3035 Refactor reformat_dict_keys()
3036
3037 This way is a little more Pythonic.
3038
3039 Change-Id: Ib48d0e9b7e8a4ed6e220c645a29510c893e97419
3040 Signed-off-by: Zane Bitter <zbitter@redhat.com>
3041
3042commit 87df079624e4b1441e254db2b066f3b7e9b7fb87
3043Author: Zane Bitter <zbitter@redhat.com>
3044Date: Wed Aug 29 19:35:12 2012 +0200
3045
3046 Refactor extract_param_pairs()
3047
3048 Implement it in terms of the more general extract_param_list().
3049
3050 Change-Id: Ifbf0dd8205da87e707610c0b8cb0ca616d7b2e22
3051 Signed-off-by: Zane Bitter <zbitter@redhat.com>
3052
3053commit d2401dbaf1f1906d9d787dea18df7df3b9c08eec
3054Author: Zane Bitter <zbitter@redhat.com>
3055Date: Wed Aug 29 16:10:31 2012 +0200
3056
3057 Refactor extract_param_list()
3058
3059 Change-Id: Ia338c7c4a17af90885b1c83297d32a61d2177ecd
3060 Signed-off-by: Zane Bitter <zbitter@redhat.com>
3061
3062commit 590b70f50a123458ffe684f5fc7642fdf8e47d75
3063Author: Jeff Peeler <jpeeler@redhat.com>
3064Date: Tue Aug 28 15:23:44 2012 -0400
3065
3066 Add link to RPM repository in getting started
3067
3068 Change-Id: I79fcc10b2594b977097d7d91022cbd50adcc9167
3069 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
3070
3071commit 7ff3bde24c40a94a1485d47d4a2865a5e018f358
3072Author: Steven Hardy <shardy@redhat.com>
3073Date: Thu Aug 23 18:21:07 2012 +0100
3074
3075 heat API : Add api.aws.utils.extract_param_list
3076
3077 Add new common helper function which extracts
3078 AWS parameter lists
3079
3080 Change-Id: Ic77ff6014a4f39d4fb5d59a1391f87cdd94f0f7f
3081 Signed-off-by: Steven Hardy <shardy@redhat.com>
3082
3083commit 24d38e0a6715950f86afd194ab66efd8b5ad47be
3084Author: Steven Hardy <shardy@redhat.com>
3085Date: Tue Aug 28 09:35:20 2012 +0100
3086
3087 heat tests : rename test_stacks
3088
3089 Rename test_stacks.py to test_engine_manager.py
3090 as this better reflects what is being tested
3091
3092 Change-Id: I612351286fbb008b2be3db7519f0a24ab9d2d8e2
3093 Signed-off-by: Steven Hardy <shardy@redhat.com>
3094
3095commit f591838a44af5c150be05cf593b16a912be2b244
3096Author: Steven Hardy <shardy@redhat.com>
3097Date: Tue Aug 28 09:33:01 2012 +0100
3098
3099 heat tests : add test for new manager show_watch_metric method
3100
3101 Add unit tests for new manager show_watch_metric action
3102
3103 Change-Id: Ie1b7c0a0e1eb5c7e5fad74674b1a9669bf7c9a1c
3104 Signed-off-by: Steven Hardy <shardy@redhat.com>
3105
3106commit e81fe17a2c8a95270d45aeb6f63979d02174cc67
3107Author: Steven Hardy <shardy@redhat.com>
3108Date: Fri Aug 24 16:33:19 2012 +0100
3109
3110 heat tests : add tests for new manager show_watch method
3111
3112 Add unit test for new show_watch engine action
3113
3114 Change-Id: I00153f258687e02837b901c399df51085bb34303
3115 Signed-off-by: Steven Hardy <shardy@redhat.com>
3116
3117commit 16ec0a357c64e0056269f4d3e56ffdff724e387f
3118Author: Steven Hardy <shardy@redhat.com>
3119Date: Fri Aug 24 16:30:39 2012 +0100
3120
3121 heat engine : bugfix show_watch, fix single-watch mode
3122
3123 When called with watch_name!=None we need to wrap the
3124 watch_rule_get response in a list
3125
3126 Change-Id: I83bbe816758767afd3eb49b090b0b652036cad60
3127 Signed-off-by: Steven Hardy <shardy@redhat.com>
3128
3129commit 4eb99bc37a6efd41ab36446a697af4e402874127
3130Author: Steven Hardy <shardy@redhat.com>
3131Date: Fri Aug 24 13:22:16 2012 +0100
3132
3133 heat tests : add new engine rpcapi unit tests
3134
3135 Add tests for new watch engine methods
3136
3137 Change-Id: Icbfc900d7578d7d0f8cd9024d8a5b57a9695c0a4
3138 Signed-off-by: Steven Hardy <shardy@redhat.com>
3139
3140commit cbf27b1ec8745a1040038516bcadbb095570d934
3141Author: Jeff Peeler <jpeeler@redhat.com>
3142Date: Mon Aug 27 16:33:59 2012 -0400
3143
3144 Add test-requires in RPM package list form
3145
3146 This is to allow automated installation of dependences since functional
3147 tests are not going to be run with packages from pip.
3148
3149 Change-Id: Ia9f74bc353bab79d7c78cb086210d8628d701387
3150 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
3151
3152commit 13a79650b9d9c4462a9049ab452dbacac6b33b78
3153Merge: 7ae4bab 16e8261
3154Author: Jenkins <jenkins@review.openstack.org>
3155Date: Mon Aug 27 14:46:51 2012 +0000
3156
3157 Merge "Functional test improvements"
3158
3159commit 7ae4bab7150c885738bfeac98f443da5dc93d321
3160Merge: 411ae60 e30d482
3161Author: Jenkins <jenkins@review.openstack.org>
3162Date: Mon Aug 27 09:54:20 2012 +0000
3163
3164 Merge "Fix the Timeout/Interval check in the LB."
3165
3166commit 411ae6039102096604238d6aa6286f9e4b4ff22d
3167Merge: 20345dc c7059ae
3168Author: Jenkins <jenkins@review.openstack.org>
3169Date: Mon Aug 27 08:35:23 2012 +0000
3170
3171 Merge "Set the max url length in eventlet 0.9.17"
3172
3173commit c7059ae54ef2712e7599a6de30a631d3a0bb6bd2
3174Author: Tomas Sedovic <tomas@sedovic.cz>
3175Date: Wed Aug 22 16:45:27 2012 +0200
3176
3177 Set the max url length in eventlet 0.9.17
3178
3179 The version with configurable url limit was released and packaged for
3180 Fedora 17.
3181
3182 The monkey-patch does not work on new eventlet.
3183
3184 ref #55
3185 fixes #197
3186
3187 Change-Id: I728cc3b0851261667bb9b07220c855bced1344a4
3188 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
3189
3190commit 16e82611d69702969a39111e4fdaa87440b8519b
3191Author: Jeff Peeler <jpeeler@redhat.com>
3192Date: Mon Aug 27 02:18:53 2012 -0400
3193
3194 Functional test improvements
3195
3196 -Move everything out of init so unit tests are not affected.
3197 -Make JEOS creation part of utils class, now tests can choose
3198 which JEOS to use.
3199 -Only attempt to create JEOS if a suitable one is not found in glance.
3200
3201 Change-Id: I162e7447ae1fed17855bdca8eba16ac7f952db01
3202 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
3203
3204commit e30d48231dafa3d73c2b6ea29d5ae434f10d7d0d
3205Author: Angus Salkeld <asalkeld@redhat.com>
3206Date: Mon Aug 27 15:09:06 2012 +1000
3207
3208 Fix the Timeout/Interval check in the LB.
3209
3210 http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/APIReference/API_HealthCheck.html
3211
3212 Fixes: #198
3213
3214 Change-Id: I3ec3e5a946e32695f3f9b0930b922837ab80ea66
3215 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
3216
3217commit 20345dc8c6338d3a90de4e3e9011c94d2327020e
3218Author: Angus Salkeld <asalkeld@redhat.com>
3219Date: Mon Aug 27 14:02:26 2012 +1000
3220
3221 Fix the way self.properties is checked for a value.
3222
3223 The following only checks if the key is in the properties, and
3224 all schema keys are, so it is not the way to check if a value
3225 has been set.
3226
3227 if 'DesiredCapacity' in self.properties:
3228 change to:
3229 if self.properties:
3230
3231 Fixes: #199
3232
3233 Change-Id: I6bcb3e74420031532dc249aafe85d5a428d0a80e
3234 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
3235
3236commit 5e41a1ee73f146204e80b0863362fa2eb049541a
3237Author: Steven Dake <sdake@redhat.com>
3238Date: Sun Aug 26 18:09:43 2012 -0700
3239
3240 Make RDS (mysql) wait until setup is finished before proceeding
3241
3242 It is possible a service dependent on RDS may issue commands to
3243 the RDS service before mysql has finished installing. Added
3244 a wait condition to force synchronization.
3245
3246 Change-Id: I6abf2d62e92d19945c587deeb61605df2c97ec85
3247 Signed-off-by: Steven Dake <sdake@redhat.com>
3248
3249commit 99bd84e03b83f16a27455e1feaec4d430553e1d7
3250Author: Steven Dake <sdake@redhat.com>
3251Date: Sun Aug 26 17:00:12 2012 -0700
3252
3253 Put selinux in permissive mode by default via a runcmd in cloudconfig
3254
3255 Change-Id: I7db02a967de9a3e85876901163f7611196a9429f
3256 Signed-off-by: Steven Dake <sdake@redhat.com>
3257
3258commit 89df904c50c483b307a8c6d116c970dab449d710
3259Author: Steven Hardy <shardy@redhat.com>
3260Date: Thu Aug 23 16:14:43 2012 +0100
3261
3262 heat API : make extract_user_params more generic
3263
3264 Make api.aws.utils.extract_user_params into a more
3265 generic aws-format-list-extraction function
3266
3267 Change-Id: If6811ea1a138ddff96542f983397852dfbd483fd
3268 Signed-off-by: Steven Hardy <shardy@redhat.com>
3269
3270commit 00527198c863dbbc407ba7aa56a5d430655f7000
3271Author: Steven Hardy <shardy@redhat.com>
3272Date: Wed Aug 22 14:11:52 2012 +0100
3273
3274 heat engine : Add show_watch_metric RPC action
3275
3276 Adds show_watch_metric, which allow alarm/watch
3277 metric data to be retrieved from the engine
3278
3279 Change-Id: Ie69691dbf781016e6262bbbabbe57f9c3396a5d5
3280 Signed-off-by: Steven Hardy <shardy@redhat.com>
3281
3282commit a7f4e34e5795973f89ddb83b8bdd322f8c734496
3283Author: Steven Hardy <shardy@redhat.com>
3284Date: Tue Aug 21 17:33:49 2012 +0100
3285
3286 heat engine : add show_watch RPC method
3287
3288 Add new show_watch RPC method, to allow retrieval
3289 of information related to watches for cloudwatch
3290
3291 Change-Id: Ib434c80cf6cfab7f2cba972d5316f0ed2bbcbf30
3292 Signed-off-by: Steven Hardy <shardy@redhat.com>
3293
3294commit 6b7c5356cbb87e0c5c8a7d35de40b0357f46c813
3295Merge: bb6e0b1 8ba6c8f
3296Author: Jenkins <jenkins@review.openstack.org>
3297Date: Thu Aug 23 23:09:22 2012 +0000
3298
3299 Merge "Split functional test into standalone and utility class"
3300
3301commit 8ba6c8ffe869a7f6db0321bbeeea200a0fb140c4
3302Author: Jeff Peeler <jpeeler@redhat.com>
3303Date: Tue Aug 21 16:26:41 2012 -0400
3304
3305 Split functional test into standalone and utility class
3306
3307 This allows functional tests to be written for each individual template.
3308 See the test_Wordpress_Single_Instance for an example, but the basic
3309 form to follow is:
3310
3311 import util
3312
3313 def test_template():
3314 func_utils = util.FuncUtils()
3315
3316 func_utils.create_stack(template, 'F17')
3317 func_utils.check_cfntools()
3318 func_utils.wait_for_provisioning()
3319 func_utils.check_user_data(template)
3320
3321 ssh = func_utils.get_ssh_client()
3322
3323 # test stuff here
3324
3325 func_utils.cleanup()
3326
3327 Functional test changes:
3328 Changed jeos creation to use new tool.
3329 Added distribution to heat stack creation.
3330 Improved IP parsing from glance.
3331 Improve SSH connection exception handling.
3332 Changed cfntools SHA check to match installed copy instead of locally.
3333 Fixed stack parsing to check correct file and handle user-data injection.
3334
3335 Clean up run_tests a little to make it clear default execution is on host.
3336 Add a short option for unit test running only (may be important due to not
3337 wanting to run functional tests locally).
3338
3339 Also added paramiko to test-requires.
3340
3341 Change-Id: Ib2ae1be32801cb0ee3d1937c4f82ab9f574b4591
3342 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
3343
3344commit bb6e0b11c6f4d0f185fdd9011daba526f4aff8fe
3345Author: Steven Hardy <shardy@redhat.com>
3346Date: Wed Aug 22 20:14:11 2012 +0100
3347
3348 heat DB : make watch_data_get_all work with no watch ID
3349
3350 Align watch_data_get_all with other "all" methods, and
3351 return all watch data without requiring an ID. We may
3352 also need by_id and by_name variants but this is more
3353 consistent and makes things easier for cloudwatch.
3354
3355 Change-Id: I09c90278349efc769ab7c719f686a1fd854b425a
3356 Signed-off-by: Steven Hardy <shardy@redhat.com>
3357
3358commit 9b14adc222c01f8a54c56bfe0b6658bd2968bda9
3359Author: Steven Hardy <shardy@redhat.com>
3360Date: Wed Aug 22 09:54:08 2012 +0100
3361
3362 heat API : Add HeatAPINotImplementedError exception
3363
3364 Add heat-specific HeatAPINotImplementedError, which
3365 allows us to return a sensible error to requests for
3366 API actions which have not yet been implemented
3367
3368 Change-Id: Ibaee8312e7e563d29801bd325d7638bca9efa622
3369 Signed-off-by: Steven Hardy <shardy@redhat.com>
3370
3371commit ecc5a408a33f83b428a77376000c0b6f409393cd
3372Author: Steven Hardy <shardy@redhat.com>
3373Date: Tue Aug 21 11:52:24 2012 +0100
3374
3375 heat API : Move aws api common code into aws/utils.py
3376
3377 Move heat-api AWS common utility functions into a new
3378 utils.py, so these functions can be reused by cloudwatch
3379
3380 Change-Id: I030d796b1048ffc4e7c40f7c8760121ab2854733
3381 Signed-off-by: Steven Hardy <shardy@redhat.com>
3382
3383commit 1b6c2dad19a1e0d8d34c9687a61892d12f9cbedb
3384Author: Steven Hardy <shardy@redhat.com>
3385Date: Tue Aug 21 11:14:18 2012 +0100
3386
3387 heat API : move remote_error to common exception.py
3388
3389 Move API exception-mapping function to the common exception.py
3390
3391 Change-Id: If64511be0d77d9c9f9e610bbb0564d57f4530499
3392 Signed-off-by: Steven Hardy <shardy@redhat.com>
3393
3394commit 9ccf18433e421bb769b77ce0991a3ffca05adc36
3395Author: Steven Hardy <shardy@redhat.com>
3396Date: Tue Aug 21 11:01:25 2012 +0100
3397
3398 heat API : move aws common files from api/v1 to api/aws
3399
3400 Move aws api common files to common directory
3401 (so they can be more easily reused by cloudwatch)
3402
3403 Change-Id: I1a455ef11226dd960503bac5d79fa5c28607a1f6
3404 Signed-off-by: Steven Hardy <shardy@redhat.com>
3405
3406commit d7abb038c5fc5e6f597d78f80f6a8a186c82ac9f
3407Author: Steven Hardy <shardy@redhat.com>
3408Date: Tue Aug 21 10:48:33 2012 +0100
3409
3410 heat engine : Fix engine.api variable shadowing
3411
3412 Fix weird-looking/confusing variable shadowing in
3413 the engine api
3414
3415 Change-Id: Ic7aca18ef877149bbdb49ee33abc62241706a3f3
3416 Signed-off-by: Steven Hardy <shardy@redhat.com>
3417
3418commit f48c114a4fa95a77f8bd00b399871d6c2e554b05
3419Author: Steven Hardy <shardy@redhat.com>
3420Date: Mon Aug 20 13:01:23 2012 +0100
3421
3422 heat tools : glance-jeos-add-from-github avoid duplicates
3423
3424 Avoid adding images to glance when they already exist
3425
3426 Change-Id: Ia914cc3015fcdcc0c12e3773985298fce6872751
3427 Signed-off-by: Steven Hardy <shardy@redhat.com>
3428
3429commit f521e53fa34b92b5ef75adbf897b558834c24d4b
3430Author: Steven Hardy <shardy@redhat.com>
3431Date: Mon Aug 20 12:46:23 2012 +0100
3432
3433 heat tools : glance-jeos-add-from-github scrape image names
3434
3435 Scrape image names from github index page to avoid hard-coded
3436 names in the script
3437
3438 Change-Id: Ifca85b71a1c20d436486a80cc5e9347a7791e5fa
3439 Signed-off-by: Steven Hardy <shardy@redhat.com>
3440
3441commit 8b5756535a3a21252d416af578a5bc07308b6309
3442Author: Jeff Peeler <jpeeler@redhat.com>
3443Date: Fri Aug 17 15:36:28 2012 -0400
3444
3445 Inject command into userdata
3446
3447 The injected command touches /var/lib/cloud/instance/provision-finished
3448 so it is easily determinable if provision has been completed.
3449
3450 Change-Id: Ib5b93f7bd14f533af41182ffdab6a029a3b9e13a
3451 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
3452
3453commit b4c6513a76bff8989d74cb658aaaf6f61c152188
3454Author: Steven Dake <sdake@redhat.com>
3455Date: Fri Aug 17 10:11:21 2012 -0700
3456
3457 Add a tool to register prebuilt JEOS images into glance from github
3458
3459 Change-Id: Idb02e892f390516557c9cce3ca0fbab7109d33e1
3460 Signed-off-by: Steven Dake <sdake@redhat.com>
3461
3462commit d1a6e3465de21a6c09cca8c5a09d7506332ff899
3463Author: Steven Hardy <shardy@redhat.com>
3464Date: Wed Aug 15 17:11:56 2012 +0100
3465
3466 heat template : Align two Openshift template varieties
3467
3468 Align the build-from-scratch Openshift.template with the
3469 now-working OpenShift_Prebuilt_JEOS.template
3470
3471 Change-Id: I8d164b0837b4cb28a6ce4ad1573b19f8daf68b8a
3472 Signed-off-by: Steven Hardy <shardy@redhat.com>
3473
3474commit 87b914cf7074fb0fd23ba33768390850162011ac
3475Author: Steven Dake <sdake@redhat.com>
3476Date: Thu Aug 16 10:50:05 2012 -0700
3477
3478 Use cached keystoneclient
3479
3480 Change-Id: I787edd10bcc29746a08878fd371204f81f0400db
3481 Signed-off-by: Steven Dake <sdake@redhat.com>
3482
3483commit a9252c9b0583b61579c123d4c31b790d4d3ef07c
3484Author: Steven Hardy <shardy@redhat.com>
3485Date: Wed Aug 15 15:16:23 2012 +0100
3486
3487 heat cli : Workaround inconsistent boto return type
3488
3489 Work around the inconsistent boto return type for DescribeStackResource
3490 action, upstream patch pending but not yet merged, so this provides
3491 a simple workaround
3492
3493 Fixes #175
3494
3495 Change-Id: I026ec7b1845fb591a47a5fb12cfcb25705b33909
3496 Signed-off-by: Steven Hardy <shardy@redhat.com>
3497
3498commit 5aa80047b65488fa02f23818ca9132e523cb8693
3499Author: Steven Hardy <shardy@redhat.com>
3500Date: Wed Aug 15 14:09:54 2012 +0100
3501
3502 heat cli : Rework to separate cli tool from client-API wrappers
3503
3504 Rework to remove duplication between heat and heat-boto, and to
3505 provide better separation between the CLI tool logic and the
3506 underlying client API (should allow easier porting to new ReST API)
3507
3508 Ref #175 (partially fixes)
3509 Fixes #192
3510
3511 Change-Id: Ib1f821667c40c78770a345204af923163daeffae
3512 Signed-off-by: Steven Hardy <shardy@redhat.com>
3513
3514commit 619239527f7f5ae1bea30cba3d3bc453238b14bf
3515Author: Steven Hardy <shardy@redhat.com>
3516Date: Tue Aug 14 17:27:16 2012 +0100
3517
3518 heat cli : remove some duplication from parameter formatting
3519
3520 Cleanup - bin/heat move some duplicated code into a function
3521
3522 Change-Id: Ib74077c557a2b8d7c640ee1686237bb5223b2a85
3523 Signed-off-by: Steven Hardy <shardy@redhat.com>
3524
3525commit c2382317de4693ee366de99938899ed00685b8ec
3526Author: Steven Hardy <shardy@redhat.com>
3527Date: Tue Aug 14 17:15:08 2012 +0100
3528
3529 heat cli : remove unused paths from heat cli tool
3530
3531 Cleanup the the jeos and cfntools paths which are no longer needed
3532
3533 Change-Id: Idc7d37446a0072e38369939cbd3fd5fb374c15c9
3534 Signed-off-by: Steven Hardy <shardy@redhat.com>
3535
3536commit 08836e32499274c453fbc0a079af6eb197e3965d
3537Author: Steven Dake <sdake@redhat.com>
3538Date: Tue Aug 14 09:07:44 2012 -0700
3539
3540 Update Getting started to match change to heat-jeos
3541
3542 heat-jeos list will no longer list jeos in the image name. As a result,
3543 we can't specify "-jeos" in the getting started guide.
3544
3545 Signed-off-by: Steven Dake <sdake@redhat.com>
3546
3547commit ff967194048e1e579db210ddad2df3af49ec1430
3548Author: Steven Hardy <shardy@redhat.com>
3549Date: Tue Aug 14 15:56:13 2012 +0100
3550
3551 heat api : bugfix, save config correctly in EC2Token
3552
3553 Fix issue where EC2Token fails to save the config correctly,
3554 which breaks AWS Authentication
3555
3556 Fixes #191
3557
3558 Change-Id: I77dfe182aac81c55b7d487d88073b40eac1faadd
3559 Signed-off-by: Steven Hardy <shardy@redhat.com>
3560
3561commit 005b613f8b0ca87428b614f2a2ca90865806be6c
3562Author: Steven Hardy <shardy@redhat.com>
3563Date: Mon Aug 13 14:31:12 2012 +0100
3564
3565 heat templates : Add openshift template for pre-built jeos
3566
3567 Add new openshift template which uses a pre-built JEOS
3568 also creates the example application allowing a fairly
3569 quick full demo of a two-instance openshift setup
3570
3571 Fixes #186
3572
3573 Change-Id: I9bd886b0717c8b0d810eff036b76883b537c2421
3574 Signed-off-by: Steven Hardy <shardy@redhat.com>
3575
3576commit a013d1dc9e20acc1fefd44b0da03719207d1a4d7
3577Author: Zane Bitter <zbitter@redhat.com>
3578Date: Mon Aug 13 13:54:52 2012 +0200
3579
3580 Getting Started: Add configuration info for the metadata server
3581
3582 Change-Id: Ie99bfd1c5e7bcaedd7757872d7d618d2cf29b137
3583 Signed-off-by: Zane Bitter <zbitter@redhat.com>
3584
3585commit aa21f73f3e530f1f9f5067bc7dcd980b9ac21a44
3586Author: Zane Bitter <zbitter@redhat.com>
3587Date: Fri Aug 10 19:16:01 2012 +0200
3588
3589 Getting Started: Use install.sh script
3590
3591 Change-Id: I7f189f8d3e0557503eca23a5489a98589bfff4f3
3592 Signed-off-by: Zane Bitter <zbitter@redhat.com>
3593
3594commit e611c7a5178e3607aa64f557535e7dc58f6d9af0
3595Author: Tomas Sedovic <tomas@sedovic.cz>
3596Date: Mon Aug 13 15:59:49 2012 +0200
3597
3598 Make template params resolution standalone
3599
3600 This makes the two functions for resolving template data (Fn::FindInMap,
3601 Ref, etc.) available outside of a Stack object.
3602
3603 Other programs can then import these functions and see how the template
3604 parameters get resolved.
3605
3606 Change-Id: I92de937a3fb25f907404335cb71554036a807c50
3607 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
3608
3609commit 70bdc38a44b6ec4db40b8e1b5d7c2b6f398e27e1
3610Merge: 69cfc12 7f8c5fa
3611Author: Jenkins <jenkins@review.openstack.org>
3612Date: Fri Aug 10 19:06:22 2012 +0000
3613
3614 Merge "change amd64 reference to x86_64 to match latest cfntools"
3615
3616commit 7f8c5fabedda986f8a055b07bbbfdf2f9905fa81
3617Author: Steven Dake <sdake@redhat.com>
3618Date: Fri Aug 10 11:39:31 2012 -0700
3619
3620 change amd64 reference to x86_64 to match latest cfntools
3621
3622 Change-Id: I11f4bd974326c7f1b4e287389b22c5ec3f20bdf9
3623 Signed-off-by: Steven Dake <sdake@redhat.com>
3624
3625commit 69cfc124bc5d30fe598d41d42221cac56b369fbf
3626Author: Steven Dake <sdake@redhat.com>
3627Date: Wed Aug 8 14:58:51 2012 -0700
3628
3629 Remove crankcase patch since fix was merged upstream
3630
3631 Added a patch to force yum to retry indefinately on crankcase builds
3632 because the OpenShift repositories were too busy. I submitted this upstream
3633 in:
3634
3635 https://github.com/openshift/crankcase/pull/336
3636
3637 and it was merged.
3638
3639 As a result, removing this workaround.
3640
3641 Change-Id: I26e0a162d5cfb4bc23843c93678318ff21610973
3642 Signed-off-by: Steven Dake <sdake@redhat.com>
3643
3644commit ec45dd77c02c113af74002a65dd415758f412875
3645Author: Angus Salkeld <asalkeld@redhat.com>
3646Date: Mon Aug 6 17:17:31 2012 +1000
3647
3648 Add calculate_properties() to update() and restart_resource()
3649
3650 This is the same fix as 783b1112490ef07db05251c1258c04f8b1caa5a0
3651
3652 Change-Id: I17a30b0c670dee5b228b4af8dad06ad109471e5d
3653 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
3654
3655commit e432874d5f980f961dd3386058780c2b71ef95f7
3656Merge: 31718b1 dedb947
3657Author: Jenkins <jenkins@review.openstack.org>
3658Date: Sat Aug 4 03:14:00 2012 +0000
3659
3660 Merge "Log all startup operations to /var/log/heat-startup.log"
3661
3662commit 31718b1e145832d23dca66481a9a904ec761db24
3663Author: Steven Dake <sdake@redhat.com>
3664Date: Fri Aug 3 19:31:22 2012 -0700
3665
3666 Force rpm to retry indefinately during crankcase build
3667
3668 If RPM is not forced, sometimes packages will fail to download within the
3669 default 10 retries. This results in crankcase failing to build OpenShift.
3670
3671 Change-Id: I5174928fc2ac205dcd7818ecf1da6b8e32f48e08
3672 Signed-off-by: Steven Dake <sdake@redhat.com>
3673
3674commit dedb9475a91fc4833adf4a5201c5898b09081ad2
3675Author: Steven Dake <sdake@redhat.com>
3676Date: Fri Aug 3 16:42:46 2012 -0700
3677
3678 Log all startup operations to /var/log/heat-startup.log
3679
3680 Change-Id: I0e7f415e7aee60c09d0b5b172742af7a5b313191
3681 Signed-off-by: Steven Dake <sdake@redhat.com>
3682
3683commit c8b47d80ed9697559c6dfafa9ecd684d6f9b7980
3684Author: Steve Baker <steve@stevebaker.org>
3685Date: Thu Aug 2 17:32:07 2012 +1200
3686
3687 Port existing rpc calls to use the new RPC client API.
3688
3689 Patch 2/2, this implements github heat issue 181.
3690
3691 test_api_v1 was modified to handle the extra rpc arguments.
3692
3693 metadata_register_address hasn't been included in EngineAPI, and it
3694 possibly doesn't deserve to. This means that bin/heat-metadata has the
3695 only remaining raw rpc call.
3696
3697commit e05f39c37b115259cf64e2523d7da443507f389c
3698Author: Steve Baker <steve@stevebaker.org>
3699Date: Fri Jul 27 21:57:59 2012 +1200
3700
3701 Implements a client side engine RPC API.
3702
3703 Patch 1/2, this implements github heat issue 181.
3704
3705 The topic string for the rpc call is built from the cfg.CONF parameters 'host'
3706 and 'engine_topic' defined in heat.common.config.engine_opts.
3707
3708 delete_stack seems to be the only method which returns nothing, so it can be
3709 invoked as cast or call, with cast being the default.
3710
3711 The tests exercise each api method with the same approach found in
3712 nova/nova/tests/compute/test_rpcapi.py
3713
3714 Change-Id: Ia20850821083d1236ad628172db00d01f073313c
3715
3716commit ea2db73166c393187ba0db039e5974c0f2333023
3717Author: Steven Hardy <shardy@redhat.com>
3718Date: Wed Aug 1 14:27:55 2012 +0100
3719
3720 heat templates : update Openshift template to add node instance
3721
3722 Update openshift templat to add a second instance running
3723 the node to the existing broker. Move to crankcase master
3724 and attempt to work around build issues.
3725
3726 Ref #186
3727
3728 Change-Id: If7d1b39e1072d3934f37817be3d7773edd7785c3
3729 Signed-off-by: Steven Hardy <shardy@redhat.com>
3730
3731commit 044887521ec2c38231458c3928af6956dc16119a
3732Author: Steven Hardy <shardy@redhat.com>
3733Date: Thu Aug 2 14:37:13 2012 +0100
3734
3735 heat : Make instance flavors consistent
3736
3737 Add additional instance flavors to align templates with
3738 nova
3739
3740 Fixes #179
3741
3742 Change-Id: I586e57748c9b0a0c7594746399d5328da788efcd
3743 Signed-off-by: Steven Hardy <shardy@redhat.com>
3744
3745commit 1ed94e1382166ccf50f116645b4d20dcd2c74e7f
3746Author: Steven Hardy <shardy@redhat.com>
3747Date: Thu Aug 2 13:15:53 2012 +0100
3748
3749 heat engine : raise appropriate error for incorrect stack_name
3750
3751 Raise an AttributeError instead of returning a string when passed
3752 an incorrect stack name, this then maps to the appropriate error
3753 in the API.
3754
3755 Fixes #182
3756
3757 Change-Id: I7fe80496883bfbe515d9c235de812aaa14c41c12
3758 Signed-off-by: Steven Hardy <shardy@redhat.com>
3759
3760commit c69f3892c2563cefdc26e6bdb54bc2c2e7c7cae5
3761Author: Steven Hardy <shardy@redhat.com>
3762Date: Fri Jul 27 14:43:37 2012 +0100
3763
3764 heat API : Return correct AWS error response for invalid parameter
3765
3766 Passing template parameter values which are not in AllowedValues
3767 makes the engine throw a ValueError exception, which should be
3768 mapped back to HeatInvalidParameterValueError so that the API
3769 error response is correctly formatted.
3770
3771 Fixes #180
3772
3773 Change-Id: I8615cb7fbbbfd21a403a4973fe0a63300c6cf852
3774 Signed-off-by: Steven Hardy <shardy@redhat.com>
3775
3776commit e3e011b9cb1273f0d05f87c67b76a3b07dbc20e9
3777Author: Tomas Sedovic <tomas@sedovic.cz>
3778Date: Tue Jul 31 14:50:17 2012 +0200
3779
3780 Bump to v6
3781
3782 Heat version 5 is released, let's start working on 6.
3783
3784 Change-Id: Icd0db5c0a9317d17ae4c2f161d50da8b5c50c40e
3785 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
3786
3787commit 2779760de5d47d7368e541a5a631b041ca4eda1b
3788Author: Steven Hardy <shardy@redhat.com>
3789Date: Mon Jul 30 18:53:23 2012 +0100
3790
3791 heat engine : Avoid writing to class-scope parameters schema
3792
3793 Fixes issue where multiple instances of the same resource types
3794 which have different parameters break, because the parser is
3795 writing back to the class-scope properties_schema which should
3796 be immutable. This patch fixes by making a per-instance copy.
3797
3798 Fixes #183
3799
3800 Change-Id: Ia29f67465acbcfaf8dfe511ddaa9075bc48157ad
3801 Signed-off-by: Steven Hardy <shardy@redhat.com>
3802
3803commit 8f0caacf8a93bb515b75803e1a53692e4d4deaf0
3804Author: Tomas Sedovic <tomas@sedovic.cz>
3805Date: Mon Jul 30 17:56:44 2012 +0200
3806
3807 Update getting started with credential crypto
3808
3809 We encrypt the sensitive information in the database now. This updates
3810 the Getting Started guide to generate an encryption key.
3811
3812 Change-Id: I44a96302e736997a747f82c9d23006425396633f
3813 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
3814
3815commit bdf59084b65074c7cfaab8d9ade3b5932fbf8c11
3816Author: Ian Main <imain@redhat.com>
3817Date: Fri Jul 27 09:41:25 2012 -0700
3818
3819 Add tools directory to python package.
3820
3821 This adds the tools/ dir to the tarball for distribution.
3822
3823 Change-Id: I82a18df568bf2d7421a49e057e80a7bc236e2078
3824 Signed-off-by: Ian Main <imain@redhat.com>
3825
3826commit b6d2608dd2f38168f004471a74c8f3add2008964
3827Author: Tomas Sedovic <tomas@sedovic.cz>
3828Date: Fri Jul 27 14:37:17 2012 +0200
3829
3830 Don't use uuidgen in install.sh
3831
3832 uuidgen is not present in Ubuntu. This simply reads 16 bytes from
3833 /dev/random and stores their hex representation.
3834
3835 Change-Id: If1152242b024218f20bd4c787e03836f0d5f49cf
3836 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
3837
3838commit 58cd52624b50476ed5ed1c5c0ba7cb1b4d7ba66d
3839Author: Ian Main <imain@redhat.com>
3840Date: Thu Jul 26 12:57:57 2012 -0700
3841
3842 Add encryption support for authentication information in db.
3843
3844 This patch uses an encryption key generated in install.sh to perform
3845 symmetrical encryption on sensitive authentication information stored
3846 in the database for HA operations.
3847
3848 Change-Id: Ifd09f3f566ba3ebd941a6f453953576011b518b9
3849 Signed-off-by: Ian Main <imain@redhat.com>
3850
3851commit e646e66728e5ca9f627c56137a40c74a195060a1
3852Author: Ian Main <imain@redhat.com>
3853Date: Wed Jul 25 12:02:53 2012 -0700
3854
3855 Change to per-tenant stacks.
3856
3857 This patch switches from per-user stacks to per-tenant stacks.
3858
3859 Change-Id: Ia7ac65033560bcff1db83d4d673945029e06ea6a
3860 Signed-off-by: Ian Main <imain@redhat.com>
3861
3862commit 3c6e40f2bb9039dfae60307ea730199973ddc247
3863Author: Angus Salkeld <asalkeld@redhat.com>
3864Date: Wed Jul 25 21:45:09 2012 +1000
3865
3866 Make a template that demonstrates instance monitoring and restarting.
3867
3868 We use cfn-push-stats to send a heartbeat and if we don't get
3869 it within the set interval we restart the instance.
3870
3871 Other changes to make this work:
3872 - clear the waitcondition when it is deleted.
3873 - set the resource id to None when deleted, else it won't re-create
3874 properly.
3875 - don't run watch alarms if the stack is not completed.
3876
3877 Change-Id: I5dfc8b372f557cf43379c6c5b7436d1010f83e3c
3878 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
3879
3880commit 783b1112490ef07db05251c1258c04f8b1caa5a0
3881Author: Angus Salkeld <asalkeld@redhat.com>
3882Date: Wed Jul 25 12:36:35 2012 +1000
3883
3884 Call calulate_properties() before calling FnGetAtt()
3885
3886 The problem is that in the delete the order of resolution is reversed
3887 so in delete loop we have not yet done a calulate_properties() on the
3888 resource that we are about to call FnGetAtt() for.
3889
3890 Fixes #178
3891 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
3892 Change-Id: I8af6f8a78086a7b1f2bcc280d57af0b4311f08cc
3893
3894commit 8c3f0f14a5f2b41f0a7f4922a3100c0797feaddd
3895Author: Angus Salkeld <asalkeld@redhat.com>
3896Date: Tue Jul 24 19:04:07 2012 +1000
3897
3898 Log the error when a resouce fails to delete
3899
3900 Also bail out of handle_delete if instance_id is None
3901
3902 Change-Id: I2bd77345ac35860201006a23999a06dd81ac6fe0
3903 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
3904
3905commit f1eabe8073549cbcea47b1ae6c927e2e1948d33e
3906Author: Steven Hardy <shardy@redhat.com>
3907Date: Tue Jul 24 17:58:06 2012 +0100
3908
3909 heat API : Add more tests covering error paths
3910
3911 Add some more tests testing error path responses
3912
3913 Change-Id: I10f3b599f8a0f5daad84752042079a591968de09
3914 Signed-off-by: Steven Hardy <shardy@redhat.com>
3915
3916commit f95e459e80625150e91413f54a76090163fc7bb0
3917Author: Angus Salkeld <asalkeld@redhat.com>
3918Date: Tue Jul 24 16:48:55 2012 +1000
3919
3920 delete duplicate validate() method
3921
3922 probably a merge conflict.
3923
3924 Change-Id: Ibe8941ab471943b7385ceb4b4d4559719a7092b6
3925 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
3926
3927commit 8a7ea792b00fa470270d85b3d08f210b5e98b78f
3928Author: Angus Salkeld <asalkeld@redhat.com>
3929Date: Tue Jul 24 14:09:29 2012 +1000
3930
3931 loadbalancer: implement Interval and Timeout
3932
3933 Change-Id: I74abc742371cb23ddfe38f83812662a9d42f3d43
3934 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
3935
3936commit 27e612a77bdde87d417d502251553352fafc8870
3937Author: Angus Salkeld <asalkeld@redhat.com>
3938Date: Tue Jul 24 14:03:24 2012 +1000
3939
3940 autoscaling: implement DesiredCapacity
3941
3942 Change-Id: I1403f7857e03795aa4773f9a3f1fc8f082526477
3943 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
3944
3945commit 591377489f615e475ca72e2b7bbbcaa88c29e8d5
3946Merge: 1206b18 8bd9ed0
3947Author: Jenkins <jenkins@review.openstack.org>
3948Date: Tue Jul 24 04:54:19 2012 +0000
3949
3950 Merge "Get rid of PyCrypto dependency"
3951
3952commit 1206b18cbd24774a2397f905da323c57ebee2be4
3953Author: Zane Bitter <zbitter@redhat.com>
3954Date: Mon Jul 23 19:39:41 2012 -0400
3955
3956 Update GettingStarted guide to use correct state name
3957
3958 This changed from IN_PROGRESS to CREATE_IN_PROGRESS in
3959 0191587ac6a79509576e2043412020d9c4257b47.
3960
3961 Change-Id: If1cb20f6a16e719ee423db937b591b575fd4a038
3962 Signed-off-by: Zane Bitter <zbitter@redhat.com>
3963
3964commit 8bd9ed0bd8e51291e549751abd5821e8263e820d
3965Author: Jeff Peeler <jpeeler@redhat.com>
3966Date: Mon Jul 23 18:15:49 2012 -0400
3967
3968 Get rid of PyCrypto dependency
3969
3970 The origin of this code is from Glance and is not used in Heat.
3971
3972 Change-Id: I4a22974e24fb277aea79212f0aee2f7e85a0ea76
3973 Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
3974
3975commit 025b5f907d90ae7778e799fb37f5a3df83c16f50
3976Merge: 64f9b72 9c75b6d
3977Author: Jenkins <jenkins@review.openstack.org>
3978Date: Mon Jul 23 17:47:48 2012 +0000
3979
3980 Merge "Add AWS::RDS::DBInstance"
3981
3982commit 64f9b72c8e41d736cf2b8be447a940333b37149a
3983Author: Steven Hardy <shardy@redhat.com>
3984Date: Mon Jul 23 17:43:39 2012 +0100
3985
3986 heat API : Add more unit tests
3987
3988 Add more unit tests to improve API test coverage
3989
3990 Change-Id: I5f3a8933a9a09acb6b904ccc76ec20ad210a5974
3991 Signed-off-by: Steven Hardy <shardy@redhat.com>
3992
3993commit 9c75b6d3b0160d43be62f75d8f56e218d5809831
3994Author: Tomas Sedovic <tomas@sedovic.cz>
3995Date: Wed Jul 18 15:39:37 2012 +0200
3996
3997 Add AWS::RDS::DBInstance
3998
3999 Fixes #163
4000
4001 This is an initial implementation of the DBInstance resource type and a
4002 sample Wordpress template showing it off.
4003
4004 Change-Id: I5e156dc58eee563ae9de068664bafa1af1fb5ffe
4005 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
4006
4007commit 312a84ec70ffc3cbbc9b1cbb2f8c62e4d21e97c8
4008Author: Angus Salkeld <asalkeld@redhat.com>
4009Date: Mon Jul 23 20:12:05 2012 +1000
4010
4011 autoscaling: don't kill all instances when scaling down
4012
4013 only delete the difference between the old capacity and the new capacity
4014
4015 doh!
4016
4017 Change-Id: Idbb16b2fa93abcad2793d5b4365c18a01e588b99
4018 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4019
4020commit deebc5c42aa900ee1543c6d6d791fea3e274cd4e
4021Author: Angus Salkeld <asalkeld@redhat.com>
4022Date: Mon Jul 23 14:58:11 2012 +1000
4023
4024 make the autoscaling template easier to debug
4025
4026 shorten the period and lower the thresholds
4027
4028 Change-Id: I3d621fadacc6e77002d100cf725d970671475106
4029 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4030
4031commit c91b8d53f2597b3626c78037e9f3df52d9a19ca7
4032Author: Angus Salkeld <asalkeld@redhat.com>
4033Date: Mon Jul 23 14:48:29 2012 +1000
4034
4035 Return the name from the autoscaling group not the instance.
4036
4037 the default is to return an instance_id if it is not none.
4038
4039 Change-Id: Ide5dcb3da5d992683dd235f1b53b264455a9fd07
4040 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4041
4042commit b48d869244209c23b506696bc6f8192254fda4aa
4043Author: Angus Salkeld <asalkeld@redhat.com>
4044Date: Mon Jul 23 13:09:19 2012 +1000
4045
4046 Add python-psutil and fix cfn-push-stats options
4047
4048 Change-Id: Ic88e1e886c5f8ccbcbc5bc49fa612366c7faeae5
4049 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4050
4051commit b34a5cd51d66b2a8ae4fb03d8108d0e0f6e3faa2
4052Author: Steven Dake <sdake@redhat.com>
4053Date: Fri Jul 20 10:40:22 2012 -0700
4054
4055 Add an EC2Token_filter_factory and use it as the default paste filter
4056
4057 Change-Id: I70989ff6be655832497e1e8a3019497438a739fb
4058 Signed-off-by: Steven Dake <sdake@redhat.com>
4059
4060commit 0191587ac6a79509576e2043412020d9c4257b47
4061Author: Steven Hardy <shardy@redhat.com>
4062Date: Tue Jul 17 15:46:49 2012 +0100
4063
4064 heat api/engine : Implement UpdateStack functionality
4065
4066 Implements initial support for UpdateStack, currently
4067 all resources default to delete/create on update.
4068 Ref #171
4069
4070 Change-Id: I3e6e63143d554c21ccdee19879c4dfb8b6e693d7
4071
4072commit 8fb2ad1e28aba2b99a7faa8a91efcd5b786cdac1
4073Merge: 0f4c86b 912a4fc
4074Author: Jenkins <jenkins@review.openstack.org>
4075Date: Fri Jul 20 14:20:23 2012 +0000
4076
4077 Merge "heat db : fix per-object delete"
4078
4079commit 912a4fc7a706bdf08ee731e0430256a326ca9d34
4080Author: Steven Hardy <shardy@redhat.com>
4081Date: Fri Jul 20 11:17:08 2012 +0100
4082
4083 heat db : fix per-object delete
4084
4085 Fixes problem where per-resource destroy() operations do not
4086 delete the underlying database row because the model delete
4087 method is broken
4088
4089 Change-Id: I3562c9048f8d4e54c1ea51090e74abe982ffb330
4090 Signed-off-by: Steven Hardy <shardy@redhat.com>
4091
4092commit 0f4c86bd3a13b5f8ff2e57b727709c7ff46aeea4
4093Author: Angus Salkeld <asalkeld@redhat.com>
4094Date: Fri Jul 20 16:08:32 2012 +1000
4095
4096 Combined autoscaling and loadbalancer
4097
4098 Change-Id: Ib2cff867eb5d9fbee8cedb828e9c35a93436cbe5
4099
4100commit 06705da563935a5097a3a502ede1c349e14656ac
4101Author: Steven Dake <sdake@redhat.com>
4102Date: Thu Jul 19 19:51:47 2012 -0700
4103
4104 Optimize filter context
4105
4106 Just use a direct filter factory for ContextMiddleware
4107
4108 Change-Id: Ie17bb88c331bdb4354d0abb24346ab80f13cd323
4109 Signed-off-by: Steven Dake <sdake@redhat.com>
4110
4111commit 8ced4770697bf87d96554391778bbf3585ddbbee
4112Author: Angus Salkeld <asalkeld@redhat.com>
4113Date: Thu Jul 19 15:01:01 2012 +1000
4114
4115 convert to float instead of int in the watch rule
4116
4117 as the data sent from the guests are likely to be floats.
4118
4119 Change-Id: Ice17c23997150db8c52c50767ed94fce8b182d4b
4120 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4121
4122commit be3c066ab87cc6e1a2ca8c097eeccd9217d7329a
4123Author: Angus Salkeld <asalkeld@redhat.com>
4124Date: Thu Jul 19 18:35:59 2012 +1000
4125
4126 Allow nested stacks to be retrieved by name
4127
4128 When getting the stack by name in the metadata server
4129 we don't know the owner_id so allow retrieval just by name.
4130
4131 I suspect this will be a short term solution until we get proper
4132 stack names.
4133
4134 Change-Id: I8845b2b33a5bae30aae66c06af01c1a27c990305
4135 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4136
4137commit f046a6c2e259aaea4f103b00c5c2bd04aa5db209
4138Merge: 6029c03 466e998
4139Author: Jenkins <jenkins@review.openstack.org>
4140Date: Wed Jul 18 11:58:09 2012 +0000
4141
4142 Merge "Don't require user params on template validation"
4143
4144commit 6029c031eac1ca8cdf833300d79de49717ecb137
4145Author: Tomas Sedovic <tomas@sedovic.cz>
4146Date: Wed Jul 18 13:34:03 2012 +0200
4147
4148 Use eventlet's wsgi again
4149
4150 Ref #55
4151
4152 This adds a monkey patch for the eventlet's maximum url length issue (ref #18).
4153 With it, we can use eventlet as our wsgi server again.
4154
4155 Once Eventlet releases a new version (the fix is already in master) we'll drop
4156 the monkey patch and set the limit proper.
4157
4158 Change-Id: Ia122af8d53b49587ade0ead6897fdd10107f4a87
4159 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
4160
4161commit 466e9983d0c855b03b64227c607fdd7125f3ae8c
4162Author: Tomas Sedovic <tomas@sedovic.cz>
4163Date: Thu Jul 12 18:04:54 2012 +0200
4164
4165 Don't require user params on template validation
4166
4167 Fixes #161
4168
4169 Change-Id: Ia7e1a83043f8d175e320bfd52aa64cb6f62ead90
4170 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
4171
4172commit cf56c2613b4a7317d57d97506167c2fd8cf27e42
4173Author: Angus Salkeld <asalkeld@redhat.com>
4174Date: Wed Jul 18 12:09:22 2012 +1000
4175
4176 tools: erase openstack-utils only after using it.
4177
4178 else we just get: "sudo: openstack-db: command not found"
4179
4180 Change-Id: Iaad3353a7f3c64fe8fbb2f0686c24e97467efb66
4181 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4182
4183commit 97d8118f6e9a072e93e0ac59c6c614aff739afed
4184Author: Steven Dake <sdake@redhat.com>
4185Date: Tue Jul 17 17:38:50 2012 -0700
4186
4187 Update openstack-common
4188
4189 Change-Id: I2d7e169adb9205faa109634a9ae15a9f34e4bd75
4190 Signed-off-by: Steven Dake <sdake@redhat.com>
4191
4192commit 3a4f2225269f4f0f963ff828cb1d88c9b3c5008c
4193Author: Zane Bitter <zbitter@redhat.com>
4194Date: Tue Jul 17 14:55:10 2012 -0400
4195
4196 Erase openstack-utils when uninstalling OpenStack
4197
4198 Change-Id: I219a57fdd1b600f185cafdb31d611f16c92698c9
4199 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4200
4201commit bb79672aec6b50b86c087dc7e2bb28d460893bde
4202Author: Steven Hardy <shardy@redhat.com>
4203Date: Tue Jul 17 17:33:49 2012 +0100
4204
4205 heat : update config files with new rpc backend
4206
4207 heat-engine.conf, heat-api.conf, heat-metadata.conf
4208 should have:
4209 rpc_backend=heat.openstack.common.rpc.impl_qpid
4210 to work with the reworked rpc code.
4211
4212 Change-Id: I2e5b136240db2fe8f6dfad27da7e31b2a5053a1c
4213 Signed-off-by: Steven Hardy <shardy@redhat.com>
4214
4215commit e9eee939c7792f857b4be2f085bf05c47642504d
4216Author: Steven Dake <sdake@redhat.com>
4217Date: Tue Jul 17 08:27:19 2012 -0700
4218
4219 Import openstack.common.rpc
4220
4221 Use openstack.common routines. One of the parameters changed to
4222 create_consumer().
4223
4224 Thanks to Russell Bryant for assistance with sorting out that problem.
4225
4226 Change-Id: I4badc7ca22298cd0aafc57a2335b3d6801289be8
4227 Signed-off-by: Steven Dake <sdake@redhat.com>
4228
4229commit b0a0f0c24e9b86ac3ab1862f3be140e79e62ca87
4230Author: Steven Dake <sdake@redhat.com>
4231Date: Tue Jul 17 07:17:20 2012 -0700
4232
4233 Use global cfg.CONF instead of config classes
4234
4235 Importing rpc.common requires the use of the global cfg.CONF.
4236 In fact, most of common requires the use of this global. This
4237 patch removes all the object specific access to config options
4238 and directly accesses the global in prep for rpc openstack-common
4239 import.
4240
4241 Change-Id: I5989a436964c199df0dc38dbb191dc3d867e5ce7
4242 Signed-off-by: Steven Dake <sdake@redhat.com>
4243
4244commit 9d88e8d303fce338bb3d99e83ac96464b193ac9f
4245Author: Zane Bitter <zbitter@redhat.com>
4246Date: Mon Jul 16 16:59:41 2012 -0400
4247
4248 Get rid of eval() in authentication code
4249
4250 This was not secure. Pass the auth data in JSON format rather than as a
4251 serialised Python object.
4252
4253 Fixes #124
4254
4255 Change-Id: I8e1e9aef790b0af026da2a2d6194da19345be8b0
4256 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4257
4258commit d06c4ce416ece13d9a34da8002ad896b6a9b0ecc
4259Author: Steven Hardy <shardy@redhat.com>
4260Date: Tue Jul 10 18:13:23 2012 +0100
4261
4262 heat engine/API : Internal API rework
4263
4264 Refactor engine-api code so that AWS specific
4265 details like key names are handled in the API
4266 Fixes #172
4267
4268 Change-Id: I4c5b153557216c03e5a98193e54cf75e3c7b97dd
4269 Signed-off-by: Steven Hardy <shardy@redhat.com>
4270
4271commit 90e22dabdea927e4a5a185179dfd1bd7ed566b12
4272Merge: 8e30817 c7ec88f
4273Author: Jenkins <jenkins@review.openstack.org>
4274Date: Mon Jul 16 03:08:41 2012 +0000
4275
4276 Merge "Import openstack.common.log and use inside heat infrastructure"
4277
4278commit 8e30817a93667c9ce62eb0e6ea0f8561f0a40c9a
4279Author: Zane Bitter <zbitter@redhat.com>
4280Date: Sun Jul 15 17:04:45 2012 -0400
4281
4282 Account for XML output in Getting Started script
4283
4284 The output format of heat commands has changed from JSON to XML
4285
4286 Change-Id: I68b4011e31fdb14306e88506dc6ff819b041b054
4287 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4288
4289commit f5360d774db303f26217ad8b002d24a1d8a5fc62
4290Author: Zane Bitter <zbitter@redhat.com>
4291Date: Sun Jul 15 16:18:23 2012 -0400
4292
4293 Fix directory changes in Getting Started script
4294
4295 Change-Id: I3b23b2c0de18d72f91d4a0254e9dbf689ac91be3
4296 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4297
4298commit 0670b7c3d31bc6ebb47ee121cda4205ae51c3f91
4299Author: Zane Bitter <zbitter@redhat.com>
4300Date: Sun Jul 15 16:18:22 2012 -0400
4301
4302 Allow non-interactive installation of OpenStack
4303
4304 Pass the arguments to the tools/openstack script through to openstack-db so
4305 that scripts can use e.g. --yes and --rootpw.
4306
4307 Also use openstack-db --drop rather than heat-db-drop to drop the databases
4308 for OpenStack services.
4309
4310 Change-Id: I87811ee02d3bfd7cc2dca8b9ab20ea3cfc220e3e
4311 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4312
4313commit 6eb623580f3694caca284e264a2309ea2342a655
4314Author: Zane Bitter <zbitter@redhat.com>
4315Date: Fri Jun 1 14:42:12 2012 +0200
4316
4317 Document Metadata server in Getting Started guide
4318
4319 Change-Id: Id0995df10f329ee3076a2c60ed5eb1548eaa315a
4320 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4321
4322commit c7ec88f2c7552d4179026b5c091473d2dbc22ae4
4323Author: Steven Dake <sdake@redhat.com>
4324Date: Sat Jul 14 12:18:32 2012 -0700
4325
4326 Import openstack.common.log and use inside heat infrastructure
4327
4328 Allows heat to match openstack-common log calling conventions such
4329 as using a context object or instance UUID for better traceability.
4330
4331 Change-Id: Idaa6c04270d9d7143c85988d685c0f9e241b635b
4332 Signed-off-by: Steven Dake <sdake@redhat.com>
4333
4334commit 5d5d8ba5dd388b5952a4fe4f614409ba07d3bd9d
4335Author: Steven Dake <sdake@redhat.com>
4336Date: Fri Jul 13 15:30:03 2012 -0700
4337
4338 Update openstack-common in prep for pulling in common.rpc
4339
4340 Change-Id: Ib3444d97967c807cb96175ce23d4b670a028e9a7
4341 Signed-off-by: Steven Dake <sdake@redhat.com>
4342
4343commit fba2ed3921b132621a42c95eb2230829273f431e
4344Author: Zane Bitter <zbitter@redhat.com>
4345Date: Fri Jul 13 16:46:20 2012 -0400
4346
4347 Set the stack updated time through the Timestamp
4348
4349 Don't allow the resource class to modify the parent stack's database
4350 representation directly.
4351
4352 Change-Id: Iff93d1430f4cb0695e729d0cf8f784ccb2ed7598
4353 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4354
4355commit bfd7fcf8f5642e99df9ada33a5c39e5c1a0f89c5
4356Author: Zane Bitter <zbitter@redhat.com>
4357Date: Fri Jul 13 16:46:20 2012 -0400
4358
4359 Eliminate DB access from the engine API
4360
4361 Access all data through the Stack and Resource objects.
4362
4363 Fixes #168
4364
4365 Change-Id: I0331a0ad67bcd11bb678e026ddc7b7c954517bc4
4366 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4367
4368commit 07be1d72699d051a58697962fff5c39a11d48544
4369Author: Zane Bitter <zbitter@redhat.com>
4370Date: Fri Jul 13 16:46:19 2012 -0400
4371
4372 Make timestamps available in Stack/Resource objects
4373
4374 Provide the creation time and last-updated time as attributes of Stack and
4375 Resource objects so that external code does not need to access the database
4376 in order to retrieve them. Use a Descriptor class so that the latest values
4377 are always fetched from the database.
4378
4379 Change-Id: Ic3fa173b1dc8f2e5dc676a9152e8928ed2290913
4380 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4381
4382commit b0ec4877992c6660bedadbb53ea1d7c1503bc513
4383Author: Steven Hardy <shardy@redhat.com>
4384Date: Fri Jul 13 16:08:53 2012 +0100
4385
4386 heat cli : Manpage updates
4387
4388 The heat cli tool manpage had very little information,
4389 this adds detail to the existing page and copies a version
4390 of this page to cover the heat-boto version of the tool.
4391
4392 Change-Id: I5b64466878b719b49a9084f301b2c177ddef9a91
4393 Signed-off-by: Steven Hardy <shardy@redhat.com>
4394
4395commit c16b10255d1aabf0884cf27b55f486b9e8901aed
4396Author: Steven Hardy <shardy@redhat.com>
4397Date: Fri Jul 13 10:31:42 2012 +0100
4398
4399 heat engine : fix create_stack response format
4400
4401 create_stack response is broken now the StackId formatting
4402 is done in the API, modify response format to fix.
4403
4404 Change-Id: I013bdb5ed992ce735905225cc4415fc0cfc5ce92
4405 Signed-off-by: Steven Hardy <shardy@redhat.com>
4406
4407commit 0fc46d513477865fe8abfd54ad9529fda413060f
4408Author: Steven Hardy <shardy@redhat.com>
4409Date: Thu Jul 12 17:46:46 2012 +0100
4410
4411 heat API : Add missing StackId prefixes
4412
4413 Align event-list and resource-list-details with
4414 other calls which add a AWS-style prefix to the
4415 StackId response element
4416
4417 Change-Id: I0b1951068448d141e04ddca44f1d4188d3dff360
4418 Signed-off-by: Steven Hardy <shardy@redhat.com>
4419
4420commit 5336c986510a4b075a35a0233d59a1e69b6f4576
4421Author: Steven Hardy <shardy@redhat.com>
4422Date: Thu Jul 12 17:37:37 2012 +0100
4423
4424 heat engine : move StackId formatting into API
4425
4426 Move AWS specific StackId formatting into the API
4427 Ref #172
4428
4429 Change-Id: I02f964b63c0489800300d8db92e1c800286c4bd3
4430 Signed-off-by: Steven Hardy <shardy@redhat.com>
4431
4432commit 581b0c6f6adc4480fc7c03eb96abda821c89b1a7
4433Author: Steven Dake <sdake@redhat.com>
4434Date: Thu Jul 12 08:38:51 2012 -0700
4435
4436 Block on instance delete until delete operation completes
4437
4438 Fixes issue #160
4439
4440 During deletion of a stack, following would occur:
4441 delete stack
4442 delete instance
4443 delete eip or security group
4444
4445 When the last operation occurred, the instance is still present in OpenStack
4446 making a deletion of EIP or security groups not work properly. Serialize
4447 the operations in resources.
4448
4449 Change-Id: I6e1613f5a6f5db485dd8a5f381d7a96afb58188b
4450 Signed-off-by: Steven Dake <sdake@redhat.com>
4451
4452commit a7d3879d7c7c3d67d6d58a05fed1319b52bf082f
4453Author: Steven Hardy <shardy@redhat.com>
4454Date: Thu Jul 12 12:56:44 2012 +0100
4455
4456 heat engine : Store stack timeout in database
4457
4458 Store the TimeoutInMinutes common query parameter
4459 value in the DB so it can be returned correctly
4460 with show_stack/DescribeStacks
4461 ref #125
4462
4463 Change-Id: I4ccc79b586087f61e415d5d2c24b7bd52844399a
4464 Signed-off-by: Steven Hardy <shardy@redhat.com>
4465
4466commit 82138f48bdc3c078df680b70bd4196c66fee1129
4467Merge: 4da17a9 a82114f
4468Author: Jenkins <jenkins@review.openstack.org>
4469Date: Thu Jul 12 10:25:14 2012 +0000
4470
4471 Merge "Update JEOS example in Getting Started"
4472
4473commit 4da17a9b8b2523cfe5fa0d25b65dd970f3988131
4474Author: Tomas Sedovic <tomas@sedovic.cz>
4475Date: Thu Jul 12 11:52:02 2012 +0200
4476
4477 Display better message on Keystone failure
4478
4479 Fixes #148
4480
4481 When there's something wrong with Keystone, Heat reported a rather cryptic
4482 message. Now it indicates that the problem is with Keystone and passes
4483 its response to the user.
4484
4485 Change-Id: I791b5bdfa68faa1b17daa67b911253d8bf8a2bb8
4486 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
4487
4488commit 8cbd065bf0124290a828320f9087ce9183ee73fc
4489Author: Zane Bitter <zbitter@redhat.com>
4490Date: Wed Jul 11 15:12:23 2012 -0400
4491
4492 Speed up metadata server registration
4493
4494 If heat-engine and heat-metadata were started at approximately the same
4495 time, such that heat-engine was not ready to receive the registration call
4496 from heat-metadata on the first attempt, it would take a minute before the
4497 next retry. Instead, start with a very short timeout (2s) and increase it
4498 if the engine does not show up.
4499
4500 Fixes #159
4501
4502 Change-Id: Ie2efcce667f1dde9ae227a4bb19a1d6a2b7cf135
4503 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4504
4505commit e4eaca5d58b1d59459079d4967b91f3bbc6a1aae
4506Author: Zane Bitter <zbitter@redhat.com>
4507Date: Tue Jul 10 18:21:56 2012 -0400
4508
4509 Fix the WordPress puppet template syntax
4510
4511 The template was not valid JSON due to an apparent copy-and-paste error.
4512
4513 Change-Id: I5fb4afe6597b2f469fb5219494feb745d083bf52
4514 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4515
4516commit 8108c0aefb316516061a3db6ae44180b2c26b4d7
4517Author: Zane Bitter <zbitter@redhat.com>
4518Date: Thu Jul 5 14:12:46 2012 +0200
4519
4520 Optimise DB lookups by ID
4521
4522 SQLAlchemy caches objects in the database per-session, but cannot cache
4523 queries. A query just generates a list of object primary keys, which is
4524 then used to fetch the corresponding objects from the cache (if possible)
4525 or database. Therefore a query which filters by primary key is a waste of
4526 time, since it just returns (surprise!) the key we started off with. If we
4527 have the primary key (in this case the id field), just look up the object.
4528
4529 Change-Id: I7123c12372b26c0e1b91b2496921c54d9d992cd8
4530 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4531
4532commit 5737782c718e84446d8f7f207b3b488ca4473862
4533Author: Zane Bitter <zbitter@redhat.com>
4534Date: Tue Jul 10 17:53:58 2012 -0400
4535
4536 Raise the correct error when a stack is not found
4537
4538 Change-Id: Ia96d7b96f61e48d20ab080395365e770cf5bb1a8
4539 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4540
4541commit 57a71eb07d393e5f7936b97745cefc6a6520aea9
4542Author: Zane Bitter <zbitter@redhat.com>
4543Date: Wed Jul 11 11:02:13 2012 -0400
4544
4545 Access Resource metadata through the new attribute
4546
4547 Get rid of all the other code that was accessing this directly from the
4548 database and use only the Metadata descriptor.
4549
4550 Change-Id: I36a7a00878d0b65f58ba282ebad78f77b37c4d07
4551 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4552
4553commit 139fe4009e8776a3e56ed5023e9745577caacc4e
4554Author: Zane Bitter <zbitter@redhat.com>
4555Date: Tue Jul 3 18:17:05 2012 +0200
4556
4557 Add a helper class for metadata
4558
4559 With this patch we can now access resource metadata through the 'metadata'
4560 attribute and have it always fetch the latest data from the database. This
4561 reduces the chance of accidentally accessing stale data (due to the
4562 metadata being updated in a different database session via the metadata
4563 server) by providing a single implementation to access it through.
4564
4565 Change-Id: Id411ae891d3eace746d16008a7d58bb19b4f652d
4566 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4567
4568commit 7e9d745ee6e326110f155dbb3cac71f112b0ec42
4569Author: Zane Bitter <zbitter@redhat.com>
4570Date: Wed Jul 11 10:54:41 2012 -0400
4571
4572 Add unit tests for metadata read/write in heat-engine API
4573
4574 Change-Id: I2b745a00a2110c794f6228976d3ed1cb9cf59d5f
4575 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4576
4577commit f74aef83bf180ddee3cc9a8a2f7de77707e011d1
4578Author: Zane Bitter <zbitter@redhat.com>
4579Date: Wed Jul 11 10:41:40 2012 -0400
4580
4581 Avoid unneccesary template parsing
4582
4583 Only parse the parts of the resource template that we need.
4584
4585 Change-Id: I4628e699452dc390848fc15197a5e04a3095399a
4586 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4587
4588commit 5aac736bb60cfd72887aef2555c3c0cbe24ea6e1
4589Author: Zane Bitter <zbitter@redhat.com>
4590Date: Wed Jul 11 10:37:47 2012 -0400
4591
4592 Allow partial template parsing
4593
4594 Make it possible to only parse the section we need when generating the
4595 parsed template for a resource.
4596
4597 Change-Id: Ib4216d8d7bfdbca81f43690b6e8c53c15c71a232
4598 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4599
4600commit 897ccca9ed1039df2b60b0607997cccb06fd913c
4601Author: Zane Bitter <zbitter@redhat.com>
4602Date: Mon Jul 9 14:23:31 2012 -0400
4603
4604 Rename resource_id to resource_name in metadata API
4605
4606 This more accurately reflects what the parameter is, which is just the name
4607 of the resource within the specified stack.
4608
4609 Change-Id: I6bc26c0046e0493c3b98c5753c04cc5a314678d7
4610 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4611
4612commit bd24e183c1a404286f9b701feb18819d353544b9
4613Author: Zane Bitter <zbitter@redhat.com>
4614Date: Fri Jul 6 20:40:00 2012 +0200
4615
4616 Report errors from nested stacks
4617
4618 If creation of a nested stack fails, we need to raise an exception so that
4619 creation of the nested stack resource (and hence the enclosing stack) also
4620 fails.
4621
4622 Change-Id: Ic5eda7f8d044ed2c87fc0e785b1cd8fcf78071a4
4623 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4624
4625commit f5811fb4e92decdd255df40329ab7b242ec9cafc
4626Author: Zane Bitter <zbitter@redhat.com>
4627Date: Wed Jul 11 09:53:40 2012 -0400
4628
4629 Speed up engine manager unit tests
4630
4631 Refactor the engine manager unit tests so that they all use a single stack
4632 that is only set up once. This makes the tests run a lot faster, and also
4633 makes them easier to write. Both should encourage increased testing.
4634
4635 Change-Id: I50d2ffff393d4049459c5c30e408961681c189c7
4636 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4637
4638commit 7e56619e4135260065cbee36d1cbee7b936fb9fc
4639Merge: ccab1c3 3100a89
4640Author: Jenkins <jenkins@review.openstack.org>
4641Date: Wed Jul 11 12:31:53 2012 +0000
4642
4643 Merge "Add DB refresh/expire on specific parameters"
4644
4645commit ccab1c36dc69fb68b9f176bd819f0978fe72d45a
4646Merge: b96c15c 84841e5
4647Author: Jenkins <jenkins@review.openstack.org>
4648Date: Wed Jul 11 12:27:04 2012 +0000
4649
4650 Merge "Allow Status(Reason) access through Stack/Resource objects"
4651
4652commit a82114f39bbe00ff60e6c071155966dd70166974
4653Author: Tomas Sedovic <tomas@sedovic.cz>
4654Date: Wed Jul 11 12:42:58 2012 +0200
4655
4656 Update JEOS example in Getting Started
4657
4658 The heat-jeos usability branch has merged into master and the command
4659 syntax for building new images is now a bit different.
4660
4661 Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
4662 Change-Id: Ibd4e308fe6ef4d690b0408d59d8a9539a5c81f96
4663
4664commit b96c15c96fcbcf6af8f5c731406b2feaa3f74810
4665Author: Steven Hardy <shardy@redhat.com>
4666Date: Tue Jul 10 13:56:41 2012 +0100
4667
4668 heat cli : Align resource-list-details usage with other commands
4669
4670 Align resource-list-details usage with the other heat commands,
4671 and provide better usage info on failure
4672 Fixes #156
4673
4674 Change-Id: Id80b377151eca64e5f7dbfb436f5a5da5213c8b3
4675 Signed-off-by: Steven Hardy <shardy@redhat.com>
4676
4677commit dd94f3eba2d6540a37b8743c8bd15482149b4c05
4678Author: Steven Hardy <shardy@redhat.com>
4679Date: Mon Jul 9 17:54:59 2012 +0100
4680
4681 heat API: bugfix to XMLResponseSerializer
4682
4683 JSON wrapped in XML responses needs to be serialized
4684 with json.dumps not str() or quotes get mangled and
4685 json.loads fails to parse the result
4686
4687 Change-Id: I65c6ddf0be383e71bf8d05e7293b514269a27213
4688 Signed-off-by: Steven Hardy <shardy@redhat.com>
4689
4690commit 3b7e0ae4c615a203ed40a99b8e74f8bd18bdf2b9
4691Author: Steven Hardy <shardy@redhat.com>
4692Date: Mon Jul 9 14:58:08 2012 +0100
4693
4694 heat engine: raise appropriate error on bad stack name
4695
4696 Raise an AttributeError when called with a bad stack name,
4697 this then maps to the appropriate HeatInvalidParameterValueError
4698
4699 Change-Id: Ic11142e95166ade380c2ad8741ed7063684214fb
4700 Signed-off-by: Steven Hardy <shardy@redhat.com>
4701
4702commit 3100a898b59b54a581bd5122cc6a3b1ea2f1c4b8
4703Author: Zane Bitter <zbitter@redhat.com>
4704Date: Fri Jul 6 17:13:09 2012 +0200
4705
4706 Add DB refresh/expire on specific parameters
4707
4708 Previously we could only refresh or expire the entire object.
4709
4710 Change-Id: I2207349d6ffff435538a577943316cd13e7f1355
4711 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4712
4713commit 84841e53fd2db6cc72dbeaec8d3bf1d4d8145552
4714Author: Zane Bitter <zbitter@redhat.com>
4715Date: Fri Jul 6 17:03:17 2012 +0200
4716
4717 Allow Status(Reason) access through Stack/Resource objects
4718
4719 It would be better not to have to go looking in the database for this
4720 information, so cache it in the Stack/Resource objects themselves.
4721
4722 Change-Id: Id96fbd229898fecc8917a61f19480f70fc2135d9
4723 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4724
4725commit 179bd1154f7a95b668987aac143232f04f4723eb
4726Author: Zane Bitter <zbitter@redhat.com>
4727Date: Fri Jul 6 17:03:17 2012 +0200
4728
4729 Rename test_resources to test_instance
4730
4731 Since that's what it's actually testing.
4732
4733 Change-Id: I03556778587e4b1b3a38bf755137eef08455e8f3
4734 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4735
4736commit 00cb384e8e65e7b046cbf35e103001350160ba1f
4737Author: Steven Hardy <shardy@redhat.com>
4738Date: Thu Jul 5 21:53:36 2012 +0100
4739
4740 heat API : Return auth errors in AWS format
4741
4742 Update EC2 authentication code to return HeatAPIException
4743 subclasses, so the API error response on auth failure is
4744 aligned with AWS responses.
4745 ref #125
4746
4747 Change-Id: Iafa33e7aed4d77f2255b4d879192b9d15a2395aa
4748 Signed-off-by: Steven Hardy <shardy@redhat.com>
4749
4750commit 637875f729538ac5cf294ce20fd37babd84587ff
4751Author: Steven Hardy <shardy@redhat.com>
4752Date: Thu Jul 5 21:51:55 2012 +0100
4753
4754 heat : heat-boto remove boto.cfg reading
4755
4756 Remove code directly reading boto.cfg, looks like the problem
4757 with boto not reading the config file internally is fixed upstream
4758
4759 Signed-off-by: Steven Hardy <shardy@redhat.com>
4760
4761 Change-Id: I57e1d89d0fa83793d51d5cf6266c200d7abc7d57
4762
4763commit 8bf7353982ea92ae950fd29dd61cb6a6b8d091b1
4764Author: Zane Bitter <zbitter@redhat.com>
4765Date: Fri Jul 6 14:33:19 2012 +0200
4766
4767 Separate out formatting for Engine API from manager
4768
4769 Change-Id: Ib5fc28bc6a3a2f1f3c0d291954e928d4fb036bbb
4770 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4771
4772commit eb2790cc9968f3430f1e26bad917c5ca153ca806
4773Author: Zane Bitter <zbitter@redhat.com>
4774Date: Fri Jul 6 15:07:46 2012 +0200
4775
4776 Add new assertions about event unit tests
4777
4778 Change-Id: I5a7d4690fe752c053a08ecfdb4f0467026fdd245
4779 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4780
4781commit 4d79e24097aac5e1976240e9694a10ab92f0eccd
4782Author: Angus Salkeld <asalkeld@redhat.com>
4783Date: Fri Jul 6 16:57:48 2012 +1000
4784
4785 Add basic autoscaling.
4786
4787 This is mainly for ppetit so he can create multiple
4788 resources with one stack.
4789
4790 Use like this:
4791 heat create lots -f ./templates/ppetit.template --parameters="KeyName=${USER}_key;NumInstances=2"
4792
4793 Change-Id: Ie609a1843c855953d65183a8f2d8ed49254a265f
4794 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4795
4796commit a0da17b39fc94269862d0113f254b966e133566c
4797Author: Angus Salkeld <asalkeld@redhat.com>
4798Date: Fri Jul 6 18:10:57 2012 +1000
4799
4800 Add NovaSchedulerHints and correct the implementation of Tags
4801
4802 Change-Id: Iaa7ea182414a8fc48a78f5aa6c2c3e1baddb4034
4803 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4804
4805commit fd83855600cf32f001f2004bd130bd948af9e51b
4806Author: Steven Hardy <shardy@redhat.com>
4807Date: Thu Jul 5 16:58:19 2012 +0100
4808
4809 heat tools : openstack script don't create duplicate pv's
4810
4811 Don't create duplicate loopback mounts if nova-volumes VG
4812 already exists
4813
4814 Change-Id: I1c580f2915cd92709fbbf4033f77ec3c64e4952e
4815 Signed-off-by: Steven Hardy <shardy@redhat.com>
4816
4817commit ed71fe29081c59d2ff73f27271aa909640a7b7aa
4818Author: Steven Hardy <shardy@redhat.com>
4819Date: Thu Jul 5 16:57:20 2012 +0100
4820
4821 heat tools : openstack script add restart option
4822
4823 Add option to restart openstack
4824
4825 Change-Id: I7578ff4cecae5351d5749272424d71b56071239d
4826 Signed-off-by: Steven Hardy <shardy@redhat.com>
4827
4828commit 55d5713f19d81731903eac4e89020c58b37f4842
4829Author: Steven Hardy <shardy@redhat.com>
4830Date: Thu Jul 5 16:39:57 2012 +0100
4831
4832 heat tools : whitespace cleanup in tools/openstack
4833
4834 Convert mixed tabs/spaces to all spaces
4835
4836 Change-Id: I3c75ead59afad8a7edf24d8fc6c1c0484dbcd3eb
4837 Signed-off-by: Steven Hardy <shardy@redhat.com>
4838
4839commit 80994c1f3924c3d786eaf509f8cb82b4bfac553c
4840Author: Steven Hardy <shardy@redhat.com>
4841Date: Thu Jul 5 14:42:53 2012 +0100
4842
4843 heat tests : Add missing headers to tests
4844
4845 Most of the tests lacked the apache licence boilerplate
4846
4847 Change-Id: I34ed0066a6f6751fc872f5286acfc7550319bc8f
4848 Signed-off-by: Steven Hardy <shardy@redhat.com>
4849
4850commit eb1166009065d293162ec0473102cba02a738e0f
4851Author: Steven Hardy <shardy@redhat.com>
4852Date: Thu Jul 5 14:15:37 2012 +0100
4853
4854 heat API : cleanup docstrings
4855
4856 Fix some API docstring formatting & content
4857
4858 Change-Id: Iad1646bb91ae501110ee20a5820ffc5c168bcc45
4859 Signed-off-by: Steven Hardy <shardy@redhat.com>
4860
4861commit 5f812b65b72f75b09aa76d8a71b7f3966345710e
4862Merge: 767c418 c4cb6bd
4863Author: Jenkins <jenkins@review.openstack.org>
4864Date: Thu Jul 5 16:53:06 2012 +0000
4865
4866 Merge "Add more unit tests for the engine API"
4867
4868commit 767c41850f0fe516f0553796b49cbb4b9f0b14ab
4869Merge: faba9b6 f71dc82
4870Author: Jenkins <jenkins@review.openstack.org>
4871Date: Thu Jul 5 14:18:35 2012 +0000
4872
4873 Merge "Pass Tags into scheduler_hints"
4874
4875commit faba9b6d565f105d78dd13acba84ef775741f1e0
4876Author: Angus Salkeld <asalkeld@redhat.com>
4877Date: Thu Jul 5 23:44:05 2012 +1000
4878
4879 Add monitoring to the loadbalancer
4880
4881 This makes use of haproxy's unix socket api
4882 to get statistics. This is retrieved by cfn-push-stats
4883 and posted to the watch.
4884
4885 Change-Id: I662293bf5dbc55e3f9106f7ef0ceb0641ddae564
4886 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4887
4888commit 3b2e0727f958eda6b64eaa303bf798c62498951d
4889Merge: dfacb9f 9a8f083
4890Author: Jenkins <jenkins@review.openstack.org>
4891Date: Thu Jul 5 13:17:35 2012 +0000
4892
4893 Merge "heat tools : heat-db-drop prompt for missing password"
4894
4895commit dfacb9f49b0651ac0d040d8e6d72b02e6a592ee3
4896Author: Angus Salkeld <asalkeld@redhat.com>
4897Date: Thu Jul 5 15:42:08 2012 +1000
4898
4899 Add an OpenShift template.
4900
4901 This is based off of http://www.krishnaraman.net/openshift-origin-on-openstack/
4902
4903 This is the broker, the node is TODO (but simpler).
4904
4905 Change-Id: I5d500a460e43de1172aa7636d9b94f590a979d97
4906 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4907
4908commit f71dc82e140b7f7ce58469230eb8fe0b804f71ac
4909Author: Angus Salkeld <asalkeld@redhat.com>
4910Date: Thu Jul 5 21:18:26 2012 +1000
4911
4912 Pass Tags into scheduler_hints
4913
4914 Change-Id: Idad6090c7baf0db943c999585dfe3bf33fc9492e
4915 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
4916
4917commit 9a8f083276b35c68f3d57acfcb940b0c86e19220
4918Author: Steven Hardy <shardy@redhat.com>
4919Date: Thu Jul 5 10:46:53 2012 +0100
4920
4921 heat tools : heat-db-drop prompt for missing password
4922
4923 heat-db-drop fails to drop databases when called via
4924 tools/openstack erase, so prompt for password when
4925 not passed as a CLI argument.
4926
4927 Change-Id: I4930b8457e0f3e1488187b35be9737578595c387
4928 Signed-off-by: Steven Hardy <shardy@redhat.com>
4929
4930commit 9ce1d94553bd6341ac0416d1920be32506d7a94b
4931Author: Steven Hardy <shardy@redhat.com>
4932Date: Wed Jul 4 15:41:20 2012 +0100
4933
4934 heat API : Convert API to use HeatAPIException subclasses
4935
4936 Covert API to use HeatAPIException subclasses, instead of
4937 plain webob exceptions, which cannot be correctly serialized
4938 by the wsgi controller, and map engine errors to API exceptions
4939 so the raw engine exception is not propogated to the user.
4940 ref #125
4941 fixes #150
4942
4943 Change-Id: I164c71e12ed29f40ad67188b645ca7ad2fa1fee8
4944 Signed-off-by: Steven Hardy <shardy@redhat.com>
4945
4946commit 9de825c5d2395a420df8c66331d2ae2dcb351efd
4947Author: Steven Hardy <shardy@redhat.com>
4948Date: Wed Jul 4 11:45:38 2012 +0100
4949
4950 heat API : Implement API specific exceptions
4951
4952 Implement HeatAPIException and subclasses, which will return error
4953 responses serialized in the correct AWS API format when thrown
4954 ref #125
4955
4956 Change-Id: I9039f181ee64ed59445667f50545dc6481973cb2
4957 Signed-off-by: Steven Hardy <shardy@redhat.com>
4958
4959commit 9d0a22f92be29281718632d28a1cd06fd6219494
4960Author: Steven Hardy <shardy@redhat.com>
4961Date: Fri Jun 29 14:11:14 2012 +0100
4962
4963 heat : add heat-boto test client
4964
4965 Add initial version of the heat cli tool which uses boto
4966 - revised following review comments to remove jeos/cfn paths
4967 ref #92
4968
4969 Change-Id: I61b5815b250f3b01d33844ff46dd1612000d51fd
4970 Signed-off-by: Steven Hardy <shardy@redhat.com>
4971
4972commit c4cb6bd39590edb4a61f645209715f9577f61324
4973Author: Zane Bitter <zbitter@redhat.com>
4974Date: Wed Jul 4 16:16:16 2012 +0200
4975
4976 Add more unit tests for the engine API
4977
4978 Verify the following endpoints:
4979 - list_stack_resources
4980 - describe_stack_resources
4981 - describe_stack_resource
4982
4983 Additionally, check for presence of the correct output keys from the
4984 following endpoints:
4985 - list_stacks
4986 - show_stack
4987
4988 Note that some tests are commented out because they are currently failing.
4989 This will be fixed in a future patch.
4990
4991 Change-Id: I1c8c46283c1217789e3d4dea7aeac11c991bcef4
4992 Signed-off-by: Zane Bitter <zbitter@redhat.com>
4993
4994commit 9c7c0dea6233e42bf5db3c7714b2bb7ce120f242
4995Author: Zane Bitter <zbitter@redhat.com>
4996Date: Tue Jul 3 17:11:12 2012 +0200
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches