114 Commits

Author SHA1 Message Date
Ryan Beisner
2bd1f60d7c Update amulet test definitions for Newton
- Remove Precise-Icehouse Amulet test definitions if they exist.

- Add Xenial-Newton Amulet test definitions.

- Add Yakkety-Newton Amulet test definitions.

- Use the percona-cluster charm in tests instead of the mysql charm.

Change-Id: Idab48a7831008c5353eeb56da5deb49ce1305a41
2016-10-12 13:34:02 -05: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
Felipe Reyes
68b0afed6d Add disable-aws-compat config to disable AWS compatibility layer
For OpenStack >= Liberty EC2 and objectstore services aren't installed and
deprecated, but there is no way to disable it, this patch adds a way to
permanently disable and enable them

Change-Id: Ie78ba5af1d953e8ebed9195202522ff73efcde9f
Closes-Bug: #1533255
2016-09-12 05:46:43 +00:00
Jenkins
b1be7173d7 Merge "Various deploy from source changes and c-h sync" 2016-07-14 14:30:22 +00:00
Corey Bryant
ec8e442b73 Various deploy from source changes and c-h sync
* openstack-origin is no longer required when using openstack-origin-git.
* Drop kilo from openstack-origin-git default values because upper
  constraints doesn't work in kilo for openstack-dashboard and glance.
* Add flag to allow for disabling upper constraints when using
  openstack-origin-git with user-specified git repositories.

Change-Id: I903158434d552b50ef8250bbcab8c0b19b82e26e
2016-07-14 13:12:53 +00:00
Billy Olsen
8d35070586 Change worker-multiplier to float
Change the worker-multiplier to a floating point config option type
instead of integer. This allows users to specify workers to be less
than the number of CPUs, which is useful in deployments with multiple
services deployed into containers on top of bare metal.

The fix is to simply change the config option type and to sync in
the necessary update from lp:charm-helpers.

Partial-Bug: #1602444

Change-Id: I2c846832d24f709a3d019b766f5f23c28c4371f4
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2016-07-12 17:39:11 -07:00
David Ames
eba53c3d55 DNS HA
Implement DNS high availability. Pass the correct information to
hacluster to register a DNS entry with MAAS 2.0 or greater rather
than using a virtual IP.

Charm-helpers sync to bring in DNS HA helpers

Change-Id: I073770d3900b4948c4cceb440f90407128558c8f
2016-06-23 09:19:06 +01:00
Corey Bryant
18e19ef50e Add defaults for openstack-origin-git config option
openstack-origin-git currently only supports YAML that specifies
the git repositories to deploy from.

This adds support for default openstack-origin-git values. The
default values supported are: icehouse, kilo, liberty, mitaka,
and master.  For example: openstack-origin-git=master

Change-Id: I6b737272deed067c2f71dbd36b201aea884265ee
2016-06-20 08:37:43 -04:00
James Page
c2bc02e3ab Drop support for Neutron functionality
Neutron functionality was deprecated last release; remove
direct support for managing the neutron-server process and
associated plugin support from this charm.

All neutron-server support is now provided by the neutron-api
charm.

Change-Id: Iec7bd5ec6d835b573a15f8163fa5f78842bd672b
2016-04-08 11:46:52 +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
Edward Hope-Morley
4b98e30307 Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks.
Also add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: Icf48829e010d35d7d7a4ccd547eae6a8c511c04e
2016-03-31 19:30:33 +01:00
James Page
6e8dcf8af8 Drop support for OpenStack releases < Icehouse
Rollup all old configuration file templates, remove any related
to Quantum which was renamed in the Havana release.

Drop references in code to Quantum, refactor unit tests to baseline
on Icehouse rather than anything older.

Drop relation and associated references to nova-volume service;
deprecated in Folsom and removed in Havana.

Drop ml2 migration - this was required when migrating to Icehouse
from older releases.

Change-Id: I6f5d641ffef2599d0dfc8e16a2dce3cc7be88bd4
2016-03-23 12:40:37 +00:00
James Page
59823295b4 Add sane haproxy timeout defaults and make them configurable. 2015-12-10 11:00:11 +00:00
David Ames
105106a107 Remove line break 2015-12-03 14:45:02 -08:00
David Ames
401e1b741a Fix lp:1522130 Add sane haproxy timeout defaults and make them configurable. 2015-12-03 14:37:58 -08:00
Subbarayudu Mukkamala
1525f2129b Merge from lp:~openstack-charmers/charms/trusty/.../next/ 2015-10-27 07:51:11 -07:00
Christopher Glass
ca94f0699d Enable rate-limiting for the API. 2015-10-02 14:05:06 +02:00
Liam Young
1914cf0a66 [gnuoy, trivial] Fix typo from resolving conflict 2015-09-28 11:02:33 +01:00
Liam Young
f514fa794a [freyes, r=gnuoy]
Expose scheduler_default_filters as a config option

    Fixes LP: #1387073
