terraform-ovh-commons icon indicating copy to clipboard operation
terraform-ovh-commons copied to clipboard

Timeout when creating secgroup from Terraform

Open Soulou opened this issue 6 years ago • 0 comments

I keep receiving 504 HTTP errors when trying to create security groups:

* openstack_networking_secgroup_v2.sg_fronts: 1 error(s) occurred:

* openstack_networking_secgroup_v2.sg_fronts: Expected HTTP response code [201 202] when accessing [POST https://network.compute.gra1.cloud.ovh.net/v2.0/security-groups], but got 504 instead
<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>

Here is my terraform sample:

resource "openstack_networking_secgroup_v2" "sg_fronts" {
  name     = "sg_fronts"
  provider = "openstack.ovh"
}

I don't think there is anything weird here. (I'm provisioning this on GRA1)

Anything special I should now?

Soulou avatar Nov 27 '18 23:11 Soulou