14182 Commits

Author SHA1 Message Date
Jenkins
91bb3e8781 Merge "Release stack lock after export stack" 2017-08-07 08:26:26 +00:00
ricolin
552f94b928 Add converge flag in stack update for observing on reality
Add converge parameter for stack update API and RPC call,
that allow triggering observe on reality. This will be
triggered by API call with converge argument (with True
or False value) within. This flag also works for resources
within nested stack.
Implements bp get-reality-for-resources

Change-Id: I151b575b714dcc9a5971a1573c126152ecd7ea93
2017-08-07 05:39:29 +00:00
Jenkins
0523517abc Merge "Updated from global requirements" 2017-08-07 04:26:56 +00:00
Jenkins
92556a6967 Merge "Change exception class from monascaclient" 2017-08-07 03:12:50 +00:00
OpenStack Proposal Bot
3a326fecd8 Updated from global requirements
Change-Id: I6d3c516d98b4cc0058db1c4bd95c5c254817f134
2017-08-07 00:43:25 +00:00
Jenkins
d5f78c2b28 Merge "Updated from global requirements" 2017-08-04 16:20:00 +00:00
Tomasz Trębski
f1c0434d70 Change exception class from monascaclient
monascaclient was recently migrated to
use 'osc' library. Due to that, exception
classes has been changed. This commit adjusts
the exception class to recently released
monascaclient==1.7.0

Change-Id: I9f8393b9980d13fca818a64bdbd44da3a3e461f2
2017-08-04 14:58:04 +00:00
Jenkins
9b6b65b3d1 Merge "Only check service availability during validation" 2017-08-04 14:34:14 +00:00
OpenStack Proposal Bot
b9231cc09e Updated from global requirements
Change-Id: I64c4a2f04ea98a0041fdbe1000040bfc7b655da7
2017-08-04 12:49:00 +00:00
rabi
48622d46f4 Fix devstack plugin for multinode deployment issues
- Call create_heat_accounts irrespective of whether keystone
is enabled or not.
- Use hardcoded auth_encryption_key

Change-Id: I03fab7f986ec2a9703044f4bff31d477e2e7fe6a
2017-08-04 17:10:03 +05:30
Jenkins
4c9c588185 Merge "Updated from global requirements" 2017-08-04 07:48:49 +00:00
Jenkins
551ce31252 Merge "Update security groups for server interfaces" 2017-08-04 07:48:26 +00:00
Jenkins
d0a3a886b2 Merge "Fix formatting in make_url error messages" 2017-08-04 05:56:53 +00:00
OpenStack Proposal Bot
772ece20b8 Updated from global requirements
Change-Id: I144b2dfb4c98af5ca3ead6231191ff22ca7f1a4c
2017-08-04 04:32:45 +00:00
Jenkins
155517031c Merge "Add test for basic resources as heat define test" 2017-08-04 04:08:28 +00:00
Jenkins
817d8d84c3 Merge "Do not disassociate floating ip again" 2017-08-03 18:44:25 +00:00
huangtianhua
99b6187f3a Update security groups for server interfaces
Update the security groups for server interfaces
if only 'network' is specified when update networks
of nova server, to make sure the security groups
info correctly.

Change-Id: I0635d50b52c430885cb3d7733fb565a5c113fad2
Closes-Bug: #1703279
2017-08-03 09:42:36 +00:00
Jenkins
ec832dae4b Merge "Refactor network calculation" 2017-08-03 09:38:52 +00:00
Jenkins
2963d81613 Merge "Don't get resource twice in resource_signal()" 2017-08-03 06:07:06 +00:00
Jenkins
c80011cd91 Merge "Implement all_dep_attrs() more efficiently for get_attr" 2017-08-03 05:57:50 +00:00
Jenkins
4e5633245a Merge "Fix a DB error when updating the resource attributes" 2017-08-03 04:11:06 +00:00
Jenkins
0189d1fdff Merge "Remove install-guide env which is no longer effective" 2017-08-02 06:29:49 +00:00
huangtianhua
4c9a8a3a65 Refactor network calculation
Refactor the codes of networks calculation to reduce
the complexity.

Change-Id: I3a01798911e3b038f17f00ab0e6bcb5ec5954e0a
2017-08-02 01:52:42 +00:00
rabi
199e4ac322 Implement handle_<action>_cancel for SoftwareDeployment
This implements handle_<action>_cancel for SoftwareDeployment
to update the deployment to failed, when the resource fails due
to scheduler timeout or some other external reason.

Change-Id: Ibaa551d35e96f34cf950811a5b5a05e1cda6c364
Closes-Bug: #1585815
2017-08-02 06:56:41 +05:30
Jenkins
4af7865038 Merge "Fix networks update from [] to None" 2017-08-01 18:46:31 +00:00
Zane Bitter
165fb8ace4 Only check service availability during validation
There's no need to check it every time we create a Resource object.

