<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: unable to load external plugin 'PersistentVolumeClaim' in SAS Viya (Pay-As-You-Go)</title>
    <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/unable-to-load-external-plugin-PersistentVolumeClaim/m-p/857711#M63</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an update for this. SAS Tech Support helped us to realize that the PersistentVolume and PersistentVolumeClaim blocks cannot be used in the &lt;STRONG&gt;transformers&lt;/STRONG&gt; group. Those blocks need to be applied separately, either directly with kubectl apply, or within the &lt;STRONG&gt;resources&lt;/STRONG&gt; group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 10:20:00 GMT</pubDate>
    <dc:creator>JuanS_OCS</dc:creator>
    <dc:date>2023-02-08T10:20:00Z</dc:date>
    <item>
      <title>unable to load external plugin 'PersistentVolumeClaim'</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/unable-to-load-external-plugin-PersistentVolumeClaim/m-p/857405#M59</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe someone knows how to resolve this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/aks/azure-csi-blob-storage-provision?source=recommendations&amp;amp;tabs=mount-nfs%2Csecret" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/aks/azure-csi-blob-storage-provision?source=recommendations&amp;amp;tabs=mount-nfs%2Csecret&lt;/A&gt;&amp;nbsp;we mounted an Azure Data Lake Gen2 Blob into a test Pod as NFS. And it works perfectly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When tried to mount this to the Compute pods (or CAS, does not matter), we tried to translate the compute-server-add-nfs-mount.yaml into the code Microsoft indicated. However, it complains regarding PersistenVolumeClaim plugin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Error: external plugins disabled; unable to load external plugin 'PersistentVolumeClaim'&lt;/PRE&gt;
&lt;P&gt;However, I think no plugin should be required, as it is not required either for nfs. Therefore it brings me to think I am missing something important and Basic. You can find below the code of the transformer yaml file. Perhaps you can help to find out what is missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;# This block of code is for mounting NFS persistentVolumeClaims
# to a compute session
---
apiVersion: builtin
kind: PatchTransformer
metadata:
  name: compute-server-add-adls-nfs-mount
patch: |-
  - op: add
    path: /template/spec/volumes/-
    value:
      name: voladlsnfs001
      persistentVolumeClaim:
        claimName: pvc-voladlsnfs001
  - op: add
    path: /template/spec/containers/0/volumeMounts/-
    value:
      name: voladlsnfs001
      mountPath: "/mnt/blob"
target:
  kind: PodTemplate
  version: v1
  labelSelector: sas.com/template-intent=sas-launcher
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: pvc-voladlsnfs001
  namespace: sastest
spec:
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 10Gi
  volumeName: pv-voladlsnfs001
  storageClassName: azureblob-nfs-premium
---
apiVersion: v1
kind: PersistentVolume
metadata:
  name: pv-voladlsnfs001
  namespace: sastest
spec:
  capacity:
    storage: 10Gi
  accessModes:
    - ReadWriteMany
  persistentVolumeReclaimPolicy: Retain  # If set as "Delete" container would be removed after pvc deletion
  storageClassName: azureblob-nfs-premium
  csi:
    driver: blob.csi.azure.com
    readOnly: false
    # make sure volumeid is unique for every identical storage blob container in the cluster
    # character `#` is reserved for internal use and cannot be used in volumehandle
    volumeHandle: voladlsnfs001
    volumeAttributes:
      resourceGroup: ZZZZZZZZ
      storageAccount: YYYYYYYY
      containerName: XXXXXXX
      protocol: nfs&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 16:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/unable-to-load-external-plugin-PersistentVolumeClaim/m-p/857405#M59</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2023-02-06T16:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: unable to load external plugin 'PersistentVolumeClaim'</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/unable-to-load-external-plugin-PersistentVolumeClaim/m-p/857494#M60</link>
      <description>&lt;P&gt;This looks to be standard Viya 4 order deployment, and also seems you have raised a support track for the same with track #7613735072,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Support team should get back to you on your query/concern you raised at the earliest.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 06:18:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/unable-to-load-external-plugin-PersistentVolumeClaim/m-p/857494#M60</guid>
      <dc:creator>shekhar_chavan</dc:creator>
      <dc:date>2023-02-07T06:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: unable to load external plugin 'PersistentVolumeClaim'</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/unable-to-load-external-plugin-PersistentVolumeClaim/m-p/857508#M62</link>
      <description>&lt;P&gt;Looking forward to the response and solution!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 09:09:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/unable-to-load-external-plugin-PersistentVolumeClaim/m-p/857508#M62</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2023-02-07T09:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: unable to load external plugin 'PersistentVolumeClaim'</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/unable-to-load-external-plugin-PersistentVolumeClaim/m-p/857711#M63</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an update for this. SAS Tech Support helped us to realize that the PersistentVolume and PersistentVolumeClaim blocks cannot be used in the &lt;STRONG&gt;transformers&lt;/STRONG&gt; group. Those blocks need to be applied separately, either directly with kubectl apply, or within the &lt;STRONG&gt;resources&lt;/STRONG&gt; group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 10:20:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/unable-to-load-external-plugin-PersistentVolumeClaim/m-p/857711#M63</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2023-02-08T10:20:00Z</dc:date>
    </item>
  </channel>
</rss>

