{"action":"closed","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-opentelekomcloud/issues/12","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-opentelekomcloud","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-opentelekomcloud/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-opentelekomcloud/issues/12/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-opentelekomcloud/issues/12/events","html_url":"https://github.com/terraform-providers/terraform-provider-opentelekomcloud/issues/12","id":302080103,"number":12,"title":"Error while creating instance","user":{"login":"mvasilenko","id":4317961,"avatar_url":"https://avatars2.githubusercontent.com/u/4317961?v=4","gravatar_id":"","url":"https://api.github.com/users/mvasilenko","html_url":"https://github.com/mvasilenko","followers_url":"https://api.github.com/users/mvasilenko/followers","following_url":"https://api.github.com/users/mvasilenko/following{/other_user}","gists_url":"https://api.github.com/users/mvasilenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mvasilenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvasilenko/subscriptions","organizations_url":"https://api.github.com/users/mvasilenko/orgs","repos_url":"https://api.github.com/users/mvasilenko/repos","events_url":"https://api.github.com/users/mvasilenko/events{/privacy}","received_events_url":"https://api.github.com/users/mvasilenko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-04T12:02:18Z","updated_at":"2018-03-08T13:58:24Z","closed_at":"2018-03-08T13:58:24Z","author_association":"NONE","body":"Hi there,\r\n\r\n### Terraform Version\r\n```\r\nterraform version\r\nTerraform v0.11.3\r\n+ provider.opentelekomcloud v1.0.0\r\n```\r\n### Affected Resource(s)\r\nPlease list the resources as a list, for example:\r\n- opentelekomcloud_compute_instance_v2\r\n\r\n### Terraform Configuration Files\r\n```hcl\r\nprovider \"opentelekomcloud\" {\r\n  user_name   = \"username\"\r\n  tenant_name = \"eu-de\"\r\n  domain_name = \"OTC-EU-DE-000000000010000XXXXX\"\r\n  password    = \"password\"\r\n  auth_url    = \"https://iam.eu-de.otc.t-systems.com/v3\"\r\n  region      = \"eu-de\"\r\n}\r\n\r\n# Create a web server\r\nresource \"opentelekomcloud_compute_instance_v2\" \"test-server\" {\r\n  name          = \"test-server\"\r\n  image_name  = \"Standard_CentOS_7_latest\"\r\n  flavor_name = \"s1.medium\"\r\n}\r\n```\r\n\r\n### Debug Output\r\n\r\n```\r\nopentelekomcloud_compute_instance_v2.test-server: Still creating... (50s elapsed)\r\n2018/03/04 13:54:44 [TRACE] dag/walk: vertex \"meta.count-boundary (count boundary fixup)\", waiting for: \"opentelekomcloud_compute_instance_v2.test-server\"\r\n2018/03/04 13:54:44 [TRACE] dag/walk: vertex \"provider.opentelekomcloud (close)\", waiting for: \"opentelekomcloud_compute_instance_v2.test-server\"\r\n2018/03/04 13:54:44 [TRACE] dag/walk: vertex \"root\", waiting for: \"provider.opentelekomcloud (close)\"\r\n2018/03/04 13:54:49 [TRACE] dag/walk: vertex \"meta.count-boundary (count boundary fixup)\", waiting for: \"opentelekomcloud_compute_instance_v2.test-server\"\r\n2018/03/04 13:54:49 [TRACE] dag/walk: vertex \"provider.opentelekomcloud (close)\", waiting for: \"opentelekomcloud_compute_instance_v2.test-server\"\r\n2018/03/04 13:54:49 [TRACE] dag/walk: vertex \"root\", waiting for: \"provider.opentelekomcloud (close)\"\r\nopentelekomcloud_compute_instance_v2.test-server: Still creating... (1m0s elapsed)\r\n2018-03-04T13:54:52.023+0200 [DEBUG] plugin.terraform-provider-opentelekomcloud_v1.0.0_x4: 2018/03/04 13:54:52 [DEBUG] getAllInstanceNetworks: []opentelekomcloud.InstanceNetwork(nil)\r\n2018-03-04T13:54:52.023+0200 [DEBUG] plugin.terraform-provider-opentelekomcloud_v1.0.0_x4: 2018/03/04 13:54:52 [DEBUG] Create Options: &servers.CreateOpts{Name:\"test-server\", ImageRef:\"ac0645c5-43be-488f-9ac8-b7fd5c372d24\", ImageName:\"\", FlavorRef:\"normal1\", FlavorName:\"\", SecurityGroups:[]string{}, UserData:[]uint8{}, AvailabilityZone:\"\", Networks:[]servers.Network(nil), Metadata:map[string]string{}, Personality:servers.Personality(nil), ConfigDrive:(*bool)(0xc420139bd9), AdminPass:\"\", AccessIPv4:\"\", AccessIPv6:\"\", ServiceClient:(*gophercloud.ServiceClient)(nil)}\r\n2018/03/04 13:54:52 [TRACE] root: eval: *terraform.EvalWriteState\r\n2018/03/04 13:54:52 [TRACE] root: eval: *terraform.EvalApplyProvisioners\r\n2018/03/04 13:54:52 [TRACE] root: eval: *terraform.EvalIf\r\n2018/03/04 13:54:52 [TRACE] root: eval: *terraform.EvalWriteState\r\n2018/03/04 13:54:52 [TRACE] root: eval: *terraform.EvalWriteDiff\r\n2018/03/04 13:54:52 [TRACE] root: eval: *terraform.EvalApplyPost\r\n2018/03/04 13:54:52 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:\r\n\r\n* opentelekomcloud_compute_instance_v2.test-server: Error creating OpenTelekomCloud server: Invalid request due to incorrect syntax or missing required parameters.\r\n2018/03/04 13:54:52 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:\r\n```\r\n\r\n### Expected Behavior\r\ninstance created\r\n\r\n### Actual Behavior\r\nerror reported\r\n\r\n### Steps to Reproduce\r\nPlease list the steps required to reproduce the issue, for example:\r\n1. `terraform apply`\r\n\r\n"}}
{"actor":{"display_login":"paultyng"}}