3152 Commits

Author SHA1 Message Date
Jenkins
1e087b9965 Merge "set errexit and xtrace in helper scripts" 2013-10-04 19:17:07 +00:00
Jenkins
cb4e9a4e1f Merge "Revert "Revert "Swift: configure Ceilometer when it is enabled""" 2013-10-04 18:40:44 +00:00
Jenkins
2671a8b97e Merge "Fix handling of pip and virtualenv on openSUSE" 2013-10-04 18:37:30 +00:00
Dean Troyer
ca5af8615e Remove general assumption in get_packages()
get_packages() always included 'general' as a default 'service' file.
Remove this assumption and add it explicitly to the primary package
installation call.  This allows get_package() to be used in other places
where 'general' is not desired to be included.

Change-Id: I1eed4386d073d6ae9534aedae32654208c6662e8
2013-10-04 13:33:10 -05:00
Jenkins
af2b982842 Merge "Add back rpc_notifier when ceilometer is enabled" 2013-10-04 12:37:34 +00:00
Joe Mills
a2fd222ee9 Change Midonet vif driver to generic
Use generic vif driver for Midonet to support port bindings through
the mm-ctl script.

Change-Id: Iddc8a1c7b0128a76cd778c0245f2098bfb2c0145
Closes-Bug: 1235202
2013-10-04 11:46:10 +00:00
Mate Lakat
9f878cbe6d xenapi: max out VCPU count
Give as much VCPUs to the DevStack machine as possible. First asking
xenapi about its CPU count, and as a fallback, count the CPUs in dom0.
This should result in faster test runs.

Change-Id: I1ffb99ecd435f1d7eb5754fe9cd99f0e8ceae6dc
2013-10-04 09:56:24 +01:00
Attila Fazekas
e6024413ae lib/swift variable changes and dd replaced by truncate
- ${SWIFT_DATA_DIR}/drives/images/swift.img replaced by
${SWIFT_DISK_IMAGE}.

- using truncate -s command instead of dd over seeking

Change-Id: I0dd29af3247ba7819ef0c74775412074b6b62017
2013-10-04 08:58:26 +02:00
Ryan Hsu
49f4486f1c Fix typo in property passed to glance
In the upload_image function, a property that is passed to glance in
the vmdk conditional block has a typo. Changes "vmware-disktype" to
"vmware_disktype" (dash to underscore)

Change-Id: I6c4e1875b6ab4544f9742ab08893dae0e86965a0
Closes-Bug: #1235080
2013-10-03 22:29:52 -07:00
Jenkins
c5affb48d6 Merge "Ensure SSL CA certificates are installed for curl" 2013-10-03 21:12:28 +00:00
Jenkins
a15f9092ec Merge "Uniquify unsupported distro error message" 2013-10-03 21:12:22 +00:00
Jenkins
dce5b4a6f2 Merge "Don't bail when setting up horizon on openSUSE" 2013-10-03 21:12:15 +00:00
Jenkins
5b09b781b1 Merge "Allow openrc to be loaded in zsh" 2013-10-03 21:12:08 +00:00
Jenkins
7dce83ec7a Merge "Show where files are copied for sudo switch to stack user" 2013-10-03 21:10:37 +00:00
Jenkins
7255659a55 Merge "xenapi: increase default memory to 3G" 2013-10-03 21:10:28 +00:00
Jenkins
c2c5bdbf08 Merge "ensure tgtd is running in debug mode" 2013-10-03 21:10:20 +00:00
Jenkins
383cf43618 Merge "xenapi: set dhcp timeout on VM installation" 2013-10-03 01:42:47 +00:00
Matt Riedemann
96ba6ec1bf Change DATABASE_HOST default to 127.0.0.1
Attempt to fix what is suspected to be a DNS resolution issue with
postgresql check job.

Closes-Bug: #1232748

Change-Id: Ic82e54b2af038e6c21d4f026f3da10f34c3c185c
2013-10-02 11:08:56 -07:00
Mate Lakat
bfb880d547 xenapi: increase default memory to 3G
Devstack was swapping with 2G

Change-Id: I8fe77591cb0ca0f946028d7219b43d77eea3419f
2013-10-02 17:44:18 +01:00
Joe Mills
87acc91fc6 Add MIDONET settings to dhcp.ini
The midonet specific settings were not being added to the dhcp
specific config file. This change adds those settings.

