3986 Commits

Author SHA1 Message Date
Jenkins
0982f0795e Merge "Remove any lib/baremetal usage for ironic deploy" 2014-03-24 20:21:21 +00:00
Jenkins
373b1a6569 Merge "Fix typo in setting neutron to notify nova about port change" 2014-03-24 20:08:49 +00:00
Jenkins
833357f8ce Merge "heat add HEAT_DEFERRED_AUTH option" 2014-03-24 20:03:00 +00:00
Jenkins
e93a9cf79a Merge "XenAPI: Cirros images must always boot as PV." 2014-03-24 17:17:35 +00:00
Jenkins
a5bbbae13f Merge "Fix incorrect tempest config groups" 2014-03-22 13:23:07 +00:00
Jenkins
cbfb07e97d Merge "Skip child process kills in stack.sh exit trap" 2014-03-21 21:12:25 +00:00
Jenkins
62f649dacb Merge "Fix run_tests to not mask bash8 errors" 2014-03-21 19:11:18 +00:00
Jenkins
3de6b0a750 Merge "Make configurable the creation of heat stack domain" 2014-03-21 18:58:21 +00:00
Dean Troyer
a3935fb0ad Skip child process kills in stack.sh exit trap
Logs are still being cut off in certain circumstances, almost certainly
because the awk process handling the output for verbose logging to a file
dies/is killed early.

Don't kill child processes in the EXIT trap function in this specific case.

Change-Id: I89600b61d59f87e93ff959710d0169e49d2c9845
2014-03-21 13:02:26 -05:00
Dean Troyer
d401c84a77 Fix run_tests to not mask bash8 errors
The addition of the crazy-refs check masked the bash8 exit code.  So add
the same pass/fail handling from exercise.sh to provide a neat summary at
the end of the run.

Change-Id: I169eb90c619a114cf8584bee70b7dcda67769dc5
2014-03-21 11:55:46 -05:00
Jakub Libosvar
815782de27 Fix typo in setting neutron to notify nova about port change
Change-Id: I4d1c8076c5943359088e3cd5226adb8fcaa683e7
2014-03-21 16:53:19 +01:00
Jenkins
116023f8e4 Merge "Reuse existing libvirt setup functions for Ironic" 2014-03-21 14:54:24 +00:00
Jenkins
26e57cbb4c Merge "Allow sudo access without a controlling terminal" 2014-03-21 14:54:21 +00:00
Jenkins
680e5e0476 Merge "Special casing for Ironic VIRT_DRIVER in exercises" 2014-03-21 14:54:15 +00:00
Jenkins
27599b1b17 Merge "Set VIRSH_DEFAULT_CONNECT_URI in Ironic scripts" 2014-03-21 14:54:12 +00:00
Jenkins
32dcd52f76 Merge "Remove blank space after print" 2014-03-21 14:54:09 +00:00
Jenkins
1dc01abd79 Merge "fix typo in running opendaylight command" 2014-03-21 14:43:15 +00:00
Jenkins
1c195ab7d3 Merge "Parse Ironic packages files/{apts, rpms}/ironic" 2014-03-21 14:43:13 +00:00
Steven Hardy
f83cf93618 heat add HEAT_DEFERRED_AUTH option
Adds a HEAT_DEFERRED_AUTH, defaulted to trusts, so users can
by default take advantage of the heat trusts functionality
which provides the following benefits:
- Deferred operations (e.g autoscaling) work with token-only auth
- The password field in the heat page of horizon can be made optional
  (horizon patch pending)
- It's more secure because heat no longers stores username/password
  credentials in the DB, only a trust ID.

The previous behavior can be obtained by setting HEAT_DEFERRED_AUTH
to something other than "trusts" - the value will only be set in
the heat.conf if the value of "trusts" is found, otherwise the
heat.conf default will be used (currently "password" which doesn't
use trusts)

