14 Commits

Author SHA1 Message Date
Derek Higgins
d1028879c4 Allow user to set the number of api workers
Defaults to ::processorcount
Also reseting puppet 2.6 compat in spec/classes/nova_db_postgresql_spec.rb
so that unit tests pass, it looks like our 2.6 unit test runner is using
puppet 2.7

Change-Id: I521679ce497a6d9f39a88a6e1d16d5a4ca67255a
2013-04-30 06:25:35 -04:00
Derek Higgins
f7830b7684 Set hasstatus => true for nova services
Fix bug 1170671

notifies to nova services on RHEL were not causing a restart of the service

Change-Id: I5fc91e1c519425e96677796d9de5222ab9d7f105
2013-04-19 09:02:03 -04:00
Dan Bode
c9757ec448 require sections are specified in nova_config
This massive code commit actually implements something very simple.

previously, we allowed nova_config to omit a section and assumed that
section was default.

This commit updates the code to require section names for all settings.

This change is being made b/c:
- it better maps to the config on disk
- it is consistent with the other modules

Change-Id: Iae71a4c48ed0f9792566f16f0bf13e61569b46e5
2013-04-12 15:06:58 -07:00
Aimon Bustardo
5e5a14380e Implement volume_api_class as an option 2012-11-16 04:57:27 -08:00
Dan Bode
124ae530fc fix test failures
make them work!
lazy tests, always want handouts :(
2012-11-02 11:12:39 -07:00
Dan Bode
03d7c21a83 Merge remote-tracking branch 'origin/master' into HEAD
Conflicts:
	Modulefile
	manifests/api.pp
	manifests/compute/libvirt.pp
	spec/classes/nova_api_spec.rb
	templates/api-paste.ini.erb

resolving conflicts between master and folsom branches
2012-10-24 13:28:07 -07:00
Dan Bode
fc30821d4e set required parameters
A few additional params are now required. This commit sets them
so that the tests pass.
2012-10-14 14:26:25 -07:00
Dan Bode
64a88230a6 update tests
makes all tests pass with the folsom changes.
2012-10-14 01:52:16 -07:00
Eugene Kirpichov
a867719e5d API bind address customizable 2012-08-22 18:36:19 -07:00
John Chilton
ede5a8ed10 Update nova::api class to allow specification of specific package
version for nova-api service. This required augmenting generic-service
to allow specifing such package versions as well. Default behavior
should not be affected, added spec to test these changes.
2012-05-08 13:32:36 -05:00
Dan Bode
cb2f51a855 Move auth_strategy to nova class
This commit moves the auth_strategy config from
the api class to the nova class.

This is required b/c the compute node has to know
how to authorize for connections to the glance api
server.

Previously, the nova compute nodes were failing to
be able to communicate with glance on multi-node
installations.
2012-04-30 09:46:52 -07:00
Dan Bode
acb77d9ada Add spec tests 2012-04-23 19:41:56 -07:00
Dan Bode
10aabe3591 Update spec tests 2012-04-09 23:59:55 -07:00
Dan Bode
97c6710689 Install nova packages per service
This commit ensures that the individual Ubuntu nova
packages for any given service are only installed when that
service is configured.

This behavior was broken when RedHat support was added.
Since Redhat only has a single package, it was assumed
that all packages should always be installed on all nodes.

This was causing all services to be in a running state on
Ubuntu (b/c the packages were starting the related service)
2012-03-30 20:13:55 -07:00