4841 Commits

Author SHA1 Message Date
Chris Dent
ae6fb18ff2 Allow ceilometer-api to run under mod_wsgi
If CEILOMETER_USE_MOD_WSGI is True then the API app will
run under mod wsgi. The default is false (for now).

The changes are modeled on keystone's use of apache.

Note that these changes are dependent on
https://review.openstack.org/#/c/121823/ in ceilometer.

Using mod_wsgi allows the ceilometer api to handle "concurrent"
requests. This is extremely useful when trying to benchmark
various aspects of the service.

Change-Id: I4c220c3b52804cd8d9123b47780a98e0346ca81e
2014-09-28 17:55:59 +01:00
Jenkins
9241e36bf1 Merge "Remove Nova v3 API endpoint" 2014-09-28 02:24:26 +00:00
Jenkins
b4aad373ae Merge "Stop setting nova.conf settings that mean nothing" 2014-09-28 01:22:33 +00:00
Jenkins
6145ed0c62 Merge "Fix pkg name for mysql-connector-python on SUSE" 2014-09-28 01:22:26 +00:00
Jenkins
f95fe33dcb Merge "Cleanup nova-cinder nova.conf section" 2014-09-27 20:28:22 +00:00
Jenkins
e419746ec0 Merge "Enable security group extension in PLUMgrid plugin" 2014-09-27 17:54:55 +00:00
Jenkins
22eeb1f1f3 Merge "Remove the Cisco Nexus monolithic plugin support" 2014-09-27 17:44:24 +00:00
Jenkins
32ec8358c1 Merge "Update Horizon Neutron-related settings" 2014-09-27 17:44:04 +00:00
Joe Gordon
1f79bad7ec Stop setting nova.conf settings that mean nothing
* DEFAULT.fixed_range isn't a valid option in nova anymore
* DEFAULT.osci_compute_workers was never a thing, it should be
  DEFAULT.osapi_compute_workers

Change-Id: Ib08f3e20e4685b331385431276f890205fa76da6
2014-09-26 09:59:47 -07:00
Joe Gordon
a7bde1fdf7 Cleanup nova-cinder nova.conf section
Stop using deprecated conf names, don't override default values with
default values.

Change-Id: I2c7e0833a61926b9fc9b5de4e38fdd626501d78d
2014-09-26 09:52:13 -07:00
Thomas Bechtold
293869fbac Fix pkg name for mysql-connector-python on SUSE
The correct package name on SUSE distros is python-mysql-connector-python.

Change-Id: I5250356f782f149f87f3d0ffba3380911fa437be
2014-09-25 07:55:15 +02:00
Jenkins
14f6c50b18 Merge "Use mod_version to clean-up apache version matching" 2014-09-25 03:43:29 +00:00
Ken'ichi Ohmichi
fa4ece89f7 Remove Nova v3 API endpoint
Nova v3 API has disappeared in Juno cycle, and we don't test the API
now on the gate since If63dcdb2d05aa0fab0b6848a1248b6678f1ee9ad .
This patch removes the endpoint of Nova v3 API.

Change-Id: I85f87b37558a15d1eaaa781b02fec5b02bd2ab44
2014-09-25 02:08:10 +00:00
Rob Crittenden
18d4778cf7 Configure endpoints to use SSL natively or via proxy
Configure nova, cinder, glance, swift and neutron to use SSL
on the endpoints using either SSL natively or via a TLS proxy
using stud.

To enable SSL via proxy, in local.conf add

ENABLED_SERVICES+=,tls-proxy

This will create a new test root CA, a subordinate CA and an SSL
server cert. It uses the value of hostname -f for the certificate
subject. The CA certicates are also added to the system CA bundle.

To enable SSL natively, in local.conf add:

USE_SSL=True

Native SSL by default will also use the devstack-generate root and
subordinate CA.

You can override this on a per-service basis by setting

<SERVICE>_SSL_CERT=/path/to/cert
<SERVICE>_SSL_KEY=/path/to/key
<SERVICE>_SSL_PATH=/path/to/ca

You should also set SERVICE_HOST to the FQDN of the host. This
value defaults to the host IP address.

Change-Id: I36fe56c063ca921131ad98439bd452cb135916ac
Closes-Bug: 1328226
2014-09-24 18:36:37 -04:00
Jenkins
d60c10d6db Merge "XenAPI: stackrc now depends on nproc" 2014-09-25 10:44:51 +00:00
Jenkins
da4f28fb84 Merge "Use correct WSGI dir on SUSE distros" 2014-09-25 09:41:56 +00:00
Akihiro Motoki
0843f0ab05 Update Horizon Neutron-related settings
- Horizon no longer has "enable_security_group" setting
  so we need to remove it.
