While testing I discovered a couple of corner cases not previously
handled:
- If you provide values/keys via a get_attr reference it's possible for
them to be None during validation
- If the input map has an unhashable value, it breaks the values replacement
so we need to tolerate a failure to lookup an unhashable key in the values
data.
Change-Id: I14d92056e0a07816a216aba752711887e8ac0aa5
I missed adding the reno in https://review.openstack.org/#/c/343731/
and there was a minor docs nit mentiond also.
Change-Id: Ib78ca19b96a239c0a06758c259e2e74e10ed26e5
This adds a new map_replace function that can iterate over a map
(e.g json parameter) doing key/value replacements.
Change-Id: I29f0e438c398fda715c79727ed5de8383e5b5d7b
Implements-Blueprint: blueprint map-replace-function
Change namespace of some files to '*aodh*' instead of '*ceilometer*'.
Blueprint migrate-to-use-aodh-for-alarms
Change-Id: I2c4d565ded5f9f7146b23479acd2702f976b8833
Current Support Status guide omits information about
Resolve rule in translation mechanism, so need to add
it.
Change-Id: I2ad9765bb1c68582c75049d37311e50167a0ada7
Closes-bug: #1597226
Release version names are easier for template authors to remember than
seemingly arbitrary dates. It should also make it clearer to new Heat
users that heat_template_version is not like a BIND zone file version
(which would be incremented with each version of the template).
Change-Id: Iae9b6a676702b2a115b18fdfb1ab2afbe5faacde
blueprint support-alias-for-heat-template-version-names
These moved, so update the index, and align it with the parent index
page referencing developing guides content.
Change-Id: I3ffe44b112e0c6f65bb8dcdab064bf6d0879a46a
In Python3, dict.keys() returns a view object rather than a list. This
behaves differently in that changes to the dict also modify the view, and
in that the view type interacts with various operators in different ways to
lists.
One universally correct transformation to preserve Python2 behaviour in
Python3 would be to replace all instances of d.keys() with
list(six.iterkeys(d)), and indeed we did. However, like many automatic
transformations the results are usually unsightly, invariably inefficient,
and frequently absurd. Not least because list(d.keys()) and indeed list(d)
are also equivalent.
This patch changes to using the simplest correct method of accessing the
data we want in each case.
This reverts or rewrites most of commit
4ace95ad47da7099191a06325c5d0b156fd54894.
Change-Id: Iba3cf48246d8cbc958d8fb577cd700a218b0bebf
Allow global environment contain global template files.
This can lead to further access to global template files.
For example a template file `my_tmpl.yaml` under global template
directory (`/etc/heat/templates` by default) can be directly accessed in
stack with `get_file`.
Partial-Bug: #1454401
Change-Id: I0a1c9d50441f88144980214fbc8e6757193cfb41
On the Heat Stack Lifecycle Scheduler Hints page [1], there are two
occurrences of redundant language. In the first and third paragraphs it
says "...passed *to nova and cinder* by heat as scheduler hints, *to the
configured schedulers for nova and cinder*."
"to the configured schedulers for nova and cinder" is removed from both
sentences in this patch.
[1]
http://docs.openstack.org/developer/heat/developing_guides/schedulerhints.html
Change-Id: I6f525986c82f850f86a20a232b96a36ed7d622cc
Closes-Bug: #1585792
Provides condition function 'equals' for hot template,
'Fn::Equals' for HeatTemplate, which versions
are 2016-10-14.
Change-Id: Ib0ffa76e6c562dfbddca5f9dce807f2c6ea3eb82
Blueprint: support-conditions-function
Some markup features are sphinx-specific and
are not supported by current library. Some bug were
reported https://bugs.launchpad.net/doc8/+bug/1426503
about this, but it is not fixed and we need working
docs.
In current situation whole blocks of code are not shown
so i removed usages of error-inflicting directive :linenos:
Change-Id: I25e2d193b10d713bbe64fb227afb71310874bb9f
Add function that can evaluate yaql expression on a given
data. YAQL (Yet Another Query Language) is an embeddable
and extensible query language, that allows performing complex
queries against arbitrary objects.
https://github.com/openstack/yaql
small example in yaql_example.yaml
implements-bp yaql-function
Co-Authored-By: Oleksii Chuprykov <ochuprykov@mirantis.com>
Change-Id: I63885f5754cb19325ff199920ebed5db9b278786
Glance v1 is deprecated, '--is-public' is unavailable in
glance v2, this change will use '--visibility' instead in
jeos_building.rst.
Change-Id: Iacd77ef317044ce6ebc32a2882fb4b92bf02c4e3
When building packages if git is absent, then we should not set
html_last_updated_fmt. It can still be set via the -D switch
when building with sphinx-build.
Change-Id: I6d2db4687632e9be2848c819d2eb93ffe680ba24
Closes-Bug: #1552251
This makes sure that type checking is done by oslo.config
on the test override values.
Change-Id: Ia8c1cb55fe98e9d06b9b9ff13e5c2d25aa67bff3
Closes-bug: #1517839
Rename source_path to translation_path in translation,
which clarifies, that the path means where we should do
changes.
Change-Id: I8ffc157dee95e9f5507773b3cf4969cf9a2a289b
API calls raising uncaught exceptions have previously caused problems,
especially when deleting stacks or cleaning up after a stack's partial
deletion. This commit explicitely documents this pitfall.
Change-Id: If86ef0deb5b8eaa1a0665c07bfddcfe52994f249
Related-Bug: #1554625
This patch changes:
1. Using `[[local|localrc]]` section of local.conf
instead of localrc file.
2. Add service aodh as enable plugin if using ceilometer
alarm.
Change-Id: I6098a978e57292dc913ed916b79cd372147b6dbe
1. Add a HOT template version 'heat_template_version.2016-10-14'
2. Add Newton version '7.0.0' in doc
Change-Id: I8194adbe9a27f982a6b123dda78849d6e5b33eeb
Heat architecture document has hyperlink to external document
such as AWS cloudformation and it was not formatted properly.
So this patch fixes it.
Change-Id: Ia5bc06b0c2045cd6732039d76204ced89eeecc3e
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.
Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668