~ec0/charm-nova-cloud-controller:onsite-fixes-17.02

Last commit made on 2017-05-18
Get this branch:
git clone -b onsite-fixes-17.02 https://git.launchpad.net/~ec0/charm-nova-cloud-controller
Only James Hebden can upload to this branch. If you are James Hebden please log in for upload directions.

Branch merges

Branch information

Name:
onsite-fixes-17.02
Repository:
lp:~ec0/charm-nova-cloud-controller

Recent commits

0fcf873... by James Hebden

[jhebden] Onsite fixes to 17.02

2fc78f3... by James Hebden

[jhebden] Onsite fixes to 17.02

44808c6... by David Ames

Updates for stable branch creation

Set default branch for git review/gerrit.

Switch amulet tests to stable.

Switch to using stable charm-helpers branch.

Change-Id: Id8c704615fe69eaf2577733296578eaff907b804

86e59d7... by David Ames

Charm-heleprs sync for AMQP context fix

In Ocata nova uses the transport_url for communication to rabbitmq.
In the charm the default port 5672 was assumed. However, when
rabbitmq uses SSL it changes the port to 5671.

This pulls in the fix which makes the default port explicit and
changes the port when SSL is in use.

Change-Id: Ic9c24d33550c4c899cabca3667871212dabac1f7
Closes-bug: #1667362

9845979... by James Page

Enable automatic host cell discovery

Configure the scheduler to automatically discover and
map hosts into cell1 every 30 seconds ensuring that
hosts are discovered automatically.

This will be completed by future work to orchestrate
the enablement and mapping of compute hosts into cells
using relations and actions at a later date.

Change-Id: I5ed10e67936388bb074739b63e3a5ecf9036035f
Partial-Bug: 1667124

e8539fe... by Corey Bryant

Move add_hosts_to_cell earlier in compute_changed

The cloud-compute-relation-changed hook returns early in some
cases, such as when migration-auth-type is not set. Move the
add_hosts_to_cell call earlier in the hook so that it always
has a chance to be called when a compute host is added. This
also fixes the broken indentation.

Change-Id: I32df10286f34801acafc59017710c2fcbe58b29e

1e2647a... by Corey Bryant

Enable minimal cells v2 support

A minimal cells v2 setup is required in Ocata, which includes the
following databases:
 1. An API database (named nova_api)
 2. A special cell0 database (named cell0)
 3. A "cell1" database (named nova - we're using the nova db as cell1)

The order of nova-manage commands is also updated in this commit.
The 'nova-manage api_db sync' must occur first because 'nova-manage
cell_v2' commands use the API database. 'nova-manage db sync' must
then be run after the 'nova-manage cell_v2' commands.

Finally, 'nova-manage cell_v2 discover_hosts' must be run whenever a
new compute node is introduced to add the host to cell1.

This commit includes a sync of charm-helpers to pick up AMQPContext
updates for transport_url.

Change-Id: Ia6f36ca8a360dc8490e9f41b62d499fa4d73d0b9

2564cf5... by Corey Bryant

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

ad6fbd4... by James Page

Ensure configuration changes propagated fully

nova-cloud-controller provides its region setting to the nova
services hosted in neutron-gateway units; ensure that any changes
to configuration are correctly propagated to related units.

Change-Id: Iea002d4379339abf64742409e36d237b163420c5
Closes-Bug: 1513411

2eef644... by Frode Nordahl

Revert "Update policy.json to give service role access"

This reverts commit ec2579a8448281cdf1154018c0a56c9d4b174e36.

We are not quite ready for fine grained RBAC for service
accounts.

Change-Id: I210685d7b9036abb191073d512f8a65ebff30613
Closes-Bug: 1655028