NetApp / terraform-provider-netapp-cloudmanager

Terraform provider to create NetAPP OCCM instances, CVO resources, volumes, snapshots, ... in Azure, AWS, GCP.
Mozilla Public License 2.0
17 stars 27 forks source link

Error: Taking too long for OCCM agent to be active or not properly setup #118

Closed kenkraus closed 2 years ago

kenkraus commented 2 years ago

Receiving this error when creating cloud manager connector in AWS with TF. It creates the EC2 instance in AWS just fine, but errors out. This appears to be some sort of timing issue.

kenkraus commented 2 years ago

run-tQF1ag46ZYL9EnXD-apply-log.txt

suhasbshekar commented 2 years ago

can you send the playbook (.tf) file which is used?

kenkraus commented 2 years ago

ehi_cloudmanager.zip

Here are our .tf playbook files. I had to modify a couple vars to protect our IP space and refresh token. Hope that is still helpful?

chuyich commented 2 years ago

Can you provide the log? Run the following command: TF_LOG="DEBUG" terraform apply

kenkraus commented 2 years ago

I think we can safely close out this issue. The issue was with my security group egress rules. Once we manually allow all egress, the cloud manager connector starts working. The timeout was related to not being able to communicate.

Our TFE was preventing egress wide open, so I had to limit with egress with several CIDR block rules.

chuyich commented 2 years ago

Thanks for the update!