Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cizar@castle:~/oro-cloud-ansible$ ansible-playbook -e "env=staging-vault1" router-node.yml -vvv
- [WARNING]: log file at ansible.log is not writeable and we cannot create it, aborting
- Using /home/cizar/oro-cloud-ansible/ansible.cfg as config file
- statically included: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml
- statically included: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml
- PLAYBOOK: router-node.yml ******************************************************
- 2 plays in router-node.yml
- PLAY [rebuild inventory] *******************************************************
- TASK [setup] *******************************************************************
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/system/setup.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost]
- TASK [common/dyn_inventory : check group_vars presence] ************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:3
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/stat.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost] => {
- "changed": false,
- "invocation": {
- "module_args": {
- "checksum_algorithm": "sha1",
- "follow": false,
- "get_checksum": true,
- "get_md5": true,
- "mime": false,
- "path": "group_vars"
- },
- "module_name": "stat"
- },
- "stat": {
- "atime": 1491383013.948659,
- "ctime": 1491382261.3109255,
- "dev": 2066,
- "executable": true,
- "exists": true,
- "gid": 1001,
- "gr_name": "cizar",
- "inode": 3414086,
- "isblk": false,
- "ischr": false,
- "isdir": true,
- "isfifo": false,
- "isgid": false,
- "islnk": false,
- "isreg": false,
- "issock": false,
- "isuid": false,
- "mode": "0775",
- "mtime": 1491382261.3109255,
- "nlink": 2,
- "path": "group_vars",
- "pw_name": "cizar",
- "readable": true,
- "rgrp": true,
- "roth": true,
- "rusr": true,
- "size": 4096,
- "uid": 1001,
- "wgrp": true,
- "woth": false,
- "writeable": true,
- "wusr": true,
- "xgrp": true,
- "xoth": true,
- "xusr": true
- }
- }
- TASK [common/dyn_inventory : fail] *********************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:8
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : include group_vars] *******************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:11
- ok: [localhost] => {
- "ansible_facts": {
- "EmailPass": "OroInc12",
- "EmailUser": "service@oroinc.com",
- "allow_destination": [
- {
- "port": "all",
- "proto": "TCP"
- },
- {
- "port": "all",
- "proto": "UDP"
- }
- ],
- "allow_incoming": [
- {
- "port": "all",
- "proto": "TCP"
- },
- {
- "port": "all",
- "proto": "UDP"
- }
- ],
- "cloud_install": false,
- "credentials_file": "{{ project_name }}.json",
- "datadog_api_key": "d629a6affce622c81101c06eaebe56b9",
- "env": "local",
- "forwarding_rules": [
- {
- "port": 500,
- "proto": "UDP"
- },
- {
- "port": 4500,
- "proto": "UDP"
- }
- ],
- "gcloud_account": "~/account.json",
- "gcloud_command": "{{ gcloud_path }}/bin/gcloud",
- "gcloud_compute_region": "us-central1",
- "gcloud_compute_zone": "us-central1-f",
- "gcloud_log": "/tmp/gcloud.log",
- "gcloud_path": "~/google-cloud-sdk",
- "gcloud_project_name": "oro-cloud-development",
- "gke_machine_type": "n1-highcpu-8",
- "gluster_server_ip": "10.40.0.4",
- "images_list": [
- {
- "img": "ubuntu",
- "rebuild": true,
- "tag": "14.04-{{ root_version }}"
- },
- {
- "img": "service-root",
- "rebuild": true,
- "tag": "1.0"
- },
- {
- "img": "builder-bap-standard",
- "rebuild": true,
- "tag": "1.6.2"
- },
- {
- "img": "deployer-bap-standard",
- "rebuild": true,
- "tag": "1.6.2"
- },
- {
- "img": "builder-bap-monolithic",
- "rebuild": true,
- "tag": "1.6.2"
- },
- {
- "img": "deployer-bap-monolithic",
- "rebuild": true,
- "tag": "1.6.2"
- },
- {
- "img": "destroyer",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "elasticsearch",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "redis",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "archiver",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "fluentd-gcp",
- "rebuild": false,
- "tag": "1.18"
- },
- {
- "img": "clone",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "vault",
- "rebuild": true,
- "tag": "0.6.2"
- },
- {
- "img": "es-cluster",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "rabbitmq",
- "rebuild": true,
- "tag": "3.6.6-management"
- },
- {
- "img": "consul",
- "rebuild": true,
- "tag": "0.7.4"
- },
- {
- "img": "jenkins",
- "rebuild": true,
- "tag": "2.32.2"
- }
- ],
- "isolation": true,
- "kubectl_command": "{{ gcloud_path }}/bin/kubectl",
- "kubernetes_salt_bucket": "saltarch",
- "kubernetes_salt_download_host": "storage.googleapis.com",
- "local_install": false,
- "maximum_subnet": "10.124.0.0/15",
- "mgmt_instance_ip": "",
- "mgmt_instance_name": "",
- "minimum_subnet": "10.12.0.0/15",
- "num_nodes": 1,
- "project_name": "oro-cloud-development",
- "proxy_webserver": "apache2",
- "root_version": 1.6,
- "salt_tar_hash": "220a69ff32fc51030fd7bd2f37fb55c413ad9688",
- "salt_tar_url": "https:\\/\\/{{kubernetes_salt_download_host}}\\/{{ kubernetes_salt_bucket }}\\/kubernetes-salt-1.5.tar.gz",
- "service_account_path": "/vagrant/bin/kubernetes/serviceaccount.yaml",
- "service_clusters": [
- "vault",
- "elastic",
- "gluster",
- "rabbit",
- "app",
- "mgmt"
- ],
- "service_container_pool": "{{ cluster_name.stdout }}",
- "service_email": "account-61@oro-cloud-development.iam.gserviceaccount.com",
- "service_key_path": "/tmp/account.p12",
- "service_mail": "service_mail",
- "sql_instance_ip": "",
- "sql_instance_name": "",
- "srv_container_pool": "{{ env }}",
- "vpn_pass_type": "random"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "_raw_params": "group_vars/all.yml"
- },
- "module_name": "include_vars"
- }
- }
- TASK [common/dyn_inventory : Interrupt operations when using production project without confirmation] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:15
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : check inventory presence] *************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:20
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/stat.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost] => {
- "changed": false,
- "invocation": {
- "module_args": {
- "checksum_algorithm": "sha1",
- "follow": false,
- "get_checksum": true,
- "get_md5": true,
- "mime": false,
- "path": "inventory"
- },
- "module_name": "stat"
- },
- "stat": {
- "atime": 1491384386.1168716,
- "ctime": 1491383005.5005498,
- "dev": 2066,
- "executable": true,
- "exists": true,
- "gid": 1001,
- "gr_name": "cizar",
- "inode": 3414416,
- "isblk": false,
- "ischr": false,
- "isdir": true,
- "isfifo": false,
- "isgid": false,
- "islnk": false,
- "isreg": false,
- "issock": false,
- "isuid": false,
- "mode": "0775",
- "mtime": 1491383005.5005498,
- "nlink": 2,
- "path": "inventory",
- "pw_name": "cizar",
- "readable": true,
- "rgrp": true,
- "roth": true,
- "rusr": true,
- "size": 4096,
- "uid": 1001,
- "wgrp": true,
- "woth": false,
- "writeable": true,
- "wusr": true,
- "xgrp": true,
- "xoth": true,
- "xusr": true
- }
- }
- TASK [common/dyn_inventory : fail] *********************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:25
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : change project] ***********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:28
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud config set project oro-cloud-development",
- "delta": "0:00:00.213850",
- "end": "2017-04-05 12:26:35.648167",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud config set project oro-cloud-development",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:35.434317",
- "stderr": "Updated property [core/project].",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- TASK [common/dyn_inventory : define cluster env name for new env] **************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:31
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_envname": "staging-vault1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_envname": "staging-vault1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : define environment name for service clusters] *****
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:36
- ok: [localhost] => {
- "ansible_facts": {
- "env_name": "staging"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "env_name": "staging"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : find available service clusters] ******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:40
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=vault) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-vault[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.053535",
- "end": "2017-04-05 12:26:36.830608",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-vault[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "vault",
- "rc": 0,
- "start": "2017-04-05 12:26:35.777073",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-vault1",
- "stdout_lines": [
- "staging-vault1"
- ],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=elastic) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-elastic[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.051232",
- "end": "2017-04-05 12:26:37.955776",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-elastic[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "elastic",
- "rc": 0,
- "start": "2017-04-05 12:26:36.904544",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-elastic1",
- "stdout_lines": [
- "staging-elastic1"
- ],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=gluster) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-gluster[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.026766",
- "end": "2017-04-05 12:26:39.052870",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-gluster[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "gluster",
- "rc": 0,
- "start": "2017-04-05 12:26:38.026104",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-gluster1",
- "stdout_lines": [
- "staging-gluster1"
- ],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=rabbit) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-rabbit[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.049182",
- "end": "2017-04-05 12:26:40.173721",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-rabbit[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "rabbit",
- "rc": 0,
- "start": "2017-04-05 12:26:39.124539",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=app) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-app[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.030574",
- "end": "2017-04-05 12:26:41.276583",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-app[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "app",
- "rc": 0,
- "start": "2017-04-05 12:26:40.246009",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-app1",
- "stdout_lines": [
- "staging-app1"
- ],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=mgmt) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-mgmt[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.057979",
- "end": "2017-04-05 12:26:42.411458",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-mgmt[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "mgmt",
- "rc": 0,
- "start": "2017-04-05 12:26:41.353479",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-mgmt1",
- "stdout_lines": [
- "staging-mgmt1"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : register available service clusters] **************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:48
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- skipping: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- TASK [common/dyn_inventory : get latest used gke cluster name for local_env env] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:54
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : define a gke cluster name to validate for local env] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:59
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : define a gke cluster name to validate for cloud env] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:63
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_for_validation": "staging-vault1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_for_validation": "staging-vault1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : validate preconfigured cluster] *******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:67
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters describe staging-vault1 | grep currentNodeCount | awk '{print $2}'",
- "delta": "0:00:00.699523",
- "end": "2017-04-05 12:26:43.322165",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters describe staging-vault1 | grep currentNodeCount | awk '{print $2}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:42.622642",
- "stderr": "",
- "stdout": "2",
- "stdout_lines": [
- "2"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : mark existing cluster as valid] *******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:72
- ok: [localhost] => {
- "ansible_facts": {
- "reuse_cluster": true
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "reuse_cluster": "true"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : register a build version supplied via command line if it contained numbers] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:81
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "echo staging-vault1 | sed 's/.*[^0-9]//g'",
- "delta": "0:00:00.002017",
- "end": "2017-04-05 12:26:43.432074",
- "invocation": {
- "module_args": {
- "_raw_params": "echo staging-vault1 | sed 's/.*[^0-9]//g'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:43.430057",
- "stderr": "",
- "stdout": "1",
- "stdout_lines": [
- "1"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : save a version supplied via command line as build_version if it contained numbers] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:86
- ok: [localhost] => {
- "ansible_facts": {
- "predefined_build_version": "1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "predefined_build_version": "1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get build_version] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:91
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : increment build version] **************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:97
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : force user-supplied build_version] ***************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:102
- ok: [localhost] => {
- "ansible_facts": {
- "build_version": "1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "build_version": "1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : strip existing build version from cluster name] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:107
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : set new cluster name] *****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:111
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : reuse existing cluster name] **********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:115
- ok: [localhost] => {
- "ansible_facts": {
- "full_cluster_name": "staging-vault1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "full_cluster_name": "staging-vault1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get instance_group] *******************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:119
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instance-groups list | awk '/^gke-staging-vault1/{print $1}'",
- "delta": "0:00:01.518995",
- "end": "2017-04-05 12:26:45.174580",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instance-groups list | awk '/^gke-staging-vault1/{print $1}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:43.655585",
- "stderr": "",
- "stdout": "gke-staging-vault1-default-pool-48f8b6a6-grp",
- "stdout_lines": [
- "gke-staging-vault1-default-pool-48f8b6a6-grp"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : define instance group] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:124
- ok: [localhost] => {
- "ansible_facts": {
- "instance_group": "gke-staging-vault1-default-pool-48f8b6a6-grp"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "instance_group": "gke-staging-vault1-default-pool-48f8b6a6-grp"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get instance_zone] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:128
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instance-groups list | awk '/^gke-staging-vault1/{print $2}'",
- "delta": "0:00:01.441088",
- "end": "2017-04-05 12:26:46.730644",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instance-groups list | awk '/^gke-staging-vault1/{print $2}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:45.289556",
- "stderr": "",
- "stdout": "us-central1-f",
- "stdout_lines": [
- "us-central1-f"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : define instance zone] *****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:133
- ok: [localhost] => {
- "ansible_facts": {
- "instance_zone": "us-central1-f"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "instance_zone": "us-central1-f"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get instance in group] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:137
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instance-groups list-instances gke-staging-vault1-default-pool-48f8b6a6-grp --zone=us-central1-f | awk '/staging-vault1/{print $1}'",
- "delta": "0:00:00.609049",
- "end": "2017-04-05 12:26:47.447535",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instance-groups list-instances gke-staging-vault1-default-pool-48f8b6a6-grp --zone=us-central1-f | awk '/staging-vault1/{print $1}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:46.838486",
- "stderr": "",
- "stdout": "gke-staging-vault1-default-pool-48f8b6a6-4vww",
- "stdout_lines": [
- "gke-staging-vault1-default-pool-48f8b6a6-4vww"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : define a name of first available gcloud instance] *
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:148
- ok: [localhost] => {
- "ansible_facts": {
- "gcloud_node": "gke-staging-vault1-default-pool-48f8b6a6-4vww"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "gcloud_node": "gke-staging-vault1-default-pool-48f8b6a6-4vww"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : locate vagrant variables dir] *********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:3
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : set vagrant inventory path] ***********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:7
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : Get Vagrant hosts] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:10
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : save vagrant ip] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:30
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add vagrant VM as mgmt-node to inventory] *********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:34
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add mgmt-node as proxy] ***************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:41
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : get mgmt IP for new env] **************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:3
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instances list | awk '/^staging-mgmt1-mgmt/{print $5}' | tail -n1",
- "delta": "0:00:01.209149",
- "end": "2017-04-05 12:26:48.883563",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instances list | awk '/^staging-mgmt1-mgmt/{print $5}' | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:47.674414",
- "stderr": "",
- "stdout": "vCPU,",
- "stdout_lines": [
- "vCPU,"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : get mgmt IP for older non-isolated env] ***********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:8
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : get proxy IP for new env] *************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:13
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instances list | awk '/^staging-app1-proxy/{print $5}' | tail -n1",
- "delta": "0:00:01.683033",
- "end": "2017-04-05 12:26:50.679641",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instances list | awk '/^staging-app1-proxy/{print $5}' | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:48.996608",
- "stderr": "",
- "stdout": "35.184.209.77",
- "stdout_lines": [
- "35.184.209.77"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : get proxy IP for older non-isolated env] *********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:18
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add mgmt to inventory] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:23
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add proxy to inventory] ***************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:30
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add proxy nodes to proxy group] *******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:37
- skipping: [localhost] => (item=gke-staging-elastic1-default-pool-22deddc1-6x82) => {
- "changed": false,
- "item": "gke-staging-elastic1-default-pool-22deddc1-6x82",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-elastic1-default-pool-22deddc1-8r48) => {
- "changed": false,
- "item": "gke-staging-elastic1-default-pool-22deddc1-8r48",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-elastic1-router1) => {
- "changed": false,
- "item": "staging-elastic1-router1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-infra1-default-pool-8d4c0198-lfgt) => {
- "changed": false,
- "item": "gke-staging-infra1-default-pool-8d4c0198-lfgt",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-gluster1-node1) => {
- "changed": false,
- "item": "staging-gluster1-node1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-gluster1-node2) => {
- "changed": false,
- "item": "staging-gluster1-node2",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-dvv1-default-pool-f19e2cad-p5l7) => {
- "changed": false,
- "item": "gke-loc-dvv1-default-pool-f19e2cad-p5l7",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-mgmt1-mgmt1) => {
- "changed": false,
- "item": "staging-mgmt1-mgmt1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-app1-nat) => {
- "changed": false,
- "item": "staging-app1-nat",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-cizar1-default-pool-a9bc997f-3lfv) => {
- "changed": false,
- "item": "gke-loc-cizar1-default-pool-a9bc997f-3lfv",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-dima1-default-pool-29316482-2vcs) => {
- "changed": false,
- "item": "gke-loc-dima1-default-pool-29316482-2vcs",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-scherepanov1-default-pool-1ad9dd6d-tktc) => {
- "changed": false,
- "item": "gke-loc-scherepanov1-default-pool-1ad9dd6d-tktc",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-app1-default-pool-1fd2f298-4rrj) => {
- "changed": false,
- "item": "gke-staging-app1-default-pool-1fd2f298-4rrj",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-app1-default-pool-1fd2f298-jcsc) => {
- "changed": false,
- "item": "gke-staging-app1-default-pool-1fd2f298-jcsc",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-jenkins1-default-pool-5ee033d8-n27n) => {
- "changed": false,
- "item": "gke-staging-jenkins1-default-pool-5ee033d8-n27n",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-vault1-default-pool-48f8b6a6-4vww) => {
- "changed": false,
- "item": "gke-staging-vault1-default-pool-48f8b6a6-4vww",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- creating host via 'add_host': hostname=staging-app1-proxy1
- changed: [localhost] => (item=staging-app1-proxy1) => {
- "add_host": {
- "groups": [
- "proxies"
- ],
- "host_name": "staging-app1-proxy1",
- "host_vars": {}
- },
- "changed": true,
- "invocation": {
- "module_args": {
- "groups": "proxies",
- "hostname": "staging-app1-proxy1"
- },
- "module_name": "add_host"
- },
- "item": "staging-app1-proxy1"
- }
- creating host via 'add_host': hostname=staging-app1-proxy2
- changed: [localhost] => (item=staging-app1-proxy2) => {
- "add_host": {
- "groups": [
- "proxies"
- ],
- "host_name": "staging-app1-proxy2",
- "host_vars": {}
- },
- "changed": true,
- "invocation": {
- "module_args": {
- "groups": "proxies",
- "hostname": "staging-app1-proxy2"
- },
- "module_name": "add_host"
- },
- "item": "staging-app1-proxy2"
- }
- skipping: [localhost] => (item=staging-vault1-router1) => {
- "changed": false,
- "item": "staging-vault1-router1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-alexandr1-default-pool-00c11fc3-g0xs) => {
- "changed": false,
- "item": "gke-loc-alexandr1-default-pool-00c11fc3-g0xs",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add proxy nodes to proxy group for non-isolated env] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:45
- skipping: [localhost] => (item=gke-staging-elastic1-default-pool-22deddc1-6x82) => {
- "changed": false,
- "item": "gke-staging-elastic1-default-pool-22deddc1-6x82",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-elastic1-default-pool-22deddc1-8r48) => {
- "changed": false,
- "item": "gke-staging-elastic1-default-pool-22deddc1-8r48",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-elastic1-router1) => {
- "changed": false,
- "item": "staging-elastic1-router1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-infra1-default-pool-8d4c0198-lfgt) => {
- "changed": false,
- "item": "gke-staging-infra1-default-pool-8d4c0198-lfgt",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-gluster1-node1) => {
- "changed": false,
- "item": "staging-gluster1-node1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-gluster1-node2) => {
- "changed": false,
- "item": "staging-gluster1-node2",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-dvv1-default-pool-f19e2cad-p5l7) => {
- "changed": false,
- "item": "gke-loc-dvv1-default-pool-f19e2cad-p5l7",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-mgmt1-mgmt1) => {
- "changed": false,
- "item": "staging-mgmt1-mgmt1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-app1-nat) => {
- "changed": false,
- "item": "staging-app1-nat",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-cizar1-default-pool-a9bc997f-3lfv) => {
- "changed": false,
- "item": "gke-loc-cizar1-default-pool-a9bc997f-3lfv",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-dima1-default-pool-29316482-2vcs) => {
- "changed": false,
- "item": "gke-loc-dima1-default-pool-29316482-2vcs",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-scherepanov1-default-pool-1ad9dd6d-tktc) => {
- "changed": false,
- "item": "gke-loc-scherepanov1-default-pool-1ad9dd6d-tktc",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-app1-default-pool-1fd2f298-4rrj) => {
- "changed": false,
- "item": "gke-staging-app1-default-pool-1fd2f298-4rrj",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-app1-default-pool-1fd2f298-jcsc) => {
- "changed": false,
- "item": "gke-staging-app1-default-pool-1fd2f298-jcsc",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-jenkins1-default-pool-5ee033d8-n27n) => {
- "changed": false,
- "item": "gke-staging-jenkins1-default-pool-5ee033d8-n27n",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-vault1-default-pool-48f8b6a6-4vww) => {
- "changed": false,
- "item": "gke-staging-vault1-default-pool-48f8b6a6-4vww",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-app1-proxy1) => {
- "changed": false,
- "item": "staging-app1-proxy1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-app1-proxy2) => {
- "changed": false,
- "item": "staging-app1-proxy2",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-vault1-router1) => {
- "changed": false,
- "item": "staging-vault1-router1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-alexandr1-default-pool-00c11fc3-g0xs) => {
- "changed": false,
- "item": "gke-loc-alexandr1-default-pool-00c11fc3-g0xs",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : get domain name] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:161
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud dns managed-zones describe oro-cloud-development | awk /^dnsName:/'{print substr($2,1,length($2)-1)}'",
- "delta": "0:00:01.003303",
- "end": "2017-04-05 12:26:52.213804",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud dns managed-zones describe oro-cloud-development | awk /^dnsName:/'{print substr($2,1,length($2)-1)}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:51.210501",
- "stderr": "",
- "stdout": "cloud-development.oroinc.com",
- "stdout_lines": [
- "cloud-development.oroinc.com"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : set_fact] *****************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:167
- ok: [localhost] => {
- "ansible_facts": {
- "domain": "cloud-development.oroinc.com"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "domain": "cloud-development.oroinc.com"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : set network name for isolated cluster] ************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:171
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_network_name": "staging-vault1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_network_name": "staging-vault1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : set network name for public cluster] **************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:176
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : find pre-existing networks for cluster] ***********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:181
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute networks subnets list --filter NAME=staging-vault1-subnet-main 2>/dev/null | awk '{ print $4 }' | tail -n1",
- "delta": "0:00:00.753858",
- "end": "2017-04-05 12:26:53.121844",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute networks subnets list --filter NAME=staging-vault1-subnet-main 2>/dev/null | awk '{ print $4 }' | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:52.367986",
- "stderr": "",
- "stdout": "10.20.0.0/15",
- "stdout_lines": [
- "10.20.0.0/15"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : register subnet for nodes] ************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:188
- ok: [localhost] => {
- "ansible_facts": {
- "node_subnet": "node_network_ouput.stdout"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "node_subnet": "node_network_ouput.stdout"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : extract second octet from node subnet] ************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:192
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_network_id": "stdout"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_network_id": "stdout"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : define a subnet for kubernetes] *******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:197
- ok: [localhost] => {
- "ansible_facts": {
- "kube_subnet": "10.2.0.0/15"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "kube_subnet": "10.2.0.0/15"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : define an aggregate subnet for cluster] ***********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:201
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_network": "node_network_ouput.stdout"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_network": "node_network_ouput.stdout"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get vpn ip for cluster] ***************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:205
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute addresses list | grep -E '^staging-vault1-vpngw' | awk '{ print $3 }'",
- "delta": "0:00:01.106009",
- "end": "2017-04-05 12:26:54.407229",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute addresses list | grep -E '^staging-vault1-vpngw' | awk '{ print $3 }'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:53.301220",
- "stderr": "",
- "stdout": "35.184.116.76",
- "stdout_lines": [
- "35.184.116.76"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : register vpn gw] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:210
- ok: [localhost] => {
- "ansible_facts": {
- "vpn_gw_ip": "35.184.116.76"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "vpn_gw_ip": "35.184.116.76"
- },
- "module_name": "set_fact"
- }
- }
- TASK [fail] ********************************************************************
- task path: /home/cizar/oro-cloud-ansible/router-node.yml:7
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- PLAY [create proxy node in gcloud] *********************************************
- TASK [setup] *******************************************************************
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/system/setup.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost]
- TASK [common/gcloud_sdk : Update local gcloud installation] ********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/gcloud_sdk/tasks/main.yml:2
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": [
- "~/google-cloud-sdk/bin/gcloud",
- "components",
- "update"
- ],
- "delta": "0:00:00.633484",
- "end": "2017-04-05 12:26:55.390759",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud components update",
- "_uses_shell": false,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:54.757275",
- "stderr": "\nAll components are up to date.",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- TASK [common/gcloud_sdk : Check your account] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/gcloud_sdk/tasks/main.yml:9
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": [
- "~/google-cloud-sdk/bin/gcloud",
- "config",
- "list"
- ],
- "delta": "0:00:00.198972",
- "end": "2017-04-05 12:26:55.679626",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config list",
- "_uses_shell": false,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:55.480654",
- "stderr": "\nYour active configuration is: [default]",
- "stdout": "[compute]\nregion = us-central1\nzone = us-central1-f\n[core]\naccount = dtarasenko@oroinc.com\ndisable_usage_reporting = True\nproject = oro-cloud-development",
- "stdout_lines": [
- "[compute]",
- "region = us-central1",
- "zone = us-central1-f",
- "[core]",
- "account = dtarasenko@oroinc.com",
- "disable_usage_reporting = True",
- "project = oro-cloud-development"
- ],
- "warnings": []
- }
- TASK [common/gcloud_sdk : Fail if account is not connected] ********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/gcloud_sdk/tasks/main.yml:15
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/gcloud_sdk : configuring] *****************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/gcloud_sdk/tasks/main.yml:19
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => (item=~/google-cloud-sdk/bin/gcloud config set project oro-cloud-development) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud config set project oro-cloud-development",
- "delta": "0:00:00.213710",
- "end": "2017-04-05 12:26:56.000912",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config set project oro-cloud-development",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "~/google-cloud-sdk/bin/gcloud config set project oro-cloud-development",
- "rc": 0,
- "start": "2017-04-05 12:26:55.787202",
- "stderr": "Updated property [core/project].",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => (item=~/google-cloud-sdk/bin/gcloud config set compute/region us-central1) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud config set compute/region us-central1",
- "delta": "0:00:00.218481",
- "end": "2017-04-05 12:26:56.289015",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config set compute/region us-central1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "~/google-cloud-sdk/bin/gcloud config set compute/region us-central1",
- "rc": 0,
- "start": "2017-04-05 12:26:56.070534",
- "stderr": "Updated property [compute/region].",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => (item=~/google-cloud-sdk/bin/gcloud config set compute/zone us-central1-f) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud config set compute/zone us-central1-f",
- "delta": "0:00:00.217589",
- "end": "2017-04-05 12:26:56.575675",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config set compute/zone us-central1-f",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "~/google-cloud-sdk/bin/gcloud config set compute/zone us-central1-f",
- "rc": 0,
- "start": "2017-04-05 12:26:56.358086",
- "stderr": "Updated property [compute/zone].",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => (item=~/google-cloud-sdk/bin/gcloud config list) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud config list",
- "delta": "0:00:00.197050",
- "end": "2017-04-05 12:26:56.843727",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config list",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "~/google-cloud-sdk/bin/gcloud config list",
- "rc": 0,
- "start": "2017-04-05 12:26:56.646677",
- "stderr": "\nYour active configuration is: [default]",
- "stdout": "[compute]\nregion = us-central1\nzone = us-central1-f\n[core]\naccount = dtarasenko@oroinc.com\ndisable_prompts = 1\ndisable_usage_reporting = True\nproject = oro-cloud-development",
- "stdout_lines": [
- "[compute]",
- "region = us-central1",
- "zone = us-central1-f",
- "[core]",
- "account = dtarasenko@oroinc.com",
- "disable_prompts = 1",
- "disable_usage_reporting = True",
- "project = oro-cloud-development"
- ],
- "warnings": []
- }
- TASK [common/router_node : validate router node] *******************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:4
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/router_node : mark router node as valid] **************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:11
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/router_node : get build_version] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:15
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router | awk {'print $1'} | sed 's/.*router//g' | sort -n | tail -n1",
- "delta": "0:00:03.872932",
- "end": "2017-04-05 12:27:00.850165",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router | awk {'print $1'} | sed 's/.*router//g' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:26:56.977233",
- "stderr": "",
- "stdout": "1",
- "stdout_lines": [
- "1"
- ],
- "warnings": []
- }
- TASK [common/router_node : increment build version] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:20
- ok: [localhost] => {
- "ansible_facts": {
- "build_version": "2"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "build_version": "2"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/router_node : set new router name] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:24
- ok: [localhost] => {
- "ansible_facts": {
- "router_node_name": "staging-vault1-router2"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "router_node_name": "staging-vault1-router2"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/router_node : prepare oro env vars] *******************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:29
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1491384420.94-137294133255646 `" && echo ansible-tmp-1491384420.94-137294133255646="` echo ~/.ansible/tmp/ansible-tmp-1491384420.94-137294133255646 `" ) && sleep 0'
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/stat.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- <127.0.0.1> PUT /tmp/tmpFy9shm TO /home/cizar/.ansible/tmp/ansible-tmp-1491384420.94-137294133255646/source
- <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/cizar/.ansible/tmp/ansible-tmp-1491384420.94-137294133255646/ /home/cizar/.ansible/tmp/ansible-tmp-1491384420.94-137294133255646/source && sleep 0'
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/copy.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/cizar/.ansible/tmp/ansible-tmp-1491384420.94-137294133255646/ > /dev/null 2>&1 && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "checksum": "96c36476efd2211c609d1c64437b9b5e62c821c2",
- "dest": "/tmp/kube-env",
- "gid": 1001,
- "group": "cizar",
- "invocation": {
- "module_args": {
- "backup": false,
- "content": null,
- "delimiter": null,
- "dest": "/tmp/kube-env",
- "directory_mode": null,
- "follow": true,
- "force": true,
- "group": null,
- "mode": null,
- "original_basename": "env.j2",
- "owner": null,
- "regexp": null,
- "remote_src": null,
- "selevel": null,
- "serole": null,
- "setype": null,
- "seuser": null,
- "src": "/home/cizar/.ansible/tmp/ansible-tmp-1491384420.94-137294133255646/source",
- "unsafe_writes": null,
- "validate": null
- }
- },
- "md5sum": "0c45cdbcaef2e43a7f7f2561332f9168",
- "mode": "0664",
- "owner": "cizar",
- "size": 252,
- "src": "/home/cizar/.ansible/tmp/ansible-tmp-1491384420.94-137294133255646/source",
- "state": "file",
- "uid": 1001
- }
- TASK [common/router_node : get default template name] **************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:35
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instance-templates list | grep staging-vault1 | grep -v dummy | awk {'print $1'} | tail -n1",
- "delta": "0:00:01.918721",
- "end": "2017-04-05 12:27:03.156674",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instance-templates list | grep staging-vault1 | grep -v dummy | awk {'print $1'} | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:27:01.237953",
- "stderr": "",
- "stdout": "gke-staging-vault1-default-pool-48f8b6a6",
- "stdout_lines": [
- "gke-staging-vault1-default-pool-48f8b6a6"
- ],
- "warnings": []
- }
- TASK [common/router_node : add default vars from instance template] ************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:41
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instance-templates describe gke-staging-vault1-default-pool-48f8b6a6 | sed '1,/key: kube-env/d;/key: startup-script/,$d' | sed 1d | sed '/kind: compute/,$d' |sed 's/^ //g' | sed 's/SALT_TAR_URL.*/SALT_TAR_URL: https:\\/\\/storage.googleapis.com\\/saltarch\\/kubernetes-salt-1.5.tar.gz/g' | sed 's/SALT_TAR_HASH.*/SALT_TAR_HASH: 220a69ff32fc51030fd7bd2f37fb55c413ad9688/g' >> /tmp/kube-env",
- "delta": "0:00:00.812306",
- "end": "2017-04-05 12:27:04.057662",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instance-templates describe gke-staging-vault1-default-pool-48f8b6a6 | sed '1,/key: kube-env/d;/key: startup-script/,$d' | sed 1d | sed '/kind: compute/,$d' |sed 's/^ //g' | sed 's/SALT_TAR_URL.*/SALT_TAR_URL: https:\\/\\/storage.googleapis.com\\/saltarch\\/kubernetes-salt-1.5.tar.gz/g' | sed 's/SALT_TAR_HASH.*/SALT_TAR_HASH: 220a69ff32fc51030fd7bd2f37fb55c413ad9688/g' >> /tmp/kube-env",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:27:03.245356",
- "stderr": "",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- TASK [common/router_node : copy startup-script] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:45
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/stat.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/file.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost] => {
- "changed": false,
- "checksum": "17d93612e27e6b11707be2d56857c39ae5e66007",
- "dest": "/tmp/startup-script",
- "diff": {
- "after": {
- "path": "/tmp/startup-script"
- },
- "before": {
- "path": "/tmp/startup-script"
- }
- },
- "gid": 0,
- "group": "root",
- "invocation": {
- "module_args": {
- "backup": null,
- "content": null,
- "delimiter": null,
- "dest": "/tmp/startup-script",
- "diff_peek": null,
- "directory_mode": null,
- "follow": false,
- "force": false,
- "group": null,
- "mode": null,
- "original_basename": "startup-script",
- "owner": null,
- "path": "/tmp/startup-script",
- "recurse": false,
- "regexp": null,
- "remote_src": null,
- "selevel": null,
- "serole": null,
- "setype": null,
- "seuser": null,
- "src": "startup-script",
- "state": null,
- "unsafe_writes": null,
- "validate": null
- }
- },
- "mode": "0777",
- "owner": "root",
- "path": "/tmp/startup-script",
- "size": 31059,
- "state": "file",
- "uid": 0
- }
- TASK [common/router_node : set router name] ************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:52
- ok: [localhost] => {
- "ansible_facts": {
- "_raw_params": "router_node_name = 'staging-vault1-router'"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "_raw_params": "router_node_name = 'staging-vault1-router'"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/router_node : create router node in isolation cluster] ************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:55
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud --quiet beta compute instances create staging-vault1-router2 --machine-type n1-highcpu-8 --boot-disk-size 100GB --image container-vm --metadata-from-file startup-script=\"/tmp/startup-script,kube-env=/tmp/kube-env\" --tags router --zone us-central1-f --can-ip-forward --subnet=staging-vault1-subnet-main",
- "delta": "0:00:24.377019",
- "end": "2017-04-05 12:27:28.781881",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud --quiet beta compute instances create staging-vault1-router2 --machine-type n1-highcpu-8 --boot-disk-size 100GB --image container-vm --metadata-from-file startup-script=\"/tmp/startup-script,kube-env=/tmp/kube-env\" --tags router --zone us-central1-f --can-ip-forward --subnet=staging-vault1-subnet-main",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:27:04.404862",
- "stderr": "WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more information, see: https://developers.google.com/compute/docs/disks#pdperformance.\nWARNING: Image aliases are deprecated and will be removed in a future version. Please use --image-family=container-vm and --image-project=google-containers instead.\nCreated [https://www.googleapis.com/compute/beta/projects/oro-cloud-development/zones/us-central1-f/instances/staging-vault1-router2].",
- "stdout": "NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS\nstaging-vault1-router2 us-central1-f n1-highcpu-8 10.20.0.4 130.211.127.120 RUNNING",
- "stdout_lines": [
- "NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS",
- "staging-vault1-router2 us-central1-f n1-highcpu-8 10.20.0.4 130.211.127.120 RUNNING"
- ],
- "warnings": []
- }
- TASK [common/router_node : get router node ip] *********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:60
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router2 | awk {'print $5'}",
- "delta": "0:00:01.804231",
- "end": "2017-04-05 12:27:30.676074",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router2 | awk {'print $5'}",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:27:28.871843",
- "stderr": "",
- "stdout": "130.211.127.120",
- "stdout_lines": [
- "130.211.127.120"
- ],
- "warnings": []
- }
- TASK [common/router_node : get router node internal ip] ************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:66
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router2 | awk {'print $4'}",
- "delta": "0:00:01.789643",
- "end": "2017-04-05 12:27:32.554576",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router2 | awk {'print $4'}",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:27:30.764933",
- "stderr": "",
- "stdout": "10.20.0.4",
- "stdout_lines": [
- "10.20.0.4"
- ],
- "warnings": []
- }
- TASK [common/router_node : wait for router node to boot] ***********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:72
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/utilities/logic/wait_for.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost] => {
- "changed": false,
- "elapsed": 9,
- "invocation": {
- "module_args": {
- "connect_timeout": 5,
- "delay": 0,
- "exclude_hosts": null,
- "host": "130.211.127.120",
- "path": null,
- "port": 22,
- "search_regex": null,
- "state": "started",
- "timeout": 300
- },
- "module_name": "wait_for"
- },
- "path": null,
- "port": 22,
- "search_regex": null,
- "state": "started"
- }
- TASK [common/router_node : add router to inventory] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:78
- creating host via 'add_host': hostname=staging-vault1-router2
- changed: [localhost] => {
- "add_host": {
- "groups": [
- "proxies"
- ],
- "host_name": "staging-vault1-router2",
- "host_vars": {
- "ansible_host": "130.211.127.120",
- "ansible_ssh_private_key_file": "/home/cizar/.ssh/google_compute_engine"
- }
- },
- "changed": true,
- "invocation": {
- "module_args": {
- "ansible_host": "130.211.127.120",
- "ansible_ssh_private_key_file": "/home/cizar/.ssh/google_compute_engine",
- "groups": "proxies",
- "hostname": "staging-vault1-router2"
- },
- "module_name": "add_host"
- }
- }
- TASK [common/router_node : route external traffic to kubernetes services through router node] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:86
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- fatal: [localhost]: FAILED! => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute routes create 'staging-vault1-kube' --network staging-vault1 --next-hop-instance staging-vault1-router2 --destination-range 10.2.0.0/15 --priority 2000",
- "delta": "0:00:00.622250",
- "end": "2017-04-05 12:27:42.605276",
- "failed": true,
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute routes create 'staging-vault1-kube' --network staging-vault1 --next-hop-instance staging-vault1-router2 --destination-range 10.2.0.0/15 --priority 2000",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 1,
- "start": "2017-04-05 12:27:41.983026",
- "stderr": "ERROR: (gcloud.compute.routes.create) Some requests did not succeed:\n - The resource 'projects/oro-cloud-development/global/routes/staging-vault1-kube' already exists",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- to retry, use: --limit @/home/cizar/oro-cloud-ansible/router-node.retry
- PLAY RECAP *********************************************************************
- localhost : ok=52 changed=24 unreachable=0 failed=1
- cizar@castle:~/oro-cloud-ansible$
- cizar@castle:~/oro-cloud-ansible$
- cizar@castle:~/oro-cloud-ansible$
- cizar@castle:~/oro-cloud-ansible$
- cizar@castle:~/oro-cloud-ansible$
- cizar@castle:~/oro-cloud-ansible$
- cizar@castle:~/oro-cloud-ansible$ ansible-playbook -e "env=staging-vault1" router-node.yml -vvv
- [WARNING]: log file at ansible.log is not writeable and we cannot create it, aborting
- Using /home/cizar/oro-cloud-ansible/ansible.cfg as config file
- statically included: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml
- statically included: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml
- PLAYBOOK: router-node.yml ******************************************************
- 2 plays in router-node.yml
- PLAY [rebuild inventory] *******************************************************
- TASK [setup] *******************************************************************
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/system/setup.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost]
- TASK [common/dyn_inventory : check group_vars presence] ************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:3
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/stat.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost] => {
- "changed": false,
- "invocation": {
- "module_args": {
- "checksum_algorithm": "sha1",
- "follow": false,
- "get_checksum": true,
- "get_md5": true,
- "mime": false,
- "path": "group_vars"
- },
- "module_name": "stat"
- },
- "stat": {
- "atime": 1491383013.948659,
- "ctime": 1491382261.3109255,
- "dev": 2066,
- "executable": true,
- "exists": true,
- "gid": 1001,
- "gr_name": "cizar",
- "inode": 3414086,
- "isblk": false,
- "ischr": false,
- "isdir": true,
- "isfifo": false,
- "isgid": false,
- "islnk": false,
- "isreg": false,
- "issock": false,
- "isuid": false,
- "mode": "0775",
- "mtime": 1491382261.3109255,
- "nlink": 2,
- "path": "group_vars",
- "pw_name": "cizar",
- "readable": true,
- "rgrp": true,
- "roth": true,
- "rusr": true,
- "size": 4096,
- "uid": 1001,
- "wgrp": true,
- "woth": false,
- "writeable": true,
- "wusr": true,
- "xgrp": true,
- "xoth": true,
- "xusr": true
- }
- }
- TASK [common/dyn_inventory : fail] *********************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:8
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : include group_vars] *******************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:11
- ok: [localhost] => {
- "ansible_facts": {
- "EmailPass": "OroInc12",
- "EmailUser": "service@oroinc.com",
- "allow_destination": [
- {
- "port": "all",
- "proto": "TCP"
- },
- {
- "port": "all",
- "proto": "UDP"
- }
- ],
- "allow_incoming": [
- {
- "port": "all",
- "proto": "TCP"
- },
- {
- "port": "all",
- "proto": "UDP"
- }
- ],
- "cloud_install": false,
- "credentials_file": "{{ project_name }}.json",
- "datadog_api_key": "d629a6affce622c81101c06eaebe56b9",
- "env": "local",
- "forwarding_rules": [
- {
- "port": 500,
- "proto": "UDP"
- },
- {
- "port": 4500,
- "proto": "UDP"
- }
- ],
- "gcloud_account": "~/account.json",
- "gcloud_command": "{{ gcloud_path }}/bin/gcloud",
- "gcloud_compute_region": "us-central1",
- "gcloud_compute_zone": "us-central1-f",
- "gcloud_log": "/tmp/gcloud.log",
- "gcloud_path": "~/google-cloud-sdk",
- "gcloud_project_name": "oro-cloud-development",
- "gke_machine_type": "n1-highcpu-8",
- "gluster_server_ip": "10.40.0.4",
- "images_list": [
- {
- "img": "ubuntu",
- "rebuild": true,
- "tag": "14.04-{{ root_version }}"
- },
- {
- "img": "service-root",
- "rebuild": true,
- "tag": "1.0"
- },
- {
- "img": "builder-bap-standard",
- "rebuild": true,
- "tag": "1.6.2"
- },
- {
- "img": "deployer-bap-standard",
- "rebuild": true,
- "tag": "1.6.2"
- },
- {
- "img": "builder-bap-monolithic",
- "rebuild": true,
- "tag": "1.6.2"
- },
- {
- "img": "deployer-bap-monolithic",
- "rebuild": true,
- "tag": "1.6.2"
- },
- {
- "img": "destroyer",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "elasticsearch",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "redis",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "archiver",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "fluentd-gcp",
- "rebuild": false,
- "tag": "1.18"
- },
- {
- "img": "clone",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "vault",
- "rebuild": true,
- "tag": "0.6.2"
- },
- {
- "img": "es-cluster",
- "rebuild": true,
- "tag": "1.0.0"
- },
- {
- "img": "rabbitmq",
- "rebuild": true,
- "tag": "3.6.6-management"
- },
- {
- "img": "consul",
- "rebuild": true,
- "tag": "0.7.4"
- },
- {
- "img": "jenkins",
- "rebuild": true,
- "tag": "2.32.2"
- }
- ],
- "isolation": true,
- "kubectl_command": "{{ gcloud_path }}/bin/kubectl",
- "kubernetes_salt_bucket": "saltarch",
- "kubernetes_salt_download_host": "storage.googleapis.com",
- "local_install": false,
- "maximum_subnet": "10.124.0.0/15",
- "mgmt_instance_ip": "",
- "mgmt_instance_name": "",
- "minimum_subnet": "10.12.0.0/15",
- "num_nodes": 1,
- "project_name": "oro-cloud-development",
- "proxy_webserver": "apache2",
- "root_version": 1.6,
- "salt_tar_hash": "220a69ff32fc51030fd7bd2f37fb55c413ad9688",
- "salt_tar_url": "https:\\/\\/{{kubernetes_salt_download_host}}\\/{{ kubernetes_salt_bucket }}\\/kubernetes-salt-1.5.tar.gz",
- "service_account_path": "/vagrant/bin/kubernetes/serviceaccount.yaml",
- "service_clusters": [
- "vault",
- "elastic",
- "gluster",
- "rabbit",
- "app",
- "mgmt"
- ],
- "service_container_pool": "{{ cluster_name.stdout }}",
- "service_email": "account-61@oro-cloud-development.iam.gserviceaccount.com",
- "service_key_path": "/tmp/account.p12",
- "service_mail": "service_mail",
- "sql_instance_ip": "",
- "sql_instance_name": "",
- "srv_container_pool": "{{ env }}",
- "vpn_pass_type": "random"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "_raw_params": "group_vars/all.yml"
- },
- "module_name": "include_vars"
- }
- }
- TASK [common/dyn_inventory : Interrupt operations when using production project without confirmation] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:15
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : check inventory presence] *************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:20
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/stat.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost] => {
- "changed": false,
- "invocation": {
- "module_args": {
- "checksum_algorithm": "sha1",
- "follow": false,
- "get_checksum": true,
- "get_md5": true,
- "mime": false,
- "path": "inventory"
- },
- "module_name": "stat"
- },
- "stat": {
- "atime": 1491384386.1168716,
- "ctime": 1491383005.5005498,
- "dev": 2066,
- "executable": true,
- "exists": true,
- "gid": 1001,
- "gr_name": "cizar",
- "inode": 3414416,
- "isblk": false,
- "ischr": false,
- "isdir": true,
- "isfifo": false,
- "isgid": false,
- "islnk": false,
- "isreg": false,
- "issock": false,
- "isuid": false,
- "mode": "0775",
- "mtime": 1491383005.5005498,
- "nlink": 2,
- "path": "inventory",
- "pw_name": "cizar",
- "readable": true,
- "rgrp": true,
- "roth": true,
- "rusr": true,
- "size": 4096,
- "uid": 1001,
- "wgrp": true,
- "woth": false,
- "writeable": true,
- "wusr": true,
- "xgrp": true,
- "xoth": true,
- "xusr": true
- }
- }
- TASK [common/dyn_inventory : fail] *********************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:25
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : change project] ***********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:28
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud config set project oro-cloud-development",
- "delta": "0:00:00.207378",
- "end": "2017-04-05 12:41:03.237144",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud config set project oro-cloud-development",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:03.029766",
- "stderr": "Updated property [core/project].",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- TASK [common/dyn_inventory : define cluster env name for new env] **************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:31
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_envname": "staging-vault1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_envname": "staging-vault1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : define environment name for service clusters] *****
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:36
- ok: [localhost] => {
- "ansible_facts": {
- "env_name": "staging"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "env_name": "staging"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : find available service clusters] ******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:40
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=vault) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-vault[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.038451",
- "end": "2017-04-05 12:41:04.402857",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-vault[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "vault",
- "rc": 0,
- "start": "2017-04-05 12:41:03.364406",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-vault1",
- "stdout_lines": [
- "staging-vault1"
- ],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=elastic) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-elastic[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.207565",
- "end": "2017-04-05 12:41:05.677055",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-elastic[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "elastic",
- "rc": 0,
- "start": "2017-04-05 12:41:04.469490",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-elastic1",
- "stdout_lines": [
- "staging-elastic1"
- ],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=gluster) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-gluster[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.003286",
- "end": "2017-04-05 12:41:06.747048",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-gluster[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "gluster",
- "rc": 0,
- "start": "2017-04-05 12:41:05.743762",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-gluster1",
- "stdout_lines": [
- "staging-gluster1"
- ],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=rabbit) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-rabbit[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.021701",
- "end": "2017-04-05 12:41:07.835102",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-rabbit[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "rabbit",
- "rc": 0,
- "start": "2017-04-05 12:41:06.813401",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=app) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-app[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.388005",
- "end": "2017-04-05 12:41:09.291967",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-app[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "app",
- "rc": 0,
- "start": "2017-04-05 12:41:07.903962",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-app1",
- "stdout_lines": [
- "staging-app1"
- ],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => (item=mgmt) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-mgmt[0-9][0-9]*$' | sort -n | tail -n1",
- "delta": "0:00:01.044633",
- "end": "2017-04-05 12:41:10.400987",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters list | awk {'print $1'} | grep -E '^staging-mgmt[0-9][0-9]*$' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "mgmt",
- "rc": 0,
- "start": "2017-04-05 12:41:09.356354",
- "stderr": "\n* - There is an upgrade available for your cluster(s).\n\nTo upgrade nodes to the latest available version, run\n $ gcloud container clusters upgrade NAME",
- "stdout": "staging-mgmt1",
- "stdout_lines": [
- "staging-mgmt1"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : register available service clusters] **************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:48
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- skipping: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- ok: [localhost] => (item=(censored due to no_log)) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
- TASK [common/dyn_inventory : get latest used gke cluster name for local_env env] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:54
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : define a gke cluster name to validate for local env] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:59
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : define a gke cluster name to validate for cloud env] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:63
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_for_validation": "staging-vault1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_for_validation": "staging-vault1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : validate preconfigured cluster] *******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:67
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud container clusters describe staging-vault1 | grep currentNodeCount | awk '{print $2}'",
- "delta": "0:00:00.696939",
- "end": "2017-04-05 12:41:11.299638",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud container clusters describe staging-vault1 | grep currentNodeCount | awk '{print $2}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:10.602699",
- "stderr": "",
- "stdout": "2",
- "stdout_lines": [
- "2"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : mark existing cluster as valid] *******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:72
- ok: [localhost] => {
- "ansible_facts": {
- "reuse_cluster": true
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "reuse_cluster": "true"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : register a build version supplied via command line if it contained numbers] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:81
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "echo staging-vault1 | sed 's/.*[^0-9]//g'",
- "delta": "0:00:00.001977",
- "end": "2017-04-05 12:41:11.405582",
- "invocation": {
- "module_args": {
- "_raw_params": "echo staging-vault1 | sed 's/.*[^0-9]//g'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:11.403605",
- "stderr": "",
- "stdout": "1",
- "stdout_lines": [
- "1"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : save a version supplied via command line as build_version if it contained numbers] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:86
- ok: [localhost] => {
- "ansible_facts": {
- "predefined_build_version": "1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "predefined_build_version": "1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get build_version] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:91
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : increment build version] **************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:97
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : force user-supplied build_version] ***************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:102
- ok: [localhost] => {
- "ansible_facts": {
- "build_version": "1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "build_version": "1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : strip existing build version from cluster name] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:107
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : set new cluster name] *****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:111
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : reuse existing cluster name] **********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:115
- ok: [localhost] => {
- "ansible_facts": {
- "full_cluster_name": "staging-vault1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "full_cluster_name": "staging-vault1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get instance_group] *******************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:119
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instance-groups list | awk '/^gke-staging-vault1/{print $1}'",
- "delta": "0:00:01.473184",
- "end": "2017-04-05 12:41:13.094293",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instance-groups list | awk '/^gke-staging-vault1/{print $1}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:11.621109",
- "stderr": "",
- "stdout": "gke-staging-vault1-default-pool-48f8b6a6-grp",
- "stdout_lines": [
- "gke-staging-vault1-default-pool-48f8b6a6-grp"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : define instance group] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:124
- ok: [localhost] => {
- "ansible_facts": {
- "instance_group": "gke-staging-vault1-default-pool-48f8b6a6-grp"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "instance_group": "gke-staging-vault1-default-pool-48f8b6a6-grp"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get instance_zone] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:128
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instance-groups list | awk '/^gke-staging-vault1/{print $2}'",
- "delta": "0:00:01.444262",
- "end": "2017-04-05 12:41:14.643531",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instance-groups list | awk '/^gke-staging-vault1/{print $2}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:13.199269",
- "stderr": "",
- "stdout": "us-central1-f",
- "stdout_lines": [
- "us-central1-f"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : define instance zone] *****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:133
- ok: [localhost] => {
- "ansible_facts": {
- "instance_zone": "us-central1-f"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "instance_zone": "us-central1-f"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get instance in group] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:137
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instance-groups list-instances gke-staging-vault1-default-pool-48f8b6a6-grp --zone=us-central1-f | awk '/staging-vault1/{print $1}'",
- "delta": "0:00:00.630370",
- "end": "2017-04-05 12:41:15.379111",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instance-groups list-instances gke-staging-vault1-default-pool-48f8b6a6-grp --zone=us-central1-f | awk '/staging-vault1/{print $1}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:14.748741",
- "stderr": "",
- "stdout": "gke-staging-vault1-default-pool-48f8b6a6-4vww",
- "stdout_lines": [
- "gke-staging-vault1-default-pool-48f8b6a6-4vww"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : define a name of first available gcloud instance] *
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:148
- ok: [localhost] => {
- "ansible_facts": {
- "gcloud_node": "gke-staging-vault1-default-pool-48f8b6a6-4vww"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "gcloud_node": "gke-staging-vault1-default-pool-48f8b6a6-4vww"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : locate vagrant variables dir] *********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:3
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : set vagrant inventory path] ***********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:7
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : Get Vagrant hosts] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:10
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : save vagrant ip] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:30
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add vagrant VM as mgmt-node to inventory] *********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:34
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add mgmt-node as proxy] ***************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/local-inventory.yml:41
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : get mgmt IP for new env] **************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:3
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instances list | awk '/^staging-mgmt1-mgmt/{print $5}' | tail -n1",
- "delta": "0:00:01.247408",
- "end": "2017-04-05 12:41:16.849587",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instances list | awk '/^staging-mgmt1-mgmt/{print $5}' | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:15.602179",
- "stderr": "",
- "stdout": "vCPU,",
- "stdout_lines": [
- "vCPU,"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : get mgmt IP for older non-isolated env] ***********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:8
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : get proxy IP for new env] *************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:13
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud --quiet compute instances list | awk '/^staging-app1-proxy/{print $5}' | tail -n1",
- "delta": "0:00:01.159349",
- "end": "2017-04-05 12:41:18.118493",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud --quiet compute instances list | awk '/^staging-app1-proxy/{print $5}' | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:16.959144",
- "stderr": "",
- "stdout": "35.184.209.77",
- "stdout_lines": [
- "35.184.209.77"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : get proxy IP for older non-isolated env] *********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:18
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add mgmt to inventory] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:23
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add proxy to inventory] ***************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:30
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add proxy nodes to proxy group] *******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:37
- skipping: [localhost] => (item=gke-staging-elastic1-default-pool-22deddc1-6x82) => {
- "changed": false,
- "item": "gke-staging-elastic1-default-pool-22deddc1-6x82",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-elastic1-default-pool-22deddc1-8r48) => {
- "changed": false,
- "item": "gke-staging-elastic1-default-pool-22deddc1-8r48",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-elastic1-router1) => {
- "changed": false,
- "item": "staging-elastic1-router1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-infra1-default-pool-8d4c0198-lfgt) => {
- "changed": false,
- "item": "gke-staging-infra1-default-pool-8d4c0198-lfgt",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-gluster1-node1) => {
- "changed": false,
- "item": "staging-gluster1-node1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-gluster1-node2) => {
- "changed": false,
- "item": "staging-gluster1-node2",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-dvv1-default-pool-f19e2cad-p5l7) => {
- "changed": false,
- "item": "gke-loc-dvv1-default-pool-f19e2cad-p5l7",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-mgmt1-mgmt1) => {
- "changed": false,
- "item": "staging-mgmt1-mgmt1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-app1-nat) => {
- "changed": false,
- "item": "staging-app1-nat",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-cizar1-default-pool-a9bc997f-3lfv) => {
- "changed": false,
- "item": "gke-loc-cizar1-default-pool-a9bc997f-3lfv",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-dima1-default-pool-29316482-2vcs) => {
- "changed": false,
- "item": "gke-loc-dima1-default-pool-29316482-2vcs",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-scherepanov1-default-pool-1ad9dd6d-tktc) => {
- "changed": false,
- "item": "gke-loc-scherepanov1-default-pool-1ad9dd6d-tktc",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-app1-default-pool-1fd2f298-4rrj) => {
- "changed": false,
- "item": "gke-staging-app1-default-pool-1fd2f298-4rrj",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-app1-default-pool-1fd2f298-jcsc) => {
- "changed": false,
- "item": "gke-staging-app1-default-pool-1fd2f298-jcsc",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-jenkins1-default-pool-5ee033d8-n27n) => {
- "changed": false,
- "item": "gke-staging-jenkins1-default-pool-5ee033d8-n27n",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-vault1-default-pool-48f8b6a6-4vww) => {
- "changed": false,
- "item": "gke-staging-vault1-default-pool-48f8b6a6-4vww",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- creating host via 'add_host': hostname=staging-app1-proxy1
- changed: [localhost] => (item=staging-app1-proxy1) => {
- "add_host": {
- "groups": [
- "proxies"
- ],
- "host_name": "staging-app1-proxy1",
- "host_vars": {}
- },
- "changed": true,
- "invocation": {
- "module_args": {
- "groups": "proxies",
- "hostname": "staging-app1-proxy1"
- },
- "module_name": "add_host"
- },
- "item": "staging-app1-proxy1"
- }
- creating host via 'add_host': hostname=staging-app1-proxy2
- changed: [localhost] => (item=staging-app1-proxy2) => {
- "add_host": {
- "groups": [
- "proxies"
- ],
- "host_name": "staging-app1-proxy2",
- "host_vars": {}
- },
- "changed": true,
- "invocation": {
- "module_args": {
- "groups": "proxies",
- "hostname": "staging-app1-proxy2"
- },
- "module_name": "add_host"
- },
- "item": "staging-app1-proxy2"
- }
- skipping: [localhost] => (item=staging-vault1-router2) => {
- "changed": false,
- "item": "staging-vault1-router2",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-alexandr1-default-pool-00c11fc3-g0xs) => {
- "changed": false,
- "item": "gke-loc-alexandr1-default-pool-00c11fc3-g0xs",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : add proxy nodes to proxy group for non-isolated env] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/cloud-inventory.yml:45
- skipping: [localhost] => (item=gke-staging-elastic1-default-pool-22deddc1-6x82) => {
- "changed": false,
- "item": "gke-staging-elastic1-default-pool-22deddc1-6x82",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-elastic1-default-pool-22deddc1-8r48) => {
- "changed": false,
- "item": "gke-staging-elastic1-default-pool-22deddc1-8r48",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-elastic1-router1) => {
- "changed": false,
- "item": "staging-elastic1-router1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-infra1-default-pool-8d4c0198-lfgt) => {
- "changed": false,
- "item": "gke-staging-infra1-default-pool-8d4c0198-lfgt",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-gluster1-node1) => {
- "changed": false,
- "item": "staging-gluster1-node1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-gluster1-node2) => {
- "changed": false,
- "item": "staging-gluster1-node2",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-dvv1-default-pool-f19e2cad-p5l7) => {
- "changed": false,
- "item": "gke-loc-dvv1-default-pool-f19e2cad-p5l7",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-mgmt1-mgmt1) => {
- "changed": false,
- "item": "staging-mgmt1-mgmt1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-app1-nat) => {
- "changed": false,
- "item": "staging-app1-nat",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-cizar1-default-pool-a9bc997f-3lfv) => {
- "changed": false,
- "item": "gke-loc-cizar1-default-pool-a9bc997f-3lfv",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-dima1-default-pool-29316482-2vcs) => {
- "changed": false,
- "item": "gke-loc-dima1-default-pool-29316482-2vcs",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-scherepanov1-default-pool-1ad9dd6d-tktc) => {
- "changed": false,
- "item": "gke-loc-scherepanov1-default-pool-1ad9dd6d-tktc",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-app1-default-pool-1fd2f298-4rrj) => {
- "changed": false,
- "item": "gke-staging-app1-default-pool-1fd2f298-4rrj",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-app1-default-pool-1fd2f298-jcsc) => {
- "changed": false,
- "item": "gke-staging-app1-default-pool-1fd2f298-jcsc",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-jenkins1-default-pool-5ee033d8-n27n) => {
- "changed": false,
- "item": "gke-staging-jenkins1-default-pool-5ee033d8-n27n",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-staging-vault1-default-pool-48f8b6a6-4vww) => {
- "changed": false,
- "item": "gke-staging-vault1-default-pool-48f8b6a6-4vww",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-app1-proxy1) => {
- "changed": false,
- "item": "staging-app1-proxy1",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-app1-proxy2) => {
- "changed": false,
- "item": "staging-app1-proxy2",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=staging-vault1-router2) => {
- "changed": false,
- "item": "staging-vault1-router2",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- skipping: [localhost] => (item=gke-loc-alexandr1-default-pool-00c11fc3-g0xs) => {
- "changed": false,
- "item": "gke-loc-alexandr1-default-pool-00c11fc3-g0xs",
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : get domain name] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:161
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "gcloud dns managed-zones describe oro-cloud-development | awk /^dnsName:/'{print substr($2,1,length($2)-1)}'",
- "delta": "0:00:01.005426",
- "end": "2017-04-05 12:41:19.619651",
- "invocation": {
- "module_args": {
- "_raw_params": "gcloud dns managed-zones describe oro-cloud-development | awk /^dnsName:/'{print substr($2,1,length($2)-1)}'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:18.614225",
- "stderr": "",
- "stdout": "cloud-development.oroinc.com",
- "stdout_lines": [
- "cloud-development.oroinc.com"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : set_fact] *****************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:167
- ok: [localhost] => {
- "ansible_facts": {
- "domain": "cloud-development.oroinc.com"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "domain": "cloud-development.oroinc.com"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : set network name for isolated cluster] ************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:171
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_network_name": "staging-vault1"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_network_name": "staging-vault1"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : set network name for public cluster] **************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:176
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/dyn_inventory : find pre-existing networks for cluster] ***********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:181
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute networks subnets list --filter NAME=staging-vault1-subnet-main 2>/dev/null | awk '{ print $4 }' | tail -n1",
- "delta": "0:00:00.827690",
- "end": "2017-04-05 12:41:20.588736",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute networks subnets list --filter NAME=staging-vault1-subnet-main 2>/dev/null | awk '{ print $4 }' | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:19.761046",
- "stderr": "",
- "stdout": "10.20.0.0/15",
- "stdout_lines": [
- "10.20.0.0/15"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : register subnet for nodes] ************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:188
- ok: [localhost] => {
- "ansible_facts": {
- "node_subnet": "node_network_ouput.stdout"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "node_subnet": "node_network_ouput.stdout"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : extract second octet from node subnet] ************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:192
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_network_id": "stdout"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_network_id": "stdout"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : define a subnet for kubernetes] *******************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:197
- ok: [localhost] => {
- "ansible_facts": {
- "kube_subnet": "10.2.0.0/15"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "kube_subnet": "10.2.0.0/15"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : define an aggregate subnet for cluster] ***********
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:201
- ok: [localhost] => {
- "ansible_facts": {
- "cluster_network": "node_network_ouput.stdout"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "cluster_network": "node_network_ouput.stdout"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/dyn_inventory : get vpn ip for cluster] ***************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:205
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute addresses list | grep -E '^staging-vault1-vpngw' | awk '{ print $3 }'",
- "delta": "0:00:01.230062",
- "end": "2017-04-05 12:41:21.991536",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute addresses list | grep -E '^staging-vault1-vpngw' | awk '{ print $3 }'",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:20.761474",
- "stderr": "",
- "stdout": "35.184.116.76",
- "stdout_lines": [
- "35.184.116.76"
- ],
- "warnings": []
- }
- TASK [common/dyn_inventory : register vpn gw] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/dyn_inventory/tasks/main.yml:210
- ok: [localhost] => {
- "ansible_facts": {
- "vpn_gw_ip": "35.184.116.76"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "vpn_gw_ip": "35.184.116.76"
- },
- "module_name": "set_fact"
- }
- }
- TASK [fail] ********************************************************************
- task path: /home/cizar/oro-cloud-ansible/router-node.yml:7
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- PLAY [create proxy node in gcloud] *********************************************
- TASK [setup] *******************************************************************
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/system/setup.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost]
- TASK [common/gcloud_sdk : Update local gcloud installation] ********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/gcloud_sdk/tasks/main.yml:2
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": [
- "~/google-cloud-sdk/bin/gcloud",
- "components",
- "update"
- ],
- "delta": "0:00:00.496467",
- "end": "2017-04-05 12:41:22.821662",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud components update",
- "_uses_shell": false,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:22.325195",
- "stderr": "\nAll components are up to date.",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- TASK [common/gcloud_sdk : Check your account] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/gcloud_sdk/tasks/main.yml:9
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": [
- "~/google-cloud-sdk/bin/gcloud",
- "config",
- "list"
- ],
- "delta": "0:00:00.193077",
- "end": "2017-04-05 12:41:23.103220",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config list",
- "_uses_shell": false,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:22.910143",
- "stderr": "\nYour active configuration is: [default]",
- "stdout": "[compute]\nregion = us-central1\nzone = us-central1-f\n[core]\naccount = dtarasenko@oroinc.com\ndisable_usage_reporting = True\nproject = oro-cloud-development",
- "stdout_lines": [
- "[compute]",
- "region = us-central1",
- "zone = us-central1-f",
- "[core]",
- "account = dtarasenko@oroinc.com",
- "disable_usage_reporting = True",
- "project = oro-cloud-development"
- ],
- "warnings": []
- }
- TASK [common/gcloud_sdk : Fail if account is not connected] ********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/gcloud_sdk/tasks/main.yml:15
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/gcloud_sdk : configuring] *****************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/gcloud_sdk/tasks/main.yml:19
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => (item=~/google-cloud-sdk/bin/gcloud config set project oro-cloud-development) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud config set project oro-cloud-development",
- "delta": "0:00:00.206687",
- "end": "2017-04-05 12:41:23.415992",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config set project oro-cloud-development",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "~/google-cloud-sdk/bin/gcloud config set project oro-cloud-development",
- "rc": 0,
- "start": "2017-04-05 12:41:23.209305",
- "stderr": "Updated property [core/project].",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => (item=~/google-cloud-sdk/bin/gcloud config set compute/region us-central1) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud config set compute/region us-central1",
- "delta": "0:00:00.206808",
- "end": "2017-04-05 12:41:23.689352",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config set compute/region us-central1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "~/google-cloud-sdk/bin/gcloud config set compute/region us-central1",
- "rc": 0,
- "start": "2017-04-05 12:41:23.482544",
- "stderr": "Updated property [compute/region].",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => (item=~/google-cloud-sdk/bin/gcloud config set compute/zone us-central1-f) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud config set compute/zone us-central1-f",
- "delta": "0:00:00.207926",
- "end": "2017-04-05 12:41:23.963304",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config set compute/zone us-central1-f",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "~/google-cloud-sdk/bin/gcloud config set compute/zone us-central1-f",
- "rc": 0,
- "start": "2017-04-05 12:41:23.755378",
- "stderr": "Updated property [compute/zone].",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> EXEC /bin/sh -c 'CLOUDSDK_CORE_DISABLE_PROMPTS=1 /usr/bin/python && sleep 0'
- changed: [localhost] => (item=~/google-cloud-sdk/bin/gcloud config list) => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud config list",
- "delta": "0:00:00.191725",
- "end": "2017-04-05 12:41:24.220845",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud config list",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": "~/google-cloud-sdk/bin/gcloud config list",
- "rc": 0,
- "start": "2017-04-05 12:41:24.029120",
- "stderr": "\nYour active configuration is: [default]",
- "stdout": "[compute]\nregion = us-central1\nzone = us-central1-f\n[core]\naccount = dtarasenko@oroinc.com\ndisable_prompts = 1\ndisable_usage_reporting = True\nproject = oro-cloud-development",
- "stdout_lines": [
- "[compute]",
- "region = us-central1",
- "zone = us-central1-f",
- "[core]",
- "account = dtarasenko@oroinc.com",
- "disable_prompts = 1",
- "disable_usage_reporting = True",
- "project = oro-cloud-development"
- ],
- "warnings": []
- }
- TASK [common/router_node : validate router node] *******************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:4
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/router_node : mark router node as valid] **************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:11
- skipping: [localhost] => {
- "changed": false,
- "skip_reason": "Conditional check failed",
- "skipped": true
- }
- TASK [common/router_node : get build_version] **********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:15
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router | awk {'print $1'} | sed 's/.*router//g' | sort -n | tail -n1",
- "delta": "0:00:01.165760",
- "end": "2017-04-05 12:41:25.514360",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router | awk {'print $1'} | sed 's/.*router//g' | sort -n | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:24.348600",
- "stderr": "",
- "stdout": "2",
- "stdout_lines": [
- "2"
- ],
- "warnings": []
- }
- TASK [common/router_node : increment build version] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:20
- ok: [localhost] => {
- "ansible_facts": {
- "build_version": "3"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "build_version": "3"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/router_node : set new router name] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:24
- ok: [localhost] => {
- "ansible_facts": {
- "router_node_name": "staging-vault1-router3"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "router_node_name": "staging-vault1-router3"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/router_node : prepare oro env vars] *******************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:29
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1491385285.59-71816309454828 `" && echo ansible-tmp-1491385285.59-71816309454828="` echo ~/.ansible/tmp/ansible-tmp-1491385285.59-71816309454828 `" ) && sleep 0'
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/stat.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- <127.0.0.1> PUT /tmp/tmpCBRVOC TO /home/cizar/.ansible/tmp/ansible-tmp-1491385285.59-71816309454828/source
- <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/cizar/.ansible/tmp/ansible-tmp-1491385285.59-71816309454828/ /home/cizar/.ansible/tmp/ansible-tmp-1491385285.59-71816309454828/source && sleep 0'
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/copy.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/cizar/.ansible/tmp/ansible-tmp-1491385285.59-71816309454828/ > /dev/null 2>&1 && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "checksum": "96c36476efd2211c609d1c64437b9b5e62c821c2",
- "dest": "/tmp/kube-env",
- "gid": 1001,
- "group": "cizar",
- "invocation": {
- "module_args": {
- "backup": false,
- "content": null,
- "delimiter": null,
- "dest": "/tmp/kube-env",
- "directory_mode": null,
- "follow": true,
- "force": true,
- "group": null,
- "mode": null,
- "original_basename": "env.j2",
- "owner": null,
- "regexp": null,
- "remote_src": null,
- "selevel": null,
- "serole": null,
- "setype": null,
- "seuser": null,
- "src": "/home/cizar/.ansible/tmp/ansible-tmp-1491385285.59-71816309454828/source",
- "unsafe_writes": null,
- "validate": null
- }
- },
- "md5sum": "0c45cdbcaef2e43a7f7f2561332f9168",
- "mode": "0664",
- "owner": "cizar",
- "size": 252,
- "src": "/home/cizar/.ansible/tmp/ansible-tmp-1491385285.59-71816309454828/source",
- "state": "file",
- "uid": 1001
- }
- TASK [common/router_node : get default template name] **************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:35
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instance-templates list | grep staging-vault1 | grep -v dummy | awk {'print $1'} | tail -n1",
- "delta": "0:00:02.055849",
- "end": "2017-04-05 12:41:27.948044",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instance-templates list | grep staging-vault1 | grep -v dummy | awk {'print $1'} | tail -n1",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:25.892195",
- "stderr": "",
- "stdout": "gke-staging-vault1-default-pool-48f8b6a6",
- "stdout_lines": [
- "gke-staging-vault1-default-pool-48f8b6a6"
- ],
- "warnings": []
- }
- TASK [common/router_node : add default vars from instance template] ************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:41
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instance-templates describe gke-staging-vault1-default-pool-48f8b6a6 | sed '1,/key: kube-env/d;/key: startup-script/,$d' | sed 1d | sed '/kind: compute/,$d' |sed 's/^ //g' | sed 's/SALT_TAR_URL.*/SALT_TAR_URL: https:\\/\\/storage.googleapis.com\\/saltarch\\/kubernetes-salt-1.5.tar.gz/g' | sed 's/SALT_TAR_HASH.*/SALT_TAR_HASH: 220a69ff32fc51030fd7bd2f37fb55c413ad9688/g' >> /tmp/kube-env",
- "delta": "0:00:00.835957",
- "end": "2017-04-05 12:41:28.870775",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instance-templates describe gke-staging-vault1-default-pool-48f8b6a6 | sed '1,/key: kube-env/d;/key: startup-script/,$d' | sed 1d | sed '/kind: compute/,$d' |sed 's/^ //g' | sed 's/SALT_TAR_URL.*/SALT_TAR_URL: https:\\/\\/storage.googleapis.com\\/saltarch\\/kubernetes-salt-1.5.tar.gz/g' | sed 's/SALT_TAR_HASH.*/SALT_TAR_HASH: 220a69ff32fc51030fd7bd2f37fb55c413ad9688/g' >> /tmp/kube-env",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:28.034818",
- "stderr": "",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- TASK [common/router_node : copy startup-script] ********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:45
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/stat.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/file.py
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost] => {
- "changed": false,
- "checksum": "17d93612e27e6b11707be2d56857c39ae5e66007",
- "dest": "/tmp/startup-script",
- "diff": {
- "after": {
- "path": "/tmp/startup-script"
- },
- "before": {
- "path": "/tmp/startup-script"
- }
- },
- "gid": 0,
- "group": "root",
- "invocation": {
- "module_args": {
- "backup": null,
- "content": null,
- "delimiter": null,
- "dest": "/tmp/startup-script",
- "diff_peek": null,
- "directory_mode": null,
- "follow": false,
- "force": false,
- "group": null,
- "mode": null,
- "original_basename": "startup-script",
- "owner": null,
- "path": "/tmp/startup-script",
- "recurse": false,
- "regexp": null,
- "remote_src": null,
- "selevel": null,
- "serole": null,
- "setype": null,
- "seuser": null,
- "src": "startup-script",
- "state": null,
- "unsafe_writes": null,
- "validate": null
- }
- },
- "mode": "0777",
- "owner": "root",
- "path": "/tmp/startup-script",
- "size": 31059,
- "state": "file",
- "uid": 0
- }
- TASK [common/router_node : set router name] ************************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:52
- ok: [localhost] => {
- "ansible_facts": {
- "_raw_params": "router_node_name = 'staging-vault1-router'"
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "_raw_params": "router_node_name = 'staging-vault1-router'"
- },
- "module_name": "set_fact"
- }
- }
- TASK [common/router_node : create router node in isolation cluster] ************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:55
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud --quiet beta compute instances create staging-vault1-router3 --machine-type n1-highcpu-8 --boot-disk-size 100GB --image container-vm --metadata-from-file startup-script=\"/tmp/startup-script,kube-env=/tmp/kube-env\" --tags router --zone us-central1-f --can-ip-forward --subnet=staging-vault1-subnet-main",
- "delta": "0:00:29.615467",
- "end": "2017-04-05 12:41:58.818623",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud --quiet beta compute instances create staging-vault1-router3 --machine-type n1-highcpu-8 --boot-disk-size 100GB --image container-vm --metadata-from-file startup-script=\"/tmp/startup-script,kube-env=/tmp/kube-env\" --tags router --zone us-central1-f --can-ip-forward --subnet=staging-vault1-subnet-main",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:29.203156",
- "stderr": "WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more information, see: https://developers.google.com/compute/docs/disks#pdperformance.\nWARNING: Image aliases are deprecated and will be removed in a future version. Please use --image-family=container-vm and --image-project=google-containers instead.\nCreated [https://www.googleapis.com/compute/beta/projects/oro-cloud-development/zones/us-central1-f/instances/staging-vault1-router3].",
- "stdout": "NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS\nstaging-vault1-router3 us-central1-f n1-highcpu-8 10.20.0.3 104.154.251.40 RUNNING",
- "stdout_lines": [
- "NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS",
- "staging-vault1-router3 us-central1-f n1-highcpu-8 10.20.0.3 104.154.251.40 RUNNING"
- ],
- "warnings": []
- }
- TASK [common/router_node : get router node ip] *********************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:60
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router3 | awk {'print $5'}",
- "delta": "0:00:01.189789",
- "end": "2017-04-05 12:42:00.101209",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router3 | awk {'print $5'}",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:41:58.911420",
- "stderr": "",
- "stdout": "104.154.251.40",
- "stdout_lines": [
- "104.154.251.40"
- ],
- "warnings": []
- }
- TASK [common/router_node : get router node internal ip] ************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:66
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router3 | awk {'print $4'}",
- "delta": "0:00:01.590224",
- "end": "2017-04-05 12:42:01.776989",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute instances list | grep staging-vault1-router3 | awk {'print $4'}",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:42:00.186765",
- "stderr": "",
- "stdout": "10.20.0.3",
- "stdout_lines": [
- "10.20.0.3"
- ],
- "warnings": []
- }
- TASK [common/router_node : wait for router node to boot] ***********************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:72
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/utilities/logic/wait_for.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- ok: [localhost] => {
- "changed": false,
- "elapsed": 3,
- "invocation": {
- "module_args": {
- "connect_timeout": 5,
- "delay": 0,
- "exclude_hosts": null,
- "host": "104.154.251.40",
- "path": null,
- "port": 22,
- "search_regex": null,
- "state": "started",
- "timeout": 300
- },
- "module_name": "wait_for"
- },
- "path": null,
- "port": 22,
- "search_regex": null,
- "state": "started"
- }
- TASK [common/router_node : add router to inventory] ****************************
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:78
- creating host via 'add_host': hostname=staging-vault1-router3
- changed: [localhost] => {
- "add_host": {
- "groups": [
- "proxies"
- ],
- "host_name": "staging-vault1-router3",
- "host_vars": {
- "ansible_host": "104.154.251.40",
- "ansible_ssh_private_key_file": "/home/cizar/.ssh/google_compute_engine"
- }
- },
- "changed": true,
- "invocation": {
- "module_args": {
- "ansible_host": "104.154.251.40",
- "ansible_ssh_private_key_file": "/home/cizar/.ssh/google_compute_engine",
- "groups": "proxies",
- "hostname": "staging-vault1-router3"
- },
- "module_name": "add_host"
- }
- }
- TASK [common/router_node : route external traffic to kubernetes services through router node] ***
- task path: /home/cizar/oro-cloud-ansible/roles/common/router_node/tasks/main.yml:86
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: cizar
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "cmd": "~/google-cloud-sdk/bin/gcloud compute routes create 'staging-vault1-kube' --network staging-vault1 --next-hop-instance staging-vault1-router3 --destination-range 10.2.0.0/15 --priority 2000",
- "delta": "0:00:22.611566",
- "end": "2017-04-05 12:42:27.857374",
- "invocation": {
- "module_args": {
- "_raw_params": "~/google-cloud-sdk/bin/gcloud compute routes create 'staging-vault1-kube' --network staging-vault1 --next-hop-instance staging-vault1-router3 --destination-range 10.2.0.0/15 --priority 2000",
- "_uses_shell": true,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "rc": 0,
- "start": "2017-04-05 12:42:05.245808",
- "stderr": "Created [https://www.googleapis.com/compute/v1/projects/oro-cloud-development/global/routes/staging-vault1-kube].",
- "stdout": "NAME NETWORK DEST_RANGE NEXT_HOP PRIORITY\nstaging-vault1-kube staging-vault1 10.2.0.0/15 us-central1-f/instances/staging-vault1-router3 2000",
- "stdout_lines": [
- "NAME NETWORK DEST_RANGE NEXT_HOP PRIORITY",
- "staging-vault1-kube staging-vault1 10.2.0.0/15 us-central1-f/instances/staging-vault1-router3 2000"
- ],
- "warnings": []
- }
- PLAY RECAP *********************************************************************
- localhost : ok=53 changed=25 unreachable=0 failed=0
- cizar@castle:~/oro-cloud-ansible$ ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement