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
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
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
nova-network is deprcated since 7.0, so we need
to delete all nova-network related manifests.
Change-Id: I3b1016547de224bbe42b41d946be58ffec5b283f
Closes-Bug: #1590367
DocImpact
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
* 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>
Monit code can't be turned on and it isn't tested.
Remove monit from fuel-master setup.
Change-Id: Iaa0615d0ff11bbec306ec8d442da0a8d34d5a29e
Closes-bug: #1554199
* 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>
Since Fuel uses Mitaka instead of Liberty, it's
time to change Liberty to Mitaka.
Change-Id: I5a6a245886b315d05e473f0f353f766b22ed6f4b
Partial-Bug: #1548776
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
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
- 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>
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
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
Was performed:
* Unify main code and move system depended code into umm_svc.local
* Modify packaging procedure
Closes-Bug: #1525269
Change-Id: I04602b26f2a0b9b6d5ed3cd23f175bd54d1f2808
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
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
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
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
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/480https://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
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
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
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
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
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>
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
* 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
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
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