Closes-bug: #1233941
Change-Id: I4155135528c6ba77cf57d30ac256580c7239794f
Signed-off-by: Joe Mills <joe@midokura.com>
2013-10-02 03:22:39 +00:00
Ed Cranford
1089b3a5f6 Adds trove-conductor service to trove.
Change-Id: Ibf14267c9a2125218c17fb34761548e339c8e784
2013-10-01 14:03:49 -05:00
Adam Spiers
6d8fce7325 Fix handling of pip and virtualenv on openSUSE
openSUSE's python-virtualenv rpm depends on the python-pip rpm, but
tools/install_pip.sh prefers to deinstall the latter (if installed) and
install pip directly from upstream source instead.

This deinstallation of python-pip will break if attempted via rpm -e,
since rpm does not transitively remove dependents (in this case
python-virtualenv).  In contrast, "zypper rm" does, so we switch to
that.

It is safe to remove the python-virtualenv package, since stack.sh will
install virtualenv via pip instead.

Change-Id: I5bc23de0f2de2e3940c4be3b76b7c0634836239b
2013-10-01 18:07:39 +01:00
Adam Spiers
3ac8612b55 Don't bail when setting up horizon on openSUSE
I85325179f1792d985b0375572abfe8c8a82fecc3 accidentally removed the
conditional branch required to prevent setup of horizon aborting on
openSUSE, so put it back in.

Change-Id: Ia3e4464a2d718e402d84a0bcf60f13ef30404969
2013-10-01 18:06:41 +01:00
Adam Spiers
15aa0fc315 Uniquify unsupported distro error message
Change a distro-not-supported error message in lib/horizon so that it
can't be confused with a similar error case in lib/apache.

Change-Id: I1197cb4de1497906e93a2c3ce09c3c06afe03b65
2013-10-01 18:05:08 +01:00
Adam Spiers
1f3e193638 Ensure SSL CA certificates are installed for curl
On openSUSE, ensure that the ca-certificates-mozilla package is
installed to avoid curl aborting with

  curl: (60) SSL certificate problem: unable to get local issuer certificate

when trying to download the pip source tarball.

Change-Id: Iaf74204ea5330e9abf56f6c9d5a0f9d83992aa59
2013-10-01 18:00:28 +01:00
Adam Spiers
c85ade7720 set errexit and xtrace in helper scripts
stack.sh invokes some helper scripts as separate processes, rather than
by source'ing them.  As with stack.sh itself, abort immediately on the
first error, so that errors don't compound and result in confusing error
messages.  If one of these helper scripts aborts, stack.sh itself will
also abort in the usual manner.

Due to the change in behaviour, tweak some mv invocations to ensure that
they don't trigger false failures.

As with stack.sh itself, also enable xtrace so we can see exactly what's
happening.  In particular this allows us to see the cause of any
premature termination due to a command failing whilst errexit is
enabled.

Change-Id: I7a55784c31e5395e29ab9bbe2bb112b83b9be693
2013-10-01 17:54:40 +01:00
Adam Spiers
5946b57bb2 Show where files are copied for sudo switch to stack user
The home directory for the 'stack' user defaults to /opt/stack, which is
not obvious to devstack newbies, and can also be overridden by exporting
a value for DEST.  Therefore it's friendlier to be explicit about the
location of this home directory, to which devstack is copied before
being run as the 'stack' user.

Change-Id: Ia1941a5f2f8cf86a06681e85da52b817a855b8ff
2013-10-01 17:51:41 +01:00
Sean Dague
1c1aef0eb7 Revert "Enable tenant isolation to tempest for neutron"
This reverts commit 3d84cf2d7c323750971cf2d27f3a4eaa26cb7a9f.

This is believed to be the cause for the massive increase in
neutron failures in the gate reseting other projects. Realize
this is just a work around.

Change-Id: Id3c59f3fe9ccbb869eb3200ef7ff2659409e2253
Partial-Bug: 1224001
2013-10-01 07:58:16 -04:00
Jenkins
3c5247fac9 Merge "Default to the ML2 plugin in Neutron instead of OVS" 2013-10-01 02:22:08 +00:00
Bob Ball
78ef1f3b2c XenAPI: Get the management network dynamically
xenbr0 is correct for most installations, but not all.  Notable xenserver-core
may use a differently named device.  Since we can auto detect this, remove the
config and do so.

Change-Id: I989f6ddd5ffb526ab350f263ef6fc402c596304a
2013-09-30 16:00:40 +01:00
Thomas Maddox
fa181c30fc Add back rpc_notifier when ceilometer is enabled
This is to reverse what looks like collateral damage from change id
Ic375272b751159a64777ca73c1b64515195aacfb.

When the Ceilometer service is enabled, we also need to tell nova what to use to send
notifications.

Change-Id: I0015194cfa819e89ef85eae5020fedd6e7d71894
Closes-Bug: #1231158
2013-09-30 12:31:53 +00:00
Mehdi Abaakouk
aee9412b4b Allow openrc to be loaded in zsh
This fix the test then detect OSX in GetOSVersion that break support of zsh.

Fixes bug #1233118

Change-Id: If243fbe59f8f08041327057425018d7ae0d13ab2
2013-09-30 14:04:11 +02:00
JUN JIE NAN
0aa8534ada Using no proxy option to skip wget and curl proxy settings in config
When end users specify proxy settings in config file for wget /etc/wgetrc:
http_proxy = http://...
or for curl ${HOME}/.curlrc:
proxy = http://...

Using `http_proxy="" wget' can not skip the proxy setting in the
config files, also it can skip proxy settings in env viriables.

In order to skip proxy setting in both env and config file, we pass
--no-proxy option for wget, and --noproxy '*' for curl.

Fixes bug #1224836

Change-Id: I2b25aeca9edf2ce4525fb1db325e5e24c18b4d55
2013-09-30 16:03:00 +08:00
Jenkins
b48e008169 Merge "Update user_attribute_ignore for LDAP Identity config" 2013-09-29 16:59:38 +00:00
Jenkins
6d6b1984b8 Merge "Correctly set the L3 service plugin for ML2" 2013-09-29 13:05:45 +00:00
Jenkins
f20859b435 Merge "Normalise RECLONE flag to True Or False." 2013-09-29 12:30:48 +00:00
Jenkins
30de41de23 Merge "vSphere hypervisor plugin" 2013-09-29 11:39:59 +00:00
Jenkins
844f0fd626 Merge "Expose all versions of Ironic API" 2013-09-29 11:36:24 +00:00
Jenkins
f5c7abde55 Merge "remove whitebox configuration in tempest.conf" 2013-09-28 13:34:40 +00:00
Attila Fazekas
dc0bd1a886 Use the rdo havana repo with the RHEL family
In devstack viewpoint there is not too much differences at the moment.
But using the grizzly named repo close to havana release, was strange to me.

Switching to the repo link which does not have a version like '-3'.

Change-Id: Ib421d50d19baeeeff264aa0cb9c105fffcf572f8
2013-09-28 11:42:35 +02:00
Cyril Roelandt
d9883407e9 Revert "Revert "Swift: configure Ceilometer when it is enabled""
Commit 6650fda680310e71b5dda7764bf4033f670d90f0 is no longer needed:
https://review.openstack.org/#/c/46048 has been merged.

This reverts commit 6650fda680310e71b5dda7764bf4033f670d90f0.

Change-Id: I47d28a292667eb8ece2061c0ef19c7c925e5747c
2013-09-27 15:21:23 +00:00
Mate Lakat
53d6fa604d xenapi: set dhcp timeout on VM installation
Set the DHCP timeout to 120 seconds during virtual machine installation.
Some users failed to run devstack, due to a low DHCP timeout setting.
The default value is 60 seconds. This change sets the value to 120 secs,
that should give enough time for most people.

Change-Id: I15fde45ed0d005c1a8621134eee6c3c338b5be5d
2013-09-27 12:30:28 +01:00
Giulio Fidente
384454de57 ensure tgtd is running in debug mode
this change enables on-the-fly tgtd debug before starting cinder

Change-Id: I193bfd77c5a82e8347d75e2a7fe670a6e25f5558
2013-09-27 13:17:34 +02:00
Vincent Hou
93a7a50c1d Add the creation of /var/run/openstack when zeromq is chosen
Fixed Bug 1200539.

Change-Id: I270623da7026e94d9ece4d5f510cad5a6c4d79ff
2013-09-27 06:19:31 -04:00
Jenkins
4c2870b64a Merge "Enable tenant isolation to tempest for neutron" 2013-09-27 02:16:45 +00:00
Jenkins
496273101e Merge "fix tee errors" 2013-09-26 18:04:38 +00:00
Matthew Treinish
3d84cf2d7c Enable tenant isolation to tempest for neutron
This commit re-enables tenant isolation in tempest for neutron. This
is a requirement for running tempest in parallel. This commit depends
on tempest change I7587c85017cca09f7a67eae0670f67b2bceacb60

Fixes bug 1216076

Change-Id: I63a30bacd48cecd110fb90e1fc718249c2b1904b
2013-09-26 15:39:16 +00:00
Jenkins
c3c5ba002f Merge "Allow keystone to run from apache" 2013-09-26 15:24:15 +00:00
Jenkins
0319ea5271 Merge "xenapi: Get rid of prompt settings" 2013-09-26 14:55:28 +00:00
Jenkins
633501aaf6 Merge "Fix typo in lib/heat" 2013-09-26 08:21:56 +00:00