Submitting a Gluster Charm for Review
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This Gluster charm supports nearly everything Gluster can currently do. Every volume type is supported currently. The tiering volume type when it goes stable will also be included.
Things to note:
1. The charm can detect block devices and identify SSD vs Rotational vs Loopback devices. In future patches it will attempt to make use of this information for tuning.
2. The defaults of replica 2 and replication volume type should work for most use cases out of the box.
3. Scale testing on my bastion host succeeded at 60 instances. ( My nova limit is 60 so that's as far as I could go )
4. A mix of directories and block devices can be fed to the charm without it crashing. A mix of working and non working devices can also be given to it. Btrfs, XFS and Ext4 are supported for formatting block devices. ( Default is XFS )
5. The charm will hold off adding peers to the volume until there are enough to satisfy the replication number.
Ex: You set replica 3 in the charm but only start 2 instances. The volume will wait for more instances to join before starting the volme
6. The default behavior is to put replicas on different hosts. This is to increase fault tolerance. I had to write a complicated function to get that to work properly. I have test data here showing that it is working:
https:/
7. I built 2 libraries to enable the rust community. A Gluster crate: https:/
Support for Centos/RHEL is coming in a future patch.
Example juju debug-log output from a local installation: /pastebin. canonical. com/134119/
https:/
I tried to make the log messages easy to understand. If you would like me to modify or remove any log messages feel free to let me know.