charm-nova-compute:stable/19.07

Last commit made on 2019-09-06
Get this branch:
git clone -b stable/19.07 https://git.launchpad.net/charm-nova-compute

Branch merges

Branch information

Name:
stable/19.07
Repository:
lp:charm-nova-compute

Recent commits

2e8ccf0... by Chris MacNaughton

Ensure that VNC only binds on the internal network

When the VNC server is set to bind to 0.0.0.0,
unauthenticated console access is possible to any
VM via any of the compute host's interfaces. This
access should be restricted to an internal network.

Change-Id: Ibbc12ae282320f966eec90e9116388233e65eb9a
Closes-Bug: #1843004
(cherry picked from commit 82c5027814577535ba3db479e8e45a39548f4105)

2ae8ca9... by Zuul <email address hidden>

Merge "Prevent unnecessary nova-compute restarts on ceph_changed" into stable/19.07

a1305af... by Dmitrii Shcherbakov

Allow nova-compute rw access to /dev/net/tun

Contrail Nova VIF plugin relies on Nova (core) code to create a tap
interface before a vrouter interface is plugged. Thus nova-compute needs
to be able to access /dev/net/tun which it cannot with the current
apparmor profile when enforcing mode is enabled.

See LP: #1841111

Change-Id: I31033bc7d95dfce6b677c6e948303f7154395f66
Closes-Bug: #1841111
(cherry picked from commit 4168ffd5362153a7dacd5745b0a982ea695bf349)

0608952... by Rodrigo Barbieri

Prevent unnecessary nova-compute restarts on ceph_changed

Function 'is_broker_action_done' should return False when it
finds a response from ceph broker not marked done, in order
to trigger a nova restart. However, it also returns False if
there is no response data from ceph broker, triggering an
unecessary restart.

The function 'ceph_changed' is invoked under different remote
unit contexts when there are updates to the relation. When
querying the broker response, only the context of the remote
unit that is the broker can see the response, unless
specifically queried for that given unit.

The 'ceph_changed' invocations under a remote context that
are not the broker end up returning False in
'is_broker_action_done' and causing restarts, even after
the action is already marked done. This also happens on
'config-changed' hooks.

To fix this problem, the logic is now changed have each
'ceph_changed' invocation loop through units and process
the broker response, regardless of remote context.

This is an initial change to address the issue locally
in nova-compute charm. A later change will be worked on
to move the new helper methods to charmhelpers,
refactoring the existing ones there.

Change-Id: I2b41f8b252f4ccb68830e90c5e68456e15372bcf
Closes-bug: #1835045
(cherry picked from commit b1701e1b3174dcb06c05684319d6c73d6b2f509c)

1df9f0c... 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: If3328e4cc98e68abd97fb4c5292d45eb940731d7

6a1e3a7... by David Ames

Start libvirt in post-series-upgrade

A recent change (commit ceab1e91dc2e3948f6ba7c121c1801ad1641643c)
removed libvirt from the pause/resume list of services. This affected
series upgrade. Libvirt stayed down and did not start back up on resume.

This change checks the hook being executed and if it is
post-series-upgrade it includes libvirt as a service to start on resume.

Closes-Bug: #1839495
Change-Id: Ibfa24b678c1077b441464da8c38114ce23d14963

c060756... by Edward Hope-Morley

Reverting changes from commit 69a6fde

This patch reverts the non-charmhelpers changes from
the patch landed for bug 1835045 that is causing a
regression whereby new deployments that relate to
ceph-mon are prevented from sending broker requests
to do e.g. create the pool needed by
libvirt-image-backend=rbd.

Change-Id: I29421ce240a3810d945b76e662a743b4b8497ac8
Related-Bug: 1835045
Closes-Bug: 1839297

b416426... by Corey Bryant

Sync charm-helpers and use "rabbit_use_ssl" for ocata

Ensure "rabbit_use_ssl" is specified in the [oslo_messaging_rabbit]
config section instead of "ssl" for Ocata, since "ssl" was not yet
introduced.

Change-Id: Iafe511a60b546139c8f3edfd926f38d2829fe32a
Closes-Bug: #1838696

16fb4c5... by Zuul <email address hidden>

Merge "Ensure domain info is in CloudComputeContext"

15e13eb... by Zuul <email address hidden>

Merge "Sync charm-helpers"