#Moving FlexGroup constituents

1 messages · Page 1 of 1 (latest)

charred anvil
#

Attempting to move a FlexGroup constituent volume yields this error:

msg: 'Error creating volume flexGroupTest__0009: calling: storage/volumes: got {''message'': ''Unable to create volume "flexGroupTest__0009" because the "flexGroupTest__####" naming convention is reserved for FlexGroup volume "flexGroupTest".'', ''code'': ''13107216''}.'

#

I presume this is because the default for is_constituent in the storage/volume REST API is false, and you provide no facility to set it. You could add an is_constituent attribute to the module or, (better) parse the volume name like ONTAP does (.*__\d\d\d\d) and decide it is a constituent based on that.