aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/cinder/tasks/start.yml
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake1-67/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-10-15Fix stale namespace removal issueJeffrey Zhang1-2/+2
When using both /run and /run/netns in docker container, mount propagation won't work when delete namespace after the containers are restarted. This PS makes /run mount as shared. Closes-Bug: #1616268 Change-Id: Ie16699e1b193b2bf1263d89ea634e89ea69add9e
2016-09-21Cinder cannot use external non-LVM iSCSI storageVladislav Belogrudov1-2/+2
Currently Cinder enables iscsid service only when LVM is choosen as backend. This fix will allow to specify external iSCSI storage via configuration add-on and to run iscsid independently of LVM settings. Change-Id: Iaae0f8025534e5ab1c5f9d5e812a7d41129915ef Closes-Bug: 1614125
2016-09-06Cinder-backup fails while backing up iSCSI volumesVladislav Belogrudov1-8/+15
Cinder backup needs access to the same volumes as cinder volume service when saving/restoring iSCSI disks Change-Id: Ib1956cbd57e8959bad520b8d4c6d792a449ecf22 Closes-Bug: #1614460
2016-07-25Simplify the Cinder LVM backendJeffrey Zhang1-2/+2
Remove the unnecessary option in the group_vars/all.yml file. * removed some cinder.conf options like volume_backend_name, iscsi_helper, iscsi_protocol etc. these value can be configured by custom cinder.conf file, no need export as global variables. * remove meaningless iscsi_ip_addess, which is not used in LVM driver * force start iscsi relate when enable_cinder_backend_lvm is yes TrivialFix Change-Id: Ifcbfdad15e4d68bc5f20fc77e0315a09983ef022
2016-07-19External Ceph - Implementation CinderMathias Ewald1-2/+2
This patch adds support for external Ceph clusters for Cinder. For clean integration the backend configuration mechanism had to be slightly adjusted. We now have the option to enable multiple backends for Cinder independently. Currently, the flags cinder_backend_iscsi and cinder_backend_ceph are used to toggle backends. Documentation on how to use external ceph was added. Change-Id: I7e0267b90d62d6d881f24f063cdb894422ec8618 Partially-Implements: Blueprint: external-ceph
2016-05-03map the host localtime to the containerJeffrey Zhang1-0/+4
Closes-Bug: #1577148 Change-Id: I636cefc63cf532434a41af3898b63dffa711e280
2016-04-12Adds ansible code for iscsid and tgtd containersSerguei Bezverkhi1-5/+12
This partially implements iscsi and lvm2 support for cinder in Kolla. Adds ansible code for iscsid and tgtd containers. Change-Id: I2a4cfcf104397396ea61a09637d9ef3fc77b515f Partially-Implements: blueprint iscsi-lvm2-docker
2016-02-19Make Heka collect Cinder logsÉric Lemoine1-4/+4
Partially implements: blueprint heka Change-Id: I9dcb71a9cf063fb520fcf3485e0376f1e90d87ad
2016-02-19Upgrade cinder playbookRyan Hallisey1-13/+13
Cinder requires a specific order for an upgrade. c-api -> c-scheduler -> c-volume -> c-backup as referenced by this patch: https://review.openstack.org/#/c/269412/6 We may be dependant on that Cinder patch linked above. Behavior without this patch is unknown. Change-Id: I3fd1fe62abb398935932dab6ce905a65f8aabbd0 Co-authored-by: Paul Bourke <paul.bourke@oracle.com> Partially-implements: blueprint upgrade-kolla implements: blueprint upgrade-cinder
2016-02-16Move socket binding to named_volumeSamYaple1-4/+4
The extend_start.sh script for rsyslog is removed as it is no longer needed. Docker no longer binds to /dev/log or /run/kolla/log Closes-Bug: #1544545 Change-Id: Ic0a323a26ee4e9e15baf4598285844a8a4955f23
2016-02-08elevates privileges and grants access to /dev/mapper to cinder backupSean Mooney1-0/+2
- sets privileged: true on cinder backup container - adds /dev/mapper to cinder-backup mounts - this change allows the cinder backup manager to access the cinder-volumes lvm volume group via the kernel device mapper. Change-Id: I252ee9cadb5f06c383ac9f48d0b1b16d83037a41 Closes-Bug: #1542574
2016-02-06Fix gate for docker 1.10SamYaple1-4/+4
Docker 1.10 has broken the gate and this patch will correct that breakage. The issue comes with rsyslog. Due to a commit in Docker 1.10 [1] we must change the way we get the log socket for rsyslog. The /dev/ folder will no longer populate as we used it. So instead we simply make a new socket in a path we control and share that to the correct location in the containers. Additionally, adjust the gate for new Docker daemon. [1] https://github.com/docker/docker/pull/16639 Partially-Implements: blueprint kolla-upgrade Change-Id: I881a2ecdf6d7b35991e1d38a3f3e60d022d6577f
2015-12-31Convert cinder to kolla_dockerSamYaple1-63/+23
Change-Id: I2dd889941799f031b3f7be59cbdf4da93f5aa0d0 Partially-Implements: blueprint kolla-docker-module
2015-11-20Fix udev cinder issueSam Yaple1-0/+2
/run/udev contains the udev information needed for the lvm tools /run and /dev must be bound in for this to work properly Change-Id: Icfe07c4ce3673310cc24591b42c107c9710cd3ac Closes-Bug: #1518454 Closes-Bug: #1487780 Related-Bug: #1487807
2015-11-09Remove unused cinder-data containerSam Yaple1-0/+1
The cinder-data container serves no purpose and is not actually used past the bootstrap container and should be removed. Additionally add the missing '---' header to the start.yml file. TrivialFix Related-Bug: #1513598 Related-Bug: #1513439 Change-Id: I22b630bbee954e12a4de5652b7fb068669f633c5
2015-10-14Add tty to containersSam Yaple1-0/+4
sudo requires a tty to function by default on centos. Instead of tweaking the sudo conf we can just add a tty. This has the added advantage of making the containers more friendly if you have to `docker exec -i <container> bash` into them. Change-Id: If97a02ca1d37c243a787d98ade54bde8d641aecd backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-13Bump ansible to 1.9.2Sam Yaple1-4/+0
Ansible 1.9.2 contains the fix needed for docker-py >1.2.0 This is needed for some gate reasons, but it is also a good version bump because it fixes a few issues with delegate_to. Change-Id: Iafbabb3b0232620849d0548c5cd9d8d316c2b0f3 backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-06Bring Kolla inline with FHSSam Yaple1-4/+4
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-09-24Cinder logging to rsyslogMichal Jastrzebski1-4/+12
Configure cinder to use rsyslog container as logging mechanism Change-Id: Ib860ac897643a6377dfc79f0c68281843dc34691 Implements: bp logging-container
2015-09-24Replace config-external with a JSON file for CinderRyan Hallisey1-4/+4
Partially-Implements: blueprint replace-config-external Change-Id: Ic247433290b51c9fb613d90e4a9a0f3d11526b35
2015-08-24Run cinder-volume with privileged accessSteven Dake1-0/+1
cinder-volume accesses files in /dev, so it requires extra capabilities. Closes-Bug: #1487801 Change-Id: I699aadd1b2955399f90c26a865438635e753ecf6
2015-08-13All the Cinder services need to reference the correct configrthallisey1-1/+1
Every service except cinder-api was looking for the file '/opt/kolla/cinder/cinder-<service>.conf' when the config file in place was named 'cinder.conf'. Change the rest of the services to look for cinder.conf or the config file will never be copied over to into '/etc/cinder/'. Change-Id: I1cd59f1da09e6f3bc7e7b3a4f45f9da2b8247479 Closes-Bug: #1481928 Closes-Bug: #1484248
2015-08-12Add ansible support for CinderSwapnil Kulkarni1-0/+75
Change-Id: I0694e5ad95aa7f924ebd3a29dff1f85e6307b7ae Partially-implements: blueprint ansible-cinder Partially-Implements: blueprint remove-abstraction-ansible Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>