]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
testnode: Basic filesystem and mountpoint support 592/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 1 Dec 2020 18:23:10 +0000 (13:23 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 1 Dec 2020 18:23:10 +0000 (13:23 -0500)
commita03d1016a729b055ee79e19ddd59ff993410e5b6
tree9f13d9b3df51b6ce9409324cd4c7c222e3b6c591
parent551c05fd50dff858d448cee4e6b46df0ba64da3a
testnode: Basic filesystem and mountpoint support

Fixes: https://tracker.ceph.com/issues/6373
This will really only be useful is `drives_to_partition` or `logical_volumes` gets overridden in ansible.cephlab overrides in teuthology yaml.  e.g.,

```
overrides:
  ansible.cephlab:
    vars:
      drives_to_partition:
        nvme0n1:
          device: "/dev/nvme0n1"
          unit: "GB"
          sizes:
            - "0 80"
            - "80 160"
            - "160 240"
            - "240 320"
            - "320 340"
            - "340 400"
          scratch_devs:
            - p1
            - p2
            - p3
            - p4
      filesystems:
        nvme0n1p6:
          device: "/dev/nvme0n1p6"
          fstype: xfs
          mountpoint: "/var/cache/fscache"
```

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/README.rst
roles/testnode/tasks/filesystems.yml [new file with mode: 0644]
roles/testnode/tasks/main.yml