aboutsummaryrefslogtreecommitdiff
path: root/docker/ceph
AgeCommit message (Collapse)AuthorFilesLines
2016-02-24Switch ceph to use storage networkSamYaple1-3/+3
Ceph was not properly using storage network. TrivialFix Change-Id: Ibf3da5d19cd2ca874d251b455a7eb856154fc3f7
2016-01-28reset $(hostname) to $(hostname -s) in ceph extend_start.shweiyu1-3/+3
$(hostname) is Ceph Monitor name in extend_start.sh, {{ ansibe_hostanme }} is Ceph Monitor name in ceph.conf. $(hostname) not always equal to ansible_hostname , that makes ceph_mon container can't start. Closes-Bug: #1538870 Change-Id: I312bf8d74c855aa4c72f12285e3092df96f60048
2016-01-21Merge "Rename ceph-mon bootstrap container to avoid conflict"Jenkins1-2/+1
2016-01-17Rename ceph-mon bootstrap container to avoid conflictSamYaple1-2/+1
Ceph-mon bootstrap container shares the same name of `ceph_mon` with real ceph-mon service. When bootstrapping, it will sleep forever for the purpose of distribute rings. Later on, when starting real `ceph_mon` service, kolla_docker module will take bootstrap container as real one because bootstrap container has a super set of env variables and kolla_docker doesn't do strict comparing of env variable items. This change follows the pattern of other bootstrap containers and rename to use `bootstrap_ceph_mon` to avoid conflict. Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I0082820900928c42f9cc778ffd705980fea9ad1c Closes-Bug: #1535140
2015-12-29Add RadosGW containerAndrey Shestakov6-1/+15
Implements blueprint radosgw-container Change-Id: Idc88a67a0979be626d3eaa9b2b9a527010aa2006
2015-11-23Remove hardcoded MAINTAINER in DockerfilesSwapnil Kulkarni (coolsvap)3-3/+3
Added new option in kolla-build.conf Change-Id: I45fe51966bcb59ea19d112281ba3d5a1ba091a56 Closes-Bug:#1514304
2015-10-22Automate setting up a cache tierSam Yaple1-3/+7
Introduces a new flag to bootstrap cache devices DocImpact Partially-Implements: blueprint ceph-improvements Change-Id: I09b5a0d5c61b3465237e5f01dc10120725561cd3
2015-10-20Fix typos in docstrings:malei1-1/+1
Change 'formating' to 'formatting' change 'seperate' to 'separate' Change-Id: I3093461c91cc71654c3ba86d7d662259262c09f5
2015-10-13Make Ceph work for RPM based distributionsSteven Dake1-1/+4
Ceph packages need to be installed in nova, glance, and cinder. Once that is done, Ceph works like a champ! Change-Id: I296da1d04d0c1bcb729f22e65e432d53d561b49c backport: liberty Closes-Bug: #1505549
2015-10-06Common start.shSam Yaple5-17/+4
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-28Merge "Convert ceph to json"Jenkins4-69/+3
2015-09-28Merge "Implement a install_type and install_metatype"Jenkins3-3/+3
2015-09-28Convert ceph to jsonSam Yaple4-69/+3
Remove ceph debug info and unused partuuid Change-Id: Ifbe9890979ee666d7e43a04376f36c41ae2d8add Implements: blueprint ceph-container Partially-Implements: blueprint replace-config-external
2015-09-28Merge "remove set_configs"Jenkins2-8/+0
2015-09-28Merge "Remove quotes from subshell call in bash script"Jenkins2-4/+4
2015-09-28Implement a install_type and install_metatypeSteven Dake3-3/+3
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-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-27remove set_configsSam Yaple2-8/+0
Change-Id: I9bb0a1fac63cc326234b0f06b1e56b43e0753279 Partially-Implements: blueprint replace-config-external
2015-09-25Fix removal of config-externalSam Yaple2-2/+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-24Ceph Ansible supportSam Yaple7-17/+149
Add the initial playbooks for making ceph and ansible play nice together. This does not include all of the openstack changes to make things like nova, glance, and cinder work. This will simply build the ceph cluster and thats it. The next patchset will do the OpenStack integration. DocImpact Change-Id: Ie1697dde5f92e833652933a80f0004f31b641330 Partially-Implements: blueprint ceph-container
2015-09-04Add 'rhel' for RPM distrosSteven Dake1-1/+1
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-08-30Ceph containerrthallisey7-0/+134
Running ceph in a container requires 2 pieces: - ceph-mon - objectstorage-daemon (osd) Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I33e5baf72e4bc493889da0d796041acfd1a2cad3 Partially-Implements: blueprint ceph-container