Commit Graph

66 Commits

Author SHA1 Message Date
Andreas Jaeger 854b3c5d37 Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: Iffe3a7de281b48693606fe0c84ebec8190018167
2019-12-18 09:41:48 +01:00
Vladimir Kuklin a646ae6a13 Make tasks upload on package upgrade idempotent
Previously, we were creating the symlink for default
deployment graph without unlinking it. This creates
second symlink within /etc/fuel/graphs/deploy
directory

Rename deploy graph to `default` to comply with plugins

Change-Id: I0769dc84c38759aab6ef9288c00fb2dda40add7f
Closes-bug: #1670182
2017-03-05 23:10:27 +03:00
Vladimir Kuklin 90376da9f4 Add default graphs sequence
Create default sequence to run as a default.

Change-Id: Iecd3a88a2cbd92a33b55e1f28e4987aef27a711f
Closes-Bug: #1668550
2017-02-28 17:59:45 +03:00
Oleksiy Molchanov 66229fdf42 Add update-master-node script
This script updates master node in fuel 9.x releases.
It upgrades system packages, runs fuel/examples/deploy.sh
as for boostrap admin node process (puppet tasks run),
then restarts all important master node services.
Logging for this script is also added.

Closes-bug: #1605602

Related-bug: #1616472
Related-bug: #1616393

Change-Id: Ic4ef722b861d260c3679dca9c74f6cc62052c376
2016-08-31 16:22:56 +00:00
Vladimir Kuklin daeb5c4767 Move provision tasks out of nailgun and astute
Provision and deletion tasks shouldn't be hardcoded into nailgun and
astute. This patch creates representation for these tasks in library
side as a separate graphs which can be executed in consecutive manner.

blueprint: graph-concept-extension

Change-Id: Icb55739ad1dbffa3c32341b1caea9046d7917240
2016-08-25 03:10:03 +03:00
Alexey Deryugin 67cfb4ee3b Completely remove nova-network support
nova-network is deprcated since 7.0, so we need
to delete all nova-network related manifests.

Change-Id: I3b1016547de224bbe42b41d946be58ffec5b283f
Closes-Bug: #1590367
DocImpact
2016-06-17 13:03:13 +03:00
Alexey Lebedeff cf0e2eb689 Fix path to rabbitqm policy on debian
Debian .install files are processed by dh_install, which is not able to
rename files - it always interprets destination as a directory
name. Thus debian package contained
`/usr/sbin/set_rabbitmq_policy/set_rabbitmq_policy.sh` instead of
`/usr/sbin/set_rabbitmq_policy`.

Change-Id: I7ded7d870f1279b5d96028725da76a14015568f5
Closes-Bug: 1589599
2016-06-07 13:33:16 +03:00
Bogdan Dobrelya ba8ba8eeed Consume upstream rabbitmq-server v3.6.1 OCF RA
* The package contains the OCF script now,
  remove it from Fuel's fuel-ha-utils.
* Rework the custom fuel rabbitmq-server OCF wrapper
  installation from the package, make it
  to invoke the upstream OCF RA from
  /usr/lib/ocf/resource.d/rabbitmq/rabbitmq-server-ha
* Address some of TODO/FIXME as well.

Related blueprint upstream-rabbit-ocf

Change-Id: Iaa401685eb5e8dc514809eec426b9e550de609ac
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-05-18 12:28:50 +02:00
Sergey Kulanov b3e229a2ed Bump version to 10.0
Fuel-CI: disable

Change-Id: Ifdaf5597bc3578ed31e22c58985cd06fefeb5d92
Related-bug: #1558589
2016-04-06 11:44:33 +03:00
Jenkins e18cd53010 Merge "Drop monit from fuel-master setup" 2016-04-05 21:14:48 +00:00
Jenkins fccfbb6d51 Merge "[library] Update releases data to Mitaka" 2016-03-31 15:00:13 +00:00
Julia Varlamova ce5ab3fdcc Drop monit from fuel-master setup
Monit code can't be turned on and it isn't tested.
Remove monit from fuel-master setup.