2015-09-28 11:01:02 +01:00
James Page
7fae6a199c [thedac,r=james-page] Add support for action managed openstack upgrades.
Also fix misc assert_called problems in unit tests.
2015-09-24 17:29:26 +01:00
David Ames
468f3ae945 Action managed upgrades 2015-09-21 16:06:54 -07:00
billy.olsen@canonical.com
1b0318076f [cjohnston,r=billy-olsen] Fix the markdown specifications in the README
file. Change categories to tags in metadata.yaml, fix typos in config.yaml.

Closes-Bug: 1495679
2015-09-21 11:06:09 -07:00
Felipe Reyes
894949fd5b Expose scheduler_default_filters as a config option
Fixes LP: #1387073
2015-09-17 17:15:37 -03:00
Chris Johnston
3c112706f1 Typo fixes 2015-09-15 19:51:39 +00:00
Subbarayudu Mukkamala
2fcaeea48c Merge from lp:~openstack-charmers/.../next 2015-07-26 19:42:39 -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
0d27c39d93 Add more unit_tests 2015-07-22 17:12:38 +08:00
Hui Xiang
3dc847fea6 s/cert/key 2015-07-22 14:10:28 +08:00
Hui Xiang
7267a2c30e Fix more 2015-07-22 13:33:03 +08:00
Hui Xiang
168e39816a Add noVNC-ssl-cert/noVNC-ssl-key options 2015-07-21 21:19:27 +08:00
Hui Xiang
6eef99c3af Support noVNC session for SSL. 2015-07-21 10:42:36 +08:00
Edward Hope-Morley
47e423b4d2 [trivial] Cleanup config.yaml
Partially-Closes-Bug: 1473426
2015-07-10 15:14:23 +01:00
Corey Bryant
bbc2c71f51 Merge next branch 2015-06-11 09:33:42 -04:00
Corey Bryant
7a8f72a24c [billy-olsen,r=corey.bryant] Provide support for user-specified public endpoint hostname. 2015-06-10 16:32:48 -04:00
Corey Bryant
f2a4cdf056 Merge next branch 2015-06-10 15:48:34 +00:00
Billy Olsen
62e829a41b Merge with /next 2015-06-04 16:29:38 -07:00
Subbarayudu Mukkamala
354c4d2e9e Merge with upstream lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next 2015-06-04 07:30:23 -07:00
Billy Olsen
fd1face940 Switch config option to os-public-hostname 2015-06-03 11:27:55 -07:00
Billy Olsen
69d3ccd795 [wolsen,r=] Add support for overriding public endpoint addresses.
Adds in the config option for overriding public endpoint addresses
and introduces a unit tests to ensure that the override for the
public address is functioning correctly.

Additionally fixed unit test which invoked an apt-get update.

Closes-Bug: #1398182
2015-06-02 17:06:30 -07:00
James Page
4ba38a7c53 Revert previous commit, work incomplete 2015-04-20 11:21:36 +01:00
Corey Bryant
709209244d Deploy from source 2015-04-15 14:17:56 +00:00
Felipe Reyes
68442db2d1 Commit after merge 2015-03-06 12:45:22 -03:00
Brad Marshall
3c10869726 [bradm] Add nagios_servicegroups config option 2015-02-19 14:30:13 +10:00
Felipe Reyes
071477c677 Add single-nova-consoleauth option 2015-02-17 12:57:15 -03:00
Liam Young
c89695b277 [hopem, r=gnuoy] Adds nova-alchemy-flags option to allow [database] options
to be set in nova.conf as is currently supported for
neutron.conf.

Also changed 'sql_connection' to 'connection' and moved it all into [database] section since that has been the convention since at least Icehouse and is required for other db options.
2015-01-14 08:45:54 +00:00
James Page
7aac547da8 Rebase on next 2015-01-13 14:44:54 +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
James Page
31ede638b1 Provide fallback options for HA VIP if iface and netmask cannot be automatically detected 2014-11-12 09:40:22 +00:00
root
cb068a11b3 [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00