320 Commits

Author SHA1 Message Date
ricolin
f8ef790e96 Use resource_id instead of phy rsrc name in InstanceGroup
Use default resource implementation for get_reference_id in:
* OS::Heat::InstanceGroup
* OS::Heat::AutoScalingGroup
* AWS::AutoScaling::AutoScalingGroup

Story: #2007007
Task: #37870

Change-Id: I7fd223a3bde1c5d2ecd073124a25675567e406d2
2020-04-16 14:22:06 +08:00
Zuul
d8354d908e Merge "Add Octavia Quota Resource for lbaas quota parameters" 2020-03-12 04:12:46 +00:00
Haider, Nafiz (nh532m)
bbb899a4f5 Add Octavia Quota Resource for lbaas quota parameters
Change-Id: Ib6423b9f14beefd3daf5ac5f516b49cdd9fa0a00
2020-03-06 20:08:44 +00:00
Feilong Wang
dd29c9508c Support allowed_cidrs for Octavia listener
Support ``allowed_cidrs`` property for the resource ``OS::Octavia::Listener``,
the property is allowed to be updated as well. The property 'allowed_cidrs'
was introduced in Octavia since Train release. The default value is empty
list if it is not specified in Heat template.

Task: 38952
Story: 2007378

Change-Id: I9d38716b236b0782f0d09097b7a0f615fe5be041
2020-03-07 07:33:37 +13:00
Zuul
920c4877bf Merge "Split 'action' policy into more granular controls" 2020-03-04 18:20:45 +00:00
Feilong Wang
50d72b8c0b Support handling empty string for volume AZ
When building a complex stack, instance and volume are both
necessary. But the support of AZ in Nova and Cinder are slightly
different which is causing troubles to build the Heat template.
Without setting, the property availability_zone of volume always
got "", an empty string, instead of None. As a result, Cinder will
return 400 BadRequest error. This patch will turn the empty
string into None, to make sure Cinder can correctly handle the
scenario when availability_zone of volume is not set.

Task: 38853
Story: 2007330

Change-Id: Ib5bddf12ca63849a030d1d579d0a2e853e8b848a
2020-02-24 21:53:57 +00:00
Zuul
5f601d5153 Merge "Use resource_id instead of phy res name OS::Heat::AutoScalingGroup" 2020-02-21 00:04:18 +00:00
ricolin
35cc048fcb Use resource_id instead of phy res name OS::Heat::AutoScalingGroup
We now will uses resource_id instead of physical resource name when we use
get_resource in template.

If you run `get_resource: {physical autoscalinggroup_1}`, will now
return resource id for `autoscalinggroup_1`.

Change-Id: I71ec0f28d3c8251e776d014a38e6a1984daf52ae
Story: #2007007
Task: #37787
2020-02-21 00:03:44 +08:00
Zuul
7466e87d4b Merge "Make properties updatable for IKE policy of VPNaaS" 2020-02-19 23:40:22 +00:00
Zuul
786c12000b Merge "Deprecate 'accessIPv4'/'accessIPv6' attributes" 2020-02-19 23:35:15 +00:00
huangtianhua
f4ca6e8288 Make properties updatable for IKE policy of VPNaaS
Allow to update properties for IKE policy of
VPNaaS.

Change-Id: Id0e50b5757a17c99c9d91761bd600e9e83d75ed1
Task: 17216
2020-02-19 20:24:34 +00:00
huangtianhua
fc57076d3c Deprecate 'accessIPv4'/'accessIPv6' attributes
Nova now return these two attributes with empty value,
deprecated them.

Change-Id: Id176d8cbc332cb02ff4f1523993ee5b232e0aa15
2020-02-19 19:42:45 +00:00
Zuul
d5c01a7359 Merge "[S2007072] Enables case insensitive user name search." 2020-02-14 07:45:18 +00:00
Sampat P
9dded0d8c8 [S2007072] Enables case insensitive user name search.
Task: 37963

If heat templates use keystone user name in a case different
from the case in which the user name is stored in keystone DB
Heat stack creates fails. This change adds an option to heat
engine to enable case insensitive user name search.

Change-Id: I8e5cb027beebce39921d336fb3845125b0efc5bc
2020-02-13 11:54:45 -05:00
Zuul
a7b554cd80 Merge "New resource OS::Neutron::ExtraRouteSet" 2020-01-22 07:50:45 +00:00
Zuul
e3de1453ad Merge "Add support for Octavia's Flavor and FlavorProfile resources" 2020-01-21 11:42:58 +00:00
Zuul
b259a4aca9 Merge "Support tls_enabled for Octavia pool" 2020-01-20 18:11:22 +00:00
Gregory Thiemonge
68a8219315 Add support for Octavia's Flavor and FlavorProfile resources
Added OS::Octavia::Flavor and OS::Octavia::FlavorProfile support.
Added flavor parameter in OS::Octavia::LoadBalancer.

Flavor and FlavorProfile allow to configure/tune Load Balancer
capabilities (enable/disable HA, etc...)

Story: 2007081
Task: 37993

Change-Id: If31a888e5867ac6941ff0d515d4b88894fb97572
2020-01-20 18:57:37 +01:00
Bence Romsics
e0a69202d2 New resource OS::Neutron::ExtraRouteSet
I hope I remembered all the discussion points we had about how to design
this plugin, so:

* Instead of changing OS::Neutron::ExtraRoute we introduce
  OS::Neutron::ExtraRouteSet so we can take advantage of Neutron API's
  ability to add/remove multiple extra routes at once.

* Addition and removal of extra routes is supposed to be atomic with
  Neutron extension 'extraroute-atomic'. An update involves a removal
  and an addition, therefore an update is not atomic operation. However
  unless the responsibility for an extra route is moved from one stack
  to another that should not be a problem.

* Sharing the responsibility for an extra route between stacks (that is
  multiple stacks defining the same extra route) is not supported due
  to the Neutron API not allowing this.

Let me know what did I forget.

Example template:

resources:
  extrarouteset0:
    type: OS::Neutron::ExtraRouteSet
    properties:
      router: { get_resource: router0 }
      routes:
        - destination: 10.0.0.0/24
          nexthop: 10.0.0.10
        - destination: 10.0.1.0/24
          nexthop: 10.0.0.11
  ...

Change-Id: Ic1fe593d9821d844fd124b0212d444f6e3a0015e
Depends-On: https://review.opendev.org/675900
Story: #2005522
Task: #36264
2020-01-17 09:41:00 +00:00
Zuul
329570afe7 Merge "Heat templates doesn't support AZ for trove cluster" 2020-01-14 00:17:36 +00:00
Zuul
e5076ce6b2 Merge "Support for shared services in multi region mode" 2020-01-09 19:07:29 +00:00
johjuhyun
c78decaff7 Heat templates doesn't support AZ for trove cluster
Heat templates doesn't support Availability zone for
trove cluster now (support for only single trove instance)

Change-Id: If1df464df6248b46f59f3603177bc7fc45dc2755
Story: #2004821
Task: #28989
Signed-off-by: johjuhyun <juhyun.joh@samsung.com>
2020-01-09 17:47:57 +00:00
Zuul
1df8756ccc Merge "Added a Vitrage client" 2020-01-07 21:36:25 +00:00
Nakul Dahiwade
fd41115805 Support for shared services in multi region mode
The services are declared in a list in config.
shared_services_types=image, volume, volumev2

Change-Id: I64c00756cc28db616e9e49e6eb1613b76a19068e
Story: 2003772
Task: 26464
2019-12-23 18:47:00 +00:00
OpenStack Proposal Bot
9c6fd452b7 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0d1437cd97da93984342896afa20f31e6a473cbc
2019-12-22 09:16:37 +00:00
Ifat Afek
ab584e500e Added a Vitrage client
Story: 2002684
Task: 23116
Change-Id: If05f0907d8f43f64327c7774170e5b559286fc06
2019-12-19 15:25:30 +00:00
Zuul
d33d27af0d Merge "zun: add 'tty' property to container" 2019-12-19 08:23:21 +00:00
Zuul
80e3534832 Merge "Add release note for log path changes" 2019-12-19 07:30:15 +00:00
Feilong Wang
caf97f242a Support tls_enabled for Octavia pool
Adding support `tls_enabled` property for the resource `OS::Octavia::Pool`, the
property is allowed to be updated as well. The property 'tls_enabled' was
introduced in Octavia since Stein release. The default value is False if it
is not specified in Heat template.

Task: 30926
Story: 2005646

Change-Id: I1de9154e5e2ba9f246b2785f18ce7891e69ec25c
2019-12-19 16:02:29 +13:00
Hongbin Lu
74567b3f08 zun: add 'tty' property to container
This property allows users to open the TTY of the container.
It basically allows users to use horizon's console to access
the container interactively. For example:

  resources:
    test:
      type: OS::Zun::Container
      properties:
        image: "cirros"
        interactive: true
        tty: true
        command: "/bin/sh"

Change-Id: I70f64d43ed6d2bcb5bab3e5c8f986ca827df8c6f
Closes-Bug: #1856233
2019-12-19 02:38:40 +00:00
Haider, Nafiz (nh532m)
c7455722e1 Deprecate injected_file properties in Nova Quota Resource
The following properties are deprecated in nova and need to be removed
from the nova quota resource.

Corresponding nova PS deprecating properties:
https://review.opendev.org/#/c/509013/