Change-Id: Iaa0615d0ff11bbec306ec8d442da0a8d34d5a29e
Closes-bug: #1554199
2016-03-30 13:50:26 +03:00
Sergey Kulanov 187d235254 Remove fuel-dockerctl package
Closes-bug: #1552737
Implements blueprint: get-rid-docker-containers

Change-Id: I60e2a4bf43e12149a813427a9237c37d31d198c7
2016-03-30 09:24:46 +00:00
Bogdan Dobrelya 8ebd9b1299 Put the RabbitMQ OCF RA policy to /usr/sbin
* Fix failing pcs resource list command
  and move the policy file from the ocf to policy dir
* Configure the custom policy file to be picked
  in the /usr/sbin/set_rabbitmq_policy as the
  fuel-libraryX package installs it.
* As the upstream rabbitmq-server package does not
  install one, use the default policy OCF path param
  as the /usr/local/sbin/...
* Add the policy_file param and unit tests to the
  cluster::rabbitmq_ocf

Closes-bug: #1558627

Change-Id: I4937bde611b06c3e39385a322053610c98584d79
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-03-24 09:23:50 +00:00
Artur Svechnikov 22f3765d2d [library] Update releases data to Mitaka
Since Fuel uses Mitaka instead of Liberty, it's
time to change Liberty to Mitaka.

Change-Id: I5a6a245886b315d05e473f0f353f766b22ed6f4b
Partial-Bug: #1548776
2016-03-22 14:46:41 +03:00
Dmitry Burmistrov 362f86c838 Implement Aodh integration into Fuel
Key moments:
  * add aodh upstream module usage
  * implement aodh database and installation manifests
  * remove outdated ceilometer alarm agents
  * move aodh alarm evaluator engine under Pacemaker
    as it was done before for ceilometer alarm evaluator
  * setup HAProxy for aodh api service
  * keep ceilometer-alarm-evaluator ocf script and
    ceilometer_ha/alarm/evaluator class for Kilo support

Blueprint: fuel-aodh-integration
Depends-on: Idbbcb0a2c4d4c7e624a4615fc6f7c527f0020c02

Authors:
  * Dmitry Burmistrov
  * Ivan Berezovskiy

Change-Id: I8d5069514ea1aad107581dfc468bdde65d8c3a86
2016-03-01 17:23:57 +03:00
Jenkins f4778ea512 Merge "Rename get_service_credentials.py" 2016-02-29 13:14:55 +00:00
Julia Varlamova b6dc10f00b Rename get_service_credentials.py
Fuel utility get_service_credentials.py was installed as-is in /usr/bin.
Remove extension .py (to be Debian policy compliant).
The name was too generic, rename it as '/usr/bin/fuel_get_service_credentials'

Change-Id: Ie66230c881d3795f28be5a71a88ce2ea882a537a
Closes-bug: #1542818
2016-02-18 17:29:30 +03:00
Jenkins f5dc0a22cf Merge "Refactor OCF functions" 2016-02-18 14:19:15 +00:00
Jenkins 1189d978e0 Merge "Add systemd support to unified maintenance mode." 2016-02-17 09:49:52 +00:00
Sergii Golovatiuk df082efdb3 Refactor OCF functions
- Move port validation *_check_port from all OCF script to OCF library
  (validate_port)
   - ceilometer_agent_central_check_port()
   - ceilometer_alarm_evaluator_check_port()
   - heat_engine_check_port()
   - nova_compute_check_port()
   - write bats unit tests for validate_port
- Remove 'ocf-' from neutron OCF scripts names to make them typical to all
  OpenStack services
  - Rename ocf-neutron-dhcp-agent to neutron-dhcp-agent
  - Rename ocf-neutron-l3-agent to neutron-l3-agent
  - Rename ocf-neutron-ovs-agent to neutron-ovs-agent
- Some minor bash typos and old comments clean-up

Change-Id: Ic4bcecdbc05f6306be63dea211df96a104cb2d36
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
2016-02-16 09:47:19 +01:00
Vladimir Kozhukalov 776eda92cf Add fuel puppet module
This module is a fork of nailgun puppet module with
some simplifications that make it easier to use and
maintain.  Fuel master node is to be deployed using
kind of task based procedure when {task}.pp
are used one by one

