| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
[#130659985]
|
| |
|
|
|
|
| |
manually expand some rpm macros that do not get expanded when packaging on debian
set _unitdir for rhel7
|
| |\
| |
| |
| | |
git://github.com/harlowja/rabbitmq-server into harlowja-systemd-fedora-usage-and-tmpfiles
|
| | |
| |
| |
| |
| | |
Add support for systemd usage (vs sysvinit) on versions of fedora
and supporting versions of centos/rhel (newer than or equal to 7).
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that systemd support is introduced,
there is an issue with package dependencies between Ubuntu 14.04 and 16.04.
We produce releases on Debian Wheezy which specifies init-system-hlpers 1.18 as a dependency.
Unfortunately that version is not available on Ubuntu 14.04, only 1.14 is.
So we primarily have 4 options for the short term:
* Revert systemd support and upset 16.04 users
* Drop 14.04 support and upset 14.04 users
* Switch to Ubuntu 14.04 for producing Debian packages and hope it will work on Debian
* Hardcode the dependency
Options 3 and 4 seem to be the least of all evils. We will evaluate option 3
separately.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The old format is removed in Erlang 19.0, leading to build errors.
Also, get rid of the `use_specs` macro and thus always define -spec() &
friends.
While here, unnify the style of -type and -spec.
References #860.
[#118562897]
[#122335241]
|
| |
|
|
|
|
|
|
| |
This is the only way to select a specific subkey. The user ID is useless
for that.
References #718.
[#118296861]
|
| |
|
|
|
|
|
|
| |
By default, honor the default key; usually it is specified in
`gpg.conf`.
References #718.
[#118296861]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #570
With this patch systemd service file will be used on systemd-enabled
hosts, providing more seamless experience.
I've tested it by building it on ubuntu 14.04, which is not managed by
systemd. Still, it has necessary packages to build systemd-aware
debs. And then I tried to install this package:
- On ubuntu 14.04 - regular init script was used
- On debian jessie with systemd and esl-erlang 18.3 - server was
properly started using systemd service file (and epmd dependency was
also automatically started by systemd)
|
| | |
|
| |
|
|
|
|
| |
The `un.StrContains` macro is now useless, so we remove it.
Fixes #690.
|
| |\
| |
| | |
Put the RabbitMQ OCF RA policy to /usr/sbin
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix failing pcs resource list command
* Move policy file to examples in docs dirs
Related Fuel bug: https://bugs.launchpad.net/fuel/+bug/1558627
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| |/
|
|
|
|
| |
On systemd-enabled hosts `/sbin/service` just proxies commands to
`systemctl`, which doesn't understand funny commands like
`rotate-logs`. So `rabbitmqctl rotate_logs` is a better alternative.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hopefully this patch will fix all systemd-related problems:
- Proxy shell process (which converts signals to `rabbitmqtl stop`) will
no longer be started under systemd. There is no need in it, as systemd
unit already contains instructions for graceful shutdown.
- Ready notification for systemd will be sent with the help of `socat`,
as `systemd-notify` is currently broken for non-root users. `socat` is
the most lightweight way to do it (other options are using NIF or some
external helper in Perl).
- epmd will not be able to interfere by sending it's own ready
notifications.
- systemd journal will contain some additional messages about startup
and shutdown sequence, just to be sure that everything is working
correctly.
Fixes #664
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Do not rely on tar's behaviour. It was already done everywhere except in
those three places.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Also, files are sorted in the tar. This is now consistent with other
produced archives.
|
| |
|
|
|
| |
They are not used by the generic Unix archive, but by `make release` in
the Umbrella: they are needed by the website.
|
| |\ |
|
| | | |
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
Otherwise, it will overwrite any local modifications.
Fixes #494.
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Call it only if exists
* Address packaging:
- for stable branch, use packaging/common/ to contain the
set_rabbitmq_policy.sh and include it to the debian rules
and rpm spec
NOTE: for master branch landing please update as appropriate,
as it should be using ./scripts source!
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By mistake OpenStack policies were copied into the initial version of
the script. The policies are removed by this change.
Instead users are provided with ability to set their own policies in
a new set_rabbitmq_policy.sh file. Also now users can extend
parameters list with their own ones. For now extended parameters can
be used only in the policy file, but later new places to hook into
could appear.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Working with RMQ definitions via management plugin
requires knowing the IP address where it listens.
host_ip parameter will default to 127.0.0.1, but is
configurable.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix return code of the get_all_pacemaker_nodes() and
get_alive_pacemaker_nodes_but() to be
not provided as ignored anyway.
* Fix return code expectation of the fetched count attribute
in the check_timeouts().
(Fuel related bug)
Closes-bug: #1506440
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
And fix local bashisms as a little bonus
(Fuel related bug)
Related-bug: #1464637
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| | |
| |
| |
| | |
"[[ ... ]]" is a Bash extension.
|
| | |
| |
| |
| |
| | |
While here, use the new rabbit_plugins:list/2 API to remove the
hard-coded list of broker direct dependencies.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Thanks to this plugin, batch files output is logged to the detailed
view (ie. behind the "Show details" button). This is way more helpful
than the cmd.exe windows which comes and go quickly.
During unattended install and uninstall (/S), this is really silent
now: no cmd.exe windows popping.
ExecDos.dll comes from the x86-ansi directory in the ExecDos
distribution.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
While here, do not remove `ERLANG_HOME` on a reinstall/upgrade process.
Fixes #264.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
There is already a key dedicated to the product version. But apparently,
this is not easy when automating things. Moreover, most aplications I
checked have the version appended to the product name so this is a
common practice.
Fixes #80.
|
| | | |
|