summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Ignore RESOLVE translation errors when deleting resourcesrabi2018-07-301-1/+2
| | | | | | | | | | | Sometimes when deleting resources, we use parent resources in api calls. If the parent resource is deleted then the children could be assumed to be deleted. So ignore those translations errors and return unresolved values when accessing properties. Change-Id: I2392b5c46920ac6da518fe33bdcba3e7a9fe17a8 Story: #1747836 Task: 23278
* Ignore RESOLVE translation errors when translating before_propsrabi2018-07-304-14/+57
| | | | | | | | | | When translating name to id, if we don't find the resource it's better to ignore the error and return the non-translated value for before properties. Change-Id: Ic25c35098cff8b68e184a336b21f2e8df70bb1ee Story: #2003015 Task: 23103
* Merge "Adds doc8 check to pep8"Zuul2018-07-2715-80/+93
|\
| * Adds doc8 check to pep8Dao Cong Tien2018-07-2615-80/+93
| | | | | | | | | | | | | | | | | | | | This patch adds doc8 check for .rst files to pep8. Files that fail doc8 check are also fixed. Ignore D001 of doc8 check. This requires lot of changes and should be done in a separated patch. Change-Id: I7732abc55ec27026efbf56663ba02ff27e8ec847
* | Merge "Add a new OS::Heat::Delay resource type"Zuul2018-07-273-0/+332
|\ \ | |/ |/|
| * Add a new OS::Heat::Delay resource typeZane Bitter2018-07-243-0/+332
| | | | | | | | | | | | | | | | | | This allows users to insert a delay at some point in the workflow while creating or deleting the stack. Unlike OS::Heat::TestResource, the delay can be randomised so that when used in parallel across a scaling group it can be used to work around thundering herd problems. Change-Id: I49deb9560df9963120445c5900f79a1c5ca09cb5
* | Merge "OS::Nova::Server: Extend addresses attr to include network"Zuul2018-07-253-10/+64
|\ \
| * | OS::Nova::Server: Extend addresses attr to include networkHarald Jensås2018-07-203-10/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds 'network' to the addresses attribute of the OS::Nova::Server resource. This enables resolving the properties of the neutron network for the server resource. Story: 1766946 Task: 19690 Change-Id: I5bef751982919103ecbefeee64bf0f2cbede0cd0
* | | Merge "Improve resource types list rendering"Zuul2018-07-255-25/+64
|\ \ \
| * | | Improve resource types list renderingThomas Herve2018-07-255-25/+64
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://docs.openstack.org/heat/latest/template_guide/openstack.html looks a bit messy right now, this tries to make some improvements: * Reduce the TOC depth * Improve version messages * Indent property description * Fix map/list properties rendering Change-Id: I1571d1af9eba2619f8db64c54ad0b141b354a524
* | | Merge "Ignore NotFound error in prepare_for_replace"Zuul2018-07-252-5/+26
|\ \ \
| * | | Ignore NotFound error in prepare_for_replacerabi2018-07-212-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the port is already deleted in neutron, we don't need to do anything. Change-Id: I9275610931a174919076330ec443f54f68cc1371 Story: #2003015 Task: 23035
* | | | Merge "Retry resource creation on conflict"Zuul2018-07-252-5/+25
|\ \ \ \
| * | | | Retry resource creation on conflictZane Bitter2018-06-182-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If resource creation fails with an HTTP Conflict error, this is presumably due to a race condition with one of the underlying services. In this case, allow Heat to retry the resource creation so that hopefully in most cases the user will never have to deal with the error. Change-Id: I301bb28231fcdc249f86ec1a2f09cb993023785b Story: #1745010 Task: 17344
* | | | | Merge "Define constants for Neutron client resource types"Zuul2018-07-2427-127/+192
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Define constants for Neutron client resource typesZane Bitter2017-11-0627-127/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use named constants to pass as the 'resource' parameter to the find_resourceid_by_name_or_id() method of the Neutron client plugin. Apart from making everything more explicit and less error-prone, this also provides clarity on the meaning of obtuse names like 'policy' (QoS, not any other kind of policy) or 'pool' (load balancer, not subnet). Change-Id: If9b5528835775d303db477fafabf3ed6bd224bd0
* | | | | Merge "Docs: Eliminate warnings in docs generation"Zuul2018-07-2326-93/+111
|\ \ \ \ \
| * | | | | Docs: Eliminate warnings in docs generationZane Bitter2018-06-2126-93/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix all of the existing sphinx warnings, and treat warnings as errors in future. Change-Id: I084ef65da1002c47c7d05a68d6f0268b89a36a7a Depends-On: https://review.openstack.org/553639 Depends-On: https://review.openstack.org/559348
* | | | | | Merge "OS::Neutron::Port: Add network attribute"Zuul2018-07-233-2/+97
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | OS::Neutron::Port: Add network attributeHarald Jensås2018-07-203-2/+97
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds attribute 'network' to the port resource. Similar to the existing subnets attribute which returns a list of all subnets. The network attribute returns the properties of the neutron network. Story: 1766946 Task: 18792 Change-Id: I6c667a0ff2c15aa27ca0d7943359e7f595630f87
* | | | | Merge "Fix server_group create issue"Zuul2018-07-201-2/+3
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Fix server_group create issuetpatil2018-07-191-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Heat uses python-novaclient version 10.3.0 in which 2.64 microversion changes [1] are not included but heat-engine still gets 2.64 compute API version from client (queries nova api service) resulting in failure in creating server group. Fixed this issue by explicitly using 2.15 api version to create server_group. [1] : https://github.com/openstack/python-novaclient/commit/839da6fec02182fa3c6d51460099ac4f7ebb500d#diff-815379030879ca27268b9336fecbe7dc Change-Id: I30b9fc4dd96470832f5e7516179021fbe11c63bc Story: #2003017
* | | | | Merge "Revert "Remove unittests monasca until story/2002978 is released""Zuul2018-07-204-0/+586
|\ \ \ \ \
| * | | | | Revert "Remove unittests monasca until story/2002978 is released"Rico Lin2018-07-184-0/+586
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b6197161b5228803f247728a2fa6689ed69635ee. Depends-On: https://review.openstack.org/#/c/583433 Change-Id: I1f21bd57b3df4c0d1778fe8907e402f5de7eaa77
* | | | | | Merge "Bump monascaclient to at less 1.12.0"Zuul2018-07-202-2/+2
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Bump monascaclient to at less 1.12.0ricolin2018-07-182-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Bump mocascaclient to avoid issue in story 2002978 Change-Id: Ibe5d6469de8d18f08eeb2bfb48dfdd57b63eb62d
* | | | | Merge "Add diskimage-builder project install"Zuul2018-07-181-2/+4
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add diskimage-builder project installshaofeng_cheng2017-08-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disk-image-create file has been removed from 'diskimage-builder/bin/'. see: https://github.com/openstack/diskimage-builder/tree/master/bin So,We nedd install diskimage-builder project before execute disk-image-create command. Change-Id: Idd052154ac3603a70a4b23eb17f4c84a8b321358
* | | | | Remove unittests monasca until story/2002978 is releasedrabi2018-07-174-586/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3399adb0c78fdcac77654560cfafd77eb4e9d009 Story: #2002978
* | | | | Merge "Add some steps for "Preparing to create a stack""Zuul2018-07-171-0/+9
|\ \ \ \ \
| * | | | | Add some steps for "Preparing to create a stack"pengdake2018-01-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The example template need an special image. We need register it before launch stack. Change-Id: I225896b24b9946d3c80dc84b63f810a0cd9ae9af
* | | | | | Merge ""service" is not a default project in rdo."Zuul2018-07-171-1/+1
|\ \ \ \ \ \
| * | | | | | "service" is not a default project in rdo.pengdake2018-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I deploy openstack by rdo.The default project named "service" is not found. Change-Id: Ic532c378fe5552a1b2272ed6fee04fced06d3344
* | | | | | | Merge "Replace create_a_stack doc stack uuid and timestamp"Zuul2018-07-131-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Replace create_a_stack doc stack uuid and timestampYuanbin.Chen2018-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib9521ed557a04b7558ef9b08698744169fc82b96 Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
* | | | | | | | Merge "Docs: Remove contrib/rackspace section from template guide"Zuul2018-07-131-20/+0
|\ \ \ \ \ \ \ \
| * | | | | | | | Docs: Remove contrib/rackspace section from template guideZane Bitter2018-03-121-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We removed the contrib/rackspace directory in 13a5b43d6565af49cabf7323613f4e7924160ce9, so remove the now-empty section in the template guide for the resource plugins it formerly contained. Change-Id: Id2bf166990c27a2ac0be38e5bdd19548e74d8f60
* | | | | | | | | Merge "Refactor condition expression in Resource.load()"Zuul2018-07-131-4/+6
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Refactor condition expression in Resource.load()Zane Bitter2018-04-041-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even I get confused by this code, and I wrote it. Change-Id: I055b7a51de6f1e8c380c52d43233d3d0c3abb0ea
* | | | | | | | | | Merge "Fix Octavia health manager"Zuul2018-07-121-3/+0
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix Octavia health managerFeilong Wang2018-07-071-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recently, there is a change[1] in Octavia which adding new validation to forbid using HTTP method, expectation code and URL path for non-HTTP type health monitor. For example, if user is using TCP as the type of health monitor and now Heat is using default values for HTTP_METHOD, EXPECTED_CODES and URL_PATH, which will cause error response from Octavia. And the stack creation will fail. This patch fixes it by removing those default values. [1] https://github.com/openstack/octavia/commit/e1e1640af541dfdf12c62eccf5e355423273261c Task: 22876 Story: 2002904 Change-Id: Id61cde4c1416cc65b4eac90710f564699ada6a75
* | | | | | | | | | | Merge "Fix stack delete error with none cluster"Zuul2018-07-122-5/+14
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Fix stack delete error with none clusterliyi2018-06-222-5/+14
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before stack delete, I delete cluster first, and then stack delete failed. Change-Id: I523575668e5f52728116c68761aa221cb27fa132 Story: #2002623 Task: 22253
* | | | | | | | | | | Merge "delete_trust failure will not block a stack delete"Zuul2018-07-122-6/+7
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | delete_trust failure will not block a stack deleteNakul Dahiwade2018-07-022-6/+7
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deleting a tenant that has active stacks would have to issue a stack delete twice per stack to delete those stacks, that was because the delete_trust would fail, but credentials were still cleared.This change just logs the error but does not fail the stack delete. Change-Id: I9d770a91b20d1db137b3fc313c794fcee4a5e4bf Story: 2002619 Task: 22248
* | | | | | | | | | | Merge "Fix multi region issue for software deployment"Zuul2018-07-113-9/+27
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Fix multi region issue for software deploymentFeilong Wang2018-07-093-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Except commit Iec6f3606c9fdf8474f393b0990356f34d38bcf75 we still need this one to make sure the region name can be populated as deployment metadata. Task: 22854 Story: 2002781 Depends-On: I88182a9a9af74e9760b2ec9b500971f06293f0b8 Change-Id: Id87935bdb1484e66f6066361d80e245d08d9ab66
* | | | | | | | | | | | Merge "Destroy mox forever"Zuul2018-07-104-10/+0
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Destroy mox foreverZane Bitter2018-07-054-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib983af3392760367c4ce6256456de70d1078fbba
* | | | | | | | | | | | | Merge "Remove mox usage from test_heat_client"Zuul2018-07-102-403/+391
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / /