Closed debianmaster closed 8 years ago
Same error for me too.
At what point did you encounter that error? Can you include the entire output of the sequence after run.py
?
It shouldn't be looking for those files/scripts unless you are trying to use aos repos. But perhaps I need to refactor something.
I don't get the error any more, but it looks like it only install 3.1 (even I removed the line "openshift_package_version.." in openshift_setup.yml.). Thanks for the reply.
Please open a separate issue if you are having problems installing other versions. I have a suspicion I know why you are having that issue.
okay. Thanks!
Same here, $ ./run.py --cluster-id demo --num-nodes 3 --num-infra 1 --hexboard-size tiny --deployment-type openshift-enterprise --region us-east-1 --ami ami-2051294a --infra-instance-type m4.large --keypair mykey --r53-zone myzone.org --rhsm-user myuser --rhsm-pass mypass --verbose
The error message is : We are running: ansible-playbook -i inventory/aws/hosts -e 'cluster_id=demo ec2_region=us-east-1 ec2_image=ami-2051294a ec2_keypair=mykey ec2_master_instance_type=m4.large ec2_infra_instance_type=m4.large ec2_node_instance_type=m4.large r53_zone=myzone.org r53_host_zone=demo.myzone.org r53_wildcard_zone=apps.demo.myzone.org console_port=443 api_port=443 num_app_nodes=3 num_infra_nodes=1 num_masters=3 hexboard_size=tiny deployment_type=openshift-enterprise package_version=-3.2.0.44 rhsm_user=myuser rhsm_pass=mypass skip_subscription_management=False use_certificate_repos=False aos_repo=None prerelease=False kerberos_user=None kerberos_token=None registry_url=registry.access.redhat.com/openshift3/ose-${component}:${version} run_smoke_tests=False run_only_smoke_tests=False num_smoke_test_users=5 default_password=openshift3' playbooks/openshift_setup.yml -v ERROR: file could not read: /home/myuser/ansible-scripts/aos-ansible/playbooks/roles/ops_mirror_bootstrap/tasks/main.yml If I comment out the line :
#vars:
# omb_aos_repo: "{{ aos_repo }}"
#when: use_certificate_repos | bool
#vars:
# omb_aos_repo: "{{ aos_repo }}"
# qe_openshift_kerberos_user: "{{ kerberos_user }}"
# qe_openshift_token: "{{ kerberos_token }}"
#when: use_certificate_repos | bool and prerelease | bool
No more errors.
I think we need to use a "when" on the include, assuming that's supported. Might need to separate out that aos stuff into a separate playbook.
Did following
./run.py
encountered following error