200 Commits

Author SHA1 Message Date
Zuul
75b4ce04cb Merge "Replace pbr autodoc with sphinxcontrib-apidoc" 2018-06-15 01:27:26 +00:00
Zuul
74919e5b00 Merge "Add Rocky versions" 2018-05-02 16:31:16 +00:00
ricolin
6665d9989f Add Rocky versions
* Add Rocky code name
* Add new HOT version for Rocky release
The new version is "2018-08-31" or "rocky".
* Add sem-ver flag
Sem-Ver: api-break

Change-Id: I261b6c28b8b7ee9e75ca9a895155a656ef82cd0d
2018-04-26 14:44:03 +08:00
Zane Bitter
3f98c3d6fb Docs: modernise links
Switch to https, replace outdated URLs with canonical ones.

Change-Id: I7c474dbf0b21f922b6625e31d6ae7df1e198b8de
Co-Authored-By: chenghuiyu <yuchenghui@unionpay.com>
Co-Authored-By: Max Pavlukhin <pavlukhinm@gmail.com>
Co-Authored-By: yfzhao <dsware@126.com>
Co-Authored-By: ricolin <rico.lin@easystack.cn>
2018-04-11 16:46:07 -04:00
Zane Bitter
96e97013f1 Replace pbr autodoc with sphinxcontrib-apidoc
This fixes local building of the documentation using tox, and allows the
gate to stop relying on pbr and move completely to the new docs PTI.

http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I6ef3e102f5a169262efbbaeec61452f0a2443fb4
Depends-On: https://review.openstack.org/560577
2018-04-11 16:35:01 -04:00
Zuul
04be5a736e Merge "Remove CloudWatch API" 2018-01-31 19:29:03 +00:00
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
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
Zuul
3c1871f96f Merge "Revert "Register heat tempest plugin"" 2018-01-18 04:20:25 +00:00
Zuul
9762cdf205 Merge "Add octavia client plugin and constraints" 2018-01-04 10:03:23 +00:00
ricolin
64c37f3ea1 Revert "Register heat tempest plugin"
This reverts commit 00a1814d5e456143518e4806c049cd1bf61ca48b.

Change-Id: If0def06223164609adc3f8ce69c672cfcb93de3f
2017-12-29 14:52:33 +08:00
rabi
4107b52123 Remove policy.json from setup.cfg
Change-Id: Iec915afdc290f87f74597353c7e4a455bc28e791
2017-12-26 17:55:56 +05:30
rabi
d0787393ce Add octavia client plugin and constraints
Change-Id: I0fa34d19781c49ede8743defe72bbdc63f375896
Partial-Bug: #1737567
2017-12-23 12:37:33 +05:30
Zuul
03bcacc536 Merge "Remove broken heat.resource_type custom constraint" 2017-12-05 21:48:17 +00:00
befafa3328 Remove SSLMiddleware from oslo.config namespace
Change [1] removed SSLMiddleware from code but
missed removal of oslo-config namespace, this
patch cleans it up.

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

Change-Id: Ibeeece25a13706e3ce0b58dbb9746090d881b909
2017-11-27 13:05:00 +05:30
ricolin
b171490450 [policy in code] Part 1 Base framework
This adds the basic framework for registering and using default policy
rules. Rules should be defined and returned from a module in
heat/policies/, and then added to the list in heat/policies/__init__.py.

new policy wrapers `registered_identified_stack` and
`registered_policy_enforce` has been added for policy enforcement of
registered rules with same parameter as `identified_stack` and
`policy_enforce` besides set `is_registered_policy` flag to true.
This flag will decide to use new policy framework or not.

Now we can use `tox -e genpolicy` to check and generate policy file.

Change-Id: I7a232b3ea7ce0f69a5b7ffa278ceace7a76b666f
Partially-Implements: bp policy-in-code
2017-11-21 16:23:11 +08:00
Jesse Pretorius
e5e352f25d Add default configuration files to data_files
In order to make it simpler to use the default
configuration files when deploying services
from source, the files are added to pbr's
data_files section so that the files are
included in the built wheels and therefore
deployed with the code. Packaging and deployment
tools can then more easily use the default files
if they wish to.

This pattern is already established with similar
files for neutron, designate and glance as has
been mentioned in the related bug report.

Change-Id: I1f3c9b2e27d44f28f0e649e2c96a1c3dc1da9ea6
Closes-Bug: #1718356
2017-09-21 15:19:25 +01:00
Jenkins
ccfb868f72 Merge "* Add new HOT version for Queens release" 2017-08-23 09:20:36 +00:00
huangtianhua
c3546d9309 * Add new HOT version for Queens release
The new version is "2018-03-02" or "queens".

Change-Id: Icbb7ff4d717dd10d18a93387edfdb8fcee3d7927
2017-08-22 10:03:18 +08:00
Matthew Edmonds
1d02822c0f fix heat_keystoneclient config gen
This corrects the entrypoint for heat_keystoneclient so that
oslo-config-generator can find it.

Change-Id: I366589c30626232771714394ed6d9353db6f04ba
Closes-Bug: #1711445
2017-08-18 09:00:02 -04:00
Zane Bitter
c26f367b03 Remove broken heat.resource_type custom constraint
This reverts the commits f5c32ad8fda3d7dcee6e4f9447621cde6d0f8a0 and
14fdf72b000c82a80abb2587189dd7c6c7dfa0a0e.

The constraint never worked and the stuff to pass the template to
constraints (which was broken because we actually passed a
ResourceDefinition instead) is a pain. Just get rid of it rather than
fix it.

Change-Id: I4e1e787ad94ac1951f472ea066a9b1c9d3e03611
Closes-Bug: #1661403
2017-08-01 13:35:16 -04:00
rabi
e8e0a2483a Fix python-novaclient 8.0.0 related issues
New python-novaclient release has removed support for
network/image/floating_ip apis. This also means
nova-network support would also cease to exist after
this change.

Change-Id: Icbcf279c10720f99a0aed1a3aaaf3945c5442a8a
Closes-Bug: #1690936
2017-05-16 16:12:04 +02:00
Jenkins
e9679344c9 Merge "Implement Zun client plugin" 2017-04-26 08:36:18 +00:00
AleptNmarata
f4c213519e Implement Zun client plugin
Co-Authored-By: Hongbin Lu <hongbin.lu@huawei.com>
Partial Implements:blueprint heat-plugin-zun

Change-Id: Icedc709222f04d52769bbe95a34a0178c01a44e0
2017-04-26 06:06:41 +00:00
rabi
a466f2a56f Add segment property for subnet
Change-Id: I662e47c618ece613d4cc9b2a2bd340c0cf64adbb
Partially-Implements: blueprint neutron-routed-networks
2017-04-25 10:44:53 +05:30
rabi
5ad8241f98 Add openstacksdk plugin
Change-Id: I70349b9a3d66e50bd096422594bfe97f8fa15500
Partially-Implements: blueprint neutron-routed-networks
2017-04-16 18:44:20 +05:30
Jenkins
e64e0064ee Merge "Add constraint for cluster template" 2017-04-07 02:47:32 +00:00
ricolin
054add9b95 Add constraint for cluster template
New constraint for cluster template. This will be used in Cluster
resource to validate cluster template.
Partial-Bug: #1625757

Change-Id: I3ebcc06e3bc18633bc0b59dd8fce9b160e792382
2017-04-06 17:31:44 -05:00
Jenkins
253fae1df8 Merge "Remove domains *-log-* from compile_catalog" 2017-03-22 10:01:39 +00:00
Jenkins
0e1c4faa9b Merge "Remove support for py34 for heat" 2017-03-15 16:08:02 +00:00
Zane Bitter
2a887c06d8 Add new HOT version for Pike release
The new version is "2017-09-01" or "pike".

Change-Id: I7f1bccb39edc036c2b7b1340d430937bd0dc1de2
2017-03-14 15:34:31 -04:00
gengchc2
21bf937a4b Remove support for py34 for heat
The gating on python 3.4 is restricted to <= Mitaka. This is due
to the change from Ubuntu Trusty to Xenial, where only python3.5
is available. There is no need to continue to keep these settings.

Change-Id: Ic7b3fb3ff7b68cf280e36335aa9cacd644cc877a
2017-03-10 06:22:01 +00:00
Alfredo Moralejo
071fa9a5f9 Remove domains *-log-* from compile_catalog
Translation for logs are being retired [1] and compile_catalog
will fail once they are not found.

[1] http://lists.openstack.org/pipermail/openstack-i18n/2017-March/002799.html

Change-Id: Iec3badb99befbaff81bf1d7092ed5376be016033
2017-03-01 10:55:38 +01:00
Jenkins
0ad7675cb4 Merge "Add sahara constraints" 2017-01-23 05:17:23 +00:00
Ethan Lynn
91a7a413d3 Add policies property to cluster resource
Add policies property to cluster resource, policies will be attached
to cluster after cluster creation.

Change-Id: I272fbace441db76339bb6fb689e7f863cca49cad
2017-01-19 04:52:46 +00:00
Dmitriy Uvarenkov
0266de616c Add sahara constraints
Add few constraints for better stack validation.
Also, refactor old sahara constraint tests to
make everything more compact.

Change-Id: I7157fdc7077bddfda432a40f2597463ae23577bb
2017-01-18 16:45:59 +04:00
Kanagaraj Manickam
d6150661dc Add designate recordset support
Designate supports the recordset from v2 api
and this patch adds support for recordset resource
plugin.

Change-Id: I5ace854ede4de3566445d1324c720cdcbb982aa2
implements: blueprint heat-designate-recordset-zone
2017-01-09 09:36:45 +05:30
Zane Bitter
626d7fc540 Add a zaqar.queue custom constraint
This doesn't actually do anything, because any string is a valid queue name
(the queue will be created automatically when you interact with it), but it
at least allows us to annotate resource properties to indicate their type.

Change-Id: Iff321ca8d8565f48e04a80b05e3f9610a6346737
2016-12-16 12:04:42 -05:00
tengqm
0f2f9c2155 Remove oslo-incubator modules
Oslo.incubator has become a history. This patch moves the crypto utils
functions to heat.common.crypt.

This also cleans up crypt.py to remove some unused methods.

Co-Authored-By: Rabi Mishra <ramishra@redhat.com>
Change-Id: I439612b37249f0cca041361e647e36643150c3d6
2016-11-08 13:39:24 +05:30
Dan Prince
1486289a75 heat-all: all-in-one heat launcher
This patch implements a new heat-all command that can be used
to launch a single process version of the configured heat services.
The end user can control which services are launched by setting
'enabled_services' in the heat config file:

[heat_all]
  enabled_services = api,engine

One use case for this launcher would be to launch a single process heat
using rpc_backend = fake, connection=sqlite://heat.db, to have access
to a minimal all in one Heat API/Engine for TripleO undercloud
deployments via Heat templates.

Change-Id: Ic35bdc455fe1397ac575522af0c8fca96dd95676
2016-10-13 11:49:15 -04:00
mohankumar_n
9180d7b07a Add networking-sfc port-chain resource plug-in
This patch adds below networking-sfc resource

OS::Neutron::PortChain

blueprint : sfc-heat

Change-Id: I2283e40ac4b562ff2d8780ea403a397073c2a82b
2016-10-11 12:50:16 +05:30
Jenkins
6b617dce39 Merge "Add networking-sfc port-pair-group resource plug-in" 2016-09-28 07:57:47 +00:00
ricolin
aa90b5a7ec Add a new HOT template version for Ocata
Add new template version `heat_template_version.2017-02-24`, and
add version `heat_template_version.ocata` refering to
`heat_template_version.2017-02-24`.

Change-Id: Ic89fc1a02988091dd2833cc50abee61edfabbb00
2016-09-22 09:34:07 +08:00
mohankumar_n
0dbe25a2b1 Add networking-sfc port-pair-group resource plug-in
This patch adds OS::Neutron::PortpairGroup sfc resource

blueprint : sfc-heat

Change-Id: I8ad274e697b2a950449172a5a3e71a8f7b9fd7c9
2016-09-21 19:02:49 +05:30
ricolin
3fbc60e65a Add cinder qos specs constraint
This patch implement qos specs constraint for cinder

blueprint update-cinder-resources

Change-Id: I2220bd9d544cf819b203f9574f144bf7de141ec4
2016-08-31 01:03:11 +08:00
Zane Bitter
e154961e45 Include heat_integrationtests in setup.py install
This is necessary in order for downstreams to be able to package the
tempest plugin.

Change-Id: I98ea8d8b168a4f9902f4ebe91b66db5cacbfbcce
2016-08-23 13:26:20 -04:00
Steve Baker
00a1814d5e Register heat tempest plugin
This allows heat_integrationtests tests to be run with the current
method *or* with the tempest runner. To run with tempest, configure
heat_integrationtests/heat_integrationtests.conf as before, then add
the following to the configured tempest.conf:

  [service_available]
  heat_plugin = True

Then run with tempest, for example

  tempest run --regex heat_integrationtests

The next step will be for tempest runs to take configuration values
from tempest.conf rather than heat_integrationtests.conf

blueprint tempest-plugin-support

Change-Id: I920a6616dbd79092d5bf9a8c4f48da2f94c0a326
2016-08-13 09:51:11 +12:00
huangtianhua
70c4ab3fcf Support 'conditions' section for templates
This changes:
1. Support 'Conditions' for AWSTemplateFormatVersion: 2010-09-09
2. Support 'conditions' for heat_template_version: 2016-10-14
3. There is no need to add a new HeatTemplateFormatVersion template,
   because we decide to support conditions in AWSTemplateFormatVersion
   and heat_template_version: 2016-10-14, so remove the
   HeatTemplateFormatVersion.2016-10-14
4. Move the definition of function 'equals' to hot/functions.py
5. Mark 'equals' as condition function which supported in conditions.

Change-Id: I2e7bdfa1c2052e75f35f2bd0003cdc170188d8b8
Blueprint: support-conditions-function
2016-08-03 09:17:31 +08:00
Jenkins
f9fada0157 Merge "New common constraint 'Expiration'" 2016-08-02 09:50:21 +00:00
Dmitriy Uvarenkov
70422e6de4 New common constraint 'Expiration'
Checks if expiration date is bigger than actual date.

Change-Id: Iccbd2e691400b64beb65c3a4a22a01aa0d384d32
2016-08-01 12:43:42 +03:00