summaryrefslogtreecommitdiff
path: root/docker/nova
AgeCommit message (Collapse)AuthorFilesLines
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
2017-03-27RHEL: Add mod_ssl for services running over httpdJuan Antonio Osorio Robles2-7/+15
This apache module is necessary for when one wants to use TLS for the services running over httpd. This only addressed RHEL based systems at the moment, since there is no such package available for Ubuntu. This requires apache2.2-common which will carry a lot more dependencies; So I think this should be handled and decided in a separate patch. when installing mod_ssl in RHEL-based distributions, an ssl.conf file is installed in the /etc/httpd/conf.d directory. This file tells httpd to listen on port 443; however, we don't want to do this by default, since this should be explicitly enabled by the container's configuration. This line is thus removed from the configuration. A release note was added, which specifies this. And the last sentence can be removed if this is addressed for debian/ubuntu as well. Related-Bug: #1675490 Co-Authored-By: Martin André <m.andre@redhat.com> Change-Id: Id6215d31547247309d43c031e163fa9e4c4ec5dc
2017-03-23Prevent apache from listening on port 80Martin André1-3/+9
A few new images got apache as part of blueprint apache-packages-for-apis without restricting it to listen on port 80. This commit fixes it for all images with the exception of heat-base so that it can be cleanly backported to stable/ocata. Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com> Change-Id: Idd3bbeffea9233eaed420798e22ea9a3a517c166 Closes-Bug: #1675308
2017-03-23Merge "Add libosinfo package for source installation"Jenkins1-0/+2
2017-03-15Refactor and enable shell accessMohammed Naser1-2/+3
When installing from binary, packaging tools create a user for Keystone which does not have a shell. This results in fernet token operations failing due to the fact that `rsync` cannot connect over SSH because the Keystone user cannot login. This patch addresses this issue by enabling shell access to the Keystone user, it also refactors the Nova SSH controller to use the pre-existing macro. Change-Id: Ic753a94311c5d7d72a82d91c1279dfe982e9afbd Related-Bug: #1617902
2017-03-15Add libosinfo package for source installationJeffrey Zhang1-0/+2
libosinfo is required by nova-compute. Change-Id: I5615e191d1a9a2ea35cab41b6b03803ebfaf3cb1 Closes-Bug: #1670692
2017-03-12Add mkfs.vfat to nova-compute source imagesDave Walker (Daviey)1-0/+2
Currently Windows and non-declared os_type images (defaults to Windows) attempt to format ephemeral volumes with mkfs.vfat but fail as this tool is not available in the container. This is resolved by installing dosfstools on the Source builds (as I believe this is handled in binary builds through dependencies). Change-Id: Iefa5fb0a16eed30aea935268f2a9becb1481b018 Closes-bug: #1672199 Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2017-02-17Use install-pip macro in most source imagesChao Guo2-2/+7
1. Enable customization of pip packages in source branch of most images 2. All pip packages install uniformly through install-pip macro, user can easily customize his own pip command (For example using a mirror) Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com> Change-Id: If09582039f690fa4136e8f33200d5da15e092da7
2017-02-05Remove include_header and include_footer in all DockerfilesJeffrey Zhang11-11/+0
include_header and include_footer parameter is already removed, remove them in all Dockerfiles. Add missing footer block. Change-Id: I90da03eb9f95a3827361d5f5ede65fde7d6be2b3
2017-02-03Merge "Containerized sshd does not work with older PAM"Jenkins1-1/+2
2017-02-03Containerized sshd does not work with older PAMVladislav Belogrudov1-1/+2
sshd containers don't let logins on some systems with older PAM library because /proc/self/loginuid is not always readable or writeable. Examples of possible failures on such systems are erroneous cold and live migrations. This fix does not upgrade PAM but makes pam_loginuid optional for nova_ssh and keystone_ssh. More information: https://github.com/docker/docker/issues/5663 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726661 https://git.fedorahosted.org/cgit/linux-pam.git/tree/modules/pam_loginuid/pam_loginuid.c#n61 Change-Id: Ic14255b042ceedcff536c062bdcba00502af7a87 Closes-Bug: #1651395
2017-02-02Merge "Add nova-placement-api container"Jenkins2-0/+70
2017-02-02Add openvswitch package for nova-libvirt containerJeffrey Zhang1-0/+3
Change-Id: I61ce3b695e66cd76f8f9a43863c94601d312e8fe Closes-Bug: #1661152
2017-02-01Add nova-placement-api containerJeffrey Zhang2-0/+70
Change-Id: I30efc20e6d918e08860584c017455e6d5fa91a35 Closes-Bug: #1660987