Trident - create backend - could not decode JSON configuration
Applies to
- backend.json file from Trident, version 19.04
- Trident, version 21.04 - currently installed version
Issue
When trying to create a Trident backend, it fails and the following error is encountered in the tridentctl log file:
time="2022-01-25T18:31:57Z" level=error msg="Could not initialize storage driver." error="error initializing ontap-nas driver: could not decode JSON configuration: json: cannot unmarshal object into Go struct field OntapStorageDriverConfig.storage of type []storagedrivers.OntapStorageDriverPool" requestID=ad58da89-151c-4a77-bcbe-1f7ec6bd27d8 requestSource=REST