14182 Commits

Author SHA1 Message Date
rabi
f849b4deb2 Set resource._properties_data=None when loading from db
In I462ce7161497306483286b78416f9037ac80d6fa we changed to use the
frozen_defintion properties for delete. However, When deleting a
resource from backup stack, where the resource is in INIT_COMPLETE,
setting the _stored_properties_data(_properties_data) to {} when
loading the resource from the db, results in error, when resources
access properties in handle_delete.

Change-Id: If76372c7ef9aee258efb1bfbc724d8637bc6a32c
Closes-Bug: #1709682
2017-08-22 18:06:05 +05:30
Jenkins
8cd29aef67 Merge "Updated from global requirements" 2017-08-22 11:28:41 +00:00
ricolin
d0b7cd175e Adds 5 backport db migration place holder for Pike
Db migration version from 81 to 85 are made as place
holder of db backporting for stable/pike.

Change-Id: Iddd91173f4fa77f9ef8cf2a60f629d551f6dcdd5
2017-08-22 19:07:16 +08:00
npraveen35
e18a523c99 heat config eliminate ec2authtoken
eliminate [ec2authtoken] section, if auth_uri is specified in
'clients_keystone' section

Change-Id: Ie11139a5d9a176037f1c9f50a62ff6dbd1b20b8f
Closes-Bug: #1705664
2017-08-22 04:03:15 +00:00
Jenkins
ce6fab6ef0 Merge "fix heat_keystoneclient config gen" 2017-08-22 02:54:07 +00:00
huangtianhua
c3546d9309 * Add new HOT version for Queens release
The new version is "2018-03-02" or "queens".

Change-Id: Icbb7ff4d717dd10d18a93387edfdb8fcee3d7927
2017-08-22 10:03:18 +08:00
huangtianhua
20a0a48d74 * Add Queens version '10.0.0' in doc
Change-Id: Id99503e561ce112c0e4803ca1566be3186c1bd31
2017-08-22 09:49:04 +08:00
OpenStack Proposal Bot
aad6faff8a Updated from global requirements
Change-Id: Ia0a39d3e4f34c48d77f1a04d1f8f08e06ca01dbf
2017-08-22 00:36:15 +00:00
Jenkins
c423e5d202 Merge "Rollback stack with correct tags" 2017-08-21 10:20:37 +00:00
Matthew Edmonds
1d02822c0f fix heat_keystoneclient config gen
This corrects the entrypoint for heat_keystoneclient so that
oslo-config-generator can find it.

Change-Id: I366589c30626232771714394ed6d9353db6f04ba
Closes-Bug: #1711445
2017-08-18 09:00:02 -04:00
Jenkins
ba252a958a Merge "Run heat api tests after upgrade" 2017-08-18 04:20:10 +00:00
Jenkins
c48aeb15f8 Merge "Update reno for stable/pike" 2017-08-17 13:10:10 +00:00
Jenkins
d7277bb170 Merge "Add release notes for heat" 2017-08-17 12:51:40 +00:00
ricolin
df8401eaf1 Add release notes for heat
This patch add release note for know issue: identity federation
can't work with heat.
Also add release note for document migration.

Change-Id: I13daf3fd3a8ea40542aa31eebbc3df2db0f2b422
2017-08-17 10:08:39 +00:00
rabi
5f5a96c669 Run heat api tests after upgrade
Change-Id: I0f5b7204c6dc3cf7bfe50acc5427590ee35d202f
Closes-Bug: #1711282
2017-08-17 09:02:45 +00:00
rabi
ca67c54854 Add gabbi api tests for stack update/patch-update
Change-Id: Ic8357d723e47ca41c1803381828473c3db4d5008
2017-08-17 10:33:49 +05:30
Jenkins
5e8ceba9ce Merge "Remove duplicated show_deleted param extraction" 2017-08-17 03:30:36 +00:00
rabi
46adb6649d Fix error for invalid auth_encryption_key
cryptography module throws an InvalidToken exception that does
not have any error message.

