Commit Graph

10 Commits

Author SHA1 Message Date
Alex Schultz f8d0edac5f Drop old ceilometer services
These were needed for FFU to Queens so we should remove them for Rocky.

Change-Id: I0e24d19cd17d35644fa02e989fa9ef592195b9f1
2018-05-29 20:51:07 +00:00
Carlos Camacho 44ef2a3ec1 Change template names to rocky
The new master branch should point now to rocky.

So, HOT templates should specify that they might contain features
for rocky release [1]

Also, this submission updates the yaml validation to use only latest
heat_version alias. There are cases in which we will need to set
the version for specific templates i.e. mixed versions, so there
is added a variable to assign specific templates to specific heat_version
aliases, avoiding the introductions of error by bulk replacing the
the old version in new releases.

[1]: https://docs.openstack.org/heat/latest/template_guide/hot_spec.html#rocky
Change-Id: Ib17526d9cc453516d99d4659ee5fa51a5aa7fb4b
2018-05-09 08:28:42 +02:00
marios 92624d6730 Add fast_forward_upgrade_tasks for ceilometer services
Adds ffu_tasks for ceilometer - stop services on step 1.
In the docker/ templates services are also disabled.

Lots of changes for ceilo-* since Newton:
  --> openstack-ceilometer-api, -collector and -expirer are
      removed in Pike and no longer in the templates. The disable
      files are re-added by the parent review so these services
      can be retired with ffu_tasks.
  --> The disabled services are set back in environment for Fast
      Forward Upgrade

Change-Id: I1c8ac2285ab222cfb7cb7ff898d222ae6e846567
2018-03-07 16:20:57 +01:00
Pradeep Kilambi 4308485b2c Restore disable templates for telemetry for Queens
We need these templates accessible for fast forward upgrades
workflow to disable these services. Lets put these back in
and remove them in Rocky instead. These were originally
removed in commit  5ebbc81c2a.

Change-Id: Iba1e13c7a78dd012373830331682c9e29d775f73
2018-02-05 14:56:35 +00:00
Pradeep Kilambi 5ebbc81c2a Remove deprecated Telemetry services from roles data
Ceilometer API, Collector and Expirer are removed from upstream,
so lets clean these deprecated services.

Change-Id: Ifd28a3029cd39644833ab0e9fc66efb7b5b67c9d
2017-11-07 12:54:41 +00:00
Giulio Fidente baf6eee501 Adds network/cidr mapping into a new service property
Makes it possible to resolve network subnets within a service
template; the data is transported into a new property ServiceData
wired into every service which hopefully is generic enough to
be extended in the future and transport more data.

Data can be consumed in service templates to set config values
which need to know what is the subnet where a deamon operates (for
example the Ceph Public vs Cluster network).

Change-Id: I28e21c46f1ef609517175f7e7ee19e28d1c0cba2
2017-07-14 13:44:04 +02:00
Jiri Stransky af5eaf1133 Make ceilometer crontab removal idempotent
When we re-execute an upgrade and the crontab has already been
removed, the crontab removal returns 1, saying "no crontab for
ceilometer", and the upgrade fails. This change makes the removal
idempotent.

Change-Id: Ic955fb67bb2f7afde44291f7db3293c88f167566
Closes-Bug: #1701250
2017-06-29 14:25:21 +02:00
Pradeep Kilambi 321ecf916f Fix the disable expirer to remove crontab
Instead of doing this via puppet which has the consequence of including
the step_config and getting included on the host manifest. Lets disable
via ansible upgrade task instead.

Change-Id: I5f1a4019dd635dea67db4313bd06a228ae7bacd4
2017-06-07 15:00:12 -04:00
Emilien Macchi 847a1fe793 ceilometer-expirer: remove the crontab during upgrade
When running disabled/ceilometer-expirer.yaml, we want to remove the
crontab that used to run ceilometer-expirer binary in periodic way.
Let's use Puppet to remove this crontab.

We can't easily use Ansible tasks this time, because the Ansible cron
module can only remove Crontabs previously managed by Ansible:
https://docs.ansible.com/ansible/cron_module.html#examples

In this case, Puppet will erase the crontab in Pike. In Queens, we'll be
able to remove these environments files since we wouldn't need it
anymore.

Change-Id: Idb050c3b281d258aea52d6a3ef40441bb9c8bcbe
2017-05-29 19:28:19 +00:00
Juan Antonio Osorio Robles 780b751601 Use disabled suffix for disabled service names
This changes both the service names and the file names for disabled
services, adding the 'disabled' suffix to them.

This comes with the reasoning that, if a service requires a disabled
service, and checks for the name in the "service_names" hiera entry, it
will appear as if the service was enabled, when it's actually not. So
changing the name and using this convention prevents that issue.

Change-Id: I308d6680a4d9b526f22ba0d7d20e5db638aadb9a
2017-05-22 11:32:05 +03:00