Commit Graph

12 Commits

Author SHA1 Message Date
portdirect
cdaa02ef38 Libvirt: update default params for newer versions of libvirt
This PS updates the default params for the libvirt chart to enable
operations with newer releases.

Change-Id: I0b6fd5cdb9cd7de3c3ea45c49b2d4b8e1ab5b323
See: https://review.openstack.org/#/c/492552/
2018-02-04 23:39:08 -05:00
portdirect
dade748dcf Libvirt: move configuration to be generated directly from values
This PS moves the configuration files used by libvirt to be
generated directly from the values, rather than being templated.

Change-Id: I8ab2783c9d1d5d815cc02eccafa21058ff3acead
2018-01-04 18:24:08 -05:00
portdirect
fa2620d54b RBAC for OSH
This PS applys RBAC rules to OSH, based off the work
done in https://review.openstack.org/#/c/526464/

Change-Id: I541b0ac1a3972566ef2b66571ae32744dab70c17
2017-12-26 10:24:19 -05:00
intlabs
fe6107cf76 Images: Update values to allow simple parse of images being used
This PS updates the values file layout for images to allow simple
parsing of the images in use by charts, allowing them to be queried
and modified much more simply. By moving the image tags to a 'tags'
key, we can extend the options used simply to accomodate extra
options simply (eg prefixing the tag for use with an internal
registry) or pre-pulling the images to reduce chart deploy failure.

Change-Id: I9ec1dbb00d997ab6cb021bf0b698f7aae740e95d
2017-10-23 10:05:20 -05:00
Chris Wedgwood
04d8ced3c4 libvirt: fix secret so that volume attach works
In addition to restoring the secret setting again this removes some
redundant logic and does minimal cleanups.

Change-Id: I5dbcbd393b18befd762518e3865da9e006cf5bd9
2017-10-03 20:35:37 +00:00
Pete Birley
af1e19ef49 libvirt: fix operation when ceph is disabled
The movement of the ceph secret logic into the start script introduced
a bug that was missed in review when ceph is disabled, this PS
restores expected operation.

Closes-Bug: #1720061

Change-Id: Ie373ff94814ea396832a83101c885ebf92b6f8cc
2017-09-29 17:59:59 +00:00
Chris Wedgwood
e12d762136 [libvirt] Move 'ceph secret' to daemon start up
At present (Kubernetes 1.7.x) there is no logging for postStart
operations, when things this causes the pod to restart.  This change
means we once again get logging.

Change-Id: Id046968eef404c05a4215d73406a4eb604eb3ee5
2017-09-22 03:29:47 +00:00
Jenkins
4379e5aadc Merge "Check libvirtd based on /proc instead of /var/run" 2017-09-22 03:21:33 +00:00
Craig Anderson
388562e672 Check libvirtd based on /proc instead of /var/run
Change libvirtd check to look for pre-existing libvirt processes on the host based on /proc, which is more reliable than pidfiles written under /var/run/ which may be stale or may not be written at all.

Change-Id: I8a08dc7930c15ae90e1c6fb8a5fa3344cca2380f
Closes-Bug: #1715702
2017-09-14 11:06:27 -07:00
Seungkyu Ahn
da30982acf Make qemu use nova user
Ubuntu cloud archive released libvirt-bin version 2.5.0 which runs vms as
libvirt-qemu user. We need to force qemu to use this user to be able to
access vm files.

Change-Id: I47ff3e3b3f9412734bdc662f14681850bf64d53f
Closes-bug: 1714421
2017-09-02 11:09:16 +09:00
Chris Wedgwood
bfd9cb8655 Wait for libvirtd socket to be available
There is a race where the libvirtd.pid file appears but the socket has
not (yet) been created; this adds a timeout-loop waiting specifically
for the socket.

Change-Id: Ib2ede3b8d5c49bc650bf8a64cbffc03444bb2dd0
2017-08-31 17:24:47 +00:00
Pete Birley
0252ca776e Nova: Move Libvirt into its own chart
This PS moves libvirt into its own chart - decoupling it from nova,
both making it easier to deploy and use seperately and permitting
use of other compute backends.

Partially implements: blueprint split-nova-and-neutron-infra

Change-Id: I06237157244c3cdb5503eafa01229d061b1614f0
2017-08-29 23:50:08 -05:00