Change-Id: Ied520cd9ff60032fad1ae13e4a81dad6847d82ab
Closes-Bug: #1711047
2017-08-16 14:30:47 +05:30
rabi
a7702ff006 Don't call update_port with empty dict
Change-Id: I98d56645df04a6d0c830428053553b8eeecf5747
Closes-Bug: #1710833
Related-Bug: #1538473
2017-08-15 17:29:59 +05:30
rabi
8edb3aeabc Revert "Disable nova quota check in gate jobs"
This reverts commit 608b35eaef85ff80013acd3bb6d3ed4ee477fc4b.

Change-Id: I6558bd5131fb0d61571afa183380a93c5b142dfa
2017-08-15 12:23:44 +05:30
huangtianhua
d12498fb4c Make sure port updating works if enable observe
Set default values for some properties of neutron
port resource, to make sure port updating works.

Change-Id: I081ad863d4c4876d19ea9f139565afdc5558c6bb
Closes-Bug: #1710076
2017-08-15 14:36:47 +08:00
ricolin
da607b1682 Reoder barbican container import
Use non-deprecated path first, so there are no warning of use
deprecated path. We will remove old path soon.

Change-Id: I4472d6a57e77662bf639b4a8ece6a75da8e1c375
2017-08-15 11:25:41 +08:00
6d16e593d2 Update reno for stable/pike
Change-Id: I01320d62b7a46aa757db7ad14d58656590524e41
2017-08-14 16:53:01 +00:00
Jenkins
8eb4b57747 Merge "Use zaqar v2 in integration tests" 2017-08-14 12:24:32 +00:00
Jenkins
74afeee764 Merge "Switch integration jobs to use local mirrors" 2017-08-14 12:24:22 +00:00
Jenkins
b2af5f26d6 Merge "Rename Resource._resolve_all_attributes() method" 2017-08-14 12:24:13 +00:00
Jenkins
b4a1ad2bd5 Merge "Avoid creating two Stacks when loading Resource" 2017-08-14 12:23:17 +00:00
huangtianhua
9e81190e74 Rollback stack with correct tags
Set old tags for old_stack to make sure the stack
with the correct tags after rollback.

Change-Id: I8450df08c84b5a467ab8ac991451c5b108ee96e7
Closes-Bug: #1702251
2017-08-14 17:59:10 +08:00
Jenkins
72be93556d Merge "Mark stack failed when exception raised in resource check" 9.0.0.0rc1 2017-08-14 05:44:45 +00:00
Jenkins
750a465af9 Merge "Imported Translations from Zanata" 2017-08-13 20:16:07 +00:00
Jenkins
d59a550f62 Merge "Fix race in ZaqarEventSinkTest.test_events" 2017-08-13 18:46:56 +00:00
OpenStack Proposal Bot
4281a3fcd9 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I03c12602b44d84e2d7229e1015e5f5a451561ba8
2017-08-13 10:28:33 +00:00
rabi
d2de450e7f Fix race in ZaqarEventSinkTest.test_events
Change-Id: I46378492a21c186de89b5af04e2d973432e38bff
Closes-Bug: #1679969
2017-08-12 14:37:56 +05:30
Jenkins
60d203b4a5 Merge "Increase cooldown in test_asg_cooldown" 2017-08-12 06:15:19 +00:00
Jenkins
4da8966938 Merge "Respect locks when changing FAILED resource to COMPLETE" 2017-08-12 05:24:31 +00:00
rabi
44c188c80f Allow conditions to return null values
Change-Id: I44ec701319786a4f8f64e04d77c6a31bb2de1d20
Closes-Bug: #1709620
2017-08-11 14:57:49 +00:00
rabi
6d2c192b2c Use zaqar v2 in integration tests
zaqar v1/1.1 has been deprecated since long. Though it's enabled
in the devstack plugin[1], this may cause some issues and potential
data loss. Better remove all it's usage.