Change-Id: I549f1e0071a082ac5d07d0f99db633f8337f3d87
Related-Bug: #1286157
2014-03-21 12:57:22 +00:00
Jenkins
fbedabde06 Merge "turn on resize feature" 2014-03-21 12:30:39 +00:00
Alexander Gordeev
f177f72623 Remove any lib/baremetal usage for ironic deploy
Get rid of lib/baremetal usage so that it can be simply
deleted when that time comes:
Copy upload_baremetal_deploy function to lib/ironic;
Rename it to upload_baremetal_ironic_deploy;
Remove any $BM_* variables references from lib/ironic;
Rename $BM_IMAGE_BUILD_* environment variables to $DIB_*;
Improve logic around deploy k&r building;
Add check for $OFFLINE mode;

Change-Id: I4302b32328df9156bf8738773a127db914e8edde
2014-03-21 14:51:59 +04:00
Jenkins
52e165af79 Merge "move the rsyslogd restart" 2014-03-21 06:30:42 +00:00
Jenkins
5710853b62 Merge "Use sahara.conf.sample instead of old one" 2014-03-21 03:56:56 +00:00
Jenkins
2923e6072b Merge "Use neutron security groups in BigSwitch plugin" 2014-03-21 01:18:08 +00:00
Jenkins
25d9a8145b Merge "Set IRONIC_VM_SPECS_RAM to 512 by default" 2014-03-21 00:51:18 +00:00
Matthew Treinish
270f93e526 Fix incorrect tempest config groups
This commit fixes a couple of tempest config options that were being
iniset to the wrong config group. This wasn't caught in the gate
because the default behaviors matched.

Change-Id: I273db85ba310faa1ba7662a42f951a1ee97b431b
2014-03-20 21:21:25 +00:00
Sean Dague
de19bf9b8c turn on resize feature
tempest should test resize based on the config devstack sets up,
but we lost this somewhere.

Change-Id: I12364e7c73c54cc1b231b984dbbc5489c7bbe400
2014-03-20 16:54:58 -04:00
fujioka yuuichi
41ca6dc8bf fix typo in running opendaylight command
when running opendaylight, set the java home directory to environment
variable.
but variable name is wrong.

Change-Id: I050758d3b4e3f0eec6c86b9a675dfd07854c04fa
2014-03-20 03:10:45 +00:00
Sean Dague
ad7e8c63e6 move the rsyslogd restart
it's not clear why swift start is the place where an rsyslogd start
is happening, we should really only make this change when we actually
change a file on disk.

Also, use rsyslogd's -HUP signal directly instead of the system init
scripts which are typically doing a stop and start, and apparently
racing under some circumstances.

Change-Id: I1b9891313d67b1da2ca2582e532b2536a81f9b25
Closes-Bug: #1262906
2014-03-19 19:13:20 -04:00
Joe Gordon
c381a54db1 Disable ceilometer's swift middleware
This middleware is spamming rsyslog with rabbitmq debug logs, making
this middleware practically unusable in combination with rsyslog. Because of
this, the rsyslog logs now account for 35% percent of the logs we store
in logstash. Until the underlying problem is solved disable the
offending code.

Change-Id: I50a73ae6beb1a11c41225340779fe8d7a1081e46
Related-Bug: #1294789
2014-03-19 11:09:31 -07:00
Bob Ball
f1a2dbffe8 XenAPI: Cirros images must always boot as PV.
The default for VHD disk-types is PV, which is why booting from a
server works.  However, creating a volume from the image needs to
pass this parameter on to the volume.  Note that
Id673158442fde27e8d468ca412c9bd557a886e6b is also required to fix
bug 1294069

Change-Id: I7ea1d85d6082787ac4551f78300a04bf59074261
Partial-Bug: 1294069
2014-03-19 15:06:57 +00:00
Adam Gandelman
539ec43882 Parse Ironic packages files/{apts, rpms}/ironic
When VIRT_DRIVER=ironic, make sure devstack picks up packages listed in its
respective packages file.  These were previously missed unless "ironic" was
explictly added to the enabled services.  This ensures required packages
are installed for any of the ir-* services.

Change-Id: I3d70009819a3a6933220cabd5a951a20c7b48849
2014-03-18 19:00:26 -07:00
Jenkins
871b1e4709 Merge "Update stack.sh to use openstackclient commands" 2014-03-18 14:32:49 +00:00
Jenkins
5d4406c56d Merge "Complete moving Keystone setup out of keystone_data.sh" 2014-03-18 05:46:48 +00:00
Jenkins
c5937e896e Merge "Remove TEMPEST+=,savanna" 2014-03-18 04:51:10 +00:00
Adam Gandelman
b875d01cdf Special casing for Ironic VIRT_DRIVER in exercises
Ironic on Devstack does not currently suppport security groups or
anything volume related.  Add some special casing so exercises can
be run without error against the Ironic driver.

