poddm commented on PR #67:
URL: 
https://github.com/apache/cloudstack-terraform-provider/pull/67#issuecomment-2444965080

   @rohityadavcloud @vishesh92.  This is now rebased and updated to the latest 
cloudstack library.
   
   the ACC tests are failing here.  Is there a way to bypass this storage pool 
check in the simulator?
   ```bash
   === RUN   TestAccCloudStackStoragePool_basic
       resource_cloudstack_storage_pool_test.go:29: Step 1/2 error: Error 
running apply: exit status 1
           
           Error: CloudStack API error 530 (CSExceptionErrorCode: 9999): Failed 
to add data store: No host up to associate a storage pool with in cluster 1
           
             with cloudstack_storage_pool.test,
             on terraform_plugin_test.tf line 37, in resource 
"cloudstack_storage_pool" "test":
             37: resource "cloudstack_storage_pool" "test" {
           
   --- FAIL: TestAccCloudStackStoragePool_basic (53.68s)
   FAIL
   FAIL    
github.com/terraform-providers/terraform-provider-cloudstack/cloudstack 55.537s
   FAIL
   ```
   
   
   ```hcl
   resource "cloudstack_storage_pool" "test" {
        name         = "acc_primarystorage1"
        url          = "nfs://10.147.28.6/export/home/sandbox/primary11"
        zone_id      = cloudstack_zone.test.id
        cluster_id   = cloudstack_cluster.test.id
        pod_id       = cloudstack_pod.test.id
        scope        = "CLUSTER"
        hypervisor   = "Simulator"
        state        = "Maintenance"
        tags         = "XYZ,123,456"
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to