{"action":"created","issue":{"url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform/issues/62","repository_url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform","labels_url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform/issues/62/comments","events_url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform/issues/62/events","html_url":"https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/62","id":191809976,"number":62,"title":"When \"dns_primary\" && \"dns_secondary\" not specified, ddcloud_server cannot not be deployed","user":{"login":"mingsheng36","id":5947212,"avatar_url":"https://avatars.githubusercontent.com/u/5947212?v=3","gravatar_id":"","url":"https://api.github.com/users/mingsheng36","html_url":"https://github.com/mingsheng36","followers_url":"https://api.github.com/users/mingsheng36/followers","following_url":"https://api.github.com/users/mingsheng36/following{/other_user}","gists_url":"https://api.github.com/users/mingsheng36/gists{/gist_id}","starred_url":"https://api.github.com/users/mingsheng36/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingsheng36/subscriptions","organizations_url":"https://api.github.com/users/mingsheng36/orgs","repos_url":"https://api.github.com/users/mingsheng36/repos","events_url":"https://api.github.com/users/mingsheng36/events{/privacy}","received_events_url":"https://api.github.com/users/mingsheng36/received_events","type":"User","site_admin":false},"labels":[{"id":388743727,"url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"tintoy","id":1646284,"avatar_url":"https://avatars.githubusercontent.com/u/1646284?v=3","gravatar_id":"","url":"https://api.github.com/users/tintoy","html_url":"https://github.com/tintoy","followers_url":"https://api.github.com/users/tintoy/followers","following_url":"https://api.github.com/users/tintoy/following{/other_user}","gists_url":"https://api.github.com/users/tintoy/gists{/gist_id}","starred_url":"https://api.github.com/users/tintoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tintoy/subscriptions","organizations_url":"https://api.github.com/users/tintoy/orgs","repos_url":"https://api.github.com/users/tintoy/repos","events_url":"https://api.github.com/users/tintoy/events{/privacy}","received_events_url":"https://api.github.com/users/tintoy/received_events","type":"User","site_admin":false},"assignees":[{"login":"tintoy","id":1646284,"avatar_url":"https://avatars.githubusercontent.com/u/1646284?v=3","gravatar_id":"","url":"https://api.github.com/users/tintoy","html_url":"https://github.com/tintoy","followers_url":"https://api.github.com/users/tintoy/followers","following_url":"https://api.github.com/users/tintoy/following{/other_user}","gists_url":"https://api.github.com/users/tintoy/gists{/gist_id}","starred_url":"https://api.github.com/users/tintoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tintoy/subscriptions","organizations_url":"https://api.github.com/users/tintoy/orgs","repos_url":"https://api.github.com/users/tintoy/repos","events_url":"https://api.github.com/users/tintoy/events{/privacy}","received_events_url":"https://api.github.com/users/tintoy/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform/milestones/18","html_url":"https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/milestones/v1.1.9","labels_url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform/milestones/18/labels","id":2155673,"number":18,"title":"v1.1.9","description":"","creator":{"login":"tintoy","id":1646284,"avatar_url":"https://avatars.githubusercontent.com/u/1646284?v=3","gravatar_id":"","url":"https://api.github.com/users/tintoy","html_url":"https://github.com/tintoy","followers_url":"https://api.github.com/users/tintoy/followers","following_url":"https://api.github.com/users/tintoy/following{/other_user}","gists_url":"https://api.github.com/users/tintoy/gists{/gist_id}","starred_url":"https://api.github.com/users/tintoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tintoy/subscriptions","organizations_url":"https://api.github.com/users/tintoy/orgs","repos_url":"https://api.github.com/users/tintoy/repos","events_url":"https://api.github.com/users/tintoy/events{/privacy}","received_events_url":"https://api.github.com/users/tintoy/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2016-11-24T10:10:59Z","updated_at":"2016-11-29T15:20:42Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2016-11-26T15:00:30Z","updated_at":"2016-11-30T01:29:33Z","closed_at":null,"body":"\r\nserver.tf:\r\n```\r\nresource \"ddcloud_server\" \"Test_Server_1\" {\r\n  networkdomain = \"${ddcloud_networkdomain.nd_1.id}\"\r\n  name = \"Test Server 1\"\r\n  description = \"Test Server 1 created using Terraform\"\r\n  admin_password = \"secret\"\r\n  os_image_name = \"CentOS 7 64-bit 2 CPU\"\r\n  memory_gb = 1\r\n  cpu_count = 1\r\n  cores_per_cpu = 1\r\n  cpu_speed = \"Standard\"\r\n  primary_adapter_ipv4 = \"10.0.2.100\"\r\n  primary_adapter_type = \"VMXNET3\"\r\n  dns_primary = \"8.8.8.8\" # cannot be deployed when not specified\r\n  dns_secondary = \"8.8.4.4\" # cannot be deployed when not specified\r\n  auto_start = \"FALSE\"\r\n  disk {\r\n    scsi_unit_id = 0\r\n    size_gb = 10\r\n    speed = \"STANDARD\"\r\n  }\r\n}\r\n```\r\nError Message as follow:\r\n```\r\n* ddcloud_server.Test_Server_1: Request to deploy server 'Test Server 1' failed with \r\nstatus code 400 (INVALID_INPUT_DATA): primaryDns  is not valid IPv4 address.\r\n```\r\n```\r\n* ddcloud_server.Test_Server_1: Request to deploy server 'Test Server 1' failed with status\r\ncode 400 (INVALID_INPUT_DATA): secondaryDns  is not valid IPv4 address.\r\n```\r\n\r\nVersion:\r\nterraform --> v0.7.12\r\nprovider --> v1.1.8\r\n\r\nOS: Windows 10, 64-bit\r\n"},"comment":{"url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform/issues/comments/263755502","html_url":"https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/62#issuecomment-263755502","issue_url":"https://api.github.com/repos/DimensionDataResearch/dd-cloud-compute-terraform/issues/62","id":263755502,"user":{"login":"mingsheng36","id":5947212,"avatar_url":"https://avatars.githubusercontent.com/u/5947212?v=3","gravatar_id":"","url":"https://api.github.com/users/mingsheng36","html_url":"https://github.com/mingsheng36","followers_url":"https://api.github.com/users/mingsheng36/followers","following_url":"https://api.github.com/users/mingsheng36/following{/other_user}","gists_url":"https://api.github.com/users/mingsheng36/gists{/gist_id}","starred_url":"https://api.github.com/users/mingsheng36/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingsheng36/subscriptions","organizations_url":"https://api.github.com/users/mingsheng36/orgs","repos_url":"https://api.github.com/users/mingsheng36/repos","events_url":"https://api.github.com/users/mingsheng36/events{/privacy}","received_events_url":"https://api.github.com/users/mingsheng36/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T01:29:33Z","updated_at":"2016-11-30T01:29:33Z","body":"I would agree with @tintoy and choose to go with both or nothing. \r\n\r\nSingle Primary DNS i think is quite uncommon to me. But @wninobla might have some opinion on that? :) "}}
{"actor":{"display_login":"mingsheng36"}}