227 Commits

Author SHA1 Message Date
Zuul
334cc17d07 Merge "Add heat-status upgrade check command framework" 2018-11-11 01:17:41 +00:00
Zuul
201484da6e Merge "change the dist name to 'openstack-heat'" 2018-11-10 22:23:48 +00:00
OpenStack Proposal Bot
5889aee9de Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iad33b2d2266fa14cfd615667fcaa78b45406db73
2018-11-06 06:54:04 +00:00
Doug Hellmann
8ae5f8657b change the dist name to 'openstack-heat'
We are updating all Python projects to publish artifacts to PyPI. The
name "heat" is already taken there by another project, and they have
rejected our request to claim the name. We therefore need to change the
dist name used to package heat. We have some other projects publishing
using an "openstack-" prefix, so I propose using the name
"openstack-heat". This will not change the imports or anything else
about how the code works, just how it is packaged.

Add a grenade plugin for upgrading between the packages with different
names so that we can clean up the old version of the code and avoid
discovering the heat plugins multiple times in different locations.

Change-Id: I59b55cffd9e648f842eb286b936f09c5b55a76db
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-11-01 11:54:05 -04:00
whoami-rajat
ba4e54589d Add heat-status upgrade check command framework
This adds basic framework for heat-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: I83629184b49a6cf91928df702db23156433d99f6
Story: 2003657
Task: 26131
2018-10-22 14:19:36 +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
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
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
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
OpenStack Proposal Bot
a3e316edd3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I39bcb14e7aaf8db3acf50678785dab51abddbb72
2018-08-29 08:17:07 +00:00
Carlos Goncalves
0776920232 Add UDP to supported protocols for Octavia
Change-Id: I6da312a75f2d998c9dda4f874ab139022429ed2f
2018-08-17 12:17:33 +02:00
OpenStack Proposal Bot
d96b564fd4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic2f60e65a30d94f8fa7c667e4661ff398506e3ba
2018-08-12 07:59:01 +00:00
2704cbbe8d Update reno for stable/rocky
Change-Id: Ia5db11a684ab2164b8a11a9a49f55d451e01cc0b
2018-08-09 18:16:34 +00:00
Zuul
fc79d56d9d Merge "Drop ceilometerclient requirement" 2018-08-09 10:21:34 +00:00
Pradeep Kilambi
6b821beb4e Drop ceilometerclient requirement
ceilometerclient is dead in queens cycle, lets drop the
integration and remove the requirement.

Change-Id: I5267746e63fd27ad0ce8e36fb843efd4988d6eb7
2018-08-08 16:56:41 +00:00
Zuul
68dd40db86 Merge "Eliminate client races in legacy operations" 2018-08-03 22:58:08 +00:00
Zuul
33c5b6129a Merge "Add StoryBoard migration docs and releasenote" 2018-08-01 20:55:32 +00:00
Zane Bitter
2d2da74593 Eliminate client races in legacy operations
Wait for the legacy stack to move to the IN_PROGRESS state before returning
from the API call in the stack update, suspend, resume, check, and restore
operations.

For the stack delete operation, do the same provided that we can acquire
the stack lock immediately, and thus don't need to wait for existing
operations to be cancelled before we can change the state to IN_PROGRESS.
In other cases there is still a race.

Change-Id: Id94d009d69342f311a00ed3859f4ca8ac6b0af09
Story: #1669608
Task: 23175
2018-07-30 20:48:34 -04:00
Zane Bitter
e63778efc9 Eliminate client race condition in convergence delete
Previously when doing a delete in convergence, we spawned a new thread to
start the delete. This was to ensure the request returned without waiting
for potentially slow operations like deleting snapshots and stopping
existing workers (which could have caused RPC timeouts).

The result, however, was that the stack was not guaranteed to be
DELETE_IN_PROGRESS by the time the request returned. In the case where a
previous delete had failed, a client request to show the stack issued soon
after the delete had returned would likely show the stack status as
DELETE_FAILED still. Only a careful examination of the updated_at timestamp
would reveal that this corresponded to the previous delete and not the one
just issued. In the case of a nested stack, this could leave the parent
stack effectively undeletable. (Since the updated_at time is not modified
on delete in the legacy path, we never checked it when deleting a nested
stack.)

To prevent this, change the order of operations so that the stack is first
put into the DELETE_IN_PROGRESS state before the delete_stack call returns.
Only after the state is stored, spawn a thread to complete the operation.

