There was a stray inicomment on paste outside of a nova-api block. This
fails under -o errexit because the paste.ini doesn't exist.
Move this to inside the correct block.
Change-Id: Iffbdae6716a1c2a8f650b68edd4faf436434eab1
This patch adds use_syslog option to the marconi config file. This
is needed to allow marconi to run, when USE_SCREEN is set to False
in devstack.
Change-Id: I547697ec2745975e235a4e58cde81132ac37b70d
Assuming if the system does not have the xinetd.d/rsync,
the dedicated service is the prefered way.
Change-Id: Ic42651c5c3fb5bf0099786ca81a7bd06ace896a8
Without lib/neutron, boot_from_volume.sh generates the following
error:
+ _ping_check_neutron private 10.11.12.5 30
/devstack/functions: line 356: _ping_check_neutron: command not found
Change-Id: Ib72c3f24d614570d69bf5dda35cbaf5847b1d1b9
clean.sh was incorrectly looping over the list of files to remove. Because of
this the files were not being removed.
Change-Id: Ie0559e1d396a4d35df6a12dfbceefa7eb261bac5
Closes-Bug:1285924
Some cloud images don't have yum-utils installed, so the call to
yum-config-manager fails. Pre-install it (I still think it's easier
than fiddling config files).
Also, these repo setup steps are using sudo, but the root/sudo checks
happen after this. Move them up before we start trying to do
repo/package installs.
Change-Id: I875e1f0663c9badc00278b2cc1a3b04ca3dde9fc
if we fail service check, we should do so in a fatal way, because
something is not right. This will be very useful in grenade.
Change-Id: I18811b0d8e6d06f364685c366cdc8f5dda3b8f7e
* Remove the check for neutron enabled on a block of variable settings, there
is no conflict and serves no purpose.
* Also floating_ips.sh and volume.sh needed to properly source lib/neutron
for do ping_check() to work properly.
The current error in check-devstack-dsvm-neutron is not related to this fix.
Change-Id: I1c458aaa787ffb98c945aefc3afa80c6861a405f
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check. Add a note to HACKING.rst
Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
After 09bd7c8fd5a6 landed, a conflict between lib/ironic and
extras.d/50-ironic.sh was exposed, breaking Ironic's check and gate
tests.
This resolves that conflict by only creating the 'ironic' user once.
Change-Id: Ic41517f0977c84a82f92f58565aaee6b5cc7eb3e
The check for a changed repo in setup_develop() 'git diff --exit-code'
returns a status of 1 when the repo has changes; trap that so errexit
does not abort the script.
Bug-Id: 1285780
Change-Id: Ic97e68348f46245b271567893b447fcedbd7bd6e
After the https://review.openstack.org/#/c/75314 merged
the /etc/polkit-1/rules.d/50-libvirt-stack.rules files contains
subject.user == '"stack"' instead of
subject.user == 'stack'.
Change-Id: I09f252b2d0e53f012facb9f7eaa21c1e1bdf492b
devstack should run under -o errexit to ensure that we fail early
when something has gone wrong, otherwise determination of the root
failure location is often quite challenging.
this clears all the normal use cases for devstack, there could be
tests which now die early, which we're going to have to check for
later.
Change-Id: Ibd828c4f4fd95a60d3918d3d7ae90e10649479ab
* Force-flush log output so we don't lose log output in certain error cases.
* Slow down exit paths: add sleep to die(), wait until last moment to
kill child processes (including the awk log output filter)
Change-Id: I1620fd33b89b237d9c2bb6206f3de2c81719f676
RHEL6 doesn't support this flag so the restart fails. Not exactly
sure why it is required, seems unchagned from the initial
commit 67787e6b4c6f31388cbee6d83b67371b31c443d4
(found running stack.sh with -e per [1])
[1] https://review.openstack.org/#/c/71996/
Change-Id: Ib34c3663409d7b96b932286cb5a6974e940075d3