Comments (11)
Hi, yes - we need to improve the ansible error logging (at least point users to ansible log).
If you ssh to the infra node, there should be /var/log/ansible.xxx file - there should be more details about the fail in this file.
from openshift-on-openstack.
Great - thanks @jprovaznik!
Yeah I can see the error is..
ERROR! 'vars_files' is not a valid attribute for a PlaybookInclude
The error appears to have been in '/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/config.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
---
- include: ../../common/openshift-cluster/config.yml
^ here
from openshift-on-openstack.
I'm happy to have a dig around, presumably I can just rerun the playbook from the infra node?
from openshift-on-openstack.
Yep, you can ssh to infra node and re-run with:
export ANSIBLE_ROLES_PATH=/usr/share/ansible/openshift-ansible/roles
export ANSIBLE_HOST_KEY_CHECKING=False
ansible-playbook --inventory /var/lib/ansible/inventory /var/lib/ansible/playbooks/main.yml
from openshift-on-openstack.
Great thanks, a little bit of googling suggests it might be the version of ansible that's installed on the infra node I can see it's..
ansible --version
ansible 2.0.1.0
The openshift ansible installer setup lists ansible-1.9.4 as the version https://github.com/openshift/openshift-ansible#setup
Not figured out yet how ansible is being installed in the heat scripts yet to try the previous version...
from openshift-on-openstack.
Then it might be related to this PR - #90
from openshift-on-openstack.
Ah yeah it looks like it, looks like I cloned the repo just before this change - I'll delete the stack and try again with the latest version as that looks promising.
from openshift-on-openstack.
Note that this PR is not merged yet
from openshift-on-openstack.
Ah good point :) I'll make the change locally and let you know how it goes.
from openshift-on-openstack.
That certainly got me further and looks to have solved the ERROR! 'vars_files' is not a valid attribute for a PlaybookInclude
I've got another problem now which I'll raise seperately.
from openshift-on-openstack.
#90 has been merged so it should fix the original issue
from openshift-on-openstack.
Related Issues (20)
- support for Aodh and Gnocchi alarms HOT 4
- feature: support for generic text in OSv3.yml
- Restrict bastion node update
- Log spam: blacklist intel_rapl as we're installing openshift on virtual nodes.
- registry_ephemeral.yaml creates a persistent volume
- fluentd port no more required in master_security_group
- Set user_data_update_policy: ignore or stack becomes unrecoverable on update
- Add fixed_network to OSv3.yaml openshift_no_proxy by default
- Doc: recovery an infra node on RHOSP10
- replacing a failed infra causes the new one to be unregistered
- DNS not responding HOT 4
- RFE: Templates should check glance image metadata for block driver used HOT 1
- Support single-nic deployments
- Set OS_CACERT
- Wait Handle: Authorization Failed HOT 9
- force bastion-ansible.sh to be run after replacing an infra node
- bug: is_scaleup always return 0 due to -o pipefail
- openshift 3.6 HOT 7
- set ca-certificate
- Heat stuck at bastion HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openshift-on-openstack.