Change-Id: If4390977f942087a1012d609186eefc4a624d411
2019-12-13 15:59:40 -06:00
Zuul
4820a9b8e5 Merge "Imported Translations from Zanata" 2019-12-05 08:44:26 +00:00
Zuul
02e9fb9580 Merge "Fix Firewall policy resource" 2019-12-05 07:18:47 +00:00
OpenStack Proposal Bot
fa1e211a16 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ia1b1fd0dc91129146f0ec14985922090f8e04c0a
2019-12-05 07:18:24 +00:00
Zuul
ed7add1638 Merge "Drop Python2 support" 2019-11-15 04:57:50 +00:00
OpenStack Proposal Bot
70962a434e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ibcba46308206fa54949e905355c0f639c006e845
2019-11-14 07:35:29 +00:00
Rabi Mishra
49a2a1e55a Remove nova api extension checks
Entire api extension concept has been removed from nova. API bindings
which have been deprecated since Train release are removed with
https://review.opendev.org/#/c/686516/.

Change-Id: Ifd318a54ef01eb500cebbc11e642b3ae62e5fc79
2019-11-06 20:03:56 +05:30
Zane Bitter
e0dbb3f7fa Drop Python2 support
Change-Id: I6f248dfd82502ef225ba755246c2de385d30f4b2
2019-11-06 16:55:41 +08:00
Zane Bitter
6f8837d84e Split 'action' policy into more granular controls
Allow operators to specify different policies for each action, since
each action is quite different in character.

The previous "actions:action" rule remains and is the default for each
of the new rules, so there is no effect on existing policies and no
action required by the operator unless they want to take advantage of
the additional flexibility.

Change-Id: Ic4985e8637bc4f34ea2514075b30d2ec32f3441c
Task: 37296
2019-10-29 12:24:29 -04:00
lidong
624be98be0 Fix Firewall policy resource
OS::Neutron::FirewallPolicy resource cannot be created without firewall_rules.
I can create firewall policy via the rest api of neutron.And in the rest api
of neutron to create firewall policy ,the firewall_rules is an optional parameter.
This should be consistent with the rest api of neutron.
So I think the firewall_rules should be an optional property
of OS::Neutron::FirewallPolicy resource.

Add releasenote about this.

Change-Id: I74cb22a7995376c2339f24fca9ca5d651d598480
Task: 36037
2019-10-15 01:19:40 +00:00
Zuul
008346fd3a Merge "Support domain in keystone lookups" 2019-10-08 18:51:00 +00:00
Sampat P
169a35e059 Support domain in keystone lookups
Implements: User, group, role and project lookup across domains.
Added domain parameter to keystone lookup functions.
Heat templates now support user{domain}, group{domain},
role{domain} and project{domain} to support cross domain
lookup. Keystone constrains will also work across domain.

Release note added.

Story: 2005523
Task: 30642

Change-Id: I2b02787bd8883ced631b81174cee9134445bf170
2019-10-01 09:42:40 -04:00
Zuul
b729cba6ca Merge "Support Ignition for userdata" 2019-10-01 05:46:30 +00:00
Feilong Wang
f6249c0110 Support Ignition for userdata
Fedora CoreOS will replace Fedora Atomic being the next generation
container OS. So it would be nice to support Fedora CoreOS in Heat.
In Fedora CoreOS, the cloud-init will be replaced with Ignition[1],
so the changes proposed in this patch are mainly focusing on how to
support Ignition when using Heat SOFTWARE_CONFIG with Ignition.

Task: 36671
Story: 2006566

Change-Id: I11df2431634de7d8b584b1a2ac733d43959e34fc
2019-10-01 07:08:05 +13:00
c7e4a17cff Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: Iffb1374dacda4cef97b5128105dccb984f9a5554
Sem-Ver: feature
2019-09-29 19:52:30 +00:00
Zuul
ca645aba79 Merge "Remove designate v1 support" 2019-09-28 07:06:01 +00:00
ricolin
4099eea873 Add release note for log path changes
Depends-On: https://review.opendev.org/#/c/495310
Change-Id: Ieb12e1595f89f08b28275a607ec43f916553d71c
2019-09-26 13:35:26 +08:00
Rabi Mishra
a8fba21f23 Remove designate v1 support
Remove support completely and map the v1 resources to
NoneResource.

Change-Id: I8252e7feb4c1b87497770bf045d844fe5975c2b9
2019-09-26 10:04:03 +05:30
Zuul
784863f12a Merge "Bump the openstackdocstheme extension to 1.20" 2019-09-25 15:50:37 +00:00
ricolin
92ca51ec81 Add release notes
Add release notes for:
- Change default designate client version from V1 to V2.
- Hidden multiattach property in OS::Cinder::Volume

Depends-On: https://review.opendev.org/#/c/682792
Change-Id: I3bb257d7e0c3926aed5df75455f2f2d231dea328
2019-09-20 07:11:39 +00:00