3799 Commits

Author SHA1 Message Date
Jenkins
f0ea4b0dda Merge "nova changes for multinode working under -o errexit" 2014-03-01 13:03:13 +00:00
Jenkins
93bc338e38 Merge "Source lib/neutron in boot_from_volume.sh" 2014-03-01 12:56:16 +00:00
Jenkins
cf8cca5e0a Merge "clean.sh removes all the files" 2014-03-01 08:26:08 +00:00
Jenkins
6777119f2e Merge "Devstack install can fail on missing xinetd.d/rsync config" 2014-03-01 08:23:53 +00:00
Jenkins
9f2ee82d2c Merge "Add use_syslog to Marconi config" 2014-03-01 03:46:10 +00:00
Sean Dague
12cb2299e8 nova changes for multinode working under -o errexit
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
2014-02-28 20:07:05 -05:00
Jenkins
9bd5b9399a Merge "Preinstall yum-utils; move sudo check before install" 2014-02-28 23:12:47 +00:00
Malini Kamalambal
2e978dd628 Add use_syslog to Marconi config
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
2014-02-28 14:06:59 -05:00
Jenkins
3208d7ad43 Merge "Handle non-zero exit code from git diff" 2014-02-28 17:30:35 +00:00
Attila Fazekas
0e57b967e5 Devstack install can fail on missing xinetd.d/rsync config
Assuming if the system does not have the xinetd.d/rsync,
the dedicated service is the prefered way.

Change-Id: Ic42651c5c3fb5bf0099786ca81a7bd06ace896a8
2014-02-28 17:31:39 +01:00
Brian Haley
9bbecb7fc4 Source lib/neutron in boot_from_volume.sh
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
2014-02-28 11:19:28 -05:00
Jenkins
2cf03d2469 Merge "make service_check fatal" 2014-02-28 07:33:42 +00:00
Jenkins
f07a209ce0 Merge "Fix Neutron enabled check" 2014-02-28 07:33:34 +00:00
Jenkins
dad6e4114d Merge "Enforce function declaration format in bash8" 2014-02-28 06:32:20 +00:00
Jenkins
4b76faa32b Merge "Stop trying to create the 'ironic' user twice" 2014-02-28 01:55:28 +00:00
Jenkins
5caa58459d Merge "Fix exit_trap() error if no child processes" 2014-02-28 01:50:06 +00:00
Jenkins
5f9d3980fc Merge "Set umask" 2014-02-28 01:43:31 +00:00
Jenkins
0debef8aa0 Merge "Fix libvirt polkit settings" 2014-02-28 01:43:23 +00:00
Jenkins
9d43deb2f3 Merge "Implements fix to run lbaas service on fedora with devstack" 2014-02-28 01:43:12 +00:00
Shashank Hegde
cb415697f3 clean.sh removes all the files
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
2014-02-27 16:50:05 -08:00
Ian Wienand
531aeb7900 Preinstall yum-utils; move sudo check before install
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
2014-02-28 11:24:29 +11:00
Jenkins
3ac259c685 Merge "Make admin_bind_host configurable" 2014-02-27 23:41:11 +00:00
Jenkins
c7adccb548 Merge "Savanna: use heat infra engine if available" 2014-02-27 22:38:39 +00:00
Jenkins
a340d68b1b Merge "Fix comments about System Functions" 2014-02-27 22:38:33 +00:00
Sean Dague
1237922b65 make service_check fatal
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
2014-02-27 17:16:46 -05:00
Dean Troyer
e2907b4838 Fix Neutron enabled check
* 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
2014-02-27 15:37:11 -06:00
Ian Wienand
aee18c749b Enforce function declaration format in bash8
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
2014-02-28 07:59:03 +11:00
Devananda van der Veen
657ce7fa21 Stop trying to create the 'ironic' user twice
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
2014-02-27 10:55:50 -08:00
Dean Troyer
83b6c99b50 Handle non-zero exit code from git diff
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
2014-02-27 12:41:32 -06:00
Dean Troyer
94b9e82039 Fix exit_trap() error if no child processes
Bug-Id: 1285776
Change-Id: Iad7a9f2c03cc39159beda55345f232cefed10520
2014-02-27 11:14:05 -06:00
Jenkins
0ed4af02da Merge "enable -o errexit" 2014-02-27 14:57:43 +00:00
Jenkins
003a6a3e10 Merge "Move setup_develop() to common" 2014-02-27 12:32:54 +00:00
Attila Fazekas
a42650fb7e Fix libvirt polkit settings
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
2014-02-27 13:08:30 +01:00
Sean Dague
09bd7c8fd5 enable -o errexit
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
2014-02-27 06:30:37 -05:00
Jenkins
52730e49e5 Merge "Add variable to configure the run of IPv6 Tests" 2014-02-27 04:46:22 +00:00
Jenkins
415893fadd Merge "Add end-of-file checks to bash8" 2014-02-27 04:36:59 +00:00
Jenkins
cf7237c505 Merge "Add GIT_TIMEOUT variable to watch git operations" 2014-02-27 04:31:40 +00:00
Jenkins
df43b5c828 Merge "Run yum repolist commands as root" 2014-02-27 04:31:24 +00:00
Jenkins
5d1e8bcddf Merge "Don't use --skip-redirect for cinder restart on rhel6" 2014-02-27 04:31:17 +00:00
Jenkins
368031ff2b Merge "Insecure check if keystone is up" 2014-02-27 03:31:02 +00:00
Jenkins
9f21ed663e Merge "Make python-guestfs NOPRIME & install for libvirt" 2014-02-27 03:29:55 +00:00
Jenkins
db5a80171f Merge "Unbuffer log output" 2014-02-27 00:39:32 +00:00
Jenkins
d4d27a04a0 Merge "Fix heat role create error" 2014-02-27 00:39:25 +00:00
Jenkins
6f11838d80 Merge "Add support for oslo.vmware" 2014-02-27 00:39:17 +00:00
Dean Troyer
a25a6f6d80 Unbuffer log output
* 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
2014-02-26 13:17:36 -06:00
Dean Troyer
1755f689e8 Fix heat role create error
https://review.openstack.org/#/c/76036/ changed the user creat commands,
missed the argument to --user

Change-Id: Iaf10ef80a2fb0227dd66a314e7ec253dfb4dc4fe
2014-02-26 13:08:04 -06:00
Jenkins
1c10bb3737 Merge "Move enablement of rhel6-optional repo earlier" 2014-02-26 19:04:11 +00:00
Jenkins
ebd1321fcb Merge "Removes the dependence with aptitude" 2014-02-26 12:47:39 +00:00
Jenkins
7755912d30 Merge "Create stack_domain_admin user" 2014-02-26 06:12:45 +00:00
Ian Wienand
3b57829ece Don't use --skip-redirect for cinder restart on rhel6
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
2014-02-26 14:55:20 +11:00