17 Commits

Author SHA1 Message Date
Corey Bryant
2564cf5a5f Enable nova-placement-api
This change installs the nova-placement-api, runs it under
mod_wsgi with apache2, updates nova.conf accordingly, and
registers its endpoints.

Change-Id: I4af4afa591cf68964e6146ca0ca0c51d1ddb8a64
2017-02-09 21:30:13 +00:00
James Page
469ef8dced Add support for serial console proxy access
Support access to instances via optionally enabled serial console
feature provided in Nova.

Seria console access is enabled using a new config flag; this flag
plus the required base_url for the nova-serialproxy are also passed
over the cloud-compute relation for use in nova-compute units.

This is only supported in OpenStack Juno or later, and replaces
the standard output to the nova console-log.

Change-Id: I3bfcca88bd6147be337e6d770db7348170b914e6
2016-09-15 12:37:33 +01:00
Edward Hope-Morley
24514dcd5b Support using internal network for clients
Openstack mostly defaults to using public endpoints for
internal communication between services. This patch adds
a new option use-internal-endpoints which, if set to True,
will configure services to use internal endpoints where
possible.

Closes-Bug: 1456876
Change-Id: I0f13fa1ab66864859d3adb37e5ec64bd95d7025d
2016-04-01 12:40:06 +01:00
James Page
90f376453b Add nova-api database setup for Mitaka
Mitaka requires the use of a separate nova-api database;
ensure that this is setup on the shared-db relation and add
a new [api_database] section to the mitaka nova.conf file.

Add a new NovaAPISharedDBContext wrapper to prefix the key
names for the nova-api database with 'nova_api_' so that we
can present two database connections to the same configuration
file.

Ensure that 'nova-manage api_db sync' is called for database
setup for >= mitaka release.

For upgrades, ensure that the database migration and service
start is deferred until the nova_api database has been
setup by the related mysql service.

Closes-Bug: #1556896

Change-Id: If1c9a037b1e0745a486a57fddf885e26aa7e313d
2016-03-18 12:28:57 +00:00
billy.olsen@canonical.com
19df3b6430 [billy-olsen,r=] Add region information to the conf files, relations.
This change adds the appropriate region information to the conf files
and to the cloud-compute relations in order to ensure that the region
can be configured on all nova components.

Closes-Bug: #1468306
2016-02-12 10:38:21 -07:00
Edward Hope-Morley
c95bd4e655 [xianghu,r=hopem]
Add Console SSL support. This allows SSL to be used for
instance console sessions independently of whether SSL
is used for the Nova API endpoint.

Closes-Bug: 1476455
2015-07-24 13:29:29 +01:00
Hui Xiang
d61aa28daf Fix comments. 2015-07-22 20:01:24 +08:00
Hui Xiang
6eef99c3af Support noVNC session for SSL. 2015-07-21 10:42:36 +08:00
Edward Hope-Morley
5b86b3ae22 [hopem,r=]
Fixes novnc SSL (ha and single unit)

Closes-Bug: 1441143
2015-04-08 13:10:09 +01:00
Edward Hope-Morley
294aa7d459 Created new database section for >= Icehouse since parts/database
is used for all versions.
2015-01-07 12:05:04 +00:00
Edward Hope-Morley
899a06b2fb move database options into [database] section 2015-01-07 10:51:24 +00:00
Edward Hope-Morley
abea4c3eab [hopem,r=]
Adds nova-alchemy-flags option to allow [database] options
to be set in nova.conf as is currently supported for
neutron.conf.

Also use (num_cpus * worker-multiplier) as default value
for max_pool_size. This can be overiden by supplying a
new value with nova-alchemy-flags.

Closes-Bug: 1403138
2015-01-07 10:14:46 +00:00
Edward Hope-Morley
16f9919ae9 fixed review comments 2014-10-22 22:09:02 +01:00
Edward Hope-Morley
99d4c6729f trunk sync 2014-10-22 22:07:15 +01:00
Edward Hope-Morley
ff5745fe29 [ivoks,r=] Add support for setting neutron-alchemy-flags 2014-07-16 15:50:01 +01:00
liam.young@canonical.com
8aad87bcf8 Add cell template 2014-04-26 04:58:46 +00:00
James Page
3bfcfb5a0a [yolanda] Add postgresql support
Rejig templates to use includes, add Postgresql context for neutron and quantum config files.
2014-03-31 12:56:09 +01:00