191 Commits

Author SHA1 Message Date
James Page
db27ea0efc Drop ec2 and s3 endpoints for kilo 2015-03-24 17:48:42 +00:00
Edward Hope-Morley
1e1d498891 [hopem,r=]
Adds pki token support.

Closes-Bug: 1309667
2015-02-19 19:51:58 +00: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
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
Liam Young
dac6bbed30 Merged next in 2014-12-19 10:25:03 +00:00
Edward Hope-Morley
cd81c03787 [freyes,r=hopem]
Install python-memcache, configure nova.conf adding the key
memcached_servers when a relationship with memcached service
is established.

If multiple units of memcached are available, all of them
are used i.e. memcached_servers = host1:port1,host2:port,host3:port3

To secure memcached access this relies in the memcached charm
ability to use iptables rules to only allow access to related
machines.

Closes-Bug: 1386271
2014-12-17 18:20:59 +00:00
Ryan Beisner
bc7d2a07f6 add python-six install re: bug 1403114 2014-12-16 19:31:29 +00:00
Liam Young
b640c3aeb7 Enable haproxy for when there is a single unit in a deployment 2014-11-25 10:19:08 +00:00
Felipe Reyes
686d3a6211 Commit after pulling changes from upstream 2014-11-20 13:59:00 -03:00
Liam Young
d696173052 The nova-cc always runs the neutron migrations at the moment. Previously there was some code to cede responsability to neutron-api but this was removed. Unfortunatly a condition was overlooked and this mp removes it 2014-11-14 09:55:10 +00:00
Felipe Reyes
acdaacba78 Fix typo in memcache package 2014-10-24 18:04:26 -03:00
Felipe Reyes
6baecf0d80 Add python-memcache to be installed 2014-10-24 17:47:02 -03:00
Felipe Reyes
652023e88e Add InstanceConsoleContext to the resource map 2014-10-24 12:00:23 -03:00
Liam Young
a1f6e2c06b [gnuoy,r=james-page] continue to stop the services associated with the neutron files from being managed if neutron-api relation is present but reinstates the management of the files themselves as they are needed for db migrations. 2014-10-23 17:39:43 +01:00
Corey Bryant
d35306af77 Ensure installation source is configured prior to querying cloud-archive.list. 2014-10-23 15:05:29 +00:00
Liam Young
02e9123ed1 Keep neutron config files for running migrations 2014-10-23 14:36:35 +00:00
Corey Bryant
5b17636858 Move openstack-origin cloud check to do_openstack_upgrade() and raise ValueError. 2014-10-23 14:18:56 +00:00
Corey Bryant
45b2bc03db Only perform step upgrade if openstack-origin source is from the cloud archive. 2014-10-15 15:37:16 +00:00
James Page
ab8a78ac0d Revert accidental commit 2014-10-15 15:45:14 +01:00
Corey Bryant
bb9b1c3cb3 Only perform step upgrade if openstack-origin is set to a cloud archive source. 2014-10-15 14:37:47 +00:00
James Page
0e9e541784 [gnuoy,r=james-page,t=james-page] Add support for new Nova Cells service for scalable OpenStack Compute. 2014-10-13 17:18:58 +01:00
James Page
982469e484 Make cancellation of quantum endpoints just dependent on relation presence, not on presentation of private-address 2014-10-10 14:37:30 +01:00
Liam Young
bfb1630b9c Merged next in 2014-10-07 11:37:20 +00:00
James Page
4e2b2f5fb4 Ensure BindHostContext is used with neutron.conf to support prefer-ipv6 in deprecated neutron in ncc configurations 2014-10-03 08:43:40 +01:00
Edward Hope-Morley
518a329f0c fixed ipv6 compatibility check 2014-09-30 14:24:53 +01:00
Hui Xiang
bb255d98af Merge trunk, refactor codes. 2014-09-30 14:59:57 +08:00
Hui Xiang
8053280bd2 Refactor codes. 2014-09-30 14:48:02 +08:00
Liam Young
7f72cd6099 Merged next trunk in 2014-09-30 07:28:34 +01:00
Liam Young
f159f99719 Added unit tests for db migration and fixed lint 2014-09-29 14:58:29 +01:00
Liam Young
5bc9e8b4a6 Added some cells and amqp unit tests 2014-09-29 09:03:49 +00:00
Liam Young
8ba02546ff Merged next in 2014-09-28 13:57:28 +00:00
Hui Xiang
0c28438470 Remove relation prefix, which caused db sync failed and nova services upstart override. 2014-09-28 19:27:21 +08:00
Liam Young
855df430d2 Run db migrations for neutron 2014-09-26 15:46:53 +00:00
Hui Xiang
9e08a0bdb2 Use general BindHostContext, small refactor. 2014-09-25 12:01:20 +08:00
Edward Hope-Morley
54080c7146 synced /next 2014-09-22 21:32:50 +01:00
Hui Xiang
a0de0d4468 Fix format errors. 2014-09-18 20:23:54 +08:00
Hui Xiang
0c34eae15d Sync charm-helpers, fix ipv6 format address. 2014-09-17 16:37:24 +08:00
James Page
055823c1de Only check for presence of relation when using peer relation for storage and sync 2014-09-12 14:57:42 +01:00
James Page
4e3db0b330 [gnuoy,r=james-page] Ensure services are not running prior to a db sync.
Resolves two issues

1) Co-ordination of db sync activity across multiple nodes.

2) Ensures services are not started unil db sync is complete.
2014-09-12 14:24:16 +01:00
Liam Young
444db761db Rebased 2014-09-02 12:53:12 +00:00
Liam Young
a2ee99f02d Having 'manual' in the upstart override file stops the service being started on reboot but not if a service restart is issued. So, updated override file to set the upstart exec command to be 'true' instead to knobble the service 2014-08-15 11:04:48 +01:00
James Page
86a554c3f3 Fixup feedback 2014-08-12 15:41:11 +01:00
Liam Young
64c608704c Added additional logging and only use peer_* commands if the peer relation exists 2014-08-12 10:21:56 +00:00
Liam Young
0ca9273c32 Shutdown nova-cloud-controller services when nova db sync is run for db relation joined 2014-08-12 10:07:44 +00:00
Liam Young
a0e2e9a276 debug etc 2014-08-12 06:50:23 +00:00
Liam Young
54700bc9fc Use relation set 2014-08-11 16:01:47 +00:00
Liam Young
4b1075918b Disable services on all nova-cc nodes until dbsync is complete 2014-08-11 13:42:11 +00:00
James Page
d1df46a71e Rebase on trunk 2014-08-08 11:31:32 +02:00
Hui Xiang
999d2e70f6 Support nova-cloud-controller for IPv6. 2014-08-06 20:46:50 +08:00
Liam Young
eeafe6583a Rebased 2014-07-29 14:42:08 +00:00