This PS udpates the libvirt chart to correctly handle listed params.
Change-Id: I73d71a8d10b99420d3f1c69be476cf7ca4927951
Signed-off-by: Pete Birley <pete@port.direct>
This PS updates the Nova and Libvirt charts to mount the vm state
directories with bidirectional mount propagation for k8s >= 1.10.
This allows mounts created by some volume drivers to be used, and
unaffected by pod restart.
Change-Id: Idaf664efb23a424dd8d9e1376ea7231b8565e3fe
Signed-off-by: Pete Birley <pete@port.direct>
This PS adds the ability for the Libvirt chart to depend on
neutron agents being up if desired.
Change-Id: I7cd2dca4416d1852261591a0064381ae2b087b9a
Depends-On: Idcade7eebed317852b70392431ed02a352241c9b
Signed-off-by: Pete Birley <pete@port.direct>
This PS moves to use the current ga version for kubernetes daemonsets,
additionally any remaining deployments that were using the
`extensions/v1beta1` have been updated to `apps/v1`.
Story: 2002205
Task: 21735
Depends-On: If9703162dc472af1e6096bf2b9062802fd5ce8ab
Change-Id: Iba4e3d2798c54639e077b80999e669c79b616c6f
Signed-off-by: Pete Birley <pete@port.direct>
When removing helm-toolkit from OSH and swithcing to use the
toolkit from OSH-Infra, the image declaration function was missed.
Depends-On: I2f2012590d81ffcb159d49d8a76eedd4441744cd
Change-Id: I0f1118bb748f3fe1b6bb73acfc00e77c5cca9c7d
Signed-off-by: Pete Birley <pete@port.direct>
This PS adds the local registry image managment to OSH from OSH-Infra.
With this the delta between helm-toolkits in the Repo's is removed,
allowing the toolkit from OSH-Infra to be used and the one from OSH
to be depreciated.
Change-Id: If5e218cf7df17261fe5ef249d281f9d9637e2f6a
Co-Authored-By: Pete Birley <pete@port.direct>
Move to v0.3.1 of kubernetes-entrypoint which has 2
breaking changes to pod dependencies, and also adds support for
depending on jobs via labels.
Change-Id: I49d2cea11fbe5c5919ae22a020b877ebbb285992
After libvirt pod restarts, the virtual machines created before
turn transient ,then opetrate these vms ,nova-compute will throw
exception. This is because that the directory /etc/libivrt/qemu
in pod contains vitual machines xml files and it is temporary,
the xmls files disappear after the pod restarts, so we mount it
to hostpath /etc/libvirt/qemu.
Change-Id: I48fd712c2b0565cb2cfe850482e8501f4e5022a4
Closed-bug: 1760003
This version is already being used by some charts, so this brings the
rest of the charts in line and allows them to use a new feature,
pod dependencies, that this version provides.
Change-Id: Ie8289eb09b31cd8f98c2c5b4dd5bbe469078e6d8
This PS moves static dependencies under a 'static' key to allow
expansion to cover dynamic dependencies.
Change-Id: I38990b93aa79fa1f70af6f2c78e5e5c61c63f32c
This PS moves to use a lightweight libvirt 1.3.1 image based on
ubuntu xenial for used with newton openstack.
Change-Id: I99f64bba7aca3896fc3d32884c3e6f59ff088f79
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/
This PS moves the configuration files used by libvirt to be
generated directly from the values, rather than being templated.
Change-Id: I8ab2783c9d1d5d815cc02eccafa21058ff3acead
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
In addition to restoring the secret setting again this removes some
redundant logic and does minimal cleanups.
Change-Id: I5dbcbd393b18befd762518e3865da9e006cf5bd9
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
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
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
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
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
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