mirror of
https://github.com/kolesa-team/pve-purestorage-plugin.git
synced 2026-08-12 21:53:06 -06:00
Compare commits
55 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fc989677bb | |||
| d9018eec0f | |||
| c6770fc4cd | |||
| 6474161796 | |||
| 829cf63e1f | |||
| 660d9bff76 | |||
| e9342bee43 | |||
| d97f93c340 | |||
| 265904dfa3 | |||
| 6e68385d96 | |||
| b8e620f4c1 | |||
| f508c00b4f | |||
| 077514702f | |||
| e4aae03d51 | |||
| 081c0b8459 | |||
| 246cba516e | |||
| 17ddc7ecc4 | |||
| 621ebf7dd2 | |||
| c26a4a659e | |||
| c3830d827f | |||
| 6dbf308f17 | |||
| 16721e35d1 | |||
| d2fecfd95a | |||
| a8de2749c5 | |||
| 4484ff1a01 | |||
| 3f1c997a75 | |||
| 13b66fdfaf | |||
| 01d502007c | |||
| c06e2f24c0 | |||
| d0f4d285fe | |||
| 3c7e0ca365 | |||
| 288300aa1f | |||
| ac595ce025 | |||
| b8199a39de | |||
| 3702c5670e | |||
| 8f09da2161 | |||
| d41eddf46a | |||
| 61a60a5203 | |||
| e4f9792f66 | |||
| 791f08b690 | |||
| 3d23f66fd6 | |||
| 3dc6baaa0c | |||
| 3ce60e55e4 | |||
| 78a67d852c | |||
| ad11226845 | |||
| ea4021a8d0 | |||
| ccaad9446e | |||
| 5ff29eed5b | |||
| 6e184b88e0 | |||
| c8737e0e90 | |||
| adcf24c808 | |||
| 2654c87bb2 | |||
| a72ebe5fba | |||
| 01d6947af2 | |||
| 06e95aa7e3 |
+1
-1
@@ -1 +1 @@
|
||||
* @timansky @zigmund
|
||||
* @timansky
|
||||
|
||||
+389
-346
File diff suppressed because it is too large
Load Diff
@@ -56,6 +56,7 @@ blacklist {
|
||||
}
|
||||
|
||||
blacklist_exceptions {
|
||||
wwid "624a9370.*"
|
||||
device {
|
||||
vendor "PURE"
|
||||
}
|
||||
@@ -75,8 +76,10 @@ To manually install the plugin, follow these steps:
|
||||
git clone git@github.com:kolesa-team/pve-purestorage.git
|
||||
# Navigate to the Plugin Directory
|
||||
cd pve-purestorage
|
||||
# Create the custom plugin directory if it does not already exist
|
||||
mkdir /usr/share/perl5/PVE/Storage/Custom
|
||||
# Copy plugin to custom plugin directory
|
||||
sudo cp PureStoragePlugin.pm /usr/share/perl5/PVE/Storage/Custom
|
||||
sudo cp PureStoragePlugin.pm /usr/share/perl5/PVE/Storage/Custom/PureStoragePlugin.pm
|
||||
# Restart Proxmox VE
|
||||
sudo systemctl restart pve-cluster.service pvedaemon.service pvestatd.service pveproxy.service pvescheduler.service
|
||||
```
|
||||
@@ -93,7 +96,7 @@ sudo apt install ./libpve-storage-purestorage-perl.deb
|
||||
|
||||
## Configuration
|
||||
|
||||
After installing the plugin, you need to configure Proxmox VE to use it. Since Proxmox VE does not currently support adding custom storage plugins via the GUI, you will need to manually edit the storage configuration file `/etc/pve/storage.conf`.
|
||||
After installing the plugin, you need to configure Proxmox VE to use it. Since Proxmox VE does not currently support adding custom storage plugins via the GUI, you will need to manually edit the storage configuration file `/etc/pve/storage.cfg`.
|
||||
|
||||
```
|
||||
purestorage: pure
|
||||
@@ -138,10 +141,28 @@ sudo systemctl restart pve-cluster.service pvedaemon.service pvestatd.service pv
|
||||
|
||||
- Verify Network Connectivity: Ensure that the Proxmox VE nodes can reach the Pure Storage array over the network. Check for firewall rules or network issues that might be blocking communication.
|
||||
- Review Logs: Check the Proxmox VE logs for any error messages related to storage or the plugin. Logs are typically found in /var/log/pve.
|
||||
These commands are helpful for troubleshooting:
|
||||
```bash
|
||||
multipath -ll -v3 #diagnose issues with the multipath service
|
||||
iscsiadm -m node #list what iscsi nodes are mounted
|
||||
ls -l /dev/mapper/3624a9370* #list wwids of Pure mapped devices on the system
|
||||
```
|
||||
- Multipath Configuration: Verify that your multipath.conf is correctly configured and that multipath devices are recognized. Use multipath -ll to list the current multipath devices.
|
||||
- API Token Permissions: Ensure that the API token used has the necessary permissions to create and manage volumes on the Pure Storage array.
|
||||
- Plugin Updates: Ensure you are using the latest version of the plugin. Check the GitHub repository for updates.
|
||||
|
||||
### Known issues
|
||||
|
||||
- `lvm inside a volume`: If you plan to use LVM inside a volume, it is better to add purestorage volumes to the ignore list to avoid scanning.
|
||||
|
||||
```bash
|
||||
cat /etc/lvm/lvmlocal.conf
|
||||
...
|
||||
devices {
|
||||
global_filter=["r|/dev/zd.*|","r|/dev/rbd.*|","r|/dev/mapper/3624a9370.*|"]
|
||||
}
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions to this project are welcome.
|
||||
|
||||
Reference in New Issue
Block a user