4313 Commits

Author SHA1 Message Date
Jenkins
e54a2b5057 Merge "Save OPENSTACK_KEYSTONE_URL to horizon local_settings" 2014-06-19 11:34:10 +00:00
Jenkins
8c2164dbfd Merge "Neutron: start to use nova's neutron configuration section" 2014-06-18 18:54:59 +00:00
Jenkins
af86e43d7b Merge "Fix unsubstituted filename creation" 2014-06-18 11:16:14 +00:00
Jenkins
0099487f18 Merge "Wait for OVS to reconfigure when creating PUBLIC_BRIDGE" 2014-06-18 11:14:36 +00:00
Gary Kotton
13d385e402 Neutron: start to use nova's neutron configuration section
Commit 5cacad3508570ce70b1f9ef620e0508169687fda added support
of a neutron section. This updates the code to make use of
that section.

Change-Id: I86119476fde5066182d3aadcee5985019202647a
2014-06-17 23:26:44 -07:00
Jenkins
5bdabd070b Merge "Add $TOP_DIR to the path when calling tools' scripts" 2014-06-17 19:51:28 +00:00
Jenkins
ef837e4c7f Merge "Configure heat keystone client for SSL when keystone uses SSL" 2014-06-17 19:47:12 +00:00
Jenkins
a4de9a9c35 Merge "devstack should put admin_tenant_id in tempest.conf file while setup" 2014-06-17 19:47:10 +00:00
Jenkins
e32526d146 Merge "Add basic echo_* functions for grenade" 2014-06-17 19:44:30 +00:00
Jenkins
7c5a02c48c Merge "Add optional repo enablement for RHEL 7" 2014-06-17 16:47:22 +00:00
Jenkins
902a760829 Merge "Invoke create_nova_conf_neutron from odl-compute post-install only if nova is enabled." 2014-06-17 16:31:13 +00:00
Jenkins
5b3d97044b Merge "Add flag to set nova v3 api for tempest" 2014-06-17 16:31:06 +00:00
Jenkins
53e1750c08 Merge "Fix Apache Site configuration for openSUSE" 2014-06-17 16:09:06 +00:00
Jenkins
da2fe19e24 Merge "Use identity_uri instead of auth fragments" 2014-06-17 16:06:48 +00:00
Jenkins
b15413c252 Merge "Cut the heat flavor" 2014-06-17 08:17:51 +00:00
Ryota MIBU
410f5c0016 Fix unsubstituted filename creation
Since merge_config_file() tries to create an unsubstituted config file,
stack.sh fails due to permission denied in the file creation when you
use '[[post-config|/$Q_PLUGIN_CONF_FILE]]' and the file does not exist.

This patch deletes unnecessary 'touch' command, because the file will
be made by 'iniset' function in the next command line with evaled
string from 'configfile'.

This patch also fixes merge_config_group() to use evaled 'configfile'
when it checks the directory of the config file exists.

Change-Id: I608847a34143b5c6a1708c180186dd88a32dd44b
Closes-bug: #1294213
2014-06-17 15:43:07 +09:00
Jenkins
f04abfe865 Merge "Support option for Keystone PKIZ token provider" 2014-06-17 06:14:29 +00:00
Mauro S. M. Rodrigues
dae1152518 Add $TOP_DIR to the path when calling tools' scripts
The missing reference to $TOP_DIR prevent us to run stack.sh from a different
directory.

Change-Id: Ie15b89734264789bef9a8efcfdbbf2cdb89c936e
2014-06-17 02:07:11 +00:00
Jenkins
4fbb8137af Merge "Reserve Keystone ports from the ephemeral range" 2014-06-17 01:24:47 +00:00
Jenkins
0dfc5230cc Merge "make mysql run in strict mode" 2014-06-16 20:57:53 +00:00
Jenkins
56a564021d Merge "double the screen sleep timeout" 2014-06-16 19:58:37 +00:00
Brad P. Crochet
c359921cce Add optional repo enablement for RHEL 7
The RHEL 7 and RHEL 6 optional repos have different names. This enables
the correct repo depending on the release.

Change-Id: I6772c9903a5b9e98cb870d586629564126a6119a
2014-06-16 10:30:02 -04:00
Flavio Fernandes
51783ccf38 Invoke create_nova_conf_neutron from odl-compute post-install
only if nova is enabled.

Change-Id: I4627ab97eccd7fd4a2ffc31b6a0bb939b2343659
2014-06-16 10:27:42 -04:00
Jenkins
3723814bf2 Merge "convert devstack from awk to outfilter" 2014-06-16 14:24:06 +00:00
Sean Dague
43d8f1cddd double the screen sleep timeout
HP Cloud 1.1 is quite slow per core. So much so that grenade is
often failing to start services because bash in a screen session
isn't ready in 1.5s. Double this to 3s to try to decrease failures
in the gate.

We should instead do this via some readiness check to decrease
races.

Change-Id: I2b066a687916742e966190f00b5b06a795d4a014
2014-06-16 09:39:19 -04:00
Jenkins
906ffb7b77 Merge "XenAPI: Fix deprecated config options" 2014-06-16 12:13:34 +00:00
Ralf Haferkamp
633a1290e5 Fix Apache Site configuration for openSUSE
We can use the mechnism as on Fedora for openSUSE.

Change-Id: Ic0d1734df3bdc9ec66e1592109b2d3770d6e0144
2014-06-16 14:10:05 +02:00
Sean Dague
62cb563ddc convert devstack from awk to outfilter
The complexity of the awk script was pretty high, and it would
be good to do it in summaries as well, which starts to get a bit
squirelly. Instead bring over the outfilter.py from grenade and
use it for the timestamping.

Any additional overhead from python should be offset from not
shelling out to date on every line of output.

Change-Id: Ic2b86ddba3e7f6520a0fd35599b01143936c6deb
2014-06-16 07:03:23 -04:00
Bob Ball
786a3a3849 XenAPI: Fix deprecated config options
I346ee0248c03e60716bd7dc4a5ee4493610867cb broke the XenServer CI as
devstack was still setting the deprecated config options.

Change-Id: Icd84212e97a9d5e007745be8096fa552bc23cb6f
2014-06-16 08:37:05 +01:00
Jamie Lennox
3561d7f9ed Use identity_uri instead of auth fragments
auth_token middleware now accepts a standard URL string as the parameter
identity_uri instead of specifying protocol etc individually. Change the
services over to use this.

Also changes over some other places in which the auth fragments are used
individually to the new variables and fixes up some misconfigurations of
auth_token.

identity_uri option was release in keystoneclient 0.8.0

Change-Id: Iac13bc3d08c524a6a0f39cdfbc1009e2f5c45c2a
2014-06-16 15:16:48 +10:00
Jenkins
7006105997 Merge "VMware NSX: fix typo" 2014-06-15 18:50:54 +00:00
Jenkins
df97cf3676 Merge "Remove unnecessary ini commenting from nova" 2014-06-15 01:49:44 +00:00
Jenkins
a1a601316e Merge "Install 'ipmitool' package for Ironic" 2014-06-15 01:49:08 +00:00
Jenkins
1e2417b302 Merge "a more proper default nic selection criteria" 2014-06-15 01:32:23 +00:00
Attila Fazekas
51557a5025 Cut the heat flavor
1024Mb memory is too much for single instance.
approximately 4 GiB memory used even without a booted VM.

The heat auto-scaling scenario needs to boot 3 VM
(currently disabled), if any other test running in parallel
and boots up a vm it would easily can cause OOM an
issue.

The heat-slow job can work with 128 MiB instance memory,
but this change reduces it just to 512 MiB (safer for the guest),
and enough to avoid OOM issues on the host,
and let us to heve more vm at the same time.

The m1.tiny flavor is not good because now it has a hard coded
1 GiB disk limit and the f20 image requires 2 GiB.
Setting the disk size to '0' -> automatically use the virtual size
of the image.

Using multiple cores does not really helps in boot time :(,
but it might cause higher host load. (More locking)
Reducing the core number to 1.

Change-Id: Ice7c1253d15e91fd1c02bc8c6809335aaebfff4a
2014-06-14 22:00:04 +00:00
Jenkins
135adf7884 Merge "selinux permissive on Fedora" 2014-06-14 18:56:29 +00:00
Jenkins
fcd03d71bf Merge "Use apache2ctl after apache is installed." 2014-06-13 22:49:24 +00:00
Morgan Fainberg
6cae83efd7 Reserve Keystone ports from the ephemeral range
Reserve Keystone ports from the ephemeral range as early as reasonably
possible in the fixup_stuff.sh process to reduce the likelihood that the
port will be in use. This does not completely resolve the issue
where Keystone's IANA assigned port falls into Linux's ephemeral
range, but this should reduce the occurrences. The default ports
are 35357 and 35358.

Change-Id: I8cfb53d8f90c1ff1fb1083c59fefabca3d14323b
Partial-Bug: #1253482
2014-06-13 21:33:52 +00:00
Jenkins
e9b343c3c9 Merge "[Fedora] Devstack fails to install in firewalld less system" 2014-06-12 22:23:10 +00:00
Jenkins
73ed4880a6 Merge "Ironic: Add deploy kernel and deploy ramdisk to driver_info" 2014-06-12 18:52:40 +00:00
Jenkins
27c29e8959 Merge "remove the build timeouts" 2014-06-12 18:31:32 +00:00
Matthew Treinish
d514d60f5f Add flag to set nova v3 api for tempest
This commit adds a new env variable, TEMPEST_NOVA_API_V3 to set
whether the tempest api v3 tests are enabled.

Change-Id: If14deb80f271061e70fae6c3d13b210ac0dd9399
2014-06-12 14:31:21 -04:00
Devananda van der Veen
23a64e2af8 Install 'ipmitool' package for Ironic
Ironic's reference / recommended driver is the "pxe_ipmitool" driver,
which requires the 'ipmitool' package and system binary. Thus,
devstack should install it.

Also, Ironic will soon be validating that ipmitool is present in the
system path when loading the pxe_ipmitool driver, as it does for other
drivers (seamicro, pyghmi) that have external dependencies.

Causing devstack to install this package when Ironic is enabled will
also help users who wish to test Ironic against physical hardware that
has IPMI support, without having to perform additional manual steps
(like enabling the pxe_ipmitool driver and installing the ipmitool
packge by hand).

Change-Id: I13da5f8978b280b192f9b033c348a11bfc44c9d2
2014-06-12 10:45:11 -07:00
Attila Fazekas
d7967a4879 selinux permissive on Fedora
The f20 gate job is failing on hpcloud images
(official F20 cloud image), with enforcing selinux.

Setting selinux to permissive on all Fedoras.

Currently selinux policies are violated, when
 - horizon/httpd tries to access a files without
httpd_t friendly security label.
 - horizon/httpd_t tries to connect to openstack
   service port, without an allowing policy.
 - swift tryes rsync content without an authorized
   security label and without rsync_full_access sebool.
 - ..

In permissive mode you will be able to track,
the missing policies and labels by checking
the /var/log/auidit/audit.log*

The enforcing mode might be turned on in the future,
when all label and policy configured correctly.

Change-Id: I6dad705dd11b9eb5f01ce67814f05d294b3979a5
2014-06-12 11:41:54 +02:00
Jenkins
f46ac27999 Merge "Set default value for IPv6 subnet attribute flag" 2014-06-12 09:22:02 +00:00
Ian Wienand
83afcfe9a9 [Fedora] Devstack fails to install in firewalld less system
The official F20 cloud image does not contains the firewalld,
there is nothing to restart, and it fails the installation.

The previous workaround change, assumed all is_fedoras has
a restartable firewalld without ensuring is it installed at all.

RHEL6 even does not have a firewalld.

Closes-bug: #1329102
Change-Id: I3d119ce48af81b30bf02b01c2cd386612ac6ef90
2014-06-12 10:25:07 +10:00
Dave Tucker
f60e8c0fbe Wait for OVS to reconfigure when creating PUBLIC_BRIDGE
The '--no-wait' flag will not wait for ovs-vswitchd to reconfigure after
changes have been made to the database. This causes a race condition as
the bridge may or may not be up when 'ip addr flush dev $PUBLIC_BRIDGE' is
called. This commit removes the '--no-wait' flag which is safe as the
openvswitch services are already started earlier in stack.sh

Change-Id: I73ef1b731295d03b0f064c5f786196284c3e39ce
Closes-bug: #1328962
2014-06-12 00:09:06 +01:00
Lucas Alvares Gomes
cd7cfef429 Ironic: Add deploy kernel and deploy ramdisk to driver_info
Pass deploy kernel and deploy ramdisk as parameters to the driver
to enable Ironic to support different deploy provisioning
methods using the same flavor. This patch is part of the
https://blueprints.launchpad.net/ironic/+spec/add-node-instance-info
work which is separating the instance-level data from the driver-leval
data in the Node's resource of Ironic, once it's finished another patch
will be submitted to DevStack to remove the part of the code which is
adding the deploy kernel and deploy ramdisk parameters to the flavor,
for now a TODO was left inline as a reminder.

Change-Id: Id7cfb17cc6f6133964be139bfedbca1dc644b9cd
Implements: blueprint add-node-instance-info
2014-06-11 15:40:48 +01:00
Gary Kotton
b405256309 VMware NSX: fix typo
Fix typo in the Neutron VMware NSX driver

Change-Id: I0519e30469c5cfbf285b2ad1032d110f8e9fdbb4
2014-06-11 04:18:08 -07:00
Jenkins
1469a04f18 Merge "Don't set nova api/conductor workers since nova handles this" 2014-06-11 10:06:49 +00:00