Skip to content

Instantly share code, notes, and snippets.

@BeenzSyed
Created September 25, 2020 17:40
Show Gist options
  • Save BeenzSyed/f9f4f86f37b052a26df42881d46e766e to your computer and use it in GitHub Desktop.
Save BeenzSyed/f9f4f86f37b052a26df42881d46e766e to your computer and use it in GitHub Desktop.
NIA Run
2020/09/25 16:01:09.296911 [INFO] (cli) setting up controller
2020/09/25 16:01:09.296991 [INFO] (controller) setting up Terraform driver
2020/09/25 16:01:09.296995 [INFO] (handler.panos) creating handler
2020/09/25 16:01:09.297033 [DEBUG] (controller) retrieved handler for provider 'panos'
2020/09/25 16:01:09.297036 [INFO] (handler.panos) creating handler
2020/09/25 16:01:09.297060 [DEBUG] (controller) retrieved handler for provider 'panos'
2020/09/25 16:01:09.297062 [INFO] (controller) retrieved 2 Terraform handlers
2020/09/25 16:01:09.297185 [INFO] (cli) initializing controller
2020/09/25 16:01:09.297721 [INFO] (controller.readwrite) initializing driver
2020/09/25 16:01:09.297771 [INFO] (controller.readwrite) driver initialized
2020/09/25 16:01:09.297786 [INFO] (controller.readwrite) initializing all tasks and workers
2020/09/25 16:01:09.723691 [INFO] (driver.terraform) skipping install, terraform 0.13.3 already exists at path /Users/sabeensyed/go/src/github.com/consul-nia/terraform
2020/09/25 16:01:09.723709 [DEBUG] (controller.readwrite) initializing task "A"
2020/09/25 16:01:09.724848 [INFO] (templates.tftmpl) overwriting variables.tf in root module for task "A"
2020/09/25 16:01:09.724858 [DEBUG] (templates.tftmpl) creating variables.tf in root module for task "A": /Users/sabeensyed/go/src/github.com/consul-nia/nia-tasks/A/variables.tf
2020/09/25 16:01:09.733401 [INFO] (templates.tftmpl) overwriting variables.module.tf in root module for task "A"
2020/09/25 16:01:09.733417 [DEBUG] (templates.tftmpl) creating variables.module.tf in root module for task "A": /Users/sabeensyed/go/src/github.com/consul-nia/nia-tasks/A/variables.module.tf
2020/09/25 16:01:09.742405 [INFO] (templates.tftmpl) overwriting terraform.tfvars.tmpl in root module for task "A"
2020/09/25 16:01:09.742417 [DEBUG] (templates.tftmpl) creating terraform.tfvars.tmpl in root module for task "A": /Users/sabeensyed/go/src/github.com/consul-nia/nia-tasks/A/terraform.tfvars.tmpl
2020/09/25 16:01:09.751355 [INFO] (templates.tftmpl) overwriting main.tf in root module for task "A"
2020/09/25 16:01:09.751372 [DEBUG] (templates.tftmpl) creating main.tf in root module for task "A": /Users/sabeensyed/go/src/github.com/consul-nia/nia-tasks/A/main.tf
2020/09/25 16:01:09.759554 [DEBUG] (client.terraformcli) Terraform logging is set, Terraform logs will output with Consul NIA logs
2020/09/25 16:01:09.811188 [INFO] (driver.terraform) skipping install, terraform 0.13.3 already exists at path /Users/sabeensyed/go/src/github.com/consul-nia/terraform
2020/09/25 16:01:09.811204 [DEBUG] (controller.readwrite) initializing task "B"
2020/09/25 16:01:09.811388 [INFO] (templates.tftmpl) overwriting variables.tf in root module for task "B"
2020/09/25 16:01:09.811398 [DEBUG] (templates.tftmpl) creating variables.tf in root module for task "B": /Users/sabeensyed/go/src/github.com/consul-nia/nia-tasks/B/variables.tf
2020/09/25 16:01:09.818895 [INFO] (templates.tftmpl) overwriting variables.module.tf in root module for task "B"
2020/09/25 16:01:09.818924 [DEBUG] (templates.tftmpl) creating variables.module.tf in root module for task "B": /Users/sabeensyed/go/src/github.com/consul-nia/nia-tasks/B/variables.module.tf
2020/09/25 16:01:09.826734 [INFO] (templates.tftmpl) overwriting terraform.tfvars.tmpl in root module for task "B"
2020/09/25 16:01:09.826742 [DEBUG] (templates.tftmpl) creating terraform.tfvars.tmpl in root module for task "B": /Users/sabeensyed/go/src/github.com/consul-nia/nia-tasks/B/terraform.tfvars.tmpl
2020/09/25 16:01:09.834289 [INFO] (templates.tftmpl) overwriting main.tf in root module for task "B"
2020/09/25 16:01:09.834305 [DEBUG] (templates.tftmpl) creating main.tf in root module for task "B": /Users/sabeensyed/go/src/github.com/consul-nia/nia-tasks/B/main.tf
2020/09/25 16:01:09.842419 [DEBUG] (client.terraformcli) Terraform logging is set, Terraform logs will output with Consul NIA logs
2020/09/25 16:01:09.842552 [INFO] (cli) running controller in Once mode
2020/09/25 16:01:09.842570 [DEBUG] (controller.readwrite) preparing work
2020/09/25 16:01:09.842576 [DEBUG] (controller.readwrite) running task:A
2020/09/25 16:01:09.843050 [INFO] (controller.readwrite) post-apply out-of-band actions
2020/09/25 16:01:09.843057 [INFO] (handler.panos) do
2020/09/25 16:01:11.526569 [ERR] (handler.panos) error committing: Type [commit] not authorized for user role.. Server response: '<response status = 'error' code = '403'><result><msg>Type [commit] not authorized for user role.</msg></result></response>'
2020/09/25 16:01:11.526588 [INFO] (handler.panos) do
2020/09/25 16:01:34.935689 [DEBUG] (handler.panos) commit successful
2020/09/25 16:01:34.935710 [DEBUG] (controller.readwrite) running task:B
2020/09/25 16:01:34.936096 [INFO] (controller.readwrite) post-apply out-of-band actions
2020/09/25 16:01:34.936132 [INFO] (handler.panos) do
2020/09/25 16:01:35.421418 [ERR] (handler.panos) error committing: Type [commit] not authorized for user role.. Server response: '<response status = 'error' code = '403'><result><msg>Type [commit] not authorized for user role.</msg></result></response>'
2020/09/25 16:01:35.421438 [INFO] (handler.panos) do
2020/09/25 16:01:35.997157 [DEBUG] (handler.panos) custom-role commit not needed
2020/09/25 16:01:35.997256 [DEBUG] (controller.readwrite) running task:A
2020/09/25 16:01:35.997770 [DEBUG] (controller.readwrite) task A complete
2020/09/25 16:01:36.009006 [DEBUG] "A" rendered: {DidRender:true WouldRender:true}
2020/09/25 16:01:36.009029 [INFO] (controller.readwrite) apply work A
2020/09/25 16:01:36.386304 [INFO] running Terraform command: /Users/sabeensyed/go/src/github.com/consul-nia/terraform init -no-color -force-copy -input=false -lock-timeout=0s -backend=true -get=true -get-plugins=true -lock=true -upgrade=false -verify-plugins=true
Initializing modules...
Initializing the backend...
The currently selected workspace (A) does not exist.
This is expected behavior when the selected workspace did not have an
existing non-empty state. Please enter a number to select a workspace:
1. default
Enter a value:
Error: Failed to select workspace: input not a valid number
2020/09/25 16:01:36.561667 [ERR] (driver.terraform) init (skip apply) for 'A'
2020/09/25 16:01:36.561700 [ERR] (cli) error running controller: [ERR] (controller.readwrite): could not apply: Error tf-init for 'A': attempt #1 failed '
Error: Failed to select workspace: input not a valid number
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment