aboutsummaryrefslogtreecommitdiff
path: root/docker/nova
AgeCommit message (Collapse)AuthorFilesLines
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
2017-04-20Add missing cleanup step for new apache imagesMartin André1-0/+13
A few new images got apache as part of blueprint apache-packages-for-apis without a cleaning up. Without this step the containers may fail to restart due to runtime files already present. This commit fixes it for all images with the exception of heat-base so that it can be cleanly backported to stable/ocata. It also removes the unused APACHE_DIR variable from freezer-api and keystone extend_start.sh script. Change-Id: I47d75221b3d1aae91f11d3e0da83e221a00315b7 Closes-Bug: #1679565
2017-04-20Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2Chen13-13/+13
Use LABEL instruction instead of MAINTAINER (deprecated) instruc- tion as suggested by Docker's official dockerfile guide. docs.docker.com/engine/reference/builder/#maintainer-deprecated Closes-Bug: #1683652 Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-13debian: move to stretchMarcin Juszkiewicz1-2/+2
Debian 'jessie' even with backports lacks some packages Kolla expects. Due to this we (Linaro) move to Debian 'stretch' release with our OpenStack work. Stretch is now frozen so there should not be many changes. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: Iab7232cbe6f8fc3e3de10c67f3d89f134b185f05
2017-04-12handle rtslib(-fb) package names and dependenciesMarcin Juszkiewicz1-11/+33
Ubuntu has rtslib/targetcli packages while CentOS and Debian use 'fb' fork of those. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I8721854eefa6c55bb6e627db9a051c8f9202d1e1
2017-04-06Merge "debian: enable all images enabled for Ubuntu"Jenkins13-20/+20
2017-04-05Add vSphere Supportjimmygc1-4/+16
Add oslo.vmware and vmware_nsx packages into kolla. Change-Id: I2a1ed314b970a4832f7f8256c1929921f36069f2 Implements: blueprint kolla-support-vsphere Co-Authored-By: shaofeng cheng <chengsf@winhong.com>
2017-04-04debian: enable all images enabled for UbuntuMarcin Juszkiewicz13-20/+20
Debian support is not maintained in Kolla so it got a bit behind Ubuntu one. This changeset enables Debian for all images. Jessie (even with backports) may be too old for some images though. Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order like it is done for RPM distributions. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
2017-03-28Alphabetize packagesEduardo Gonzalez6-60/+60
Some images have packages sorted alphabetically and some not. Unify common style between all images. Change-Id: I906ed89c10b12886665618752f525ba71d83d991