Implements blueprint: get-rid-docker-containers
Change-Id: I0139cad1c2ebb0cc846c8bca560533b0ac6489cf
2016-02-06 11:39:53 +03:00
Sergey Kulanov f935690707 Remove changelog section from rpm spec
Changelog is not up-to-date and we are using mechanism
for correct %changelog generation during package build,
so let's remove this section

Change-Id: I3276fa9d57212076661c155bf831890144076b7d
2016-01-20 17:35:46 +02:00
Peter Zhurba a51e6da7d1 Add systemd support to unified maintenance mode.
Was performed:
* Unify main code and move system depended code into umm_svc.local
* Modify packaging procedure

Closes-Bug: #1525269
Change-Id: I04602b26f2a0b9b6d5ed3cd23f175bd54d1f2808
2016-01-20 11:06:30 +02:00
Bartosz Kupidura 24ae711e6d Add xmlstarlet as dependency for fuel-misc
xmlstarlet is used by generate_vms.sh

Closes-Bug: #1534188
Change-Id: I73517c1e5c23fd16f1aa430acd4429b72da9fff1
2016-01-14 14:52:12 +00:00
Oleg Gelbukh 8e24554e6d Change openstack_version to liberty-9.0
Since there is no coordinated release version anymore, use Fuel version number
and OpenStack release name to construct path to Fuel Library modules for the
current release.

Fuel-CI: disable

Change-Id: I13a78d5ea6d9e1b04fe835fcc4d0c22625efb7a3
Related-bug: 1503663
Depends-on: Ifef952e18f08b98c430bbff9434984deaa68df81
2016-01-08 15:27:49 +01:00
Sergey Kulanov 8b70b540c3 Bump version to 9.0
Set openstack version to 2016.1.0-9.0 for now.
Proper versioning for 9.0 release is to be defined later.

Related patch to fuel-web:

https://review.openstack.org/#/c/259059/

Fuel-CI: disable

Change-Id: Iec9da695c4b240fc4e1cc1231ae6e4724311054c
2015-12-23 22:41:10 +02:00
Jenkins 7a7c93e8b5 Merge "Fix allows fuel-migrate script work under centos-7." 2015-12-23 00:55:53 +00:00
Peter Zhurba f0d68c0c54 Fix allows fuel-migrate script work under centos-7.
Was made:

 1 Removed hacks for System-V functionality. Instead was added stub
 emulating job performing in umm mode. It allow in future use UMM package
 and don't keep in mind os used on host.
 2 Docker storage clone procedure was changed.
 3 Grub installation procedure was changed
 4 Add possibility generate udev-net-rules

Change-Id: I61fbf43ad3711b1d3d416558165bc88a52df6f27
Closes-bug:#1524226
2015-12-22 12:44:09 +02:00
Maksim Malchuk 2512e40c8d fuel-library package cleanup
This commit removes not required for deployment 'spec' and '.git' dirs.
Also it adds 'Puppetfile' file for some debugging purposes.

Change-Id: I1b3af8fb61542fcd0ccf01c13dc345c1687c0635
Closes-Bug: #1515988
2015-12-17 11:48:01 +03:00
Jenkins c194458834 Merge "Add ability to disable HA for RabbitMQ queues" 2015-12-11 20:47:47 +00:00
Jenkins 821640e8d3 Merge "Unblock installation rpm on centos7 This patch allows passing CI tests on Centos 7. Support SystemD will be added later because package need only on nodes (not at fuel-master)" 2015-12-11 19:41:33 +00:00
Dmitry Mescheryakov 7e96ef47ca Add ability to disable HA for RabbitMQ queues
Add two flags:
 * enable_rpc_ha which enables queue mirroring for RPC queues
 * enable_notifications_ha which enables queue mirroring for
   Ceilometer queues

Since the feature is experimental, both flags are set to true by
default to preserve current behaviour.