Change-Id: I92082d64e6060c2d8d29d866fdabeea2846253e9
Closes-Bug: #1706197
2017-08-01 11:47:14 -04:00
Jenkins
4a4a172d5b Merge "Cache dep_attrs for all resources in definitions" 2017-08-01 15:19:58 +00:00
huangtianhua
fecd7a11a8 Do not disassociate floating ip again
The floating ips will be detached from server when delete
the server. So we don't have to detach those floating ips
explicitly before calling server delete.

Change-Id: I7f85d7f12c58872d790ebfe565931985099ec846
Partial-Bug: #1700830
2017-08-01 14:48:48 +00:00
Zane Bitter
4f983037de Fix formatting in make_url error messages
Change-Id: I318227e1d7da3824c11fb3e875aa95f20a3f6f39
2017-08-01 10:14:15 -04:00
Jenkins
c9b5e63f1d Merge "Correct wrong tests of server networks update" 2017-08-01 09:27:25 +00:00
Jenkins
ffa8058519 Merge "Add upgrades guideline for operators" 2017-08-01 08:10:13 +00:00
Jenkins
2caa46f033 Merge "Allow CREATE_COMPLETE status when cluster/bay update check" 2017-08-01 04:05:39 +00:00
Jenkins
8aa49163d6 Merge "To merge the occ data for OS::Heat::DeployedServer" 2017-08-01 03:48:46 +00:00
Crag Wolfe
705625cee7 Eager load resource_properties_data in resource
Eager load resource_properties_data in resources in the typical
resource-loading scenarios where properties data will be
accessed. Thus, we can save an extra db query per resource when
loading all the resources in a stack, for instance. Fall back to lazy
loading properties data in other scenarios.

Also, the resource object doesn't need to store a copy of its
ResourcePropertiesData object in self.rsrc_prop_data, so don't.

Change-Id: Ib7684af3fe06f818628fd21f1216de5047872948
Closes-Bug: #1665503
2017-07-31 21:13:49 -04:00
ricolin
601c5ba1e0 Allow CREATE_COMPLETE status when cluster/bay update check
This patch will prevent when check update complete request got earlier
replied than the status change to update in progress in magnum.
This will cause the cluster failed in stack but completed in magnum.
The stack will not be able to take that cluster/bay back at this point.
Partial-Bug: #1702433

Change-Id: I0074b76e6ec925f80bb50a7e67a81cda9438941b
2017-08-01 00:40:00 +00:00
Jenkins
8c7b66a8a3 Merge "Cache names of required resources in ResourceDefinition" 2017-07-31 12:04:56 +00:00
Kien Nguyen
10a1161dfa Add upgrades guideline for operators
This patch set will add upgrades guideline for operators.

Change-Id: Ic61e4e11ec50c221038a007559bd67fe48a3ac65
Implements: blueprint heat-rolling-upgrades
2017-07-31 16:02:41 +07:00
yushangbin
bcc6000093 Remove install-guide env which is no longer effective
The install-guide directory was moved to doc/source directory when
migrating docs.

Change-Id: I312c45314f4e6e86a7f7b74f747eb0bed6d60759
2017-07-31 17:01:11 +08:00
Jenkins
139eff252a Merge "Updated from global requirements" 2017-07-31 08:59:57 +00:00
Jenkins
50430300b3 Merge "Add unit test for translate with no translate value" 2017-07-31 05:16:31 +00:00
Jenkins
1672fde48b Merge "Remove unrequired check None in bay resource" 2017-07-31 05:16:23 +00:00
huangtianhua
e1973fd956 Fix networks update from [] to None
Correct the logic of networks updating, to avoid
attach two interfaces to a server if update 'networks'
from [] to None. Also if user update 'networks' between
[] and None, we don't have to detach the old one and
attach a new one.

Closes-Bug: #1706830
Change-Id: I45679e83aacd07950a8fd980ed1f34e68a398356
2017-07-29 10:09:46 +08:00
huangtianhua
66ee6914e7 Correct wrong tests of server networks update
There are some wrong tests of server networks update,
the old_networks is always None, so the tests are not
check the right logic.

Change-Id: Iff815c92b92661f303806ff319b535dd911e0ed3
2017-07-29 10:09:18 +08:00
OpenStack Proposal Bot
ad6d133e0b Updated from global requirements
Change-Id: I262a887626d27e797a52b25b1b3c3b33910a61ef
2017-07-28 21:37:04 +00:00
OpenStack Proposal Bot
cc4fdcef05 Updated from global requirements
Change-Id: I510e1afabadd6b76dfc8985686ad21c8f45976fe
9.0.0.0b3
2017-07-28 12:48:50 +00:00
Jenkins
93cbac4ef6 Merge "Add a way to get the resources depended on by an output" 2017-07-28 07:10:56 +00:00
Jenkins
87e7fe0c06 Merge "Remove obsolete cache_data from Stack" 2017-07-28 06:48:18 +00:00
Jenkins
bb90603b6c Merge "Use StackDefinition in intrinsic functions for resolving data" 2017-07-27 18:15:26 +00:00
Jenkins
1eec2af225 Merge "Add release note for repeat improvement" 2017-07-27 10:09:57 +00:00
Jenkins
fb5db0e9ba Merge "Add reno for soft policies supporting" 2017-07-27 10:09:04 +00:00