summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-06Bring Kolla inline with FHSSam Yaple114-242/+241
This brings Kolla images inline with FHS and should make finding locations of things more consistent and reliable with the linux world at large. Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8 Closes-Bug: #1485742
2015-10-06Common start.shSam Yaple161-961/+167
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-10-05add "--template-only" flag for tools/build.pyKuo-tung Kao1-1/+8
Add "--template-only" flag for tools/build.py to generate dockerfile for read easily. Change-Id: Ic4cf43d925b5f2d3dae809c11f3f95c51b4bbce2 Closes-Bug: #1501671
2015-10-04Set sysctl valuesSam Yaple2-0/+25
A few sysctl values are required for networking to work. All of them are documented at docs.openstack.org and while some of them are the defaults on systems, they should be explicitly set since networking will break without them set. Change-Id: I4507eb2602e52eeab61bdceea4c94b1c35696a7d Closes-Bug: #1482794
2015-10-04PXE for Ironic for ubuntuSam Yaple3-27/+20
This makes Ironic build properly from source. Change-Id: Ic61cd945760843aae1f0a01738bca3b818fd2f69 Closes-Bug: #1500577
2015-10-01Merge "Lock down ansible version"Jenkins1-1/+1
2015-09-30Lock down ansible versionSam Yaple1-1/+1
We can lock down to this alpha version as long as it works once. That is the value of building an image here. We likely won't run into any bugs if we can deploy from this tag at least once. Change-Id: I864290260d7fbdcd8325748788d2454d1dc1a699 Closes-Bug: #1501455
2015-09-30Fix wrong option name in kolla-build.confMartin André1-1/+1
The install type can now be change by specifying the correct option name. Change-Id: I612afc3df1e0e1bdfa9243417537eb176f0d89cc Closes-Bug: #1501327
2015-09-29Merge "Make a openstack-common container for CentOS variants"liberty-rc1Jenkins2-85/+35
2015-09-29Make a openstack-common container for CentOS variantsSteven Dake2-85/+35
Only implements CentOS (RPM family) binary in openstack-common. Change-Id: I5249d0ffaf4c0c946ee2347d5519391ded160cea Partially Implments: blueprint openstack-common-container
2015-09-29Merge "Fix ceph after config-external removal"Jenkins10-25/+27
2015-09-29Merge "Remove config-external for rsyslog"Jenkins4-19/+9
2015-09-29Merge "Make libvirt function on CentOS"Jenkins2-1/+9
2015-09-29Merge "Neutron Agents json support"Jenkins11-138/+67
2015-09-29Merge "Make oslo.log work correctly on RDO platforms"Jenkins1-7/+5
2015-09-29Fix ceph after config-external removalSam Yaple10-25/+27
Change-Id: I46dc2f02dda8219878eee3755b0891f4c3450682 Partially-Implements: blueprint replace-config-external
2015-09-29Make libvirt function on CentOSSteven Dake2-1/+9
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-28Neutron Agents json supportRyan Hallisey11-138/+67
Neutron Agents is a special case for json support. Since it's a fat container, there will be multiple commnds that will need to be run in the container. In order to account for this, the commands will be hardcoded until the agents are split out to their own containers. The files will be copied the normal way. Co-Authored-By: Steven Dake <stdake@cisco.com> Change-Id: I9fc226cc7b82c2594db5814d30d453a29a4af8c0 Partially-Implements: blueprint replace-config-external Closes-Bug: #1500566
2015-09-28Make oslo.log work correctly on RDO platformsSteven Dake1-7/+5
RDO has backported the oslo.log fix but Ubuntu from source does not have the proper version of oslo.log with the error correction for syslog. Change-Id: If91200397e02cf5b696d34d9aa4d6980fbba36c6 Partially-Implements: bp logging-container
2015-09-29Merge "Add Ansible support for Ironic"Jenkins41-49/+592
2015-09-28Merge "Make oslo.log work properly with syslog"Jenkins2-0/+51
2015-09-28Remove config-external for rsyslogSam Yaple4-19/+9
Additionally, fix privleges for rsyslog container. It needs to be privleged otherwise it will complain about creating device node Change-Id: I364858f0a1df01b53cee46db3ec7cd5ecbe82c54 Partially-Implements: blueprint replace-config-external
2015-09-28Make oslo.log work properly with syslogSteven Dake2-0/+51
The syslog support in oslo.log is broken. This patch makes oslo.log work properly by using a backported patch from master. Change-Id: Idb7b38e3cecbfd6547dad148f22f13a4c8557c8f Implements: bp logging-container
2015-09-28Add Ansible support for IronicJeff Peeler41-49/+592
Configuration based off upstream documentation here: http://docs.openstack.org/developer/ironic/deploy/install-guide.html A few notes: -ironic-api is not configured to use mod_wsgi -several places it's noted that discoverd is going away and needs to be replaced with ironic-inspector - (sqlite connection should be changed too) -currently enabling ironic reconfigures nova compute (driver and scheduler) as well as changes neutron network settings -a nice enhancement would be to configure the web console Required post-deployment configuration: Create the flat network to launch the instances: neutron net-create --tenant-id $TENANT_ID sharednet1 --shared \ --provider:network_type flat --provider:physical_network physnet1 neutron subnet-create sharednet1 $NETWORK_CIDR --name $SUBNET_NAME \ --ip-version=4 --gateway=$GATEWAY_IP --allocation-pool \ start=$START_IP,end=$END_IP --enable-dhcp And then the above ID is used to set cleaning_network_uuid in the neutron section of ironic.conf. Change-Id: I572e7ff1f23c4e57a2c50817cafe9269fd9950dd Implements: blueprint ironic-container
2015-09-28Merge "Murano logging to rsyslog"Jenkins3-2/+15
2015-09-28Merge "Rename ovs to openvswitch"Jenkins7-4/+4
2015-09-28Murano logging to rsyslogMichal Jastrzebski3-2/+15
Configure murano to use rsyslog container as logging mechanism Change-Id: I98416f4dac7176539576e865c249adca04379251 Implements: bp logging-container
2015-09-28Merge "Convert ceph to json"Jenkins8-70/+62
2015-09-28Merge "Improve cleanup script"Jenkins1-5/+31
2015-09-28Merge "Allow conf files to be optional"Jenkins1-6/+17
2015-09-28Rename ovs to openvswitchSam Yaple7-4/+4
Our openvswitch image does not follow the naming convention of any of our other containers and it should. Change-Id: If1b815117bb39df74061218e48778479b8d674bc Closes-Bug: #1500392
2015-09-28Merge "Heat doesn't need to specify python-oslo-reports"Jenkins1-8/+1
2015-09-28Merge "Significant refactor of base image"Jenkins1-28/+59
2015-09-28Merge "Implement a install_type and install_metatype"Jenkins90-96/+110
2015-09-28Merge "bind haproxy to single interface"Jenkins1-1/+1
2015-09-28Merge "Stop haproxy from listening on ports it shouldnt"Jenkins1-0/+18
2015-09-28Convert ceph to jsonSam Yaple8-70/+62
Remove ceph debug info and unused partuuid Change-Id: Ifbe9890979ee666d7e43a04376f36c41ae2d8add Implements: blueprint ceph-container Partially-Implements: blueprint replace-config-external
2015-09-28Allow conf files to be optionalSam Yaple1-6/+17
There are situations where we need to copy-if-exists mainly in cluster setups. This is needed to replace config-external for ceph right now Change-Id: I3c0898d8c584338a38e6ce4c4146e145910c5a52 Partially-Implements: blueprint replace-config-external
2015-09-28Merge "remove set_configs"Jenkins67-303/+10
2015-09-28Merge "Remove quotes from subshell call in bash script"Jenkins2-4/+4
2015-09-28Merge "Unify commands in documentation"Jenkins1-10/+10
2015-09-28Heat doesn't need to specify python-oslo-reportsSteven Dake1-8/+1
This package is correctly specified in the dependencies of the heat packaging now so removing it from the base package. Change-Id: I9028f41f5ee95b728c425235846b9825501b6f70 Implements: blueprint rhel-based-image-support
2015-09-28Significant refactor of base imageSteven Dake1-28/+59
This refactor organizes the code as follows: If RPM family: execute YUM repo setup if binary install binary tools if source install source tools IF DEB family: install source tools I have tested building and everything seems fairly solid except possilby RHOS. The long term goal of this patch is to allow us to add our own repos in the "execute YUM repo setup" section of the base file based upon OpenStack Infrastructure YUM repos. Partially-Implements: blueprint rhel-based-image-support Change-Id: I759fb8fc050973460c9c69bb500de68e88a68b3b
2015-09-28Implement a install_type and install_metatypeSteven Dake90-96/+110
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-28Merge "Bind novnc to single interface"Jenkins1-0/+1
2015-09-28Merge "Allow different defaults for different providers"Jenkins1-25/+51
2015-09-28Remove quotes from subshell call in bash scriptZhao Lei2-4/+4
Always no quotes for $() statement. We don't need quotes to hold blanks in result: # i=$(echo 1 2 3) # echo $i 1 2 3 # These quotes can make something wrong in some case: # i=$(echo '!') # # i="$(echo '!')" -bash: !: event not found # No real problem for current code, only to use a better code style. Change-Id: I06520f4b11ea6b56c4e73049b6f38bfc62fe1392 Closes-Bug: #1499716 Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
2015-09-28Merge "Remove all fail sections for Ubuntu"Jenkins18-119/+44
2015-09-28Merge "Fixes inconsistency in ansible inventories"Jenkins1-1/+1
2015-09-28Merge "Create nova-libvirt directory before copying files"Jenkins2-7/+7