Active IQ Unified Manager Discussions

create cifs requires internal_path to be set ...?

pwl
NetApp Alumni
2,943 Views

hi folks

it looks like the "internal_path" property is required for creating a new CIFS share, but this isn't noted as mandatory (and, given that we're providing a Qtree, does it need to be?)

Error registering variable: 'newShare' as its attributes do not include all natural key attributes of the object 'Cifs'.

Missing natural keys [internal_path]

Failed to resolve a mandatory parameter: 'ShareName' for command: 'Create CIFS Share' using value: 'newShare.name' in row: 1

Failed to evaluate find-chart: 'setCifsShare' to resolve variable: 'newShare'

we can resolve this by setting "internal_path"   to   fullQtreePathName(theVolumeToUse.name,$ExportName)   - but we're providing that info anyway!

what gives?

1 ACCEPTED SOLUTION

yaronh
2,943 Views

Hi Peter,

I apologize, but that's currently a known issue we are trying to work around with

(And please forgive me for not putting all the details here, it's something releted to the internal

presentation of dictionary objects).

You can put anything there. Even "" would work.

The command does not use that value anyway but creates is from the other values.

Yaron

View solution in original post

1 REPLY 1

yaronh
2,944 Views

Hi Peter,

I apologize, but that's currently a known issue we are trying to work around with

(And please forgive me for not putting all the details here, it's something releted to the internal

presentation of dictionary objects).

You can put anything there. Even "" would work.

The command does not use that value anyway but creates is from the other values.

Yaron

Public