15076 Commits

Author SHA1 Message Date
Zuul
cb5dce1987 Merge "Revert "Add openstack/placement as a required project for heat-grenade*"" 2018-10-25 03:02:38 +00:00
Zuul
eaf49c4dca Merge "Increment versioning with pbr instruction" 2018-10-24 17:40:38 +00:00
Matt Riedemann
0b9c9dbce7 Revert "Add openstack/placement as a required project for heat-grenade*"
This reverts commit 4e8a3ca6b2041c170f4073499ee0315616396af2.

This is handled generically with this change and its dependency:

  https://review.openstack.org/#/c/606853/

Change-Id: Ic79cc07a2d11772c1892b2db8c4c02cc7be4081c
2018-10-24 08:48:58 -04:00
Zane Bitter
63bff7408a Revert "Change "services" to "service""
This was correct for the RDO installation guide.

This reverts commit b90278b503aff2ad8148af38525beb90ffb117d8.

Change-Id: I5107e712a903f334f1a3a996b9140e9e2fe0807a
2018-10-18 17:23:34 +00:00
YI-JIE,SYU
b90278b503 Change "services" to "service"
Because project name is service in Installation Guides[1],
It is better not to give reference of this name in installation
operation Documentation file.

[1]https://github.com/openstack/keystone/blob/master/doc/source/install/common/keystone-users.inc

Change-Id: Ib51341d023907b392acbdacd47bd1b3027b721a1
2018-10-18 18:14:13 +08:00
Sean McGinnis
fcf3685d49 Increment versioning with pbr instruction
With moving away from required milestone releases, the version numbers
calculated by PBR on the master branch will not work for those testing
upgrades from the last stable release. More details can be found in the
mailing list post here:

    http://lists.openstack.org/pipermail/openstack-dev/2018-October/135706.html

This is an empty commit that will cause PBR to increment its calculated
version to get around this.

PBR will see the following which will cause it to increment the version:

Sem-Ver: feature

Please merge this patch as soon as possible to support those testing
upgrades.

Change-Id: Ifbba36f4974efcf891c7f5938acfeef75bb05dd2
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-10-12 13:11:01 -05:00
Zuul
f12fb69cb2 Merge "Don't quote {posargs} in tox.ini" 2018-10-10 17:34:45 +00:00
Zuul
42357ced7a Merge "Don't assert that we haven't signalled the calling thread" 2018-10-10 04:21:47 +00:00
Nguyen Van Trung
d60514f86e Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: Iccbd680731592abab4980a51aa97c60d6ef95005
2018-10-09 10:13:15 +07:00
Zuul
fb2f63874a Merge "Imported Translations from Zanata" 2018-10-08 10:57:23 +00:00
Zuul
49ad06e896 Merge "Fail to release a stack_lock in the database is a fatal action." 2018-10-08 10:57:20 +00:00
OpenStack Proposal Bot
a7dce8178f Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I7eaf3039b2c1c54a5b37add7f54f05fd11493670
2018-10-08 06:24:05 +00:00
Zane Bitter
b4038c44b5 Don't assert that we haven't signalled the calling thread
We use the notify.signal() call to notify the main thread that the stack
status has moved to IN_PROGRESS so that it can wait before returning
control to the user. Therefore it is expected that if an operation
eventually fails (or succeeds), signal() will have been called a long
time previously. The only reason it is there is to guard against
failures before the resource attains the IN_PROGRESS state, where the
persistence of the state has been deferred to coincide with the lock
release.

Story #2003988
Task: 26931

Change-Id: Ie0519ee78607f71855c2c0ace2cb4ff52c5809b6
2018-10-05 18:32:31 -04:00
Zuul
c8267f3890 Merge "Set a concurrency limit on ResourceChain" 2018-10-05 22:12:52 +00:00
Thomas Herve
bad27d3886 Set a concurrency limit on ResourceChain
This adds a limit to the number of resources that ResourceChain creates
in parallel. It reduces memory usage drastically when ResourceChain
contains lots of resources. We use the number of active services, which
seems to give a reasonable balance between performance and memory
consumption.

Story: #2003975
Task: #26917
Change-Id: Id20fb89813b32927298b3a7c0abe23da710b04d1
2018-10-05 11:58:47 +02:00
Zuul
dd9fbb0487 Merge "Check for server in attachements when checking for detach complete" 2018-10-04 14:42:13 +00:00
Zuul
87aba8afd1 Merge "Fix missing space in help text for caching option." 2018-10-03 22:33:49 +00:00
Zuul
8cc82b4e14 Merge "Fix some typos in docstrings." 2018-10-03 19:22:31 +00:00
Zuul
809ab16062 Merge "Add openstack/placement as a required project for heat-grenade*" 2018-10-03 16:08:17 +00:00
rabi
82e30159b5 Set the octavia noop drivers correctly
In 866864f7e5973053edcd9de59caab05790729964 we changed to use
noop drivers, we don't seem to set them correctly.

Depends-On: https://review.openstack.org/605000
Change-Id: I7ba69fc047334c9c3d2fffe41e586650f9fb372b
2018-10-02 20:19:48 +00:00
Matt Riedemann
4e8a3ca6b2 Add openstack/placement as a required project for heat-grenade*
In order to get openstack/placement installed as part of the
heat grenade jobs, we have to list it as a required project.

Needed by https://review.openstack.org/604454/

Change-Id: I58fae5f56fdbcb4fc084689bde95f1a2c4bfad0f
2018-09-30 11:51:16 -04:00
Chaserjim
7b34d88e13 adding a note that specifically states the user cannot rename a stack
Change-Id: I466d3fb36727aa384571ad7497fd7d0983b59433
2018-09-24 11:36:47 -06:00
rabi
3b59f9ad98 Check for server in attachements when checking for detach complete
It's possible that the volume is already attached to another
server, which can happen by marking a  VolumeAttachment resource
unhealthy after removing the volume from the server.

Change-Id: Ia77e0462bf732224b491591d22584cbcfa779956
Story: #2003850
Task: 26643
2018-09-24 17:28:52 +05:30
Zuul
f4f3a8a973 Merge "Imported Translations from Zanata" 2018-09-23 06:53:23 +00:00
Zuul
a3de110082 Merge "Fix heat multi-region support with shared keystone" 2018-09-21 11:25:21 +00:00
Nakul Dahiwade
d7daa3438d Fail to release a stack_lock in the database is a fatal action.
When a heat-engine thread activity completes, it calls release on
its stack_lock object in the database. If that release action fails
due to an inability to update the database, that engine process is no
longer usable. This code catches that failure, logs it, and terminates
that engine process so that a new one can be started. New heat engines
will automatically purge stale stack_locks from the database.
Also, make sure that if the thread exit does not teardown the process
after 5 seconds, the non blockable os level exit call will be invoked.

This bug is very timing specific. The DB error needs to exist when the
stack_lock release fails

Change-Id: I7663b2270bf325cd8e3dd194f2994227fd6f5e8a
Story: 2003439
Task: 24635
2018-09-19 18:19:31 +00:00
Zuul
1c37ce4f6c Merge "Use no-op drivers for Octavia in gate" 2018-09-19 15:58:25 +00:00
Zuul
f76e3a4692 Merge "Do not perform the tenant stack limit check for admin user" 2018-09-19 11:58:18 +00:00
rabi
5a48912cb9 Fix heat multi-region support with shared keystone
keystone endpoint region can be different from other services.
Let's use the one from keystone middleware authtoken config,
if available, when creating keystone client.

Change-Id: I190abd946db1cf8712ef669cf72a1134dfcf9376
Story: #2003806
Task: 26549
2018-09-19 12:29:10 +05:30
OpenStack Proposal Bot
6f422b48db Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I77181b348a2e244d225d2b02593c4a07a5edd7b5
2018-09-17 07:10:44 +00:00
Zane Bitter
866864f7e5 Use no-op drivers for Octavia in gate
Continue to test Heat's interaction with the Octavia API without relying on
Octavia's interaction with Nova, Neutron &c. which is known to be unstable.

