question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature req: set FreeNAS comments field (org.freenas:description) to PVC name

See original GitHub issue

I can see from the source there’s a few TODOs around setting zfs properties on volumes (https://github.com/democratic-csi/democratic-csi/blob/master/src/driver/controller-zfs-ssh/index.js#L349) and wanted to suggest another one. The previous freenas-iscsi-provisioner set the FreeNAS comments field on each managed share to the PVC name that was used to request it. This is quite useful as it allows at a glance in the FreeNAS UI to see a bit more detail about which k8s claim own a given volume (which is just called pvc-{uuid}).

I wonder how easy it would be for controller-zfs-ssh to get the PVC name and then add that property to the created dataset under org.freenas:description?

*edit: I wonder if the description on the iSCSI Extent could also be set similarly?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
travisghansencommented, Aug 26, 2020

csi has no notion of pvc name or namespaces at all. I’m trying to remain co (container orchestrator) agnostic with the project and left it out (also partly because I simply didn’t have access to the data).

I did however discover recently that there is a flag you can set on one of the components which will send that info into the create volume call making it hypothetically viable.

0reactions
travisghansencommented, Sep 8, 2020

Yeah, just add preview smb support if you need that for some crazy reason. I have no idea what I’m doing with smb so any testing/feedback would be great especially in a windows environment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stuck in CrashLoopBackOff · Issue #45 · democratic-csi ...
I found that democratic-csi is stuck in CrashLoopBackOff in my cluster (1.18.12), with no obvious error. I don't know when it stopped ...
Read more >
SCALE Tutorials - TrueNAS
Welcome to TrueNAS tutorials! This guide collects various how-tos for both simple and complex tasks using primarily the TrueNAS web interface.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found