Docker volumes using NetApp Trident plugin fails with VolumeDriver.Create: encountered error(s) in creating the volume: [Failed to create volume ecs-wptask-9-wp_volume01-fff4ff96bbc5ffffba601 on storage pool aggr1 from backend ontapnas_10.10.20.226: error checking for existing volume: API status: failed, Reason: Invalid character '-' in volume name. It can have '_' and alphanumeric characters., Code: 13001]
Description
This issue occurs while using EC2 instances with Docker plugin for FSx NetApp Ontap. Volume names
Summary
Docker volumes using NetApp Trident plugin fails with
VolumeDriver.Create: encountered error(s) in creating the volume: [Failed to create volume ecs-wptask-9-wp_volume01-fff4ff96bbc5ffffba601 on storage pool aggr1 from backend ontapnas_10.10.20.226: error checking for existing volume: API status: failed, Reason: Invalid character '-' in volume name. It can have '_' and alphanumeric characters., Code: 13001]
Description
This issue occurs while using EC2 instances with Docker plugin for FSx NetApp Ontap. Volume names
Expected Behavior
Docker volume as defined in "Volumes" -> "name" should be created.
Observed Behavior
New volume name is
ecs-wptask-9-wp_volume01-fff4ff96bbc5ffffba601
Environment Details