Change-Id: I8765aceee09ada3086abc704b7f73ce240e21847
2018-09-13 10:47:22 -06:00
Zuul
062d04e685 Merge "middleware: return HTTPBadRequest when path is invalid" 2018-09-12 15:13:16 +00:00
Benoît Knecht
fafdd06bfd middleware: return HTTPBadRequest when path is invalid
Gracefully handle paths that are invalid UTF-8 by returning HTTP error
400 instead of an Internal Server Error.

Change-Id: I3b30e4d64e758eefd85f7a70fc645db69991b3d7
Task: 26379
2018-09-11 11:23:46 +02:00
OpenStack Proposal Bot
3a7b03068c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I69833a3b65e99e065479089e9b8735d9a748bb33
2018-09-11 07:10:03 +00:00
Zuul
fc9848eb9a Merge "Use openstack-tox-cover template" 2018-09-11 00:04:41 +00:00
Zuul
917a5d5a20 Merge "zun: remove the handling of not acceptable error" 2018-09-10 23:47:09 +00:00
Zuul
c18cf79595 Merge "Use oslo_messaging for JsonPayloadSerializer" 2018-09-10 23:47:07 +00:00
OpenStack Proposal Bot
377b645b67 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib8bd83de87be19350be63d0ce6a6501037a49686
2018-09-10 07:10:01 +00:00
Zuul
3c878a16bf Merge "Remove unnecessary shebangs from service scripts" 2018-09-10 05:01:27 +00:00
Andreas Jaeger
388270577b Use openstack-tox-cover template
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Remove jobs and use template instead.

Change-Id: I251086151a23c78f99f39d55b4db36d1db5bc9a0
2018-09-08 16:09:24 +02:00
ricolin
ed40c0546d Use oslo_messaging for JsonPayloadSerializer
JsonPayloadSerializer is added in oslo_messaging lib.
This patch suggest to replace current one with oslo_messaging.

Change-Id: I8880ae628b6121e2aee0d132238f44571f3168e3
2018-09-07 02:25:36 +08:00
Zuul
831951b537 Merge "Add functional test for legacy in-place update" 2018-09-06 15:51:40 +00:00
Zuul
8d3ba5ea37 Merge "aodh/gnocchi: remove constraints on aggregation methods" 2018-09-06 11:27:07 +00:00
Zuul
fc2e49d834 Merge "Support py36 for test in tox" 2018-09-05 21:33:23 +00:00
Julien Danjou
b659a7abf3 aodh/gnocchi: remove constraints on aggregation methods
The current list misses the percentile and all rate based aggregation methods.
Rather than adding them, let's remove the constraint and let Gnocchi and Aodh
validate the data.

Change-Id: I0330c09d72c20d63d08770b52d3071512a418260
2018-09-05 19:38:21 +00:00
Andreas Jaeger
2776ffc1d6 Fix .zuul.yaml
* Remove "queue: heat" from check queue, this is not needed.
* Use openstack-lower-constraints-jobs template.

Change-Id: Idde37f299c1cde86b2169fd174539249c23c9962
2018-09-05 06:14:05 +02:00
Doug Hellmann
32e9e83b3a remove master-only job templates from zuul config
Some of the project templates brought in via
https://review.openstack.org/#/c/576193/ should have been left in the
project-config repo because they only run on the master branch. This
patch removes those templates.

Change-Id: I727a9ac03781f86845d1af0b2a2ae672665b30db
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-04 16:46:31 -04:00
Zuul
011b0db85d Merge "Unit tests: Fix mock errors with too few side effects" 2018-09-04 17:18:27 +00:00
Zuul
ba62a1c141 Merge "Fix bug to doc: rally_on_gates" 2018-09-04 14:49:37 +00:00
Zuul
6d8f60b626 Merge "Update resource definitions after legacy in-place update" 2018-09-03 13:56:48 +00:00