Since there is no stack lock in convergence, this gives us the flexibility
to cancel other in-progress workers after we've already written to the
Stack itself to start a new traversal.

The previous patch in the series means that snapshots are now also deleted
after the stack is marked as DELETE_IN_PROGRESS. This is consistent with
the legacy path.

Change-Id: Ib767ce8b39293c2279bf570d8399c49799cbaa70
Story: #1669608
Task: 23174
2018-07-30 20:48:28 -04:00
Zuul
6abfc69448 Merge "zun: add property 'networks' to container" 2018-07-28 05:51:47 +00:00
Hongbin Lu
9b5de23ad8 zun: add property 'networks' to container
Add a new property 'networks' to resource OS::Zun::Container.
This property is an ordered list of nics to be added to this container,
with information about connected networks, fixed ips, port etc.
This property can be updated without replacement.

Story: 2003106
Task: 23222
Change-Id: I4b8c0257b83e97444dd8ff6ce88e240d12278ec2
2018-07-27 21:39:37 +00:00
Zuul
2125395c20 Merge "Hidden resources in Rocky" 2018-07-27 13:05:41 +00:00
Zuul
c959b5feb6 Merge "Add API doc for files_container support" 2018-07-27 09:36:02 +00:00
Zuul
158636e94f Merge "Add Blazar client plugin to Heat" 2018-07-27 05:58:34 +00:00
Zuul
c0c7b6ff74 Merge "Add a new OS::Heat::Delay resource type" 2018-07-27 00:14:30 +00:00
ricolin
a8574936e5 Hidden resources in Rocky
Resource type ``OS::Magnum::Bay`` is now hidden, please use
``OS::Magnum::Cluster`` instead.

Resource type ``OS::Magnum::BayModele`` is now hidden, please use
``OS::Magnum::ClusterTemplate`` instead.

Resource type ``OS::Nova::FloatingIP`` is now hidden, please use
``OS::Neutron::FloatingIP`` instead.

Resource type ``OS::Nova::FloatingIPAssociation`` is now hidden, please use
``OS::Neutron::FloatingIPAssociation`` instead.

Change-Id: I2ea1400cfe1f4eca24f2fb7b4b0ec27ca5e9538d
2018-07-26 23:29:57 +08:00
ricolin
6f5e393a9b Add StoryBoard migration docs and releasenote
Heat curent bug/bluepint reports are migrated from Launchpad to
StoryBoard [1]. If you like to create a new story(a bug or a bluepint),
please file it under [2]. For more detail, please reference [3]. This
change applied to all heat projects.
This patch Add documents and guideline link to StoryBoard.
Also add releasenote to showing migration message.

[1] https://storyboard.openstack.org/#!/project_group/82
[2] https://storyboard.openstack.org/#!/project/989
[3] https://etherpad.openstack.org/p/Heat-StoryBoard-Migration-Info

Change-Id: I7c7dab88d269f92c66b3f68352a6913aa244fdfc
2018-07-26 13:05:04 +08:00
rabi
b40524d262 Add API doc for files_container support
Also adds releasenote for this new feature.

Change-Id: I6da965770f2a0583277165cc6f39ae57caf43d93
Story: #1755453
Task: 22714
2018-07-26 09:50:54 +05:30
Zuul
315a0de97c Merge "OS::Nova::Server: Extend addresses attr to include network" 2018-07-25 18:13:54 +00:00
Zane Bitter
52b28add84 Add a new OS::Heat::Delay resource type
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
2018-07-24 13:20:36 -04:00
Harald Jensås
30d63c5b63 OS::Nova::Server: Extend addresses attr to include network
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
2018-07-20 10:50:54 +02:00
Harald Jensås
93feb34539 OS::Neutron::Port: Add network attribute
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
2018-07-20 10:40:15 +02:00
kaz_shinohara
64a60dd040 Add Blazar client plugin to Heat
Add a Blazar client plugin which will be used by a couple of Balazar
resources under development.

Change-Id: I0f68fc0525db3ba299d77019a102f24b9d3cea87
Task: 19754
Story: 2002085
2018-07-12 11:43:45 +09:00
Harald Jensås
6e4831cc49 Add segments attribute to OS::Neutron::Net
Adds a attribute to the neutron Net resource to get the
segments of a network.