[1] https://git.openstack.org/cgit/openstack/zaqar/tree/devstack/plugin.sh#n88

Change-Id: Ifa1636dcf296747735dc8d28c2feb108919c094d
2017-08-11 09:56:46 +05:30
Jenkins
ffbe970a4b Merge "Deprecate 'deferred_auth_method' config option" 2017-08-10 22:58:04 +00:00
Jenkins
bef2455080 Merge "Add converge flag in stack update for observing on reality" 2017-08-10 21:56:40 +00:00
Mohammed Naser
a47e342f4d
Switch integration jobs to use local mirrors
The integration jobs currently download images from a third party
mirror which can be slow at times or use up a lot of bandwidth.

This patch tries to automatically detect if nodepool mirrors are
active and uses them, falling back to the global round-robin mirror
of the Fedora project instead of a specific mirror.

Change-Id: Ie111c20b6dd0efe2e1cbfcac2a46b27ce6bc20c0
2017-08-10 16:46:59 -04:00
Jenkins
fa6ccf2d1f Merge "Implement handle_<action>_cancel for SoftwareDeployment" 2017-08-10 17:38:48 +00:00
Jenkins
01d97b1edc Merge "Extend addresses attribute of Zun container" 2017-08-10 14:24:57 +00:00
Hongbin Lu
46c57e7ae0 Extend addresses attribute of Zun container
The original 'addresses' field is a map from neutron network uuid
to an address list. For example:

  {'ed5c1b52-01ab-4a89-8b99-00705d9066c6': [..]}

This commit proposes to extend it to neutron network name. This
allows the address list to be hashed from uuid or name of a network.

  {'ed5c1b52-01ab-4a89-8b99-00705d9066c6': [...],
   'private': [...]}

This improvement will make the format of addresses consistent
between containers and VMs. In addition, it allows retrieving IP
addresses through either network name or network id. For example:

  {get_attr: [my-container, addresses, private, 0, addr]}

or

  {get_attr: [my-container, addresses, <uuid>, 0, addr]}

The first form is more user-friendly and the latter is able to
resolve ambiguity that two networks have the same name.

Closes-Bug: #1709191
Change-Id: Ib319e3683529fe71ee1c8dbe3087c9f30f1f1116
2017-08-10 03:27:56 +00:00
Praveen Yalagandula
327f36c7f4 Minor doc fix: tmpl_diff argument for handle_update
The description for tmpl_diff argument in handle_update function
was incomplete and could be misconstrued as referring to the
values in the old definition. This documentation fix rectifies
that issue. Also, corrected the name "templ_diff" to "tmpl_diff".

Related-Bug: 1709147
Change-Id: Iaa55aeb14cf836d0dc589bdbe711fa29f6ef6080
2017-08-09 22:50:51 +00:00
Jenkins
080c010e33 Merge "Fix devstack plugin for multinode deployment issues" 2017-08-09 16:47:52 +00:00
Jenkins
e5427720b4 Merge "Fix readme guide for heat_integrationtests" 2017-08-09 13:16:08 +00:00
Jenkins
a9f543d4dd Merge "External subnet for floating ip." 2017-08-09 03:13:40 +00:00
kaz_shinohara
73926aa8bf External subnet for floating ip.
Add a new property floating_subnet into FloatingIP class in heat,
so that user can specify a subnet of external network for floating ip.

Change-Id: I7fbed503d3ce94f9c20e5b4ca780491f323ce86a
Closes-Bug: 1625759
2017-08-08 18:00:35 +09:00
rajat29
c25a31a517 Update URL in README.rst
Change-Id: Ib2d036d71f9d4ce7185e2a40d69ab4f9314cebb5
2017-08-08 12:34:20 +05:30
ricolin
e494ef62b1 Fix readme guide for heat_integrationtests
Change-Id: I08d581b1d73567558ab7260ddf4d19671747bf7c
2017-08-07 18:38:12 +08:00