The change is implemented in several steps:
 * the upstream script changed so that it allows to extend the
   list of parameters and uses a policy file to define RabbitMQ
   policies.
 * we add our own version of OCF script which wraps around the
   upstream one. It defines a new enable_rpc_ha and
   enable_notifications_ha parameter and passes their value to the
   upstream script.
 * we add our policy file, where we use the introduced parameters
   to decide which policies we should set.

So we will have two OCF scripts for RabbitMQ in our deployment:
 * rabbitmq-server-upstream - the upstream version
 * rabbitmq-server - our extention, which will be used in the
   environment

The upstream version of the script is pushed to the upstream
along with empty policy file, so that other users can define their
own policies or extend the script if needed. Here are the
corresponding pull requests:
  https://github.com/rabbitmq/rabbitmq-server/pull/480
  https://github.com/rabbitmq/rabbitmq-server/pull/482
(both are already merged)

Text for Operations Guide

It is possible to significantly reduce load which OpenStack puts on
RabbitMQ by disabling queue mirroring. This could be done separately
for RPC queues and Ceilometer ones. To disable mirroring for RPC
queues, execute the following command on one of the controllers:

    crm_resource --resource p_rabbitmq-server --set-parameter \
        enable_rpc_ha --parameter-value false

To disable mirroring for Ceilometer queues, execute the following
command on one of the controllers:

    crm_resource --resource p_rabbitmq-server --set-parameter \
        enable_notifications_ha --parameter-value false

In order for any of the changes to take effect, RabbitMQ service
should be restarted. To do that, first execute

    pcs resource disable master_p_rabbitmq-server

Then monitor RabbitMQ state using command

    pcs resource

until it shows that all RabbitMQ nodes are stopped. Once they are,
execute the following command to start RabbitMQ:

    pcs resource enable master_p_rabbitmq-server

Beware: during restart all messages accumulated in RabbitMQ will be
lost. Also, OpenStack will stop functioning until RabbitMQ is up
again, so plan accordingly.

Note that it is not yet well tested how this configuration affects
failover when some cluster nodes go down. Hence it is experimental,
use at your own risk!

DocImpact:  ops-guide

Implements: blueprint rabbitmq-disable-mirroring-for-rpc
Change-Id: I80ae231ca64e2a903b0968d36ba0e85ca9cc9891
2015-12-11 20:23:05 +03:00
Peter Zhurba 37b133ec06 Unblock installation rpm on centos7
This patch allows passing CI tests on Centos 7. Support SystemD will
be added later because package need only on nodes (not at fuel-master)

Change-Id: I9d6ed3bcac58ecec00cf63f7b3c6d840a9801514
Related-bug:1525269
2015-12-11 20:06:53 +03:00
Denis Egorenko f2326bb68b Combine Heat-engine OCF scripts for Ubuntu & Centos into one common
Currently we have two ocf scripts for Heat-engine: for ubuntu and
centos. This patch removes this separation and combines into
one common OCF script.

Change-Id: I5e440f50da20ef26fca22a34df98864925f8211e
Closes-bug: #1378032
2015-12-11 16:29:39 +03:00
Jenkins ea6b74110f Merge "Move umm from puppet to a package" 2015-12-11 13:24:18 +00:00
Jenkins 4edcd4b322 Merge "Update OCF stop actions to use procfs" 2015-11-28 21:58:47 +00:00
Dmitry Teselkin 761d7413f8 Install correct version of packages on CentOS7
In CentOS7 we will use one version of ruby (ruby 2.0),
thus we should correct package names to be installed.

Blueprint: master-on-centos7

Compatible with CentOS6 master node

Change-Id: Ia79c96a99e00ab82e2117c576f2dbb1d44e14e45
2015-11-26 14:23:54 +00:00
Peter Zhurba 8d138e0e0d Move umm from puppet to a package
Move umm related file from puppet to a package and change deploing process

Change-Id: I466d89158fab523981ea002e83933696284a11ac
Closes-bug:#1508274
2015-11-20 15:12:12 +00:00
Alex Schultz 7c210ee68d Update OCF stop actions to use procfs
This change adds a set of fuel functions that can be used to stop
processes using a pid file or a pid. These functions allow for the same
method of stopping processes to be used by all ocf scripts. The process
stopping logic leverages procfs to check to make sure the process has
been stopped.

