Guest User

Untitled

a guest
May 25th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.29 KB | None | 0 0
  1. ############
  2. ## Import ##
  3. ############
  4.  
  5. root@9a48ce63-287c-ea55-8c25-bd4ae53bc648:~/terraform-triton2# terraform import triton_machine.network-test4 3773107d-8396-e319-820f-f17448ecd7b3
  6. 2018/05/20 16:33:34 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161
  7. 2018/05/20 16:33:34 [INFO] Go runtime version: go1.10.1
  8. 2018/05/20 16:33:34 [INFO] CLI args: []string{"/usr/local/bin/terraform", "import", "triton_machine.network-test4", "3773107d-8396-e319-820f-f17448ecd7b3"}
  9. 2018/05/20 16:33:34 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
  10. 2018/05/20 16:33:34 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
  11. 2018/05/20 16:33:34 [INFO] CLI command args: []string{"import", "triton_machine.network-test4", "3773107d-8396-e319-820f-f17448ecd7b3"}
  12. 2018/05/20 16:33:34 [INFO] command: empty terraform config, returning nil
  13. 2018/05/20 16:33:34 [DEBUG] command: no data state file found for backend config
  14. 2018/05/20 16:33:34 [DEBUG] New state was assigned lineage "b9555d19-3624-6982-313e-96ea45922f16"
  15. 2018/05/20 16:33:34 [INFO] command: backend initialized: <nil>
  16. 2018/05/20 16:33:34 [DEBUG] checking for provider in "."
  17. 2018/05/20 16:33:34 [DEBUG] checking for provider in "/usr/local/bin"
  18. 2018/05/20 16:33:34 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
  19. 2018/05/20 16:33:34 [DEBUG] found provider "terraform-provider-triton_v0.5.1_x4"
  20. 2018/05/20 16:33:34 [DEBUG] found valid plugin: "triton", "0.5.1", "/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4"
  21. 2018/05/20 16:33:34 [DEBUG] checking for provisioner in "."
  22. 2018/05/20 16:33:34 [DEBUG] checking for provisioner in "/usr/local/bin"
  23. 2018/05/20 16:33:34 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
  24. 2018/05/20 16:33:34 [INFO] command: backend <nil> is not enhanced, wrapping in local
  25. 2018/05/20 16:33:34 [DEBUG] resource data.triton_network.external using provider provider.triton
  26. 2018/05/20 16:33:34 [DEBUG] resource triton_machine.network-test4 using provider provider.triton
  27. 2018/05/20 16:33:34 [DEBUG] resource triton_machine.network-test4 (import id: 3773107d-8396-e319-820f-f17448ecd7b3) using provider provider.triton
  28. 2018/05/20 16:33:34 [DEBUG] Starting graph walk: walkImport
  29. 2018-05-20T16:33:34.202Z [DEBUG] plugin: waiting for RPC address: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4
  30. 2018-05-20T16:33:34.219Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: plugin address: timestamp=2018-05-20T16:33:34.219Z address=/tmp/plugin295597066 network=unix
  31. triton_machine.network-test4: Importing from ID "3773107d-8396-e319-820f-f17448ecd7b3"...
  32. triton_machine.network-test4: Import complete!
  33. Imported triton_machine (ID: 3773107d-8396-e319-820f-f17448ecd7b3)
  34. triton_machine.network-test4: Refreshing state... (ID: 3773107d-8396-e319-820f-f17448ecd7b3)
  35.  
  36. Import successful!
  37.  
  38. 2018/05/20 16:33:35 [DEBUG] plugin: waiting for all plugin processes to complete...
  39. The resources that were imported are shown above. These resources are now in
  40. your Terraform state and will henceforth be managed by Terraform.
  41.  
  42. 2018-05-20T16:33:35.142Z [DEBUG] plugin: plugin process exited: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4
  43.  
  44. ##########
  45. ## Plan ##
  46. ##########
  47.  
  48. root@9a48ce63-287c-ea55-8c25-bd4ae53bc648:~/terraform-triton2# terraform plan
  49. 2018/05/20 16:47:50 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161
  50. 2018/05/20 16:47:50 [INFO] Go runtime version: go1.10.1
  51. 2018/05/20 16:47:50 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
  52. 2018/05/20 16:47:50 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
  53. 2018/05/20 16:47:50 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
  54. 2018/05/20 16:47:50 [INFO] CLI command args: []string{"plan"}
  55. 2018/05/20 16:47:50 [INFO] command: empty terraform config, returning nil
  56. 2018/05/20 16:47:50 [DEBUG] command: no data state file found for backend config
  57. 2018/05/20 16:47:50 [DEBUG] New state was assigned lineage "9a860e3e-fa5d-e8f4-fe66-bceecd70a825"
  58. 2018/05/20 16:47:50 [INFO] command: backend initialized: <nil>
  59. 2018/05/20 16:47:50 [DEBUG] checking for provider in "."
  60. 2018/05/20 16:47:50 [DEBUG] checking for provider in "/usr/local/bin"
  61. 2018/05/20 16:47:50 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
  62. 2018/05/20 16:47:50 [DEBUG] found provider "terraform-provider-triton_v0.5.1_x4"
  63. 2018/05/20 16:47:50 [DEBUG] found valid plugin: "triton", "0.5.1", "/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4"
  64. 2018/05/20 16:47:50 [DEBUG] checking for provisioner in "."
  65. 2018/05/20 16:47:50 [DEBUG] checking for provisioner in "/usr/local/bin"
  66. 2018/05/20 16:47:50 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
  67. 2018/05/20 16:47:50 [INFO] command: backend <nil> is not enhanced, wrapping in local
  68. 2018/05/20 16:47:50 [INFO] backend/local: starting Plan operation
  69. 2018/05/20 16:47:51 [INFO] terraform: building graph: GraphTypeInput
  70. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  71. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5f0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  72. 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.AttachStateTransformer:
  73.  
  74. data.triton_network.external - *terraform.NodeAbstractResource
  75. output.external_network_id - *terraform.NodeApplyableOutput
  76. triton_machine.network-test4 - *terraform.NodeAbstractResource
  77. 2018/05/20 16:47:51 [DEBUG] resource data.triton_network.external using provider provider.triton
  78. 2018/05/20 16:47:51 [DEBUG] resource triton_machine.network-test4 using provider provider.triton
  79. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external]
  80. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "provider.triton" references: []
  81. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  82. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  83. 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.ReferenceTransformer:
  84.  
  85. data.triton_network.external - *terraform.NodeAbstractResource
  86. provider.triton - *terraform.NodeApplyableProvider
  87. output.external_network_id - *terraform.NodeApplyableOutput
  88. data.triton_network.external - *terraform.NodeAbstractResource
  89. provider.triton - *terraform.NodeApplyableProvider
  90. triton_machine.network-test4 - *terraform.NodeAbstractResource
  91. provider.triton - *terraform.NodeApplyableProvider
  92. 2018/05/20 16:47:51 [DEBUG] Starting graph walk: walkInput
  93. 2018-05-20T16:47:51.246Z [DEBUG] plugin: starting plugin: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 args=[/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4]
  94. 2018-05-20T16:47:51.248Z [DEBUG] plugin: waiting for RPC address: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4
  95. 2018-05-20T16:47:51.257Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: plugin address: timestamp=2018-05-20T16:47:51.257Z address=/tmp/plugin064148266 network=unix
  96. 2018/05/20 16:47:51 [INFO] terraform: building graph: GraphTypeValidate
  97. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  98. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5f0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  99. 2018/05/20 16:47:51 [DEBUG] resource triton_machine.network-test4 using provider provider.triton
  100. 2018/05/20 16:47:51 [DEBUG] resource data.triton_network.external using provider provider.triton
  101. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  102. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  103. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external]
  104. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "provider.triton" references: []
  105. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  106. 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.AttachStateTransformer:
  107.  
  108. data.triton_network.external - *terraform.NodeValidatableResourceInstance
  109. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5f0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  110. 2018/05/20 16:47:51 [INFO] backend/local: plan calling Refresh
  111. Refreshing Terraform state in-memory prior to plan...
  112. 2018/05/20 16:47:51 [INFO] terraform: building graph: GraphTypeRefresh
  113. 2018/05/20 16:47:51 [TRACE] ConfigTransformer: Starting for path: []
  114. 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.ConfigTransformer:
  115.  
  116. triton_machine.network-test4 - *terraform.NodeRefreshableManagedResource
  117. 2018/05/20 16:47:51 [TRACE] ConfigTransformer: Starting for path: []
  118. The refreshed state will be used to calculate this plan, but will not be
  119. persisted to local or remote state storage.
  120.  
  121. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42039d090), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  122. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42039d0e0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  123. 2018/05/20 16:47:51 [DEBUG] resource triton_machine.network-test4 using provider provider.triton
  124. 2018/05/20 16:47:51 [DEBUG] resource data.triton_network.external using provider provider.triton
  125. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  126. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  127. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "provider.triton" references: []
  128. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external]
  129. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42039d0e0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  130. 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  131. 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.ReferenceTransformer:
  132.  
  133. triton_machine.network-test4 - *terraform.NodeRefreshableManagedResourceInstance
  134. triton_machine.network-test4: Refreshing state... (ID: 3773107d-8396-e319-820f-f17448ecd7b3)
  135. 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42039d090), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  136. data.triton_network.external: Refreshing state...
  137. 2018-05-20T16:47:51.275Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 16:47:51 [DEBUG] triton_network: Reading Network details.
  138. 2018-05-20T16:47:51.548Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 16:47:51 [DEBUG] triton_network: Found matching Network: &{Id:bedef3af-49b1-445c-b3ac-0b7f0112afcf Name:external Public:true Fabric:false Description: Subnet: ProvisioningStartIP: ProvisioningEndIP: Gateway: Resolvers:[] Routes:map[] InternetNAT:false}
  139.  
  140. ------------------------------------------------------------------------
  141. 2018/05/20 16:47:52 [INFO] terraform: building graph: GraphTypePlan
  142. 2018/05/20 16:47:52 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203f22d0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  143. 2018/05/20 16:47:52 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203f2320), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  144. 2018/05/20 16:47:52 [DEBUG] resource triton_machine.network-test4 using provider provider.triton
  145. 2018/05/20 16:47:52 [DEBUG] resource data.triton_network.external using provider provider.triton
  146. 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  147. 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  148. 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external]
  149. 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "provider.triton" references: []
  150. 2018/05/20 16:47:52 [TRACE] Graph after step *terraform.ReferenceTransformer:
  151.  
  152. data.triton_network.external - *terraform.NodePlannableResource
  153. provider.triton - *terraform.NodeApplyableProvider
  154. output.external_network_id - *terraform.NodeApplyableOutput
  155. data.triton_network.external - *terraform.NodePlannableResource
  156. provider.triton - *terraform.NodeApplyableProvider
  157. triton_machine.network-test4 - *terraform.NodePlannableResource
  158. provider.triton - *terraform.NodeApplyableProvider
  159. 2018/05/20 16:47:52 [DEBUG] Starting graph walk: walkPlan
  160. 2018/05/20 16:47:52 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203f2320), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  161. 2018/05/20 16:47:52 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203f22d0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  162. 2018/05/20 16:47:52 [TRACE] Graph after step *terraform.AttachStateTransformer:
  163.  
  164. data.triton_network.external - *terraform.NodePlannableResourceInstance
  165. 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  166. 2018/05/20 16:47:52 [TRACE] Graph after step *terraform.ReferenceTransformer:
  167.  
  168. data.triton_network.external - *terraform.NodePlannableResourceInstance
  169. 2018/05/20 16:47:52 [TRACE] Graph after step *terraform.RootTransformer:
  170.  
  171. data.triton_network.external - *terraform.NodePlannableResourceInstance
  172.  
  173. An execution plan has been generated and is shown below.
  174. Resource actions are indicated with the following symbols:
  175. ~ update in-place
  176.  
  177. Terraform will perform the following actions:
  178.  
  179. ~ triton_machine.network-test4
  180. networks.#: "0" => "1"
  181. networks.0: "" => "bedef3af-49b1-445c-b3ac-0b7f0112afcf"
  182.  
  183.  
  184. Plan: 0 to add, 1 to change, 0 to destroy.
  185.  
  186. ------------------------------------------------------------------------
  187.  
  188. Note: You didn't specify an "-out" parameter to save this plan, so Terraform
  189. can't guarantee that exactly these actions will be performed if
  190. "terraform apply" is subsequently run.
  191.  
  192. 2018/05/20 16:47:52 [DEBUG] plugin: waiting for all plugin processes to complete...
  193. 2018-05-20T16:47:52.360Z [DEBUG] plugin: plugin process exited: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4
  194.  
  195. ###########
  196. ## Apply ##
  197. ###########
  198.  
  199. root@9a48ce63-287c-ea55-8c25-bd4ae53bc648:~/terraform-triton2# terraform apply
  200. 2018/05/20 17:00:37 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161
  201. 2018/05/20 17:00:37 [INFO] Go runtime version: go1.10.1
  202. 2018/05/20 17:00:37 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"}
  203. 2018/05/20 17:00:37 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
  204. 2018/05/20 17:00:37 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
  205. 2018/05/20 17:00:37 [INFO] CLI command args: []string{"apply"}
  206. 2018/05/20 17:00:37 [INFO] command: empty terraform config, returning nil
  207. 2018/05/20 17:00:37 [DEBUG] command: no data state file found for backend config
  208. 2018/05/20 17:00:37 [DEBUG] New state was assigned lineage "b08e1a3c-cb19-950f-e217-b5262920febd"
  209. 2018/05/20 17:00:37 [INFO] command: backend initialized: <nil>
  210. 2018/05/20 17:00:37 [DEBUG] checking for provider in "."
  211. 2018/05/20 17:00:37 [DEBUG] checking for provider in "/usr/local/bin"
  212. 2018/05/20 17:00:37 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
  213. 2018/05/20 17:00:37 [DEBUG] found provider "terraform-provider-triton_v0.5.1_x4"
  214. 2018/05/20 17:00:37 [DEBUG] found valid plugin: "triton", "0.5.1", "/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4"
  215. 2018/05/20 17:00:37 [DEBUG] checking for provisioner in "."
  216. 2018/05/20 17:00:37 [DEBUG] checking for provisioner in "/usr/local/bin"
  217. 2018/05/20 17:00:37 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
  218. 2018/05/20 17:00:37 [INFO] command: backend <nil> is not enhanced, wrapping in local
  219. 2018/05/20 17:00:37 [INFO] backend/local: starting Apply operation
  220. 2018/05/20 17:00:38 [INFO] terraform: building graph: GraphTypeInput
  221. Count:(*config.RawConfig)(0xc42028fb90), RawConfig:(*config.RawConfig)(0xc42028fb20), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
  222. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:
  223.  
  224. data.triton_network.external - *terraform.NodeAbstractResource
  225. output.external_network_id - *terraform.NodeApplyableOutput
  226. triton_machine.network-test4 - *terraform.NodeAbstractResource
  227. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420640), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  228. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420690), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  229. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.AttachStateTransformer:
  230.  
  231. data.triton_network.external - *terraform.NodeAbstractResource
  232. output.external_network_id - *terraform.NodeApplyableOutput
  233. triton_machine.network-test4 - *terraform.NodeAbstractResource
  234. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.RootVariableTransformer:
  235.  
  236. data.triton_network.external - *terraform.NodeAbstractResource
  237. output.external_network_id - *terraform.NodeApplyableOutput
  238. triton_machine.network-test4 - *terraform.NodeAbstractResource
  239. 2018/05/20 17:00:38 [DEBUG] resource triton_machine.network-test4 using provider provider.triton
  240. 2018/05/20 17:00:38 [DEBUG] resource data.triton_network.external using provider provider.triton
  241. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  242. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  243. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external]
  244. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "provider.triton" references: []
  245. deApplyableOutput
  246. provider.triton - *terraform.NodeApplyableProvider
  247. triton_machine.network-test4 - *terraform.NodeAbstractResource
  248. output.external_network_id - *terraform.NodeApplyableOutput
  249. data.triton_network.external - *terraform.NodeAbstractResource
  250. provider.triton - *terraform.NodeApplyableProvider
  251. provider.triton (close) - *terraform.graphNodeCloseProvider
  252. data.triton_network.external - *terraform.NodeAbstractResource
  253. provider.triton - *terraform.NodeApplyableProvider
  254. triton_machine.network-test4 - *terraform.NodeAbstractResource
  255. root - terraform.graphNodeRoot
  256. meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  257. provider.triton (close) - *terraform.graphNodeCloseProvider
  258. triton_machine.network-test4 - *terraform.NodeAbstractResource
  259. provider.triton - *terraform.NodeApplyableProvider
  260. 2018/05/20 17:00:38 [DEBUG] Starting graph walk: walkInput
  261. 2018-05-20T17:00:38.075Z [DEBUG] plugin: starting plugin: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 args=[/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4]
  262. 2018-05-20T17:00:38.076Z [DEBUG] plugin: waiting for RPC address: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4
  263. 2018-05-20T17:00:38.110Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: plugin address: timestamp=2018-05-20T17:00:38.090Z address=/tmp/plugin710061572 network=unix
  264. 2018/05/20 17:00:38 [INFO] terraform: building graph: GraphTypeValidate
  265. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420640), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  266. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420690), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  267. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  268. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  269. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external]
  270. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "provider.triton" references: []
  271. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420640), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  272. 2018/05/20 17:00:38 [INFO] backend/local: apply calling Refresh
  273. 2018/05/20 17:00:38 [INFO] terraform: building graph: GraphTypeRefresh
  274. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420090780), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  275. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420090730), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  276. 2018/05/20 17:00:38 [DEBUG] resource triton_machine.network-test4 using provider provider.triton
  277. 2018/05/20 17:00:38 [DEBUG] resource data.triton_network.external using provider provider.triton
  278. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  279. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  280. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "provider.triton" references: []
  281. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external]
  282. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.ReferenceTransformer:
  283.  
  284. data.triton_network.external - *terraform.NodeRefreshableDataResource
  285. provider.triton - *terraform.NodeApplyableProvider
  286. output.external_network_id - *terraform.NodeApplyableOutput
  287. data.triton_network.external - *terraform.NodeRefreshableDataResource
  288. provider.triton - *terraform.NodeApplyableProvider
  289. triton_machine.network-test4 - *terraform.NodeRefreshableManagedResource
  290. provider.triton - *terraform.NodeApplyableProvider
  291. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420090730), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  292. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  293. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.ReferenceTransformer:
  294.  
  295. data.triton_network.external - *terraform.NodeRefreshableDataResourceInstance
  296. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.RootTransformer:
  297.  
  298. data.triton_network.external - *terraform.NodeRefreshableDataResourceInstance
  299. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420090780), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  300. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.AttachStateTransformer:
  301.  
  302. triton_machine.network-test4 - *terraform.NodeRefreshableManagedResourceInstance
  303. triton_machine.network-test4: Refreshing state... (ID: 3773107d-8396-e319-820f-f17448ecd7b3)
  304. data.triton_network.external: Refreshing state...
  305. 2018-05-20T17:00:38.143Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 17:00:38 [DEBUG] triton_network: Reading Network details.
  306. 2018-05-20T17:00:38.252Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 17:00:38 [DEBUG] triton_network: Found matching Network: &{Id:bedef3af-49b1-445c-b3ac-0b7f0112afcf Name:external Public:true Fabric:false Description: Subnet: ProvisioningStartIP: ProvisioningEndIP: Gateway: Resolvers:[] Routes:map[] InternetNAT:false}
  307. 2018/05/20 17:00:38 [INFO] backend/local: apply calling Plan
  308. 2018/05/20 17:00:38 [INFO] terraform: building graph: GraphTypePlan
  309. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420320690), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  310. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203206e0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  311. 2018/05/20 17:00:38 [DEBUG] resource data.triton_network.external using provider provider.triton
  312. 2018/05/20 17:00:38 [DEBUG] resource triton_machine.network-test4 using provider provider.triton
  313. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external]
  314. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "provider.triton" references: []
  315. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: []
  316. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  317. 2018/05/20 17:00:38 [DEBUG] Starting graph walk: walkPlan
  318. 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203206e0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  319. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.AttachStateTransformer:
  320.  
  321. triton_machine.network-test4 - *terraform.NodePlannableResourceInstance
  322. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.TargetsTransformer:
  323.  
  324. triton_machine.network-test4 - *terraform.NodePlannableResourceInstance
  325. 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  326. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.ReferenceTransformer:
  327.  
  328. triton_machine.network-test4 - *terraform.NodePlannableResourceInstance
  329. 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.RootTransformer:
  330.  
  331. triton_machine.network-test4 - *terraform.NodePlannableResourceInstance
  332.  
  333. An execution plan has been generated and is shown below.
  334. Resource actions are indicated with the following symbols:
  335. ~ update in-place
  336.  
  337. Terraform will perform the following actions:
  338.  
  339. ~ triton_machine.network-test4
  340. networks.#: "0" => "1"
  341. networks.0: "" => "bedef3af-49b1-445c-b3ac-0b7f0112afcf"
  342.  
  343.  
  344. Plan: 0 to add, 1 to change, 0 to destroy.
  345.  
  346. 2018/05/20 17:00:38 [DEBUG] command: asking for input: "Do you want to perform these actions?"
  347. Do you want to perform these actions?
  348. Terraform will perform the actions described above.
  349. Only 'yes' will be accepted to approve.
  350.  
  351. Enter a value: yes
  352.  
  353. 2018/05/20 17:00:40 [INFO] terraform: building graph: GraphTypeApply
  354. 2018/05/20 17:00:40 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420f00), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}}
  355. 2018/05/20 17:00:40 [TRACE] Graph after step *terraform.AttachStateTransformer:
  356.  
  357. triton_machine.network-test4 - *terraform.NodeApplyableResource
  358. 2018/05/20 17:00:40 [DEBUG] resource triton_machine.network-test4 using provider provider.triton
  359. 2018/05/20 17:00:40 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: []
  360. 2018/05/20 17:00:40 [DEBUG] ReferenceTransformer: "provider.triton" references: []
  361. 2018/05/20 17:00:40 [DEBUG] ReferenceTransformer: "output.external_network_id" references: []
  362. 2018/05/20 17:00:40 [TRACE] Graph after step *terraform.ReferenceTransformer:
  363.  
  364. output.external_network_id - *terraform.NodeApplyableOutput
  365. provider.triton - *terraform.NodeApplyableProvider
  366. triton_machine.network-test4 - *terraform.NodeApplyableResource
  367. provider.triton - *terraform.NodeApplyableProvider
  368. 2018/05/20 17:00:40 [DEBUG] Starting graph walk: walkApply
  369. triton_machine.network-test4: Modifying... (ID: 3773107d-8396-e319-820f-f17448ecd7b3)
  370. networks.#: "0" => "1"
  371. 2018/05/20 17:00:40 [DEBUG] apply: triton_machine.network-test4: executing Apply
  372. networks.0: "" => "bedef3af-49b1-445c-b3ac-0b7f0112afcf"
  373. 2018-05-20T17:00:40.428Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 17:00:40 [DEBUG] Adding NIC with Network bedef3af-49b1-445c-b3ac-0b7f0112afcf
  374.  
  375. Error: Error applying plan:
  376.  
  377. 1 error(s) occurred:
  378.  
  379. * triton_machine.network-test4: 1 error(s) occurred:
  380.  
  381. * triton_machine.network-test4: unable to add NIC to machine: unable to decode error response: EOF
  382.  
  383. Terraform does not automatically rollback in the face of errors.
  384. Instead, your Terraform state file has been partially updated with
  385. any resources that successfully completed. Please address the error
  386. above and apply again to incrementally change your infrastructure.
  387.  
  388.  
  389. 2018/05/20 17:00:40 [DEBUG] plugin: waiting for all plugin processes to complete...
  390. 2018-05-20T17:00:40.737Z [DEBUG] plugin: plugin process exited: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4
Add Comment
Please, Sign In to add comment