summaryrefslogtreecommitdiff
path: root/docker/nova
AgeCommit message (Collapse)AuthorFilesLines
2018-05-26Bump Ubuntu base image to 18.04Jeffrey Zhang2-31/+9
Ubuntu 18.04 has been released. We need upgrade to it this cycle. Changes made in this patch - Bump ubuntu repo from xenial to bionic. Some repos do not have bionic packages, so still using xenial repos. - Drop mariadb, percona and nfs-ganesha repo, because these packages are already provided by Ubuntu official repo. - Since qdrouterd does not have bionic repo and xenial packages does not work on Ubuntu bionic, just add it into ignore image list. - Use python-rtslib-fb and targetcli-fb rather than python-rtslib and targetcli - use xen-utils package name rather than with package version one. - Seems unsigned repo won't work on Ubuntu bionic, stop using infra mirrored unsigned repo in gate building job. Needed-By: https://review.openstack.org/568728 Implement blueprint: ubuntu-bionic Change-Id: I4e3b0ca669cfbf6316bf591f2d8428fa1a0d6182
2018-05-14nova-libvirt: install libpam-systemd from backportsMarcin Juszkiewicz1-0/+1
As in d50cc5d5d4a577ddd87f1e6bc77d25c509a31cb6 we got hit again: Change-Id: I49fa406cb394e5d3f831b35eff2b070a1adcc2c4 INFO:kolla.common.utils.nova-libvirt:The following information may help to resolve the situation: INFO:kolla.common.utils.nova-libvirt:The following packages have unmet dependencies: INFO:kolla.common.utils.nova-libvirt: libvirt-daemon-system : Depends: policykit-1 but it is not going to be installed INFO:kolla.common.utils.nova-libvirt:.[91mE: Unable to correct problems, you have held broken packages.
2018-05-08base/nova-compute: install udev/systemd to satisfy dependenciesMarcin Juszkiewicz1-0/+4
For Debian we use 'stretch-backports' image due to requirements of some images. That means that we also have systemd from backports. This breaks 'open-iscsi' (base) and 'python-guestfs' (nova-compute) installation. Solution is to install 'udev' and 'systemd' in proper versions. INFO:kolla.common.utils.base:Some packages could not be installed. This may mean that you have INFO:kolla.common.utils.base:requested an impossible situation or if you are using the unstable INFO:kolla.common.utils.base:distribution that some required packages have not yet been created INFO:kolla.common.utils.base:or been moved out of Incoming. INFO:kolla.common.utils.base:The following information may help to resolve the situation: INFO:kolla.common.utils.base:The following packages have unmet dependencies: INFO:kolla.common.utils.base: open-iscsi : Depends: udev but it is not going to be installed INFO:kolla.common.utils.base:E: Unable to correct problems, you have held broken packages. INFO:kolla.common.utils.nova-compute: python-guestfs : Depends: libguestfs0 (= 1:1.34.6-2) but it is not going to be installed INFO:kolla.common.utils.nova-compute:E: Unable to correct problems, you have held broken packages. Closes-bug: #1769850 Change-Id: I4865c279d665cf34fc150794c01368a1602319f0
2018-03-13Merge "Remove customizable for plugins_pip_packages"Zuul1-1/+1
2018-02-19Merge "change python-libguestfs to python-guestfs for ubuntu"Zuul1-2/+2
2018-01-23Remove customizable for plugins_pip_packagesMartin André1-1/+1
The pip packages are normally already configurable with the <image_name>_pip_packages variable. It doesn't make much sense to make the list of packages installed with the plugins mechanism configurable via the <image_name>_plugins_pip_packages variable too. And even if we wanted to, the parameter to the `customizable()` function should be 'plugins_pip_packages' and not 'pip_packages'. This commit removes the customizable bits from the plugins install macro, at least until we get a good use case for it. Change-Id: I90dd28b8c5d981e6028af353e34645712ef09b0b
2018-01-11change python-libguestfs to python-guestfs for ubuntuZhaokun Fu1-2/+2
python-libguestfs is for centos, python-guestfs is for ubuntu. Related-Bug: #1742029 Change-Id: Ia1578dfcc9e4dbf32d29773f07424bbfe9328951
2018-01-10Remove /lib/udev in $PATH for nova-computeZhongShengping1-2/+0
Add /lib/udev environment variable[1] is to solve the scsi_id access problems, but the patch[2][3] pointed out the absolute path scsi_id, we can not add /lib/udev environment variables in the system for nova-compute. So we can remove /lib/udev in $PATH for nova-compute. [1]https://review.openstack.org/#/c/291285/ [2]https://review.openstack.org/#/c/277224/ [3]https://github.com/openstack/os-brick/blob/master/os_brick/initiator/linuxscsi.py#L147 Change-Id: I5326edf8fff5745ef119c0c3decd6f4c51e8bd5d Closes-Bug: #1742340
2017-12-11Revert "nova-libvirt: fix kvm permission issue"Xinliang Liu1-11/+2
This is not needed. If we make sure qemu use nova user. Because nova user in group qemu. See comment #7 of bug #1715356: The root cause for this issue is that qemu not run with nova user on debian. If we set qemu running with nova user with this patch: https://review.openstack.org/#/c/525891/ Then we need to revert commit f1b98a4925826333cf22dafe15ef755066c51d48. This reverts commit f1b98a4925826333cf22dafe15ef755066c51d48. Closes-bug: #1715356 Depends-on: I36720af0c7d3dd7c69d2404843f54c0991aea1bb Change-Id: I62fbcf9e4ee5c3170c96576698f4ae8b66db1b74
2017-11-30Merge "Implement nova-mksproxy"Zuul1-0/+14
2017-11-24nova-libvirt: fix build for DebianMarcin Juszkiewicz1-1/+0
Change-Id: Ia0429294b2d99ef225dafb37bb77fae5fe0fe36c
2017-11-21Merge "Include required packages for libvirt SASL auth on CentOs/RHEL"Zuul1-0/+1
2017-11-21Merge "Install libvirt-clients for nova-libvirt image"Zuul1-27/+18
2017-11-17Include required packages for libvirt SASL auth on CentOs/RHELOliver Walsh1-0/+1
Change-Id: I40fd1c87fd95746ed26de41e501a76c1b83a174a Related-bug: 1732479
2017-10-31Merge "nova-libvirt: fix kvm permission issue"Zuul1-2/+11
2017-10-26XenServer: Add packages for initial supportnaichuans1-0/+4
Add `parted` to support xenserver in nova. Change-Id: I07d88702a8f8443efe4487837c2b47b06e16e417 blueprint: xenserver-support
2017-10-23nova-libvirt: fix kvm permission issueKevin Zhao1-2/+11
When deploy in AArch64, will meet kvm permission issue. Fix it with Arch specified. Closes-bug: #1715356 Change-Id: I09dc27693a83dc77704773a25547725de480dbe8 Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
2017-10-20Install libvirt-clients for nova-libvirt imageJeffrey Zhang1-27/+18
libvirt-clients is nice to have, which is helpful for operator. Change-Id: I892eebf542ee624e275c215809a3f1a9e6ab3135 Closes-Bug: #1720051
2017-10-17Implement nova-mksproxyJeffrey Zhang1-0/+14
nova-mksproxy is a Nova console proxy for VMware instances Change-Id: I446dd9eacdd0f0ee6f980133d1419d67c8dc7857 Closes-Bug: #1723997
2017-09-23Install multipath binary in nova-compute imageJeffrey Zhang1-0/+4
multipath binary is required after enabled multipath in nova. This patch is pushed to ocata branch first by mistake. Need cherry pick into master and pike branch. Change-Id: I0a1d85597999415cab11feb71a7fdfd7af3f7148 Closes-Bug: #1713639 (cherry picked from commit 4e6add7dbd80ef9326cc8a7e2afd5f6d02f1f68f)
2017-09-06Revert "nova-libvirt: fix kvm permission issue"Jeffrey Zhang1-1/+1
This reverts commit 43650d5837372449294a7a22e9c9167a92744e96. This fix do not work with CentOS x86_64. Since I haven't arm64 env, and we have fix this soon before pike is release. Just revert this and fix in the future. Change-Id: Id9eb531de7d05051f38e3ed13b64ae7abf552767 Partial-Bug: #1715356
2017-08-29Merge "Changed as per the standard convention set to use ".""Jenkins1-1/+1
2017-08-29Merge "nova-compute: add package qemu-efi to support uefi image"Jenkins1-0/+6
2017-08-29Merge "nova-libvirt: fix kvm permission issue"Jenkins1-1/+1
2017-08-29Merge "nova-libvirt: add package qemu-efi to support uefi image"Jenkins1-0/+12
2017-08-29Merge "nova-libvirt: fix no /usr/sbin/libvirtd issue"Jenkins1-0/+1
2017-08-28Changed as per the standard convention set to use "."Surya Prakash Singh1-1/+1
When we have to source a script file use . instead of source For Reference follow below link: https://docs.openstack.org/contributor-guide/writing-style/code-conventions Change-Id: Icc6a692d37e8a5bc1146d803c873505cbf6cd03f
2017-08-15libvirt should be installed from OS rather than pipJeffrey Zhang1-3/+2
python-libvirt need be compiled with libvirt header. compiling it with different libvirt header may be failed. So better install python-libvirt from OS distro. Closes-Bug: #1707841 Change-Id: I0d7bf1576aaf24fc7c60f49923e37a6a1afe9a8e
2017-08-15nova-compute: add package qemu-efi to support uefi imageZhangfei Gao1-0/+6
On arm64, uefi image is usually used via --property hw_firmware_type=uefi In order to support this, qemu-efi has to be installed Ohterwise error reports: Terminating instance: UEFINotSupported: UEFI is not supported Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Change-Id: I1a5099e45ad4e8dc5e21ebdf25639ef938b16822
2017-08-15nova-libvirt: fix kvm permission issueZhangfei Gao1-1/+1
When deploying on arm64, permission denied reported: Terminating instance: libvirtError: internal error: process exited while connecting to monitor: Could not access KVM kernel module: Permission denied Fix the issue via "chown root:kvm /dev/kvm" Change-Id: Ib963741918b47d924ca0716643ac14a3fc3cfab2 Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2017-08-15nova-libvirt: add package qemu-efi to support uefi imageZhangfei Gao1-0/+12
On arm64, uefi image is usually used via --property hw_firmware_type=uefi In order to support this, qemu-efi has to be installed Ohterwise error reports: Terminating instance: libvirtError: Failed to open file '/usr/share/AAVMF/AAVMF_VARS.fd': No such file or directory Change-Id: Ibc1b39e821e84fb9739833be04bdb41db59d2ff5 Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2017-08-15nova-libvirt: fix no /usr/sbin/libvirtd issueZhangfei Gao1-0/+1
When testing on arm64, libvirt continue restarts and reports error: Running command: '/usr/sbin/libvirtd --listen' /usr/local/bin/kolla_start: line 17: /usr/sbin/libvirtd: No such file or directory If install package libvirt-daemon, libvirt still report error: libvirtError: unable to connect to server at '192.168.1.98:16509': Connection refused Solve the issue via installing packate: libvirt-daemon-system Change-Id: I7d822c3f18fd7301b79d397c632fe412f4b6f9fd Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2017-07-18Fix injecting password into image errorZhaokun Fu1-0/+4
Change-Id: I25d029cb879097e489c9846d658e696a8d3194b0
2017-06-27Merge "Allow nova plugins install, add blazar plugin"Jenkins1-1/+9
2017-06-05Merge "Add e2fsprogs in nova-compute images"Jenkins1-0/+4
2017-06-02Merge "Remove all Heka related remaining stuff"Jenkins1-4/+0
2017-06-02Merge "Only copy plugin-archive into image for source builds"Jenkins1-9/+8
2017-05-31Add e2fsprogs in nova-compute imagesEduardo Gonzalez1-0/+4
e2fsprogs package is needed to create ext4 ephemeral disks on compute nodes. Change-Id: I6147f2dd0b3fd0b4f7701b381130eec64093230a Closes-Bug: #1694639
2017-05-29Remove all Heka related remaining stuffBertrand Lallau1-4/+0
Heka has been removed and replaced by fluentd. Refer to https://review.openstack.org/#/c/437874/ Change-Id: I989e5d71b5ba4d036dd45c02b3923c5bf27a04ed
2017-05-24use proper package name for python-oslo.vmwareMarcin Juszkiewicz1-1/+1
python-oslo-vmware was transitional package name Change-Id: Ieb355e30fe7162c035f342fd5b0fb2573365f428
2017-05-19Allow nova plugins install, add blazar pluginEduardo Gonzalez1-1/+9
Allow install plugins in nova base container for source builds. Implement blazar-nova plugin in nova. Change-Id: I4e3591a3b3d18d5830d32fa25cac5e657b00508c Partially-Implements: blueprint blazar-images
2017-05-12Fix if $user is root at extend_startegonzalez901-1/+1
In ubuntu is not evaluating correctly if $user == root check at extend_start. Changing to "$(whoami)" == 'root' fixes the issue Change-Id: I296a1f98764cdfa09650c483bc7beba53e6bdba4 Closes-Bug: #1690360
2017-05-10Only copy plugin-archive into image for source buildsMartin André1-9/+8
The plugin mechanism is meant to be for source install type only. Change-Id: I1371a253236b09dc62ea91dce6d652e1c5603015 Closes-Bug: #1681345
2017-05-03Override image's meta info.Jawon Choo13-13/+13
centos based images have wrong label info, these changes fix own image's name and build-date. Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c Closes-Bug: #1680341
2017-04-26Fixing missing genisoimage in nova-compute-ironicSerguei Bezverkhi1-4/+9
When config drive is used when starting baremetal instance, it fails because of missing binary mkisofs. Change-Id: Ib142ca302458facfad99486ed89c2b3bb07d28c9 Closes-bug: #1686227
2017-04-25Merge "nova-libvirt: handle ppc64le"Jenkins1-6/+16
2017-04-24Merge "handle rtslib(-fb) package names and dependencies"Jenkins1-9/+31
2017-04-20Merge "Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2"Jenkins13-13/+13
2017-04-20nova-libvirt: handle ppc64leMarcin Juszkiewicz1-6/+16
Partially-Implements: blueprint multiarch-and-arm64-containers Depends-On: I71ddb7ef57c64d2505cac96724b1ab6772a57d6a Change-Id: I5f196a36e07ea0f253d886fddf92d1aae8afb3b2
2017-04-20Merge "debian: move to stretch"Jenkins1-2/+2