Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Guillaume Abrioux 34f7042852 tests: resize root partition when atomic host
For a few moment we can see failures in the CI for containerized
scenarios because VMs are running out of space at some point.

The default in the images used is to have only 3Gb for root partition
which doesn't sound like a lot.

Typical error seen:

```
STDERR:

failed to register layer: Error processing tar file(exit status 1): open /usr/share/zoneinfo/Atlantic/Canary: no space left on device
```

Indeed, on the machine we can see:
```
Every 2.0s: df -h                                                                                                                                                                                                                                       Tue May 29 17:21:13 2018
Filesystem                 Size  Used Avail Use% Mounted on
/dev/mapper/atomicos-root  3.0G  3.0G   14M 100% /
```

The idea here is to expand this partition with all the available space
remaining by issuing an `lvresize` followed by an `xfs_growfs`.

```
-bash-4.2# lvresize -l +100%FREE /dev/atomicos/root
  Size of logical volume atomicos/root changed from <2.93 GiB (750 extents) to 9.70 GiB (2484 extents).
  Logical volume atomicos/root successfully resized.
```

```
-bash-4.2# xfs_growfs /
meta-data=/dev/mapper/atomicos-root isize=512    agcount=4, agsize=192000 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=0 spinodes=0
data     =                       bsize=4096   blocks=768000, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal               bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
data blocks changed from 768000 to 2543616
```

```
-bash-4.2# df -h
Filesystem                 Size  Used Avail Use% Mounted on
/dev/mapper/atomicos-root  9.7G  1.4G  8.4G  14% /
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-05-30 10:54:35 +02:00
contrib contrib: check for lt 3 arguments 2018-05-16 19:03:33 +02:00
docker docker: add README documenting directory purpose 2016-09-21 18:21:50 -04:00
docs docs: explain the ceph-validate role and how it validates configuration 2018-05-18 17:58:24 +02:00
group_vars rgw: container add option to configure multi-site zone 2018-05-24 11:32:05 -07:00
infrastructure-playbooks rolling_update: add role ceph-iscsi-gw 2018-05-26 02:38:47 -07:00
library library: add a placeholder module for the validate action plugin 2018-05-18 17:58:24 +02:00
plugins validate: split schema for lvm osd scenario per objecstore 2018-05-22 17:57:28 +02:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles mds: move mds fs pools creation 2018-05-25 11:16:56 +02:00
tests tests: resize root partition when atomic host 2018-05-30 10:54:35 +02:00
.gitignore Revert "add .vscode/ to gitignore" 2018-04-27 13:20:04 +02:00
CONTRIBUTING.md CONTRIBUTING.md: Initial release 2018-05-30 09:38:27 +02:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile Makefile: add "make tag" command 2018-05-16 19:05:38 +02:00
README-MULTISITE.md Experimental RGW Multisite Support 2016-08-16 14:57:01 -04:00
README.rst Update Documentation example link to 3.0 2018-02-07 16:34:45 +01:00
Vagrantfile remove unsed ceph_rgw_civetweb_port variable 2018-03-14 14:22:00 +01:00
ansible.cfg Tune ansible.cfg 2018-03-14 13:51:13 +01:00
ceph-aio-no-vagrant.sh osd: simplify scenarios 2017-08-03 10:20:39 +02:00
ceph-ansible.spec.in set the python-notario version to >= 0.0.13 in ceph-ansible.spec.in 2018-05-18 17:58:24 +02:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
example-ansible-role-requirements.yml add a galaxy dependency file example 2016-02-12 15:55:42 +01:00
generate_group_vars_sample.sh generate_group_vars_sample: rhcs.yml.sample 2017-08-03 23:05:42 +02:00
monitor_keys_example Add Monitor Keys example 2015-01-30 16:17:46 +01:00
requirements.txt python-netaddr is required to generate ceph.conf 2018-05-28 10:11:59 +02:00
rhcs_edits.txt rhcs: bump version to 3.0 for stable 3.1 2018-05-23 14:42:39 -07:00
rundep.sample Allow ceph-ansible to be run on a locally built/installed Ceph 2016-08-12 10:02:15 -04:00
rundep_installer.sh Allow ceph-ansible to be run on a locally built/installed Ceph 2016-08-12 10:02:15 -04:00
site-docker.yml.sample playbook: follow up on #2553 2018-05-24 10:09:01 -07:00
site.yml.sample site.yml: combine validate play with fact gathering play 2018-05-18 17:58:24 +02:00
test.yml remove rbd-mirror as well from testing. No packages are available yet 2016-04-12 07:38:13 -04:00
tox.ini tests: avoid yum failures 2018-05-28 22:04:35 +02:00
vagrant_variables.yml.atomic Adding mgr_vms variable 2018-05-17 17:30:27 +02:00
vagrant_variables.yml.linode remove kernel.pid_max 2018-02-23 13:57:57 +01:00
vagrant_variables.yml.openstack vagrantfile: Ensure `devices` variable is a list 2017-07-13 00:44:49 +02:00
vagrant_variables.yml.sample remove kernel.pid_max 2018-02-23 13:57:57 +01:00

README.rst

ceph-ansible
============
Ansible playbooks for Ceph, the distributed filesystem.

Please refer to our hosted documentation here: http://docs.ceph.com/ceph-ansible/master/

You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link
above for the name of the branch. For example: http://docs.ceph.com/ceph-ansible/stable-3.0/