testbed icon indicating copy to clipboard operation
testbed copied to clipboard

Add tech preview of local storage in cinder

Open janhorstmann opened this issue 1 year ago • 4 comments

  • Create volume group on third supplied block device
  • Checkout cinder dm-clone driver
  • Add compute nodes to storage group
  • Deploy cinder lvm backend and iscsi containers
  • Add and enable local backend using dm-clone driver
  • Add volume type for local backend

janhorstmann avatar Sep 13 '24 07:09 janhorstmann

This still needs to be tested

@berendt Fo now I have used the third supplied block device as local storage. From my understanding it is only used for ceph when explicitly requested. Should I add additional storage for the dm-clone driver in the testbed terraform or should I make its deployment optional and only deploy when the third device is not used for ceph :thinking:

janhorstmann avatar Sep 13 '24 08:09 janhorstmann

@janhorstmann Please fix the Ansible Lint issues.

berendt avatar Sep 13 '24 10:09 berendt

This still needs to be tested

@berendt Fo now I have used the third supplied block device as local storage. From my understanding it is only used for ceph when explicitly requested. Should I add additional storage for the dm-clone driver in the testbed terraform or should I make its deployment optional and only deploy when the third device is not used for ceph 🤔

Test was okay. The issue with the third block device still exists.

janhorstmann avatar Sep 13 '24 16:09 janhorstmann

This still needs to be tested @berendt Fo now I have used the third supplied block device as local storage. From my understanding it is only used for ceph when explicitly requested. Should I add additional storage for the dm-clone driver in the testbed terraform or should I make its deployment optional and only deploy when the third device is not used for ceph 🤔

Test was okay. The issue with the third block device still exists.

As discussed, the third block device will be used for volume type local

janhorstmann avatar Sep 30 '24 08:09 janhorstmann

On my last testbed deployment the volume group for the local storage was not created. The playbook itself worked fine, but it was not created automatically. I will draft this again, until I have time to investigate.

janhorstmann avatar Oct 24 '24 13:10 janhorstmann

On my last testbed deployment the volume group for the local storage was not created. The playbook itself worked fine, but it was not created automatically. I will draft this again, until I have time to investigate.

I made a habit out of running ceph and infrastructure deployment in parallel since they were independent of each other. In this case it lead to a race between environments/custom/playbook-wipe-partitions.yml and environments/custom/playbook-cinder-driver-dm-clone.yml. I have moved the latter into scripts/deploy/300-openstack-services.sh now.

janhorstmann avatar Nov 09 '24 17:11 janhorstmann