openshift-istio / openshift-ansible

OpenShift Installation and Configuration Management
https://install.openshift.com
Apache License 2.0
6 stars 4 forks source link

Istio playbook fails to install -> "Path roles/openshift_istio/files/istio.yaml does not exist !" #1

Open cmoulliard opened 6 years ago

cmoulliard commented 6 years ago

Command executed

git clone https://github.com/openshift-istio/openshift-ansible.git && cd openshift-ansible
ansible-playbook -i cloud_host playbooks/openshift-istio/config.yml

Result

...
TASK [openshift_istio : Update images in the configuration files if not running community] ********************************************************************************************************************************************
Thursday 26 April 2018  10:48:41 +0200 (0:00:00.114)       0:00:09.062 ********
included: /Users/dabou/Temp/to-be-deleted/openshift-ansible/roles/openshift_istio/tasks/modify_image_names.yml for 192.168.99.50
included: /Users/dabou/Temp/to-be-deleted/openshift-ansible/roles/openshift_istio/tasks/modify_image_names.yml for 192.168.99.50
included: /Users/dabou/Temp/to-be-deleted/openshift-ansible/roles/openshift_istio/tasks/modify_image_names.yml for 192.168.99.50
included: /Users/dabou/Temp/to-be-deleted/openshift-ansible/roles/openshift_istio/tasks/modify_image_names.yml for 192.168.99.50
included: /Users/dabou/Temp/to-be-deleted/openshift-ansible/roles/openshift_istio/tasks/modify_image_names.yml for 192.168.99.50
included: /Users/dabou/Temp/to-be-deleted/openshift-ansible/roles/openshift_istio/tasks/modify_image_names.yml for 192.168.99.50

TASK [openshift_istio : Modify image names in configuration file roles/openshift_istio/files/istio.yaml] ******************************************************************************************************************************
Thursday 26 April 2018  10:48:42 +0200 (0:00:00.650)       0:00:09.712 ********
failed: [192.168.99.50] (item={'value': u'openshiftistio/istio-ca-centos7:0.7.1', 'key': u'docker.io/istio/istio-ca:0.7.1'}) => {"changed": false, "config_item": {"key": "docker.io/istio/istio-ca:{{default_istio_image_tag}}", "value": "openshiftistio/istio-ca-centos7:0.7.1"}, "msg": "Path roles/openshift_istio/files/istio.yaml does not exist !", "rc": 257}
failed: [192.168.99.50] (item={'value': u'openshiftistio/pilot-centos7:0.7.1', 'key': u'docker.io/istio/pilot:0.7.1'}) => {"changed": false, "config_item": {"key": "docker.io/istio/pilot:{{default_istio_image_tag}}", "value": "openshiftistio/pilot-centos7:0.7.1"}, "msg": "Path roles/openshift_istio/files/istio.yaml does not exist !", "rc": 257}
failed: [192.168.99.50] (item={'value': u'openshiftistio/proxy-init-centos7:0.7.1', 'key': u'docker.io/istio/proxy_init:0.7.1'}) => {"changed": false, "config_item": {"key": "docker.io/istio/proxy_init:{{default_istio_image_tag}}", "value": "openshiftistio/proxy-init-centos7:0.7.1"}, "msg": "Path roles/openshift_istio/files/istio.yaml does not exist !", "rc": 257}
failed: [192.168.99.50] (item={'value': u'openshiftistio/proxy-centos7:0.7.1', 'key': u'docker.io/istio/proxy:0.7.1'}) => {"changed": false, "config_item": {"key": "docker.io/istio/proxy:{{default_istio_image_tag}}", "value": "openshiftistio/proxy-centos7:0.7.1"}, "msg": "Path roles/openshift_istio/files/istio.yaml does not exist !", "rc": 257}
failed: [192.168.99.50] (item={'value': u'openshiftistio/sidecar-injector-centos7:0.7.1', 'key': u'docker.io/istio/sidecar_injector:0.7.1'}) => {"changed": false, "config_item": {"key": "docker.io/istio/sidecar_injector:{{default_istio_image_tag}}", "value": "openshiftistio/sidecar-injector-centos7:0.7.1"}, "msg": "Path roles/openshift_istio/files/istio.yaml does not exist !", "rc": 257}
failed: [192.168.99.50] (item={'value': u'openshiftistio/mixer-centos7:0.7.1', 'key': u'docker.io/istio/mixer:0.7.1'}) => {"changed": false, "config_item": {"key": "docker.io/istio/mixer:{{default_istio_image_tag}}", "value": "openshiftistio/mixer-centos7:0.7.1"}, "msg": "Path roles/openshift_istio/files/istio.yaml does not exist !", "rc": 257}
knrc commented 6 years ago

The ansible scripts are intended to run through the job but I can certainly take a look at this, how are you setting up your openshift environment?

cmoulliard commented 6 years ago

openshift cluster has been created using openshift-ansible playbook as described here - https://github.com/snowdrop/openshift-infra/blob/master/ansible/README-cloud.md

knrc commented 6 years ago

Thanks, I'll take a look and see if we can add support for this although please be aware the Istio openshift-ansible integration is likely to change soon.