5646 Commits

Author SHA1 Message Date
Kevin Benton
59d52f307b Disable shallow cloning with GIT_DEPTH=0
The recent patch to enable shallow cloning added a method to skip
it by checking if GIT_DEPTH was null. However, this could never
be triggered because if the user specified it as null, the default
setting code would take over and set it to 1.

This patch allows the user to specify GIT_DEPTH=0 to skip the
shallow clone.

Change-Id: I00ea7ab54ed51dc3ede9ceb9ff0f11575a035d1c
2015-01-20 09:35:34 -05:00
Jenkins
6d6e471f4c Merge "Clone neutron_lbaas for midonet plugin" 2015-01-20 14:25:03 +00:00
Jenkins
191007479a Merge "Set password irrespective of mysql server version" 2015-01-20 14:24:29 +00:00
Jenkins
ff31fc06cb Merge "Adds support for LVM ephemeral storage in Nova" 2015-01-20 14:24:15 +00:00
Jenkins
256b8234a9 Merge "Rename screen logfiles" 2015-01-20 14:24:00 +00:00
JordanP
37b7a665d0 Fix doc: API_RATE_LIMIT has been removed
Ib0538bdd23b17e519b9c917018ccc9fa8c6425c5 removed the option
API_RATE_LIMIT. So don't mention it in the documentation.

Change-Id: I9df67c3dd1b800f6a51de2cd78aeaad10ca38f7e
2015-01-20 14:28:22 +01:00
Kennan
3566310ea8 Remove unneeded word
Change-Id: Ic3f7fb5bc992e1a8c5b9fc433572d7e39f81f08a
2015-01-20 16:23:59 +08:00
Steve Martinelli
789af5ccfa Update osc server create to have type as positional arg
In Keystone, for v2 and v3 service creation, there was a bug that
allowed a service to be created with no type, which made it useless.

See reference bug for details.

Change-Id: I5d095007fe2ebc8219dc012c5b16cb4c122179cd
Related-Bug: #1404073
2015-01-19 16:11:44 -05:00
Steve Martinelli
5541a618de Use os role list instead of os user role list
Since `os user role list` is being deprecated, we should start
migrating to `os role list`, which now has the required ability
to list a users role on a project as of v1.0.2 of osc.

Change-Id: I3fa8bf8f1feaac16e1cde5c55b1be00b92eaa5f6
2015-01-19 15:58:49 -05:00
Daniel Genin
d470867f08 Adds support for LVM ephemeral storage in Nova
DevStack currently lacks support for LVM ephemeral storage in Nova.
This support is important for testing of Nova's LVM backend. The
proposed change adds a default volume group, to be shared by Cinder
and Nova. It also adds a configuration option NOVA_BACKEND, which
must be LVM if it is set, that determines whether Nova should be
configured to use LVM ephemeral storage.

Change-Id: I4eb9afff3536fbcd563939f2d325efbb845081bb
2015-01-19 11:51:16 -05:00
Bob Ball
9033343733 Set password irrespective of mysql server version
Ubuntu recently upgraded from 5.1 to 5.5 so the previous debconf
settings no longer work.  Removing the version number should make
the settings work for all versions of mysql

Change-Id: I6b399a06232364d3ba3bf74430b663e0b8b922ed
2015-01-19 13:20:44 +00:00
Jenkins
62002dd88b Merge "clean mysql better" 2015-01-17 22:47:58 +00:00
Jenkins
ca5b5485d9 Merge "Make changes such that -o nounset runs" 2015-01-17 17:45:29 +00:00
venkata anil
9b1df57634 neutron should log user_name and project_name by default like in nova
neutron doesn't log user_name and project_name along side req-id in
devstack logs. So, Openstack jenkins neutron check and gate jobs also
not logging user_name and project_name along side req-id.
Without knowing the user and tenant, its hard to understand what the
logs are doing when multiple tenants are using the cloud.

Nova is logging user_name and project_name by default.
So porting the same changes to neutron.

Change-Id: I10eac2e4177a898e9bcc60c08f3bd39a2ec9f31b
Closes-Bug: #1399788
2015-01-17 07:35:31 +00:00
Jenkins
c34cb7b5ef Merge "Add a group create function, and a sample group" 2015-01-17 06:03:07 +00:00
Dean Troyer
ad5cc986d8 Rename screen logfiles
This renames the log files in logs/screen that contain timestamps to put
the timestamp after '.log' and '.log.summary' in the names.  This will
simplify devstack-gate's search for log files to copy to '*.log'.

dstat.txt is also renamed to dstat.log

Make LOGDIR and LOGFILE local

bp:devstack-logging-and-service-names
Change-Id: I02aba9ca82c117a1186dafc1d3c07aa04ecd1dde
2015-01-16 13:58:25 -06:00
Rob
d06a6d9d8b Create initial network when using Cisco N1k plugin
This patch creates an initial network when using the Cisco n1k plugin,
as it fails otherwise.

Change-Id: Ieceac0e2518bf5ca4cd808f6719b73aad0db903b
Closes-Bug: 1399389
2015-01-16 17:35:27 +00:00
Bob Ball
1e3a5d2d6c XenAPI: Use SCREEN_LOGDIR rather than assuming a static value
This value was defined in Citrix's install-devstack-xen script, so
only worked for those using that script.

Change-Id: Iab63389f41760865f2b67f6dccd57d774e889905
2015-01-16 14:50:40 +00:00
Bob Ball
0686dae661 XenAPI: Fix another race condition
Fix it properly this time by forcing a PID from run.sh and using that to track.

A second issue is that upstart may run services twice, introduce a flock test
to ensure that we only run stack.sh once as running in parallel causes issues.

Change-Id: I05990c7154366350b0f9cc3e6c70d6f34238486f
2015-01-16 13:53:47 +00:00
Ryu Ishimoto
5bc957711d Clone neutron_lbaas for midonet plugin
MidoNet plugin needs the 'neutron_lbaas' module available when it
starts up without needing to start the LBaaS service.  After the
advanced service split, however, devstack clones 'neutron_lbaas'
only when the 'lbaas' service is enabled.  To get around this
conflict, clone 'neutron_lbaas' everytime midonet is configured
as the Neutron plugin.

Change-Id: Ide620db383fc44a66a84d00b2365ec2e846469fe
Closes-Bug: 1402242
2015-01-16 12:09:29 +09:00
Jenkins
116f9f826e Merge "Allow specification of ironic callback timeout" 2015-01-16 03:08:15 +00:00
Zhongyue Luo
37026f5366 Avoid VM configuration with Ironic hardware mode.
If "IRONIC_HARDWARE" is True, VMs are not required when using Ironic.

Change-Id: I33ba294f1e2ea583cd4c24c392637a4ee60a39ab
2015-01-16 08:36:08 +08:00
Jenkins
0f4942c784 Merge "Fix TRACKING_DEPENDS mode" 2015-01-16 00:22:15 +00:00
Sean Dague
537532931d Make changes such that -o nounset runs
This makes a bunch of variable cleanups that will let -o nounset
function, for the time being we hide nounset behind another setting
variable so that it's not on by default.

Because this is bash, and things are only executed on demand, this
probably only works in the config it was run in. Expect cleaning up
all the paths to be something that takes quite a while.

This also includes a new set of unit tests around the trueorfalse
function, because my change in how it worked, didn't. Tests are good
m'kay.

Change-Id: I71a896623ea9e1f042a73dc0678ce85acf0dc87d
2015-01-15 13:06:14 -05:00
Jenkins
5f6f43ed9f Merge "log dstat top io" 2015-01-14 19:45:58 +00:00
Steve Martinelli
b74e01c34d Add a group create function, and a sample group
Slowly trying to introduce more v3 concepts into a generic
devstack installation.

Work with description of none and description with spaces

Change-Id: I7d2fde58363698ff020f92f129f1ff7378f945a8
2015-01-14 14:37:13 -05:00
Jenkins
f3c2eaa183 Merge "delete cinder configuration file before config it" 2015-01-14 18:50:29 +00:00
Jenkins
22fd69e232 Merge "Add 'acl' package to neutron deps" 2015-01-14 18:42:32 +00:00
Sean Dague
8f90f765fa clean mysql better
The purge that was previously removed was actually kind of important
to burning mysql back down to a stateless zero point. Bring this back
with the addition of doing it for mariadb as well.

Change-Id: If608db8731d9ddfb2440a37387409798619b163c
2015-01-14 12:25:14 -05:00
Jenkins
3a94866668 Merge "fix mysql clean on ubuntu" 2015-01-14 15:28:23 +00:00
Zhongyue Luo
56b7efbf93 Gracefully add provider network port
Patch 5ec6f8f1 introduced the provider network support in DevStack. However, this patch
does not include a port clean up routine during ./unstack that openvswitch complains
that the PUBLIC_INTERFACE already exists and exits when you run DevStack multiple times.
Adding --may-exist to ovs add-port command solves this problem.

Change-Id: I89dc560ffb35fccf6ceed2557047adca37054ce7
2015-01-14 06:43:11 +00:00
Ethan Lynn
a134f652e5 Configure region name in neutron & ceilometer config files
Because of lacking some options in multi-region env, neutron and
ceilometer can not work after setup a multi-region env using
devstack.
This patch adds related options for multi-region env.

Change-Id: I4de890b233366f9526fa283aa9078a4d6ed0ca23
Closes-Bug: #1409589
2015-01-14 10:38:25 +08:00
Jenkins
b31f4cc3e5 Merge "Depreciated pip option PIP_DOWNLOAD_CACHE removal" 2015-01-13 23:05:46 +00:00
Jenkins
07e329875b Merge "Change default nova service name in cinder.conf" 2015-01-13 22:29:31 +00:00
Jenkins
8891fbc998 Merge "wget less verbose" 2015-01-13 21:49:11 +00:00
Jenkins
5734d08174 Merge "Ability to use a remote Ceph cluster" 2015-01-13 18:16:02 +00:00
Moshe Levi
d97d2cb017 fix mysql clean on ubuntu
Closes-Bug: 1409902
Change-Id: I72900eb2c7f3c6f66d829b10e9bb73b6d186da98
2015-01-13 15:02:19 +02:00
Attila Fazekas
057d6ae225 wget less verbose
wget is too verbose in devstack logs [1] on image download.

Changing the progress bar style to giga, in order
to be less verbose.

http://logs.openstack.org/73/146573/2/check/
check-tempest-dsvm-full-juno/41ba988/logs/devstacklog.txt.gz#_2015-01-13_11_34_15_330

Change-Id: Ic5304893f4c97c50e7a2f29ad5cd77dba3d5a9dd
2015-01-13 14:01:26 +01:00
Jenkins
cc6dbee0a6 Merge "neutron: use config files from neutron-*aas repos" 2015-01-13 12:51:13 +00:00
Sébastien Han
4eb04a5f9e Ability to use a remote Ceph cluster
Sometimes we want to run some benchmarks on virtual machines that will be
backed by a Ceph cluster. The first idea that comes in our mind is to
use devstack to quickly get an OpenStack up and running but what about
the configuration of Devstack with this remote cluster?

Thanks to this commit it's now possible to use an already existing Ceph
cluster. In this case Devstack just needs two things:

* the location of the Ceph config file (by default devstack will look
for /etc/ceph/ceph.conf
* the admin key of the remote ceph cluster (by default devstack will
look for /etc/ceph/ceph.client.admin.keyring)

Devstack will then create the necessary pools, users, keys and will
connect the OpenStack environment as usual. During the unstack phase
every pools, users and keys will be deleted on the remote cluster while
local files and ceph-common package will be removed from the current
Devstack host.

To enable this mode simply add REMOTE_CEPH=True to your localrc file.

Change-Id: I1a4b6fd676d50b6a41a09e7beba9b11f8d1478f7
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-13 09:49:58 +01:00
Radoslaw Smigielski
6ce071b796 Depreciated pip option PIP_DOWNLOAD_CACHE removal
Fix warning:
DEPRECATION: --download-cache has been deprecated and will be removed in the
future. Pip now automatically uses and configures its cache.

1. Since version 6.0 (2014-12-22) pip has deprecated PIP_DOWNLOAD_CACHE
   and now automatically uses and configures its cache.
   Default new location is $HOME/.cache/pip.
2. pip gets upgraded to the latest version in tools/install_pip.sh
   but if pip version<6, exit with error: "Currently installed pip version
   ${pip_version} does not meet meet minimum requirements"

Change-Id: I8b203ffc6d9cf588462d0d65a9703a9941d8fa71
2015-01-13 06:29:31 +00:00
Joe Gordon
0600572392 log dstat top io
We aren't always cpu bound, track top io usage as well.

Change-Id: I3c16b851ebab61ef96a6e3016237a294038561de
2015-01-13 16:36:43 +13:00
Jenkins
3eaa0781e3 Merge "Fix get_packages when $DISTRO is not set" 2015-01-12 17:17:41 +00:00
Jenkins
cfadf07465 Merge "Clean database ubuntu/RHEL/SUSE use uninstall_package and clean /var/lib/mysql" 2015-01-12 13:58:04 +00:00
Jenkins
992fbe3c59 Merge "Add support for enabling heat adopt and abandon" 2015-01-12 13:56:16 +00:00
Ihar Hrachyshka
5893cc7c5f neutron: use config files from neutron-*aas repos
Now that we split the neutron repository and have service configuration
files maintained in their own repos, start using them.

The old files are going to be cleaned up from the Neutron tree.

Change-Id: Iaeff0b9de88e9bcca87da1092cc888c4cc1bedfd
2015-01-12 10:48:08 +01:00
Jenkins
bd7fd71791 Merge "Remove Fedora 19 as supported distribution" 2015-01-12 05:24:20 +00:00
Jenkins
e9431ed6a9 Merge "Fix service start sequence" 2015-01-12 05:22:29 +00:00
Jenkins
eef1545298 Merge "Fix matchmaker-redis dependencies for zeromq driver" 2015-01-12 05:22:19 +00:00
Jenkins
a41ad4d183 Merge "Fix comments to use 'local.conf' instead of 'localrc'" 2015-01-12 03:39:12 +00:00