- There is no need to set enable_lb/firewall/vpn to True
  when q-lbaas/q-fwaas/q-vpn is enabled because Horizon now checks if
  Neutron ext-list and enables corresponding dashboards accordingly.

Change-Id: I37073d73e4cba0103ab1a3d935302f1cd0ef73c5
2014-09-24 04:51:57 +09:00
Pritesh Kothari
107278fa5b Remove the Cisco Nexus monolithic plugin support
The Cisco Nexus monolithic plugin does not work without the Open
vSwitch plugin. The Open vSwitch plugin is scheduled to be removed
as per #1323729. This patch removes the Nexus Hardware switch
related code from devstack. The N1KV virtual switch related code
will still remain in the tree as it doesn't depend on Open vSwitch
plugin.

Closes-Bug: #1350387
Change-Id: I82ebb09c64589fc9b7bb790982541bc87c66e6e3
2014-09-23 09:53:01 -07:00
Bob Ball
0be63f3979 XenAPI: stackrc now depends on nproc
Install it automatically in the devstack DomU

Change-Id: Ie282dd128ebc92377d85800585962bc8767483fe
2014-09-23 11:24:04 +01:00
Jenkins
8fe3f70efd Merge "Configurable token hashing algorithm" 2014-09-22 19:05:08 +00:00
Jenkins
4c996a75bb Merge "Function for auth_token middleware config" 2014-09-22 19:04:48 +00:00
Thomas Bechtold
8732afe2f9 Use correct WSGI dir on SUSE distros
The current default (/var/www) leads to:

AH01797: client denied by server configuration:
/var/www/keystone/admin

For /var/www the needed permissions on SUSE are not set.
For /srv/www/htdocs/ the permissions are correct on SUSE systems.

Change-Id: I3f2df896daecdfe510d45ff121af2a8433a4d5be
2014-09-22 19:11:03 +02:00
Brant Knudson
3951a94499 Configurable token hashing algorithm
The Keystone server and auth_token middleware were enhanced to
support a configurable hash algorithm.

With this change, the user can set

 KEYSTONE_TOKEN_HASH_ALGORITHM=sha256

in their localrc to use the SHA256 algorithm rather than the
default md5. Any hash algorithm supported by Python's hashlib can
be used. The MD5 algorithm doesn't provide enough protection from
hash collisions and some security standards mandate a SHA2 hash
algorithm.

Change-Id: I8b373291ceb760a03c4c14aebfeb53d8d0dfbcc1
Closes-Bug: #1174499
2014-09-21 13:55:39 -05:00
Jenkins
47ccb7fa36 Merge "Updates DevStack to match Zaqar's API name change" 2014-09-21 17:41:38 +00:00
Brant Knudson
0595237e8a Function for auth_token middleware config
Each project was configuring the auth_token middleware using several
lines of inisets. Since all the projects should configure the
auth_token middleware in the same way create a function and call it.

Change-Id: I3b6727d5a3bdc0ca600d8faa23bc6db32bb32260
2014-09-21 11:18:01 -05:00
Jenkins
d13eb8ec40 Merge "Add Core, Ram and Disk filter to fake virt setting" 2014-09-20 19:38:52 +00:00
Jenkins
9f263219ea Merge "Install MySQL-python for keystone with rpm system" 2014-09-20 19:38:49 +00:00
Jenkins
00e3893250 Merge "Configurable Keystone admin workers" 2014-09-20 19:38:44 +00:00
Jenkins
a20ab63842 Merge "Make Swift uses API_WORKERS" 2014-09-20 13:03:50 +00:00
Jenkins
94242862b9 Merge "Add trove-api to $API_WORKERS" 2014-09-20 12:52:18 +00:00
Brant Knudson
85a17ea1de Configurable Keystone admin workers
The API_WORKERS option wasn't setting the number of admin workers
for the Keystone server when running in eventlet mode. This will
allow for control of throughput and memory usage.

Change-Id: Iecbce4a601f93784164e53d8b0c542d48f7b5650
2014-09-19 23:27:53 -05:00
Jenkins
106b379741 Merge "Set default API_WORKERS" 2014-09-20 03:46:26 +00:00
Victoria Martínez de la Cruz
f080e89307 Updates DevStack to match Zaqar's API name change
Zaqar is a messaging service which provides support for different
messaging patterns and messaging related semantics.
This fix changes the old API name -queuing- to a more accurate name, -messaging-.