This change adds a default retry of 5 times with a 2 second sleep
between sending SIGTERM signals to the processes. This retry count is
dynamic based on the timeout for the stopping command. If the SIGTERM
does not work, a SIGKILL will also be tried one time.

This change does not include the ocf script for rabbitmq as that is the
upstream version and won't be leveraging the ocf-fuel-funcs library.

This change does not include the ocf script for mysql as that needs
further work.

Change-Id: I8dcc1c37d17068a9c29480b886d4f1a051f28894
Partial-Bug: 1425579
2015-11-16 16:36:29 +00:00
Alex Schultz 6e79750c29 Clean rabbitmq dump of auto-delete queues
This change adds a script that can be used on the output from the
rabbitmq admin plugin that dumps the rabbitmq definitions to a json
format. This script removes the auto-delete queues and cleans up any
references to them in the bindings and exchanges.

Change-Id: Ie3f3194b3eaaa8dc28d1cd3442090b586e177306
Closes-Bug: #1497961
Co-Authored-By: Dmitry Mescheryakov <dmescheryakov@mirantis.com>
2015-10-27 15:13:06 -05:00
Aleksandra Fedorova 545e1ea150 Update paths due to stackforge migration.
fuel-library repository has been moved from stackforge/ to openstack/ namespace.

fuel-tasklib repository got deprecated during migration, but it appears it is
still used in fuel-library CI. We add temporary workaround to run CI job
using fuel-tasklib package from fixed commit. The problem will be properly resolved
via related bug #1507208.

Change-Id: I8e2342c869a27fa1bb104fd46138ad27270f2d73
Related-Bug: #1507208
2015-10-18 00:07:01 +03:00
Jenkins d4b67bca61 Merge "Remove hardcoded version from dockerctl config" 2015-10-15 16:32:55 +00:00
Matthew Mosesohn e29a3d9ef8 Fix typo in sync deployment tasks
Change-Id: Ic7d7fc50afcb3338212156cafa182c19edc8d71b
Related-Bug: #1475530
2015-10-14 15:22:48 +03:00
Kyrylo Galanov 570759c663 Remove hardcoded version from dockerctl config
* Fuel version number fallback should be determined by RPM spec,
  not hardcoded in config
* Fix dockerctl config template to use fact fuel_version
* Add %check section to ensure sed works and strips out
  placeholder version string

Change-Id: I28032852517ec8f7e959ad48a04621ec3e33fea1
Closes-bug: #1501368
2015-10-12 18:28:59 +03:00
Matthew Mosesohn 9821477325 Sync deployment tasks on fuel-library upgrade
Simple yum update could break redeployments because
a given task could be changed or deleted. Therefore,
an attempt or warning should be made to update
deployment tasks.

Added explicit dependency on fuelclient.

Change-Id: I06a905aa0bbaefbeb7cbdc60b563f11575bd5bd8
Closes-Bug: #1475530
2015-10-09 15:33:50 +03:00
Ivan Suzdal d3b68267f7 Add BuildRequires for centos7 MOS 8 into spec file
Change-Id: Iea1538e66689fc0c3d1bac664e4918bbcf27b63a
2015-10-06 18:09:19 +03:00
Alex Schultz 5c3e685c9c Moving socat to a fuel-misc dependency
fuel-misc provides haproxy-status which needs socat. Additionally we
are currently requiring the socat package in several places in
puppet to try and satisfy this dependancy. This will consolidate
them into a single requirement where it is needed.

Depends-On: I951b137627880b20ece3c64e6a0c8b6ab473daab
Change-Id: If3069c8c7bc68337596195e27e2213a4c9ec3540
Closes-Bug: 1479033
2015-09-25 13:13:34 +00:00
Vladimir Kuklin 491d2f8000 Bump version to 8.0
Change-Id: I480e32fe6bd3618bbb9d4ee00caff0bfe150c49f
Fuel-CI: disable
2015-09-07 21:25:36 +03:00
Jenkins 6a36740388 Merge "Use neutron-netns-cleanup utility" 2015-08-14 11:39:12 +00:00