charm-nova-cloud-controller:stable/17.02

Last commit made on 2019-04-19
Get this branch:
git clone -b stable/17.02 https://git.launchpad.net/charm-nova-cloud-controller

Branch merges

Branch information

Name:
stable/17.02
Repository:
lp:charm-nova-cloud-controller

Recent commits

6b68f00... by OpenDev Sysadmins <email address hidden>

OpenDev Migration Patch

This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.

86e2bf0... by Ian Wienand

Replace openstack.org git:// URLs with https://

This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I9102a9807effade98e838df9cff86e2645878cb8

8c0168c... by Nobuto Murata

Deprecate memcached_servers for mitaka+

Use a new config section oslo.cache with oslo_cache.memcache_pool backend
instead.

Change-Id: Ibfdbf0b4e985d7b74efeb69a05ca0ad0853b5067
Closes-Bug: 1684135

daa71b3... by Jorge Niedbalski

Evaluate 'None' as None in console_attributes.

The config.yaml file suggests None as one
of the possible values of the directive console-access-protocol,
this is wrongly evaluated as a string in the console_attributes
function, which causes the charm to install the pacemaker
resource even when is not required (console-access-protocol = None).

Change-Id: I367b7fd813e044bc6eedca687e837e8adab2dd40
Closes-Bug: #1697693
Depends-On: I98ebbf9f2c7582fae5f466dfc1d224bf66e38a24
Signed-off-by: Jorge Niedbalski <email address hidden>
(cherry picked from commit 51b7a600c8aac9e7c90aba6deb40af245c38f281)

0723811... by Jorge Niedbalski

Disable the nova-consoleauth service on HA.

When using the nova-cloud-controller charm in HA with the config
option single-nova-consoleauth set to true, its expected for the
nova-consoleauth service to be run in just a single unit at the time.

The service management (start/stop) is performed by pacemaker in
accordance with the cluster health using the OCF resource agent[0].

Its required for the service to be disabled by default on upstart (trusty)
or systemd (>=xenial).

This change disables the service by using the service_pause
charmhelpers call which considers both cases (upstart/systemd) when
the ha relation is present and the single-nova-consoleauth option is
used.

Also, this change fixes LP: #1660244 (Services not running that should be:
nova-consoleauth) by removing it from the resource_map when
ha + single-nova-consoleauth is used.

[0] https://github.com/openstack/openstack-resource-agents/blob/master/ocf/nova-consoleauth

Closes-Bug: #1693629
Closes-Bug: #1660244
Depends-On: I9a4245e764e268327466bc0fbe8b5383303ad07f

Change-Id: Ib012d81e0a1573f6ccf74a7a59f75329c751d7a0
Signed-off-by: Jorge Niedbalski <email address hidden>

5531b2a... by Ryan Beisner

Use tip of charm-helpers for tests

For primary charm code and unit tests use
lp:~openstack-charmers/charm-helpers/stable
But for amulet tests use lp:charm-helpers
This protects the pep8 and unit tests runs but also gives the amulet
runs all of the changes from master.

Pull in testing updates.
Also pick mock update in unit test.

Change-Id: I9a4245e764e268327466bc0fbe8b5383303ad07f

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