Skip to content

Instantly share code, notes, and snippets.

@hany
Created September 18, 2015 17:42
Show Gist options
  • Save hany/5ea71b62d970c87be817 to your computer and use it in GitHub Desktop.
Save hany/5ea71b62d970c87be817 to your computer and use it in GitHub Desktop.
More Failures
mbp:hany_gist hany$ date && terraform apply && date
Fri 18 Sep 2015 13:15:54 EDT
cloudstack_vpc.staging: Creating...
cidr: "" => "10.164.240.0/22"
display_text: "" => "<computed>"
name: "" => "staging"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
vpc_offering: "" => "Default VPC offering"
zone: "" => "QC-1"
cloudstack_vpc.staging: Creation complete
cloudstack_ipaddress.prod-app-tier-ip: Creating...
ipaddress: "" => "<computed>"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
cloudstack_ipaddress.prod-proxy-tier-ip: Creating...
ipaddress: "" => "<computed>"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
cloudstack_ipaddress.prod-util-tier-ip: Creating...
ipaddress: "" => "<computed>"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
cloudstack_vpn_gateway.test: Creating...
public_ip: "" => "<computed>"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
cloudstack_ipaddress.prod-db-tier-ip: Creating...
ipaddress: "" => "<computed>"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
cloudstack_network_acl.allow_all_main: Creating...
description: "" => "<computed>"
name: "" => "allow_all"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
cloudstack_ipaddress.prod-proxy-tier-ip: Creation complete
cloudstack_ipaddress.prod-app-tier-ip: Creation complete
cloudstack_vpn_gateway.test: Creation complete
cloudstack_network_acl.allow_all_main: Creation complete
cloudstack_network_acl_rule.allow_all_main: Creating...
aclid: "" => "18f10680-1ff1-4957-93b4-ca3a40254bbb"
managed: "" => "0"
rule.#: "" => "2"
rule.2871298437.action: "" => "allow"
rule.2871298437.icmp_code: "" => "<computed>"
rule.2871298437.icmp_type: "" => "<computed>"
rule.2871298437.ports.#: "" => "0"
rule.2871298437.protocol: "" => "all"
rule.2871298437.source_cidr: "" => "0.0.0.0/0"
rule.2871298437.traffic_type: "" => "egress"
rule.2871298437.uuids.#: "" => "<computed>"
rule.537143211.action: "" => "allow"
rule.537143211.icmp_code: "" => "<computed>"
rule.537143211.icmp_type: "" => "<computed>"
rule.537143211.ports.#: "" => "0"
rule.537143211.protocol: "" => "all"
rule.537143211.source_cidr: "" => "0.0.0.0/0"
rule.537143211.traffic_type: "" => "ingress"
rule.537143211.uuids.#: "" => "<computed>"
cloudstack_network_acl_rule.allow_all_main: Creation complete
cloudstack_network.db: Creating...
aclid: "" => "18f10680-1ff1-4957-93b4-ca3a40254bbb"
cidr: "" => "10.164.242.0/24"
display_text: "" => "<computed>"
name: "" => "db"
network_offering: "" => "DefaultIsolatedNetworkOfferingForVpcNetworksNoLB"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
zone: "" => "QC-1"
cloudstack_network.proxy: Creating...
aclid: "" => "18f10680-1ff1-4957-93b4-ca3a40254bbb"
cidr: "" => "10.164.240.0/24"
display_text: "" => "<computed>"
name: "" => "proxy"
network_offering: "" => "DefaultIsolatedNetworkOfferingForVpcNetworksNoLB"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
zone: "" => "QC-1"
cloudstack_network.app: Creating...
aclid: "" => "18f10680-1ff1-4957-93b4-ca3a40254bbb"
cidr: "" => "10.164.241.0/24"
display_text: "" => "<computed>"
name: "" => "app"
network_offering: "" => "DefaultIsolatedNetworkOfferingForVpcNetworksNoLB"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
zone: "" => "QC-1"
cloudstack_network.util: Creating...
aclid: "" => "18f10680-1ff1-4957-93b4-ca3a40254bbb"
cidr: "" => "10.164.243.0/24"
display_text: "" => "<computed>"
name: "" => "util"
network_offering: "" => "DefaultIsolatedNetworkOfferingForVpcNetworksNoLB"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
vpc: "" => "4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f"
zone: "" => "QC-1"
cloudstack_network.proxy: Creation complete
cloudstack_instance.prod-proxy01: Creating...
display_name: "" => "<computed>"
expunge: "" => "1"
ipaddress: "" => "<computed>"
name: "" => "prod-proxy01"
network: "" => "8c0ca353-0788-49f8-9cd6-ab3a0d7381f2"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
service_offering: "" => "1vCPU.2GB"
template: "" => "CentOS 6.6 base (64bit)"
user_data: "" => "ea68fd691bd587062e1f781667a9717876c594e7"
zone: "" => "QC-1"
cloudstack_network.db: Creation complete
cloudstack_instance.prod-db01: Creating...
display_name: "" => "<computed>"
expunge: "" => "1"
ipaddress: "" => "<computed>"
name: "" => "prod-db01"
network: "" => "790a274b-7bbc-4824-add5-920a80f4519b"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
service_offering: "" => "1vCPU.2GB"
template: "" => "CentOS 6.6 base (64bit)"
user_data: "" => "ea68fd691bd587062e1f781667a9717876c594e7"
zone: "" => "QC-1"
cloudstack_network.util: Creation complete
cloudstack_instance.prod-queue01: Creating...
display_name: "" => "<computed>"
expunge: "" => "1"
ipaddress: "" => "<computed>"
name: "" => "prod-queue01"
network: "" => "2d0871c8-ec7d-4b3c-9c4b-cb28dfb7a1fe"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
service_offering: "" => "1vCPU.2GB"
template: "" => "CentOS 6.6 base (64bit)"
user_data: "" => "ea68fd691bd587062e1f781667a9717876c594e7"
zone: "" => "QC-1"
cloudstack_instance.prod-wrkr01: Creating...
display_name: "" => "<computed>"
expunge: "" => "1"
ipaddress: "" => "<computed>"
name: "" => "prod-wrkr01"
network: "" => "2d0871c8-ec7d-4b3c-9c4b-cb28dfb7a1fe"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
service_offering: "" => "1vCPU.2GB"
template: "" => "CentOS 6.6 base (64bit)"
user_data: "" => "ea68fd691bd587062e1f781667a9717876c594e7"
zone: "" => "QC-1"
cloudstack_network.app: Creation complete
cloudstack_instance.prod-app01: Creating...
display_name: "" => "<computed>"
expunge: "" => "1"
ipaddress: "" => "<computed>"
name: "" => "prod-app01"
network: "" => "38943724-b7fa-4580-aba4-cc376779f1bb"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
service_offering: "" => "1vCPU.2GB"
template: "" => "CentOS 6.6 base (64bit)"
user_data: "" => "ea68fd691bd587062e1f781667a9717876c594e7"
zone: "" => "QC-1"
cloudstack_instance.prod-app02: Creating...
display_name: "" => "<computed>"
expunge: "" => "1"
ipaddress: "" => "<computed>"
name: "" => "prod-app02"
network: "" => "38943724-b7fa-4580-aba4-cc376779f1bb"
project: "" => "61c0cebb-fd71-48ad-a0de-9cf53aeea291"
service_offering: "" => "1vCPU.2GB"
template: "" => "CentOS 6.6 base (64bit)"
user_data: "" => "ea68fd691bd587062e1f781667a9717876c594e7"
zone: "" => "QC-1"
cloudstack_ipaddress.prod-util-tier-ip: Creation complete
cloudstack_ipaddress.prod-db-tier-ip: Creation complete
cloudstack_instance.prod-app01: Creation complete
cloudstack_instance.prod-app02: Creation complete
cloudstack_port_forward.prod-app-ssh-map: Creating...
forward.#: "" => "2"
forward.3245771386.private_port: "" => "22"
forward.3245771386.protocol: "" => "tcp"
forward.3245771386.public_port: "" => "2223"
forward.3245771386.uuid: "" => "<computed>"
forward.3245771386.virtual_machine: "" => "d06a47eb-a52b-494b-b7a2-f02ca60bc35e"
forward.4061981520.private_port: "" => "22"
forward.4061981520.protocol: "" => "tcp"
forward.4061981520.public_port: "" => "2222"
forward.4061981520.uuid: "" => "<computed>"
forward.4061981520.virtual_machine: "" => "38bc9df2-676b-4a49-927e-7fc7e170792e"
ipaddress: "" => "18b4ee2c-f16a-4d85-85be-2356e20257b4"
managed: "" => "0"
cloudstack_port_forward.prod-app-ssh-map: Creation complete
cloudstack_instance.prod-proxy01: Creation complete
cloudstack_port_forward.prod-proxy-ssh-map: Creating...
forward.#: "" => "1"
forward.3855968514.private_port: "" => "22"
forward.3855968514.protocol: "" => "tcp"
forward.3855968514.public_port: "" => "2222"
forward.3855968514.uuid: "" => "<computed>"
forward.3855968514.virtual_machine: "" => "8f1ee07d-9757-4a8d-8c92-2f39301a93c6"
ipaddress: "" => "6913f7f6-4a0e-4be2-b79c-9f38dcf08f33"
managed: "" => "0"
cloudstack_port_forward.prod-proxy-ssh-map: Creation complete
cloudstack_instance.prod-db01: Creation complete
cloudstack_port_forward.prod-db-ssh-map: Creating...
forward.#: "" => "1"
forward.2249865573.private_port: "" => "22"
forward.2249865573.protocol: "" => "tcp"
forward.2249865573.public_port: "" => "2222"
forward.2249865573.uuid: "" => "<computed>"
forward.2249865573.virtual_machine: "" => "527b8e24-c425-4fe7-8fb1-b38a672fffaa"
ipaddress: "" => "c4c16a27-fb29-42ff-939a-20d6273f0813"
managed: "" => "0"
cloudstack_port_forward.prod-db-ssh-map: Creation complete
cloudstack_instance.prod-wrkr01: Creation complete
Error applying plan:
1 error(s) occurred:
* cloudstack_instance.prod-queue01: Error creating the new instance prod-queue01: Timeout while waiting for async job to finish
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
mbp:hany_gist hany$ date ; terraform destroy ; date
Fri 18 Sep 2015 13:36:09 EDT
Do you really want to destroy?
Terraform will delete all your managed infrastructure.
There is no undo. Only 'yes' will be accepted to confirm.
Enter a value: yes
cloudstack_vpc.staging: Refreshing state... (ID: 4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f)
cloudstack_ipaddress.prod-util-tier-ip: Refreshing state... (ID: dd717eab-4f5d-4f3b-9990-a35f59a0377e)
cloudstack_ipaddress.prod-app-tier-ip: Refreshing state... (ID: 18b4ee2c-f16a-4d85-85be-2356e20257b4)
cloudstack_network_acl.allow_all_main: Refreshing state... (ID: 18f10680-1ff1-4957-93b4-ca3a40254bbb)
cloudstack_ipaddress.prod-proxy-tier-ip: Refreshing state... (ID: 6913f7f6-4a0e-4be2-b79c-9f38dcf08f33)
cloudstack_vpn_gateway.test: Refreshing state... (ID: 81ad1fe6-aa6e-424a-8756-9c67fed5db5f)
cloudstack_ipaddress.prod-db-tier-ip: Refreshing state... (ID: c4c16a27-fb29-42ff-939a-20d6273f0813)
cloudstack_network_acl_rule.allow_all_main: Refreshing state... (ID: 18f10680-1ff1-4957-93b4-ca3a40254bbb)
cloudstack_network.util: Refreshing state... (ID: 2d0871c8-ec7d-4b3c-9c4b-cb28dfb7a1fe)
cloudstack_network.proxy: Refreshing state... (ID: 8c0ca353-0788-49f8-9cd6-ab3a0d7381f2)
cloudstack_network.app: Refreshing state... (ID: 38943724-b7fa-4580-aba4-cc376779f1bb)
cloudstack_network.db: Refreshing state... (ID: 790a274b-7bbc-4824-add5-920a80f4519b)
cloudstack_instance.prod-proxy01: Refreshing state... (ID: 8f1ee07d-9757-4a8d-8c92-2f39301a93c6)
cloudstack_instance.prod-wrkr01: Refreshing state... (ID: 69948c25-4cdd-4acf-b7d9-cdf901f5dc10)
cloudstack_instance.prod-db01: Refreshing state... (ID: 527b8e24-c425-4fe7-8fb1-b38a672fffaa)
cloudstack_instance.prod-app01: Refreshing state... (ID: 38bc9df2-676b-4a49-927e-7fc7e170792e)
cloudstack_instance.prod-app02: Refreshing state... (ID: d06a47eb-a52b-494b-b7a2-f02ca60bc35e)
cloudstack_port_forward.prod-proxy-ssh-map: Refreshing state... (ID: 6913f7f6-4a0e-4be2-b79c-9f38dcf08f33)
cloudstack_port_forward.prod-db-ssh-map: Refreshing state... (ID: c4c16a27-fb29-42ff-939a-20d6273f0813)
cloudstack_port_forward.prod-app-ssh-map: Refreshing state... (ID: 18b4ee2c-f16a-4d85-85be-2356e20257b4)
cloudstack_port_forward.prod-db-ssh-map: Destroying...
cloudstack_ipaddress.prod-util-tier-ip: Destroying...
cloudstack_port_forward.prod-proxy-ssh-map: Destroying...
cloudstack_port_forward.prod-app-ssh-map: Destroying...
cloudstack_instance.prod-wrkr01: Destroying...
cloudstack_vpn_gateway.test: Destroying...
cloudstack_vpn_gateway.test: Destruction complete
cloudstack_ipaddress.prod-util-tier-ip: Destruction complete
cloudstack_port_forward.prod-db-ssh-map: Destruction complete
cloudstack_ipaddress.prod-db-tier-ip: Destroying...
cloudstack_instance.prod-db01: Destroying...
cloudstack_port_forward.prod-proxy-ssh-map: Destruction complete
cloudstack_instance.prod-proxy01: Destroying...
cloudstack_ipaddress.prod-proxy-tier-ip: Destroying...
cloudstack_ipaddress.prod-db-tier-ip: Destruction complete
cloudstack_port_forward.prod-app-ssh-map: Destruction complete
cloudstack_ipaddress.prod-app-tier-ip: Destroying...
cloudstack_instance.prod-app01: Destroying...
cloudstack_instance.prod-app02: Destroying...
cloudstack_ipaddress.prod-proxy-tier-ip: Destruction complete
cloudstack_ipaddress.prod-app-tier-ip: Destruction complete
cloudstack_instance.prod-wrkr01: Destruction complete
cloudstack_network.util: Destroying...
cloudstack_instance.prod-db01: Destruction complete
cloudstack_network.db: Destroying...
cloudstack_instance.prod-app01: Destruction complete
cloudstack_network.db: Destruction complete
cloudstack_instance.prod-app02: Destruction complete
cloudstack_network.app: Destroying...
cloudstack_instance.prod-proxy01: Destruction complete
cloudstack_network.proxy: Destroying...
cloudstack_network.proxy: Destruction complete
Error applying plan:
2 error(s) occurred:
* cloudstack_network.util: Error deleting network util: Undefined error: {"errorcode":530,"errortext":"Failed to delete network"}
* cloudstack_network.app: Error deleting network app: Undefined error: {"errorcode":530,"errortext":"Failed to delete network"}
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Fri 18 Sep 2015 13:37:43 EDT
mbp:hany_gist hany$ date ; terraform destroy ; date
Fri 18 Sep 2015 13:39:56 EDT
Do you really want to destroy?
Terraform will delete all your managed infrastructure.
There is no undo. Only 'yes' will be accepted to confirm.
Enter a value: yes
cloudstack_vpc.staging: Refreshing state... (ID: 4ce14a2e-3bfc-4807-8678-1a5c42e3ce0f)
cloudstack_network_acl.allow_all_main: Refreshing state... (ID: 18f10680-1ff1-4957-93b4-ca3a40254bbb)
cloudstack_network_acl_rule.allow_all_main: Refreshing state... (ID: 18f10680-1ff1-4957-93b4-ca3a40254bbb)
cloudstack_network.app: Refreshing state... (ID: 38943724-b7fa-4580-aba4-cc376779f1bb)
cloudstack_network.util: Refreshing state... (ID: 2d0871c8-ec7d-4b3c-9c4b-cb28dfb7a1fe)
cloudstack_network.util: Destroying...
cloudstack_network.app: Destroying...
Error applying plan:
2 error(s) occurred:
* cloudstack_network.app: Error deleting network app: Undefined error: {"errorcode":530,"errortext":"Failed to delete network"}
* cloudstack_network.util: Error deleting network util: Undefined error: {"errorcode":530,"errortext":"Failed to delete network"}
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Fri 18 Sep 2015 13:40:02 EDT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment