2313 Commits

Author SHA1 Message Date
Jenkins
fdae448a05 Merge "Add param for turning on debug logs on opendaylight's net-virt" 2015-02-04 03:50:39 +00:00
Jenkins
fb468cb32e Merge "Refactor lib/neutron rootwrap conf for reuse" 2015-02-04 03:50:29 +00:00
Jenkins
6262152064 Merge "Copy neutron service conf files into NEUTRON_CONF_DIR" 2015-02-04 03:42:50 +00:00
Flavio Fernandes
0413d2db8d Add param for turning on debug logs on opendaylight's net-virt
When looking at issues related to opendaylight and openstack, it
helps to bump up the logs on ovsdb and neutron northbound. This
commit introduces a param for doing that:

ODL_NETVIRT_DEBUG_LOGS=True

Change-Id: I109fc61ddc44255de031341fb41bef8db5f0714f
2015-02-03 18:49:07 +00:00
Doug Wiegley
37da4592c2 Copy neutron service conf files into NEUTRON_CONF_DIR
As part of splitting neutron into pieces, one of the steps was splitting
the various bits of configuration into their respective repos. That just
happened, and this change propagates those config files into /etc/neutron
in the same manner that devstack is using for neutron.conf (and which is
done via setup.cfg, like neutron, for regular package installs.)

Required for neutron review: https://review.openstack.org/#/c/151541/

Change-Id: Ic9aec4401925eca9e1678d84662b96d346a911e3
2015-02-03 10:59:37 -06:00
Jenkins
18e0a335b6 Merge "Bump up the count of workers for heat" 2015-02-03 10:11:26 +00:00
Jenkins
e263aad9c6 Merge "Configure auth_token middleware manually in swift." 2015-02-02 15:44:04 +00:00
Jenkins
5733abbc55 Merge "Fix oslo_messaging package and related object names" 2015-02-02 15:38:21 +00:00
Jenkins
3e3104f899 Merge "Define extra_elements inside disk_image_create_upload" 2015-02-02 15:38:02 +00:00
Jenkins
b702750803 Merge "Fix wrong grep regular expression for tap ports" 2015-02-02 15:37:35 +00:00
Maru Newby
952fd90ff1 Refactor lib/neutron rootwrap conf for reuse
This change separates out the creation and permision setting for
the /etc/neutron so that it can be reused by functional test
setup in rootwrap deployment.

Change-Id: Ib2ad5b21630ac82a3d7ffc7b088600b2168f1ecd
2015-01-30 22:27:12 +00:00
Daniel P. Berrange
901dbecd4c dstat: avoid creating self-referential symlink
If the SCREEN_LOGDIR and LOGDIR environment variables point to the
same location, devstack creates a dstat.log which is a symlink
pointing to itself. The second invokation of devstack then fails
trying to reference this broken symlink

Change-Id: I1de2bb7983e7535b41b28f526083a0d77312ff85
2015-01-30 17:03:32 +00:00
Jamie Lennox
38c95b8eba Configure auth_token middleware manually in swift.
Swift doesn't use olso.config and so the method of configuring swift via the
[keystone_authtoken] config options will not work. Go back to configuring swift
manually.

This will need to be fixed in either keystonemiddleware or swift as configuring
via plugin is the path to v3 authentication, service domains and new forms of
service user authentication.

Closes-Bug: #1415795
Change-Id: Ibe27116a11756072d5a300a6d3691c5f8c32317e
2015-01-30 02:18:26 +00:00
Jenkins
b9a7d3b5e4 Merge "Revert "Exit after printing error about RPC config"" 2015-01-29 22:56:32 +00:00
Jenkins
d84d93d8ae Merge "Init default lvm volume group only if required" 2015-01-29 22:55:50 +00:00
Clark Boylan
d8267b74ae Revert "Exit after printing error about RPC config"
This reverts commit c1dbf10562796c7006fd0a66c6cb39a1b990c8c1.

Reverting because it is valid to run devstack without enabling an rpc
backend. For example when you run devstack on a multinode deployment
compute hosts probably shouldn't run rabbit and instead will just talk
to the rabbit server set up on the controller node. As a result we
should not die when no rpc backends are set.

Change-Id: If9a31e031552f4161d42094fa960221b4d9e893c
2015-01-29 09:26:51 -08:00
Jenkins
e605b39400 Merge "Configure region name in neutron & ceilometer config files" 2015-01-29 09:24:56 +00:00
Zhenzan Zhou
9a704486a9 Fix wrong grep regular expression for tap ports
The regular expression used in neutron_ovs_base_cleanup omit
prefix in ovs tap ports, so wrong names are returned and used.
E.g. tap devices created for ironic in devstack are brbm-tap1
and ovs-tap1.

Change-Id: I034be6362b3d09c5296ecc413828a056712c3bd2
2015-01-29 08:12:31 +00:00
Jenkins
36b13f58cf Merge "Deprecate SCREEN_LOGDIR in favor of LOGDIR" 2015-01-29 05:57:19 +00:00
Jenkins
d31b05cc7c Merge "Make elements for heat test image configurable" 2015-01-29 05:56:39 +00:00
Jenkins
61cb01a8a2 Merge "Check dib is available before building heat test image" 2015-01-29 05:56:30 +00:00
Jenkins
51ceb0da0a Merge "Remove rhel6 and py26 support" 2015-01-29 05:54:15 +00:00
Jenkins
ea8fb0c246 Merge "Use LVMVolumeDriver instead of LVMISCSIDriver" 2015-01-29 04:44:04 +00:00
Jenkins
c2999d190a Merge "Auto add a cinder lvm.conf file" 2015-01-27 21:52:47 +00:00
Maru Newby
c070a3dbb5 Init default lvm volume group only if required
A recent patch [1] added support for lvm ephemeral storage for nova,
but at the cost of initializing a default lvm volume group even if it
was not required.  This change ensures that init of the default volume
group is only performed when nova and/or cinder are configured to use
lvm.

1: https://review.openstack.org/#/c/132333

Change-Id: I7634ca0ed0ffe1b13464e4d66744918f85149f2e
Closes-Bug: #1414820
2015-01-27 19:09:02 +00:00
Attila Fazekas
1f316beb20 Remove rhel6 and py26 support
el6 is shipped with Python 2.6.x which is not expected
to be supported with the openstack kilo release.

For el6 support we need to do lot of thing differently,
which makes the code more complicated.

This change removes el6 and py26 support from devstack.

This change also removed a discontinued (1 year ago)
openSUSE 12.2 code path, which used a similar codepath as el6.

Several comment related to el6 also removed or modified.

Change-Id: Iea0b0c98a5e11fd85bb5e93c099f740fe05d2f3a
2015-01-27 09:22:52 +01:00
Steve Baker
8874115668 Define extra_elements inside disk_image_create_upload
This avoids the need to define a global variable,
and tolerates extra_elements not being set when bash
flag -u is set.

Change-Id: I343951a678bed9ca3cda347a9c902e60c7b70e2d
2015-01-27 09:32:23 +13:00
Jenkins
4764cffd5a Merge "Create initial network when using Cisco N1k plugin" 2015-01-26 16:41:29 +00:00
Jenkins
1631af891a Merge "Configure auth_token middleware by auth plugin" 2015-01-26 14:06:15 +00:00
Davanum Srinivas
905275ec9f Bump up the count of workers for heat
Looks like the workers is set to 0 which in heat is used
mainly for profiling/debugging and not really useful in
the devstack scenarios.
https://github.com/openstack/heat/blob/master/heat/common/wsgi.py#L286

Partial-Bug: #1412923
Change-Id: Iccf6aeffd461fdc1f78022cbda370be4b9573267
2015-01-24 19:21:37 -05:00
Steven Hardy
3163c17170 Make elements for heat test image configurable
Allow the elements built into the heat functional test image to
be overridden via the localrc, allows easier testing of local
images with different/additional elements.

Change-Id: Ibaf2322e0572d25461579bbb2dc8a18858f4e09c
2015-01-23 13:26:29 +00:00
Li Ma
529f8113c2 Fix oslo_messaging package and related object names
Use the latest oslo_messaging package and the related driver names.

Change-Id: I20d4c9286cd2216aa238705f00d8f4537ed91234
2015-01-23 03:10:49 -08:00
Mike Perez
a0126b642c Use LVMVolumeDriver instead of LVMISCSIDriver
The Cinder LVMISCSIDriver is now deprecated. As a result, default
settings in devstack are giving warnings in the Cinder volume serivce.
The LVMVolumeDriver now handles all cases, by looking at the
iscsi_helper. This will use that driver instead, which will stop the
deprecation warnings.

Closes-bug: #1413761
Change-Id: Ifbb9ce45694095ff9e30f3ca4c3859a07de8df73
2015-01-22 16:01:11 -08:00
John Griffith
0b9e76f280 Auto add a cinder lvm.conf file
We have a number of issues where LVM scan commands hang during
test runs.  Looking closer at this with strace it turns out
that what seems to be happening is that we're scanning all of the
devices on the node, this includes the loop devices for swift and
other projects as well as the Cinder devices that are being attached
to the system during the test.

This is particularly messy for example when we issue a VG or LV scan
on a device like /dev/vdb and at the same time issue a detach.  The
result is LVM scan commands hanging waiting for timeout.

This patch adds a function to the cinder_backend/lvm module which
is called as the last part of cinder init.  If Cinder LVM is in use
as per cinder.conf this function will copy the default
/etc/lvm/lvm.conf to /etc/cinder/lvm.conf and use the cinder.conf file
and PVS to create filters so that ONLY the devices actually being used
by Cinder are included in scans.

There are two pieces to this fix; the first is to properly setup an
lvm.conf file with filters.  The second step is to merge the Cinder
change that modifies the Cinder LVM commands to specify the lvm.conf
file usage.

The Cinder part of this fix can be found here:
    https://review.openstack.org/#/c/148747/

Change-Id: I962b6e21cbfb6f5612b6c973053d86828ca8071a
Partial-Bug: #1373513
2015-01-22 12:27:58 -07:00
Steven Hardy
1f3f4b0a69 Check dib is available before building heat test image
When running with HEAT_CREATE_TEST_IMAGE=True, it's necessary
to add dib to ENABLED_SERVICES, or the image building will fail
so check for is_service_enabled dib before we start and error
with a helpful message if it's not.

Change-Id: Ia7ee64f6f8dd628267e485a1dc67581d8896d19c
2015-01-22 17:06:39 +00:00
Daniel P. Berrange
c1dbf10562 Exit after printing error about RPC config
When finding an invalid RPC configuration, devstack prints
a suitable error in the logs

    ERROR: only one rpc backend may be enabled,
           set only one of 'rabbit', 'qpid', 'zeromq'
           via ENABLED_SERVICES.

but then just carries on running, as a result the developer
is very unlikely to ever see the original error message.
Change the 'echo' to a 'die' so that it stop immediately
making the error message clearly visible.

Change-Id: If108f314e1ad2ecc79f41cbca47d08c4024a23cd
2015-01-22 15:10:56 +00:00
Zhongyue Luo
2548e6f290 Provider network subnets based on IP version
Subnets for both IP version 4 and 6 are created even if IP_VERSION is set to 4.
Added two if statements to only create subnets that are nessesary.

Change-Id: I87c97741808726a260c846db48c10931e8991a74
2015-01-22 02:22:05 +00:00
Jenkins
1acfc028a6 Merge "Setup notification properly for Zaqar" 2015-01-21 17:51:27 +00:00
Jenkins
8467cd3faa Merge "Allow swift keystoneauth reseller_prefix in sample file" 2015-01-21 08:26:10 +00:00
Jenkins
b2d1bc5b92 Merge "ironic scripts should support $Q_USE_NAMESPACE" 2015-01-21 08:12:43 +00:00
Jenkins
b3e38cf295 Merge "Avoid VM configuration with Ironic hardware mode." 2015-01-21 08:12:25 +00:00
Jenkins
d961416f87 Merge "neutron should log user_name and project_name by default like in nova" 2015-01-21 05:41:20 +00:00
Dean Troyer
dde41d0797 Deprecate SCREEN_LOGDIR in favor of LOGDIR
This is the first step in the log file cleanup.  If SCREEN_LOGDIR
is still set, symlinks will be created in the old screen log directory
so things like the devstack-gate log collector continues to work.

bp:logging-and-service-names
Change-Id: I3ac796e322a18dbd0b8b2310a08310ca159d7613
2015-01-20 16:08:22 -06:00
Jenkins
222ff80869 Merge "Register heat image in sahara image registry for fake plugin" 2015-01-20 18:36:08 +00:00
Jenkins
0f6122fb3e Merge "[Sahara] Set use_floating_ips=false for nova network" 2015-01-20 15:46:34 +00:00
Jenkins
955f80a7ef Merge "Enforce UTF-8 encoding when creating databases" 2015-01-20 15:44:07 +00:00
Jenkins
d4a81a895e Merge "Gracefully add provider network port" 2015-01-20 15:16:02 +00: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