Closed josyfj closed 2 years ago
Currently the use case, defined here can be achieved by two step processes as you have already mentioned. Current design is based on the API exposed by OneView. Since there are two different operations (POST+PUT) need to invoke, we have kept it separate. This use case-based request to combine and have one step approach in terraform will be added to our backlog. As discussed, closing this issue for now.
OV Version: 6.50.00-0452161 Terraform version: Terraform v1.1.7 Provider version: 6.5.0-13
Issue
When using the oneview_storage_system resource to add a new storage system to oneview, the added storage system will not appear in Oneview with its state being managed, but rather connected. Additionally, the storage system must have a managed domain in order to add it, while in a certain usage case, we want to add the storage system without a managed domain (it should appear as "none" in Oneview).
The module with the specified resource:
If the managed_domain section is commented, as shown above the following error is produced:
Expected output
The Storage system will appear in Oneview as managed and with no managed domain set.
If we provide a managed domain, the Storage system will appear in Oneview as connected, but not managed by Oneview.
Any assistance is greatly appreciated!