Commit Graph

14 Commits

Author SHA1 Message Date
Rabi Mishra 2b4eb5d9e3 Use octavia resources for autoscaling example
lbaasv2 is probably not actively maintained.

Change-Id: Id11a47b5439f3bca05b536f15bec3e5fa92c9e56
2018-11-22 19:31:28 +05:30
Roberto Polli 2823fcafdc Replace LBaaS with LBaaSv2.
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
2017-10-12 08:26:26 +00:00
rabi a7243bc089 Use correct policy references in autoscaling.yaml
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
2017-08-01 15:45:44 +05:30
Mehdi Abaakouk c03afdfd0d autoscaling: fix a type in gnocchi command
Change-Id: I85b15ebd2f294b82d16e63527d3b447a1267d6e3
2017-07-10 20:33:19 +02:00
Mehdi Abaakouk 9ac17bff58 autoscaling: don't query an no more existing API
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
2017-06-08 09:20:30 +02:00
Mehdi Abaakouk de990777bd autoscaling: Remove usage of deprecated Ceilometer API
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
2017-05-23 07:48:04 +02:00
Jenkins c44365e618 Merge "Add network parameter to templates" 2015-03-10 00:34:29 +00:00
JUNJIE NAN 581dfb3fa1 Add network parameter to templates
Or nova will complain do not know how to select network

Change-Id: I628d6c2dbc4bfe03577488fa464b8d3083d27dd3
2015-03-10 11:22:53 +13:00
Haiwei Xu 67301b6ff4 Remove quotation marks of resource type
Change-Id: I672703e212d27a676a95b67efa5f2e9d403185f2
2015-02-24 16:24:45 +09:00
JUNJIE NAN 87d60e02ed Remove underscore in autoscaling group name
Since autoscaling group name contributes to hostname, and there should
have no underscore in it so we remove the underscore.

Change-Id: I5e5848ed5f132f06ebf601f73369653c807e413d
Partial-Bug: #1394096
2014-11-21 18:19:16 +08:00
Lars Kellogg-Stedman e3ba596959 update autoscaling example with floating ip for lb pool
this patch updates autoscaling.yaml to (a) require an
external_network_id parameter and (b) to allocate a floating ip address
and associate it with the loadbalancer pool.

it adds a website_url output to make it consisent with some of the other
Wordpress examples.

Change-Id: I2669f51145fc6fbf20da831995acfa17e9291f66
2014-09-05 13:59:57 -04:00
Mike Spreitzer db2838c453 Fix and improve autoscaling.yaml
Fixed a problem: the health monitor's delay was less than its timeout,
which is now disallowed.

Added stack outputs that show and explain the webhooks and a
ceilometer query that selects samples about VMs in the stack.
Also added an output that shows the entry IP address.

Change-Id: I11313f05d885cb0698a904f08725227b03617e0c
2014-09-01 19:43:58 +00:00
Thomas Herve bc081a1031 Fix alarm metadata in new autoscaling template
The new autoscaling template used old implicit metadata for creating
alarm: the patch fixes that by properly passing a new value to both the
alarms and the servers.

Change-Id: Ia5d99dd08cf02954ce78ef661fbe9f627948f9db
2014-04-04 09:18:31 +02:00
Thomas Herve 249bb0c353 Add an example of native autoscaling resources
This adds a full example of the new autoscaling resources with Neutron
load balancer.

Change-Id: I13746848dc00af3e1ff027e7ef94b9deb9ae44e8
2014-03-24 09:35:18 +01:00