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
* 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
Instead of instantiating the services, fake their creation in the
catalog to allow Heat to do validation.
Change-Id: Ic6370fa18a3fae369c22ffe0930daa7c7c42c494
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
This patch adds a new Heat software configuration hook that
can be used to generate Json config files in a composable manner
within Heat templates.
This can be useful for everything from providing data to ad-hoc
scripts from configuring kolla containers.
Change-Id: I2b372ac2e291339e436202c9fe58a681ed6a743f
Early in a server boot the file /var/run/heat-config/heat-config may
exist but be empty. This causes a stack trace to be raised in this
script.
This change detects a json parse error and exits gracefully.
Change-Id: I29d731098659bfbf10a2caf80c2cfc49de5df4cc
Closes-Bug: #1648249
It has been tested with standard 2008/2012/2014 and enterprise 2016.
I've added the functions Get-MSSQLVersion that checks for the version,
and Get-MSSQLLogFile that finds the log folder for the MSSQL version used.
The function Get-MSSQLParameters has been updated to filter some install
arguments that are incompatible with versions of MSSQL diffrent from 2012.
Change-Id: I438a74b081fa6dd38d9e39c10b11497032e070cb
What the heat-config-notify actually POSTs/PUTs to heat is JSON, so
the content-type should be updated as such.
Change-Id: I85e116bec524ba37e96c5761346084ab149601cc
Related-Bug: #1641589
This change updates the puppet hook to write out logs to the local node
if verbose or debug is enabled for the hook. The logs will be written
out to the /var/log/puppet/ folder that currently is empty at all times.
We will continue to output logs to the console for the traditional heat
processing of the stdout and stderr but will also write out the logs
locally only if debug or verbose is enabled for the puppet apply.
Change-Id: Idfbfc030350827a4653b26cef7c7deca92b0e05d
Closes-Bug: #1536009
This hook takes the same format as the docker-compose hook, but makes
calls directly to the docker command rather than calling
docker-compose.
This hook currently supports the docker-compose v1 format, but in the
future will support other formats such as the kubernetes pod format.
TripleO will adopt this hook and will transition to using the pod
format when this hook supports it.
Co-Authored-By: Ian Main <imain@redhat.com>
Change-Id: I699107c3df64723a945c5d5ac82ae3a48b76700e
Currently we don't support options for the ansible hook, but it would
be useful to enable passing tags, like we already do for the puppet
hook.
Change-Id: Idf7e3aa520fd40a2c4c00b2d26c3c608059bb51d
This patch creates a hook that writes hiera.yaml and datafiles
to disk. This approach works well for users (like TripleO)
who prefer to maintain Hiera in a more composable manner with
Heat structured config resources rather than specifying all
the Hiera values for each puppet config resource.
Partial-bug: #1596373
Change-Id: I21639f6aadabf9e49f40d1bb0b1d0edcfc4dbc5e
The intent is for this element (hook script) to be used in place of the
one in tripleo-image-elements which relies on an external signal handling
shell script at the end of the os-refresh-config run
(99-refresh-completed).
This version will run os-apply-config and return a signal immediately.
Because it uses the heat-hook mechanisms it also supports a broader set of
signal handling capabilities... which 99-refresh-completed doesn't fully
support.
Change-Id: Ic9402ff93cbc840bec1debcd8881de563d03cbf0
This patch set modifies lines which are importing objects instead
of modules. As per openstack import guide lines, user should
import modules in a file not objects.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: I4c34416623ac6899ab8b780bdd668acb414d09ef