summaryrefslogtreecommitdiff
path: root/docker/nova
AgeCommit message (Collapse)AuthorFilesLines
2015-10-06Common start.shSam Yaple16-87/+7
The majority of the start.sh code is identical. This removes that duplicate code while still maintaining the ability to call code in a specific container. The start.sh is moved into /usr/local/bin/kolla_start in the container The extend_start.sh script is called by the kolla_start script at the location /usr/local/bin/kolla_extend_start . It always exists because we create a noop kolla_extend_start in the base directory. We override it with extend_start.sh in a specific image should we need to. Of note, the neutron-agents container is exempt from this new structure due to it being a fat container. Additionally, we fix the inconsistent permissions throughout. 644 for repo files and the scripts are set to 755 via a Docker RUN command to ensure someones local perm change won't break upstream containers. Change-Id: I7da8d19965463ad30ee522a71183e3f092e0d6ad Closes-Bug: #1501295
2015-09-29Make libvirt function on CentOSSteven Dake1-0/+8
Recent regressions in the code base removed permission setting of /dev/kvm to root:kvm 660 permissions which are default for CentOS's version of libvirt. Also Libvirt must be able to read its cnofiguration file, which was previously 600 root:root. Now its 644 root:root so its always readable. This is fine, since this file doesn't contain any secret information. Change-Id: Id87cf5da8e37bc5bb613ce919d0293803d0fe5ed Closes-Bug: #1500733
2015-09-28Merge "Implement a install_type and install_metatype"Jenkins9-9/+9
2015-09-28Merge "remove set_configs"Jenkins8-39/+0
2015-09-28Implement a install_type and install_metatypeSteven Dake9-9/+9
This prepares for the RHEL OSP implementation by making the build tool convert all binary-* into an install_type of binary and * into an install_metatype variable substitution inside the Dockerfiles. Further binary-* is substituted as install_name to enable proper building only. Change-Id: Ib681b29176eb79a3cab12ec824313fdecb6e7a5f Partially-Implements: blueprint rhel-based-image-support
2015-09-27remove set_configsSam Yaple8-39/+0
Change-Id: I9bb0a1fac63cc326234b0f06b1e56b43e0753279 Partially-Implements: blueprint replace-config-external
2015-09-27Remove all fail sections for UbuntuSam Yaple1-7/+1
Ubuntu binary is not supported and may never be. Installing from cloud-archive packaging is only for the current stable distros, Ubuntu does not have a Delorean type repo. We place a fail message in the base image to catch this and remove the messages throughout the project. An additional fail message is placed to catch all other things. Change-Id: Id2953f503ebd42226f6a08e75979ae56511c40f7 Implements: blueprint install-from-ubuntu
2015-09-25Make OpenStack use CephSam Yaple3-10/+9
This implements all the openstack pieces needed to make ceph work. DocImpact Change-Id: I1d24476a966602cf955e5ef872b0efb01319894a Partially-Implements: blueprint ceph-container Implements: blueprint kolla-live-migration
2015-09-25Fix removal of config-externalSam Yaple8-8/+0
I removed the files but not the COPY commands thus breaking all of Kolla Change-Id: I37d3e0cb94a1ecc12971f485f953310ba8fee53c Partially-Implements: blueprint replace-config-external
2015-09-25Remove config-external.shSam Yaple8-80/+0
Removes config-external for all services that have been replaced in Ansible Change-Id: I839a14418638b977fbc1d02ba6839811b0f909ea Partially-Implements: blueprint replace-config-external
2015-09-23Replace config-external with a JSON file for Novarthallisey8-48/+39
Change-Id: I38c545484a7b1f3906d844eb3a7486e11c4b276a Partially-Implements: blueprint replace-config-external
2015-09-14Source type nova-compute and neutron-agents - no ovs-vsctlVladislav Belogrudov1-0/+1
When booting a vm with centos-source nova-compute and some of neutron-agents fails to find ovs-vsctl binary Change-Id: If1e7b6513babd5623666f01c68815ea8d0a05428 Closes-Bug: #1495470
2015-09-13Make novncproxy work on from source installsSteven Dake1-2/+2
The symlink was wrong. Change-Id: I9bb7978c7b5460484528af2a740a95e1d6411901 Closes-Bug: #1495158
2015-09-10Source type nova compute container misses qemu-img on VM bootVladislav Belogrudov1-1/+2
nova-compute requires qemu-img for various image operations Change-Id: I295f789565ba326d4023905459413df6c60aeb39 Closes-Bug: #1494273
2015-09-04Add 'rhel' for RPM distrosSteven Dake9-12/+12
Add 'rhel' to list for RPM based distros. Also sort the distro list for rpm packages for affected lines. Change-Id: Ied4cb3e9763d6c6359f314d16185383ac3e006ed Partially-Implements: blueprint rhel-based-image-support
2015-09-04Merge "Allow arbitrary source archive name to be imported into Dockerfile"Jenkins2-4/+4
2015-09-03Allow arbitrary source archive name to be imported into DockerfileVladislav Belogrudov2-4/+4
Currently we cannot import source archives with names different than expected by hardcoded line in Dockerfiles. This worked well for Openstack services' tarballs where we expected SERVICE-* root folder after extraction or kanaka-noVNC for nova-novncproxy docker. The latter fails if one tries to clone or get tarball under other names. This fix allows any archive (tar,tgz,zip) or repo name to be imported into dockerfile. Change-Id: I869a6a19afaf0e93925572746c22b7589b6600c9 Closes-Bug: #1491415
2015-09-03Create openstack-base containerSam Yaple1-1/+1
This creates and moves the dependencies for Ubuntu into a common openstack-base container. This commit shows dramatically smaller sizes for all non-openstack containers. The Openstack container remain the same size. Change-Id: I2f46420d4b9edcfddda374caddcce906fc708f6c Partially-Implements: blueprint openstack-common-container
2015-09-02Source based builds should get novnc from tarball (git/url)Vladislav Belogrudov1-9/+0
Source based centos, fedora and oraclelinux install novnc via rdo repository while ubuntu and debian get novnc from github. oraclelinux source build cannot use rdo, also using novnc tarballs can be expanded to all distros. Change-Id: I236dd5c36380e0592fceae4f4e1c28fe97dec1e7 Closes-Bug: #1490893
2015-08-31Merge "make nova-libvirt is child of base"Jenkins1-1/+1
2015-08-31make nova-libvirt is child of baseSam Yaple1-1/+1
Change-Id: I10677bcbb748ff99923e71ead982e778a41f2529 Closes-Bug: #1490246
2015-08-31Remove dest_filename from build.iniSam Yaple2-2/+2
We can, and should, figure out the filename dynamically rather than hardcode that value in build.ini since it is not actually a configurable paramater. Change-Id: I496d6555e9fa356ab09e62063fd707f43ed08121 Closes-Bug: #1490386
2015-08-28Move docker_templates to docker dirSam Yaple25-0/+449
Updated build.py to reflect this change. Deprecate --template option and make it a noop. Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2 Partially-Implements: blueprint remove-docker-dir