Created
April 18, 2018 18:12
-
-
Save infinitydon/e5132c9a1707cc5710cb5b1f867ad6e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data.template_file.inventory: Refreshing state... | |
null_resource.inventories: Creating... | |
triggers.%: "" => "1" | |
triggers.template: "" => "[all]\nmercy-ops-master-1 ansible_host=10.0.0.5\nmercy-ops-infra-1 ansible_host=10.0.0.10\nmercy-ops-compute-1 ansible_host=10.0.0.14\nmercy-ops-etcd-1 ansible_host=10.0.0.4\n\n[OSEv3:children]\nmasters\nnodes\netcd\n\n# Set variables common for all OSEv3 hosts\n[OSEv3:vars]\nansible_ssh_user=\"centos\"\nopenshift_deployment_type=\"origin\"\nenable_excluders=false\nansible_become=true\nopenshift_release=3.9\nopenshift_disable_check=docker_storage\nopenshift_repos_enable_testing=true\n\n# Uncomment the following to enable htpasswd authentication; defaults to\n# DenyAllPasswordIdentityProvider.\nopenshift_master_identity_providers=[{\\'name:\\' \\'htpasswd_auth\\', \\'login:\\' \\'true\\', \\'challenge:\\' \\'true\\', \\'kind:\\' \\'HTPasswdPasswordIdentityProvider\\', \\'filename:\\' \\'/etc/origin/master/htpasswd\\'}]\n# Native high availability cluster method with optional load balancer.\n# If no lb group is defined installer assumes that a load balancer has\n# been preconfigured. For installation the value of\n# openshift_master_cluster_hostname must resolve to the load balancer\n# or to one or all of the masters defined in the inventory if no load\n# balancer is present.\nopenshift_master_cluster_method=native\nopenshift_master_cluster_hostname=\"mercy.kubernauts.de\"\nopenshift_master_cluster_public_hostname=\"mercy.kubernauts.de\"\nopenshift_master_default_subdomain=\"app.kubernauts.de\"\n\n\n# host group for masters\n[masters]\nmercy-ops-master-1\n\n\n# host group for nodes, includes region info\n[nodes]\nmercy-ops-master-1\nmercy-ops-infra-1 openshift_node_labels=\"{'region': 'infra', 'zone': 'default'}\"\nmercy-ops-compute-1 openshift_node_labels=\"{'region': 'primary', 'zone': 'east'}\"\n\n\n# host group for etcd\n[etcd]\nmercy-ops-etcd-1\n\n# Bastion\nbastion centos 84.200.100.223" | |
null_resource.inventories: Provisioning with 'local-exec'... | |
null_resource.inventories (local-exec): Executing: ["/bin/sh" "-c" "echo '[all]\nmercy-ops-master-1 ansible_host=10.0.0.5\nmercy-ops-infra-1 ansible_host=10.0.0.10\nmercy-ops-compute-1 ansible_host=10.0.0.14\nmercy-ops-etcd-1 ansible_host=10.0.0.4\n\n[OSEv3:children]\nmasters\nnodes\netcd\n\n# Set variables common for all OSEv3 hosts\n[OSEv3:vars]\nansible_ssh_user=\"centos\"\nopenshift_deployment_type=\"origin\"\nenable_excluders=false\nansible_become=true\nopenshift_release=3.9\nopenshift_disable_check=docker_storage\nopenshift_repos_enable_testing=true\n\n# Uncomment the following to enable htpasswd authentication; defaults to\n# DenyAllPasswordIdentityProvider.\nopenshift_master_identity_providers=[{\\'name:\\' \\'htpasswd_auth\\', \\'login:\\' \\'true\\', \\'challenge:\\' \\'true\\', \\'kind:\\' \\'HTPasswdPasswordIdentityProvider\\', \\'filename:\\' \\'/etc/origin/master/htpasswd\\'}]\n# Native high availability cluster method with optional loadbalancer.\n# If no lb group is defined installer assumes that a load balancer has\n# been preconfigured. For installation the value of\n#openshift_master_cluster_hostname must resolve to the load balancer\n# or to one or all of the masters defined in the inventory if no load\n# balancer is present.\nopenshift_master_cluster_method=native\nopenshift_master_cluster_hostname=\"mercy.kubernauts.de\"\nopenshift_master_cluster_public_hostname=\"mercy.kubernauts.de\"\nopenshift_master_default_subdomain=\"app.kubernauts.de\"\n\n\n# host group for masters\n[masters]\nmercy-ops-master-1\n\n\n# host group for nodes, includes region info\n[nodes]\nmercy-ops-master-1\nmercy-ops-infra-1 openshift_node_labels=\"{'region': 'infra', 'zone': 'default'}\"\nmercy-ops-compute-1 openshift_node_labels=\"{'region': 'primary', 'zone': 'east'}\"\n\n\n# host group for etcd\n[etcd]\nmercy-ops-etcd-1\n\n# Bastion\nbastion centos 84.200.100.223' > ./hosts.ini"] | |
null_resource.inventories (local-exec): [all] | |
null_resource.inventories (local-exec): mercy-ops-master-1 ansible_host=10.0.0.5 | |
null_resource.inventories (local-exec): mercy-ops-infra-1 ansible_host=10.0.0.10 | |
null_resource.inventories (local-exec): mercy-ops-compute-1 ansible_host=10.0.0.14 | |
null_resource.inventories (local-exec): mercy-ops-etcd-1 ansible_host=10.0.0.4 | |
null_resource.inventories (local-exec): [OSEv3:children] | |
null_resource.inventories (local-exec): masters | |
null_resource.inventories (local-exec): nodes | |
null_resource.inventories (local-exec): etcd | |
null_resource.inventories (local-exec): # Set variables common for all OSEv3 hosts | |
null_resource.inventories (local-exec): [OSEv3:vars] | |
null_resource.inventories (local-exec): ansible_ssh_user="centos" | |
null_resource.inventories (local-exec): openshift_deployment_type="origin" | |
null_resource.inventories (local-exec): enable_excluders=false | |
null_resource.inventories (local-exec): ansible_become=true | |
null_resource.inventories (local-exec): openshift_release=3.9 | |
null_resource.inventories (local-exec): openshift_disable_check=docker_storage | |
null_resource.inventories (local-exec): openshift_repos_enable_testing=true | |
null_resource.inventories (local-exec): # Uncomment the following to enable htpasswd authentication; defaults to | |
null_resource.inventories (local-exec): # DenyAllPasswordIdentityProvider. | |
null_resource.inventories (local-exec): openshift_master_identity_providers=[{\name:' 'htpasswd_auth', 'login:' 'true', 'challenge:' 'true', 'kind:' 'HTPasswdPasswordIdentityProvider', 'filename:' '/etc/origin/master/htpasswd'}] | |
null_resource.inventories (local-exec): /bin/sh: line 37: [masters]: command not found | |
null_resource.inventories (local-exec): /bin/sh: line 38: mercy-ops-master-1: command not found | |
null_resource.inventories (local-exec): /bin/sh: line 42: [nodes]: command not found | |
null_resource.inventories (local-exec): /bin/sh: line 43: mercy-ops-master-1: command not found | |
null_resource.inventories (local-exec): /bin/sh: line 44: mercy-ops-infra-1: command not found | |
null_resource.inventories (local-exec): /bin/sh: line 45: mercy-ops-compute-1: command not found | |
null_resource.inventories (local-exec): /bin/sh: line 49: [etcd]: command not found | |
null_resource.inventories (local-exec): /bin/sh: line 50: mercy-ops-etcd-1: command not found | |
null_resource.inventories (local-exec): /bin/sh: -c: line 53: unexpected EOF while looking for matching `'' | |
null_resource.inventories (local-exec): /bin/sh: -c: line 54: syntax error: unexpected end of file | |
Error: Error applying plan: | |
1 error(s) occurred: | |
* null_resource.inventories: Error running command 'echo '[all] | |
mercy-ops-master-1 ansible_host=10.0.0.5 | |
mercy-ops-infra-1 ansible_host=10.0.0.10 | |
mercy-ops-compute-1 ansible_host=10.0.0.14 | |
mercy-ops-etcd-1 ansible_host=10.0.0.4 | |
[OSEv3:children] | |
masters | |
nodes | |
etcd | |
# Set variables common for all OSEv3 hosts | |
[OSEv3:vars] | |
ansible_ssh_user="centos" | |
openshift_deployment_type="origin" | |
enable_excluders=false | |
ansible_become=true | |
openshift_release=3.9 | |
openshift_disable_check=docker_storage | |
openshift_repos_enable_testing=true | |
# Uncomment the following to enable htpasswd authentication; defaults to | |
# DenyAllPasswordIdentityProvider. | |
openshift_master_identity_providers=[{\'name:\' \'htpasswd_auth\', \'login:\' \'true\', \'challenge:\' \'true\', \'kind:\' \'HTPasswdPasswordIdentityProvider\', \'filename:\' \'/etc/origin/master/htpasswd\'}] | |
# Native high availability cluster method with optional load balancer. | |
# If no lb group is defined installer assumes that a load balancer has | |
# been preconfigured. For installation the value of | |
# openshift_master_cluster_hostname must resolve to the load balancer | |
# or to one or all of the masters defined in the inventory if no load | |
# balancer is present. | |
openshift_master_cluster_method=native | |
openshift_master_cluster_hostname="mercy.kubernauts.de" | |
openshift_master_cluster_public_hostname="mercy.kubernauts.de" | |
openshift_master_default_subdomain="app.kubernauts.de" | |
# host group for masters | |
[masters] | |
mercy-ops-master-1 | |
# host group for nodes, includes region info | |
[nodes] | |
mercy-ops-master-1 | |
mercy-ops-infra-1 openshift_node_labels="{'region': 'infra', 'zone': 'default'}" | |
mercy-ops-compute-1 openshift_node_labels="{'region': 'primary', 'zone': 'east'}" | |
# host group for etcd | |
[etcd] | |
mercy-ops-etcd-1 | |
# Bastion | |
bastion centos 84.200.100.223' > ./hosts.ini': exit status 1. Output: [all] | |
mercy-ops-master-1 ansible_host=10.0.0.5 | |
mercy-ops-infra-1 ansible_host=10.0.0.10 | |
mercy-ops-compute-1 ansible_host=10.0.0.14 | |
mercy-ops-etcd-1 ansible_host=10.0.0.4 | |
[OSEv3:children] | |
masters | |
nodes | |
etcd | |
# Set variables common for all OSEv3 hosts | |
[OSEv3:vars] | |
ansible_ssh_user="centos" | |
openshift_deployment_type="origin" | |
enable_excluders=false | |
ansible_become=true | |
openshift_release=3.9 | |
openshift_disable_check=docker_storage | |
openshift_repos_enable_testing=true | |
# Uncomment the following to enable htpasswd authentication; defaults to | |
# DenyAllPasswordIdentityProvider. | |
openshift_master_identity_providers=[{\name:' 'htpasswd_auth', 'login:' 'true', 'challenge:' 'true', 'kind:' 'HTPasswdPasswordIdentityProvider', 'filename:' '/etc/origin/master/htpasswd'}] | |
/bin/sh: line 37: [masters]: command not found | |
/bin/sh: line 38: mercy-ops-master-1: command not found | |
/bin/sh: line 42: [nodes]: command not found | |
/bin/sh: line 43: mercy-ops-master-1: command not found | |
/bin/sh: line 44: mercy-ops-infra-1: command not found | |
/bin/sh: line 45: mercy-ops-compute-1: command not found | |
/bin/sh: line 49: [etcd]: command not found | |
/bin/sh: line 50: mercy-ops-etcd-1: command not found | |
/bin/sh: -c: line 53: unexpected EOF while looking for matching `'' | |
/bin/sh: -c: line 54: syntax error: unexpected end of file | |
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment