The dib-utils repository was retired when TripleO was retired. We
decided to vendor the dib-run-parts script in os-refresh-config so
we no longer need the separate tiny package for the dib-run-parts
script.
Depends-on: https://review.opendev.org/c/openstack/os-refresh-config/+/910574
Change-Id: Id35efa4b387bd0fa21c1d73a4fe59f88c197f500
The os-refresh-config scripts directory is currently set to
/opt/stack/os-config-refresh, but the latest os-refresh-config expects it to be
/usr/libexec/os-refresh-config
Change-Id: Ic3f61ea88fd431e7d9893c6930c778f6fbf21147
Using --no-cache-dir flag in pip install ,make sure dowloaded packages
by pip don't cached on system . This is a best practise which make sure
to fetch ftom repo instead of using local cached one . Further , in case
of Docker Containers , by restricing caching , we can reduce image size.
In term of stats , it depends upon the number of python packages
multiplied by their respective size . e.g for heavy packages with a lot
of dependencies it reduce a lot by don't caching pip packages.
Further , more detail information can be found at
https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6
Change-Id: I99570e8da62205498bdba6064160d2592a86ad3e
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Since Rocky, Heat supports Blazar which is a reservation service in
OpenStack. This patch provides sample templates regarding Blazar Host
and Lease resources accordingly.
Change-Id: I169a96c63eee59ec9b0d098f86709e6d02d1209f
Depends-On: I1392919540a6bdd67ce7078e3a1206ecdb9854e1
Remove all deprecated hooks and tests.
Also since all test and hooks are removed,
we can remove the declare of python language in classifier.
Since we didn't actually provide any document,
we should remove docs too.
Hooks are maintained as Agents under heat-agents repo now.
Hooks in heat-templates are deprecated for a while. Hence, remove
hooks in heat-templates.
Depends-On: https://review.openstack.org/#/c/584774/
Change-Id: Ia886f71eaf99d75db0f9a6a7dfbe8664995c26e7
I couldn't find a simple example of that resource, so here's a real
simplified one creating a workflow in the same template.
Change-Id: I9de98df8a629227ba83e50382ccba660621fcbd5
We already create repository `heat-agents` for hooks and will keep
maintain hooks there, so we should deprecate all hooks in
heat-templates and plan to remove it in futuer.
Change-Id: Ie2d89d5bab7db2bc6a2e171dc455098811519440
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links
Change-Id: Id87e91d1f95bcb94c31125c467abab17242cb36f
Since Mitaka, OS::Neutron::LBaaS::LoadBalancer replaces
OS::Neutron::LoadBalancer. The patch replaces both
heat_template_version and OS::Neutron::LoadBalancer.
Closes-Bug: #1722853
Change-Id: I284c72b67bdaaadde35a97feb807171046e3a93f
Add template for show cases that how we can use external resources.
external resources in stack does not required to be modified or depends
on the stack.
blueprint external-resources
Depends-On: I8b33c957a7185a0f52356f412b13609ba1a7b469
Change-Id: Ia56318508caf43a7da28bd479becdc602477cad5
Add template for show cases that how we can use
condition for resource, property and output.
Change-Id: I34ba7db9827ad16a23f60f615fa1ae0dbdc38aa8
Blueprint: support-conditions-function
It seems I4a617daf063fb1faf01c71762d6509cb00eed0b6 has added some
wrong resource references. It seems it was not detected at that
time with the dsvm job and some recent heat code changes have made
it detect the issue.
Change-Id: I1ac6371929fd2dbbe16c8faa6617cad1e4367fdf
Closes-Bug: #1707874
This example seems broken. Though it will work if you
change the auth_url to point to /v2.0 rather than /v3, it's
better to make it work with v3 (the default now for all
keystone deployments).
Change-Id: I411a0f50ae50ee5b7c2564a7764ee9a01b00afea
Add an example serving as documentation. It is not meant to be used as
is, though it works.
Change-Id: I623f778d2678d15ad68d5729a78a4aa3bdd8031f
Depends-On: Iea12844f77abf8c254f6224d55470663eba66aab
Partially-Implements: blueprint support-trunk-port
In py3 basestring and unicode are no longer valid,
and should use `str` instead. In order to cover
py2 and py3, we change to use six lib to cover both.
Closes-Bug: #1682015
Change-Id: I3159470965e3a20161ff0e997af625b45ebe21fa
Add a tempate to demostrates how to create magnum COE cluster.
Partial-Bug: #1625757
Depends-On: I714f6dbc3a612425128f18ef3cea0336fdc47090
Change-Id: I76c0eff8eedcc1d345b21ea9c9689b52a21a6af7
* use fedora base image from fedora registry
* fix ADD and run script
* move package install in Dockerfile for layers
* add zaqarclient
Change-Id: Iaa82fcd7af25ec81e982e6b170aa1d449f6e1166
This change replaces Ceilometer API query to
the corresponding Gnocchi one.
It also replaces the metering.stack to metering.server_group. Using
"stack" need change in Ceilometer and Gnocchi configuration while
server_group will work out of the box.
Change-Id: Id81539624e5bae3487757e2167bf2ccd59c0009b
This removes usage of deprecated Ceilometer API from the hot tempaltes
Marks as deprecated the cfn template.
This doesn't update the openshift, mistral, senlin
autoscaling/autohealing templates. Mainly because I don't have the
knowledge to change where the custom metrics are send from
Ceilometer-API to Gnocchi API.
Change-Id: I4a617daf063fb1faf01c71762d6509cb00eed0b6
The splay option was added in I88f623c9e8db9ed4a186918206a63faec8f7f673
but was missing a trailing } which leads to parse errors. This fixes the
parse errors.
Change-Id: Ic5783220f5d027e0bde0080f50f9e10cbb68289f
Closes-Bug: #1686455
Add the ability to configure the splay option that was recently added to
os-collect-config.
Change-Id: I88f623c9e8db9ed4a186918206a63faec8f7f673
Related-Bug: #1677314
As per monasca documentation, the metrics starting with "vm." are only
visible to admin tenants. Since many users use this template are
non-admin tenants, this is being reflected to use non-admin visible
metrics.
Change-Id: I74201d8517dd5ab482a9f34e3a8aa725c50c8152
Yaml.load() return Python object may be dangerous if
you receive a YAML document from an untrusted source
such as the Internet. The function yaml.safe_load()
limits this ability to simple Python objects like
integers or lists.
Reference:
https://security.openstack.org/guidelines/dg_avoid-dangerous-input-parsing-libraries.html
Change-Id: Ib2bfd11354c6b35c90938c1075729dc7028236a3
This is a template to create a Server along with Aodh alarms that
trigger a Mistral workflow (via a Zaqar queue) to get Heat to recreate
the server in the event that it is stopped, deleted or goes into an
error state.
Change-Id: Iab1b206cc06715cfd7dab0dfe7cb0c3de4c698dc