85 Commits

Author SHA1 Message Date
Adam Gandelman
2b7972d49c HTTPS support. 2013-02-19 17:47:54 -08:00
James Page
4a9e30a095 Add region name to quantum helpers 2013-01-22 14:07:47 -06:00
James Page
31ac3d799b Reduce calls to get region configuration 2013-01-22 12:19:39 -06:00
James Page
844dab04a3 Merged updates from adam_g for live migration and grizzly support.
Updated quantum integration to configure pool for floating IP addresses
for use with nova floating-* and pass quantum host and port to
quantum-network-service for use in nova-api-metadata proxy services.
2013-01-18 12:22:44 +00:00
Adam Gandelman
6c2c192f15 Merge all pending live-migration work into current ha branches. 2013-01-17 13:27:14 -08:00
Adam Gandelman
ec9920f218 Query clustered status + vip from rabbitmq. 2013-01-16 12:43:56 -08:00
Adam Gandelman
651f1b6135 Sync openstack-common. 2013-01-11 10:37:14 -08:00
Adam Gandelman
2e058140ee openstack-common: Update for Grizzly (and beyond) access via U.C.A. 2013-01-10 17:32:43 -08:00
Adam Gandelman
730ffed663 Actually use determine_quantum_config when needed. 2013-01-09 13:57:08 -08:00
James Page
c95e4de1d1 Added temp link for grizzly 2013-01-09 13:08:21 +00:00
James Page
fd249102af Update for ha clustering 2013-01-09 09:55:00 +00:00
Adam Gandelman
dfb8dbe2f1 Sync openstack-common. 2013-01-08 15:24:04 -08:00
Adam Gandelman
b52dca2919 Add some logic to avoid nova-volume on OS release later than folsom. 2012-12-21 17:24:40 -08:00
Adam Gandelman
8864904de3 Add libvirt to set_or_update, add lib/nova/grizzly. 2012-12-21 16:53:54 -08:00
Adam Gandelman
dfe03734f3 Move all release and service specific globals to determine_* functions.
Add 3 new functions: determine_services, determine_packages,
determine_quantum_config.

This avoids many calls into 'config-get' on every hook evocuation and
only calls them when they are needed.  We need to be able to support
many different service and package combinations depending on OS version
and other services that are deployed.  Its best to stuff this logic into
functions that can be called when needed, rather than clutter the hook
execution for all hooks.

Also adds some fixes into the common library to support Grizzly.
2012-12-21 16:16:14 -08:00
Adam Gandelman
56bd61088a Make nova-c-c the coordinator of SSH authentication among compute nodes. 2012-12-20 20:35:45 -08:00
James Page
86d484114c Fixed problem with get_ip validation 2012-12-06 21:32:44 +00:00
James Page
3b65ea91f2 Minor update to ensure that quantum plugin configuration is passed
to nova-compute and quantum-gateway services.
2012-12-05 11:44:02 +00:00
James Page
488e41869d Various updates for quantum integration. 2012-12-03 11:17:36 +00:00
James Page
14f36158b7 Initial quantum API integration 2012-11-29 16:38:54 +00:00
Adam Gandelman
a4c7efdb62 Remove redundant relation interfaces.
Removes the cloud-controller and network-controller relations.  All of the
functionality contained in these hooks can be easily condensed into the
cloud-compute/nova-volume-services interfaces.  This simplifies deployment,
avoids redundant and ambigious relations and makes things generally cleaner.
2012-10-12 12:37:13 -07:00
Adam Gandelman
d93a1765e5 Factor out restart trigger, rename config option.
Rename config option for consistency across charms:
    nova-release -> openstack-origin.

Move restarting remote services via the cloud-controller interface
to common code.  Also restart remote services after first db migration
in db_joined (since nova-c-c is the only service doing the migrations, now).
2012-10-12 10:27:48 -07:00
Adam Gandelman
0d20083cfe Support cloud:precise-folsom/staging installation source. 2012-10-10 12:45:38 -07:00
Adam Gandelman
43be9c7f14 Add cloud-controller hooks.
Use the cloud-controller interface to trigger events on remote nova units.
In this case, it is used to restart nova services on remote units after a
database migration.  In the future, this can be used to trigger reconfiguration
events when the new services are related (keystone, cinder, etc).
2012-10-10 12:27:20 -07:00
Adam Gandelman
73c29936cf Further refactoring, upgrade support.
* Moves more common stuff into hooks/lib/ to make it easier to sync
  between nova and other openstack charms.
* Improved logging calls.
* nova-api-os-volume package and associated enndpoint are now only
  managed when a relation to nova-volume exists.
* Allow upgrading from Essex to Folsom.
2012-10-02 17:37:57 -07:00
Adam Gandelman
5b65b54b09 Beginning of a major refactor.
This paves the way for better folsom support and upgrade ability.

    * Move functions that can be shared across all nova charms
      to hooks/lib/nova-common to allow easier managing / syncing
      among charms.
    * Add cinder-volume relations.
    * Make nova-volume API an optional service.  It is only installed
      and configured upon relation to a nova-volume service.
    * nova-volume relations trigger a new endpoint to be configured in
      keystone via identity-service relation, if it exists.  This is not
      necessary for cinder.
2012-09-21 17:53:41 -07:00
Adam Gandelman
ff92476c1c Allow user-defined nova.conf flags in charm config. Add config-changed hook 2012-05-11 11:25:50 -07:00
Adam Gandelman
922ce3b312 Remove nova-api-os-volume, as this service is now offered by nova-api 2012-04-13 17:12:17 -07:00
Adam Gandelman
dc08500ed1 Also run nova-os-volume-api on cloud-controller 2012-03-08 14:34:55 -08:00
Adam Gandelman
7f64e52a4e Update to use keystone service credentials 2012-03-02 12:45:42 -08:00
Adam Gandelman
4e52e86331 Metadata update, convert nova-network:nova to network-manager:nova-network 2012-02-13 14:20:27 -08:00
Adam Gandelman
6e5e8e3bdc Packaging updated to include base api-paste.ini, expand set_or_update to update this and use that from keystone_changed. 2012-01-24 18:23:11 -08:00
Adam Gandelman
2da0bdd6aa keystone_joined: Export OSAPI endpoint, not ec2 2011-12-22 17:51:46 -08:00
Adam Gandelman
b367e13a62 New hooks: add identity-service-relation-{joined,changed} to support Keystone 2011-12-08 18:08:00 -08:00
Clint Byrum
1c81b21ed6 splitting out revision and using private-address where possible 2011-10-11 23:08:13 -07:00