TrueNAS Storage Plugin

Okay, so back from a long trip, ready to rip on the code again.

I've updated the alpha branch. This includes a fix for the EFI disks and some other issues. Concurrent operations now queue up better, so creating 10 disks at once should actually succeed now.

@curruscanis @jt_telrite
If you guys don't mind, can you reply to this with what issues you continue to have after this update? I know there seems to be some problems surrounding multipathing.
 
Okay, so back from a long trip, ready to rip on the code again.

I've updated the alpha branch. This includes a fix for the EFI disks and some other issues. Concurrent operations now queue up better, so creating 10 disks at once should actually succeed now.

@curruscanis @jt_telrite
If you guys don't mind, can you reply to this with what issues you continue to have after this update? I know there seems to be some problems surrounding multipathing.
my Multipath issues ATM is:
create full clone of drive efidisk0 (vm_pool:vm-256803-disk-0)
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 1305.
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 1305.
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 699.
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 699.

when trying to move a disk from local zfs to the iscsi. but it still processes the move.... :D

if this helps:

iSCSI Groups​

Group 1​

Portal Group ID:1 (DEV)
Initiator Group ID:1 (ALL Initiators Allowed)
Authentication Method:NONE
Authentication Group Number:-
 
Last edited:
./install.sh: line 3479: [[: 0
0: syntax error in expression (error token is "0")
./install.sh: line 3479: [[: 0
0: syntax error in expression (error token is "0")
./install.sh: line 3479: [[: 0
0: syntax error in expression (error token is "0")
./install.sh: line 3479: [[: 0
0: syntax error in expression (error token is "0")
./install.sh: line 3479: [[: 0
0: syntax error in expression (error token is "0")
./install.sh: line 3479: [[: 0
0: syntax error in expression (error token is "0")
No orphaned resources found
Press Enter to return to diagnostics menu...

I believe I've got that fixed. This was a simple syntax error on my part. Latest installer should be fixed now.
 
  • Like
Reactions: jt_telrite
my Multipath issues ATM is:
create full clone of drive efidisk0 (vm_pool:vm-256803-disk-0)
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 1305.
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 1305.
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 699.
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 699.

when trying to move a disk from local zfs to the iscsi. but it still processes the move.... :D

Also might be fixed? The plugin now only logs into portals that aren't already logged into. Which sounds pretty simple know that you look at it. Oops
 
  • Like
Reactions: jt_telrite
Also might be fixed? The plugin now only logs into portals that aren't already logged into. Which sounds pretty simple know that you look at it. Oops
this is where the fix is?
TrueNAS Plugin v1.1.7
I did the git pull origin alpha.
create full clone of drive efidisk0 (vm_pool:vm-800100-disk-0)
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 1305.
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 1305.
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 699.
iscsiadm login failed (172.16.81.1:3260): iscsiadm login failed (172.16.81.1:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 699.
TASK OK
 
Last edited:
Okay, so back from a long trip, ready to rip on the code again.

I've updated the alpha branch. This includes a fix for the EFI disks and some other issues. Concurrent operations now queue up better, so creating 10 disks at once should actually succeed now.

@curruscanis @jt_telrite
If you guys don't mind, can you reply to this with what issues you continue to have after this update? I know there seems to be some problems surrounding multipathing.
ansible automated cloudinit VMs don't create cloudinit devices on iscsi for me dev-stor
 
this is where the fix is?
TrueNAS Plugin v1.1.7
I did the git pull origin alpha.
It should be 1.2.2

ansible automated cloudinit VMs don't create cloudinit devices on iscsi for me dev-stor
I don't mess with cloudinit VMs very often, but I think that's more to do with the cloudinit being an ISO that is booted? Since this is block storage, ISOs can't be stored on it. Can the cloudinit drives be stored on a separate storage? Sorry, I'm not familiar with the cloudinit stuff.
Tried to move (and delete source) a disk from iscsi to local zfs pool :
Try out this:
https://github.com/WarlockSyno/TrueNAS-Proxmox-VE-Storage-Plugin/tree/fix/s-fix-iscsi-force-delete
 
It should be 1.2.2


I don't mess with cloudinit VMs very often, but I think that's more to do with the cloudinit being an ISO that is booted? Since this is block storage, ISOs can't be stored on it. Can the cloudinit drives be stored on a separate storage? Sorry, I'm not familiar with the cloudinit stuff.

Try out this:
https://github.com/WarlockSyno/TrueNAS-Proxmox-VE-Storage-Plugin/tree/fix/s-fix-iscsi-force-delete
You are correct. the Cloudinit device is a vCD-ROM and yes, I can adjust the process. TY
 
It should be 1.2.2


I don't mess with cloudinit VMs very often, but I think that's more to do with the cloudinit being an ISO that is booted? Since this is block storage, ISOs can't be stored on it. Can the cloudinit drives be stored on a separate storage? Sorry, I'm not familiar with the cloudinit stuff.

Try out this:
https://github.com/WarlockSyno/TrueNAS-Proxmox-VE-Storage-Plugin/tree/fix/s-fix-iscsi-force-delete
I don't see a 1.2.2 release anywhere....
 
It should be 1.2.2


I don't mess with cloudinit VMs very often, but I think that's more to do with the cloudinit being an ISO that is booted? Since this is block storage, ISOs can't be stored on it. Can the cloudinit drives be stored on a separate storage? Sorry, I'm not familiar with the cloudinit stuff.

Try out this:
https://github.com/WarlockSyno/TrueNAS-Proxmox-VE-Storage-Plugin/tree/fix/s-fix-iscsi-force-delete
I pulled this file https://github.com/WarlockSyno/True...fix/s-fix-iscsi-force-delete/TrueNASPlugin.pm into a clone of the repo and deployed again...
 
When you run the installer, what version number does it say at the top for the plugin? The one you linked is v1.2.3 which looks to have the correct changes.
TrueNAS Plugin v1.1.7 - Installed
---------------------------------

1) Update plugin
2) Install specific version
3) Configure storage
4) Diagnostics
5) Rollback to backup
6) Uninstall plugin
0) Exit
even after I update.
 
When you run the installer, what version number does it say at the top for the plugin? The one you linked is v1.2.3 which looks to have the correct changes.
TrueNAS Plugin v1.1.7 - Installed
---------------------------------

1) Update plugin
2) Install specific version
3) Configure storage
4) Diagnostics
5) Rollback to backup
6) Uninstall plugin
0) Exit

Enter choice [0-6]: 0
Exiting installer
root@dlk0entpve802:~/TrueNAS-Proxmox-VE-Storage-Plugin# git status
On branch fix/s-fix-iscsi-force-delete
Your branch is up to date with 'origin/fix/s-fix-iscsi-force-delete'.

nothing to commit, working tree clean
root@dlk0entpve802:~/TrueNAS-Proxmox-VE-Storage-Plugin#

No matter what I do I can't get the version to change... I'm no git expert , but I think ....
I have the correct TrueNASPlugin.pm
root@dlk0entpve801:~/TrueNAS-Proxmox-VE-Storage-Plugin# cat TrueNASPlugin.pm | grep -i VERSION
# Plugin Version
our $VERSION = '1.2.3';
 
Last edited: