195 Commits

Author SHA1 Message Date
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
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
Zuul
779aac4a57 Merge "Change note for version/release from releasenotes" 2018-02-09 02:16:13 +00:00
ricolin
33bd97db3f Change note for version/release from releasenotes
Release notes are version independent, so remove version/release values.
We've found that most projects now require the service package to be
installed in order to build release notes, and this is entirely due to
the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This patch propose to change the note, so people won't try to use it.

Change-Id: I16110bb3951bd5bf9e644bbcd7b35b1f610ab909
2018-02-07 15:57:05 +08:00
Zuul
d947f2fbb9 Merge "zun: add hostname, hints and security_groups" 2018-02-07 04:01:56 +00:00
OpenStack Proposal Bot
c145cb0a0a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib51b2cebb1c4ecef3fe8cf1f610677ef0f8ceeb6
2018-02-06 06:10:16 +00:00
OpenStack Proposal Bot
8a8c59549b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Idbd22aaad0cf01d6cbb2e1db1bc4d01573de1c45
2018-02-03 07:02:42 +00:00
Zuul
fb79011451 Merge "Remove OS::Heat::HARestarter" 2018-01-31 19:33:05 +00:00
Zuul
04be5a736e Merge "Remove CloudWatch API" 2018-01-31 19:29:03 +00:00
Pavlo Shchelokovskyy
41605aaac1 Replace random with SystemRandom for RandomString
it might be theoretically possible to infer the state of
standard Python's RNG in a long-running heat-engine service
from multiple created RandomString resources.

Let's use the random.SystemRandom (and os.urandom) for
OS::Heat::RandomString instead.

Change-Id: Iac5c03176fc8bae95ada883621196bd9cb453be3
Closes-Bug: #1745931
2018-01-31 15:57:20 +02:00
OpenStack Proposal Bot
0851d4ea5f Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I33a844ad7928d5ec1bf3d2dd76d25797c8dd02d9
2018-01-31 08:06:42 +00:00
ricolin
7b56e0e008 Remove OS::Heat::HARestarter
The OS::Heat::HARestarter has been deprecated since Kilo. Now is the
time to eliminate support and hide it from the documentation.

This replaces it with a placeholder resource (like OS::Heat::None) and
marks it as hidden.

Change-Id: I56cd1f2d0b3323399ef02c3a0a05d79cc69af956
2018-01-29 08:59:00 +00:00
Zuul
7f400ce64a Merge "Add octavia L7Rule Resource" 2018-01-28 05:41:45 +00:00
rabi
9b6bcaf50d Remove db api and tables for CloudWatch
Change-Id: Ic728a994865a923b7cc56d9c6b5df0c0d38626e1
Closes-Bug: #1743707
2018-01-28 09:35:07 +05:30
rabi
6d55417f80 Remove CloudWatch API
This patch removes the API, the next set of patches in the
series would remove stack watch service and related
WatchRule implementation.

Change-Id: I8b0472be862907298c8da51f435b5d8b19610ec3
Partial-Bug: #1743707
2018-01-28 09:11:17 +05:30
Hongbin Lu
1617aadf5f zun: add hostname, hints and security_groups
Add three properties to the container resource: hostname,
hints and security_groups. The 'hostname' is the hostname of
the container. The 'hints' is a set of key-value pair passed
to the scheduler. The 'security_groups' is a list of neutron
security groups.

Change-Id: I518e37c9907350e364fa9a16b25013e68cc60fa9
2018-01-27 18:17:47 +00:00
OpenStack Proposal Bot
5538fa956a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I84726eb52b30a162af610eb94b7694ab55709381
2018-01-26 06:11:08 +00:00
rabi
946c576026 Add octavia L7Rule Resource
This also adds releasenotes for the newly added resources.

Change-Id: Ibaa618d14ea06f6ed2b2fc81d8d3ef270ee16a36
Closes-bug: #1737567
2018-01-23 13:03:55 +05:30
OpenStack Proposal Bot
3ddd4e2c3b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I690468f849255887ab2a95712c3e01559dedabae
2018-01-13 06:37:12 +00:00
OpenStack Proposal Bot
5491ea5eac Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I61e7ef141855174f15e5a579af9c412b9865b467
2018-01-12 07:58:52 +00:00
Zuul
e5d681fed0 Merge "Deprecate OS::Aodh::Alarm" 2018-01-11 11:05:26 +00:00
Nicolas
842fddb4db Add project tags to heat orchestration
Enables heat orchestration to accept meta-data for project tags

Depends-On: I486b2969ae0aa2638842d842fb8b0955cc086d25
Change-Id: If9125519e35f9f95ea8343cb07c377de9ccf5edf
Partially-Implements: bp project-tags
2018-01-09 16:33:13 +00:00
OpenStack Proposal Bot
278500243c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I11e01a93defc9811fe4d892e1a0ce15443a409cf
2018-01-06 06:57:10 +00:00
Steven Hardy
7a42ec8657 Add removal_policies_mode to ResourceGroup
This enables choice over the current behavior which is to always append
to the resource data blacklist, or overwrite it (which is sometimes needed
e.g if you decide you want to reuse that group index)

The default behavior is unchanged, but the new behavior can be selected
via the "update" value.

Change-Id: I1157627b07d98dd079657c320ad783a3ba5bce81
Closes-Bug: #1741053
2018-01-04 09:41:15 +00:00
Zuul
5eb4f8225d Merge "Imported Translations from Zanata" 2017-12-26 16:53:17 +00:00
Zuul
0ed83b9b44 Merge "[policy in code] part 7 add sample and releasenote" 2017-12-26 11:00:46 +00:00
OpenStack Proposal Bot
b636dc1e69 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I75180b26ee4450828330755baebbfaf5dfefaa44
2017-12-25 06:59:32 +00:00
OpenStack Proposal Bot
64b866ec0b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I684319eae9c06e666f266bce8cfdc00229fa7894
2017-12-24 06:27:31 +00:00
Zuul
f2b4007837 Merge "ForceDelete Instance" 2017-12-18 05:46:11 +00:00
Zuul
a96b876764 Merge "Enable to specify network for Trove Cluster" 2017-12-18 05:41:41 +00:00
chestack
2441a02c1c Enable to specify network for Trove Cluster
we should enable heat to specify network for trove cluster
after [1] merged

[1] https://review.openstack.org/#/c/179443/

Change-Id: I161b7cc1c4824f6aa4a4667bf2d909a2ead81cb4
2017-12-15 11:52:49 +00:00
OpenStack Proposal Bot
2572705698 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9149a09b534c33f52b2073318e2a3bafdc05e65a
2017-12-14 07:37:10 +00:00
ricolin
b53f8e472d Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.
Closes-Bug: #1737955

Change-Id: I981c5a6476b40bf9f7fcd35ae0c638e77912f060
2017-12-13 15:01:23 +00:00
ricolin
222a8ac5e9 [policy in code] part 7 add sample and releasenote
Since we're moving all policy into code and documenting it there we
should generate those docs automatically, so they are less likely to
be out-of-date.
Also add releasenote for ops to aware that Heat is now using
policies in code and their Orchestration service needs to avoid
depends on policy.json file if file not exist, since there is no
such file by default after this patch.
Partially-Implements: bp policy-in-code

Change-Id: I25fc5a110b1fe515918e042f220c23ac9a7e811f
2017-12-13 10:58:56 +08:00