Change-Id: I2a54d8cca06fc17894e74b4401af9423cef95635
2014-03-17 19:52:02 -07:00
Jenkins
911cc586ad Merge "Set correct default disk bus back to virtio on ppc64" 2014-03-17 23:41:39 +00:00
Jenkins
73a3bec04a Merge "Setup the correct ec2 manifest path" 2014-03-17 23:40:44 +00:00
Jenkins
0230b75ffc Merge "Clean /etc/mysql when calling clean.sh" 2014-03-17 23:38:39 +00:00
Adam Gandelman
ea2fcb5538 Allow sudo access without a controlling terminal
Ironic setup uses some external scripts that use sudo but they
are not called with a TTY.  This patch allows STACK_USER sudo
access without a controlling terminal.

Change-Id: I0c60fcd5d8418738405d4dd9d08fdf5c8f766829
2014-03-17 16:37:56 -07:00
Adam Gandelman
bd93f02850 Set VIRSH_DEFAULT_CONNECT_URI in Ironic scripts
Ironic setup scripts that interface with virsh should default to always
connecting to the 'qemu:///system' URI.  Adds LIBVIRT_CONNECT_URI that
ends up exported as VIRSH_DEFAULT_CONNECT_URI in scripts that require
it.

Change-Id: Ib660bd51a8c7bfe96e14aab4b6d3a6e83a5a4220
2014-03-17 16:31:49 -07:00
Adam Gandelman
ea861741d8 Reuse existing libvirt setup functions for Ironic
When deploying Ironic, make use of the existing libvirt installation
and configuration used by the Nova libvirt driver. Ensures a functional
libvirt setup across distributions.

Change-Id: I904ae2bdd4e8299827270c351eb60b833f90ae75
2014-03-17 16:27:00 -07:00
Jenkins
9f59782a36 Merge "Devstack changes to ceilometer to support vsphere" 2014-03-17 22:01:22 +00:00
Sergey Lukjanov
1bf038221a Remove TEMPEST+=,savanna
Tempest tests integration has been updated.

Change-Id: I6e56f00b99252d145ee0684d3d9705dee768da3e
2014-03-17 23:31:20 +04:00
Steve Martinelli
df6793a86e Update stack.sh to use openstackclient commands
There were a few instances of keystoneclient still being used,
these were replaced with their openstackclient equivalent.

Change-Id: I47fb7cf949b9ab054b97ae387ecbc6d7070fa9c3
2014-03-17 12:56:53 -05:00
Alexander Gordeev
84d0ec5ebc Set IRONIC_VM_SPECS_RAM to 512 by default
Fix insufficient amount of RAM provided for fake baremetal nodes

Change-Id: I87d04a23a28dcb03dfdaf3c6cfad96cf2bda2516
2014-03-17 18:01:28 +04:00
Steve Baker
16aca8a37a Make configurable the creation of heat stack domain
Heat has graceful fallback code if stack_user_domain is not configured.

It is important that this be configurable, for testing and for those who choose to
not run with a stack_user_domain yet.

Change-Id: I08f017412636327853b3c606afd36ae93aa09288
2014-03-17 15:52:40 +13:00
Jenkins
ad3ac5876b Merge "Move libvirt install + setup to functions-libvirt" 2014-03-16 13:35:51 +00:00
Sean Dague
7afffa6447 change the order of the print/flush
It seems that we get a different behavior whether stdout is closed
in the parent process or not when it comes to buffering. If it's
closed we don't get the last line flushed out to the file, if it's
not closed we do. This was seen in the trove pg fail.

A complete shot in the dark, but I'd like to see if this is fixed
with being explicit with printing to the log before stdout.

Change-Id: Ie37299dbc88d549d34d85731e571a5b7ef181311
2014-03-15 13:50:36 -04:00
Jenkins
f10d8feca0 Merge "Clarify deprecation of EXTRA_xxx_OPTS" 2014-03-15 12:37:17 +00:00