Change-Id: I07ca6ca704a4f07d88c192a5ce1a7c626de1fcea
2014-09-19 19:15:02 -03:00
Joe Gordon
ecad2f277e Add trove-api to $API_WORKERS
Ie4bb075310a61a0873c9e56e4974600dbb4794a1 missed trove when adding
support for $API_WORKERS.

Change-Id: Iaeb43ef63596a61ad9c128e57d6a2d68b688719e
2014-09-19 11:39:01 -07:00
Chmouel Boudjnah
55dc2c2b1f Make Swift uses API_WORKERS
Keep the default to 1 instead of going wild, cause Swift really would
kill the VM if we let it go (and keeps the old behavior).

Change-Id: I7449c1bb485459169b8870c871b887cbab8be865
2014-09-19 15:40:02 +00:00
Dean Troyer
05bd7b803d Set default API_WORKERS
Set the API_WORKERS default to control memory usage. Maximum is nproc / 2 and
minimum is 2.

* Also updates https://review.openstack.org/#/c/117517/ to remove the
  conditional test as API_WORKERS should always be set.
* Update https://review.openstack.org/#/c/109058/ for ceilometer to use API_WORKERS

The following reviews can move forward either as-is or with minor tweaks:
* Keystone: https://review.openstack.org/#/c/121384/ - remove the if check
* Swift: https://review.openstack.org/#/c/121456/ - unabandon, the default
  to 1 is fine, or remove it to match the others.
* Trove: https://review.openstack.org/#/c/121438/ - remove the if check

https://etherpad.openstack.org/p/devstack-workers has the details

Change-Id: Id28d72ebf01c88b7df301edf7d1dd7ec23fcd0d6
2014-09-19 09:06:21 -05:00
Chmouel Boudjnah
8093f31f1c Install MySQL-python for keystone with rpm system
MySQL-python is needed for keystone and we were installing it
implicitely only for apts and not for rpms. Fix keystone only devstack
install on a pristine vm.

Change-Id: I0d117513af4e2ad58635f7a7b22f7a6e3ff36a38
2014-09-19 10:01:41 +02:00
Jenkins
12294d2b19 Merge "Debian: use libvirt-bin when needed" 2014-09-19 00:21:42 +00:00
Gonéri Le Bouder
a214363cf0 Debian: use libvirt-bin when needed
libvirtd is the new name of the init script in Debian testing.
libvirt-bin is still in use on Debian Wheezy.

Since I222b71962f49896063910ff2a25e4f57be4bf819, libvirtd is the
default for Debian, this break the compatibility with Debian Wheezy.

With this patch, we use libvirt-bin only if there is no
/etc/init.d/libvirtd init script.

Change-Id: I13694fef93d36c2e128e15e7dbfaec9230335585
2014-09-18 18:07:39 +02:00
Jenkins
a422c85371 Merge "Install tempest-lib as part of install_tempest" 2014-09-18 15:52:50 +00:00
Jenkins
5278b8a0ec Merge "ceilometer compute agent not started correctly" 2014-09-18 09:48:28 +00:00
Jenkins
4c8af972e9 Merge "Set allow_migrate_to_same_host as True by default" 2014-09-18 05:50:06 +00:00
Jenkins
19d1c37a11 Merge "Switch config to use Ironic driver from Nova's tree" 2014-09-18 05:50:02 +00:00
Jenkins
3148d8a713 Merge "neutron: use non-deprecated notification_driver" 2014-09-18 05:49:58 +00:00
Jenkins
5e2654c354 Merge "Add RBD as a known store" 2014-09-18 05:49:54 +00:00
Jenkins
3454209005 Merge "The python-qpid packages must be installed when qpidd is configured" 2014-09-18 05:27:49 +00:00
gordon chung
bdeea69d72 ceilometer compute agent not started correctly
command isn't properly parsed after switch to run_process. this
patch corrects the regression

Change-Id: Ib28d4bbf6f150854fc5aa04e3fa4eed92005ce19
Closes-Bug: #1370673
2014-09-17 14:54:21 -04:00
Matthew Treinish
3472386273 Install tempest-lib as part of install_tempest
This commit adds support to devstack to install the newly created
tempest-lib project.

Change-Id: Ifcf56639757ec4814dcd31f791931afe61f5a672
2014-09-16 21:52:03 -04:00
Jenkins
7672ad1dbc Merge "Split keystone mod wsgi config from start/stop" 2014-09-16 13:26:27 +00:00
Jenkins
1d8261f59a Merge "Add an option to enable version 1.0 of the AMQP messaging protocol" 2014-09-16 08:22:48 +00:00