Story: 2001988
Task: 19610
Change-Id: I7acb3d29a01fa92bebdb2c85094655e27cb16a29
2018-06-20 08:11:06 +00:00
Harald Jensås
066f95815a Allow updating the segment property of OS::Neutron::Subnet
Neutron allows updating the segment_id property of a subnet
to enable migration from non routed network to a routed
network.

This changes the Subnet resource to allow updating the
segment property so that heat users can migrate ro a routed
network.

Story: 2001988
Task: 19609
Depends-On: Iffda823a149a1143f46ee9a05e9640b34bf42c51
Change-Id: I6682a67da1b728f65f603ee40a200e9e0ee2e5b3
2018-06-20 08:10:59 +00:00
Harald Jensås
46ac3932f9 OS::Nova::Server: Extend addresses attr to include subnets
This change adds 'subnets' to the addresses attribute of the
OS::Nova::Server resource. This enables resolving the subnet
properties for the server resource which brings parity with
OS::Neutron::Port's 'subnets' attribute.

Story: 1766946
Task: 19689
Change-Id: I6927f1e142e83df7258e259bffc86819e4cbe881
2018-06-12 15:35:10 +00:00
OpenStack Proposal Bot
c864920a33 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If6a8ee1373916d778ebe769e2b904d68f564a40e
2018-03-30 06:57:05 +00:00
Zane Bitter
6e16c051ba Fix entropy problems with OS::Random::String
When generating a random string, once we had selected from the various
required pools, we continued by selecting a pool at random and then
selecting a character from that pool at random. This did not take into
account the differing sizes of the available pools, nor the fact that the
same character could appear in multiple pools, which resulted in a
non-uniform probability distribution of characters. Since users mostly make
use of this feature to generate default passwords for services they are
deploying, this would result in the generated passwords having slightly
less entropy than expected (and pathological cases were possible).

Rectify this by always selecting non-constrained characters from a single
combined pool, and by ensuring that each character appears only once in any
pool we're selecting from.

Since we also want to use this method to generate passwords for OpenStack
Users, the new implementation is in a separate module in heat.common rather
than mixed in with the resource's logic. Also, use a StringIO object to
collect the characters rather than repeatedly appending to a string.

Change-Id: Ia7b63e72c1e3c0649290caf4fea8a32f7f89560b
Closes-Bug: #1757300
Related-Bug: #1666129
Related-Bug: #1444429
2018-03-20 20:48:38 -04:00
OpenStack Proposal Bot
a177901fe0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic5ecbacc7c030c09eef8fb1802619f6057899afc
2018-03-12 06:43:23 +00:00
OpenStack Proposal Bot
fec91472b0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I087233a36d7fd09d8c1efb3371839aaede1af67c
2018-03-01 06:42:39 +00:00
OpenStack Proposal Bot
0dadb62446 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2161224dfcb1a78ea3b0bd37b1c75998a5b72011
2018-02-26 06:50:37 +00:00
OpenStack Proposal Bot
3a609f2835 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5a276068a01d3073fec5bdcfce65d09510ed651a
2018-02-22 06:21:26 +00:00
OpenStack Proposal Bot
797c9d4d66 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0c41dc2d5712251293c29c1b511538ef2c42c9b7
2018-02-17 06:58:49 +00:00
Zuul
ab4c77bcc7 Merge "Remove db api and tables for CloudWatch" 2018-02-16 23:30:40 +00:00
OpenStack Proposal Bot
a76da350ac Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I17da47a66472ef8a5be3005ee010378913dd35d8
2018-02-13 07:16:25 +00:00
Zuul
5762ea1ed7 Merge "Update reno for stable/queens" 2018-02-10 07:21:59 +00:00
OpenStack Proposal Bot
5ebe246f2a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6e51ed62e5ba07d5943cc973115ec96ba719c983
2018-02-10 06:14:10 +00:00
ac315d36f3 Update reno for stable/queens
Change-Id: I404a43d4e9e5d8fb44d3e0b924af5cc8cf6f51d6
2018-02-10 05:45:18 +00:00
ricolin
bee961a00e Sync releasenote for Queens
Sync up releasenotes with some information that users or ops should
be aware of.

Change-Id: I7553fd848f1ec1f0d7b90c15dd5762ede4a69a55
2018-02-09 16:20:07 +00:00
Zuul
f60fca3ea2 Merge "Replace random with SystemRandom for RandomString" 2018-02-09 05:39:44 +00:00