-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently stuck with this error with provision ansible #30
Comments
I think this is a Vagrant version problem. The previous method to become root was marked as deprecated in a later version of Ansible, and we've been using Vagrant 2.X since which is probably why the error exists. We have requires Vagrant 1.8+, when Vagrant version we've been using recently have been Vagrant 2.x. Do an update and let me know if that fixes it and I'll update the README.md to reflect the correct version requirements. |
I did the upgrade by installing Vagrant 2.0 over the exiting Vagrant 1.8 and got this error with triggers as seen below and did a vagrant plugin repair command: root@test: The plugins failed to initialize correctly. This may be due to manual vagrant plugin repair If Vagrant was recently updated, this error may be due to incompatible vagrant plugin expunge --reinstall Or you may want to try updating the installed plugins to their latest vagrant plugin update Error message given during initialization: Unable to resolve dependency: user requested 'vagrant-hostmanager (> 0)' root@test:~# vagrant plugin repair vagrant plugin uninstall vagrant-triggers Note that the community plugin To disable this warning, set the environment variable vagrant plugin uninstall vagrant-triggers Note that the community plugin To disable this warning, set the environment variable You're running an up-to-date version of Vagrant! When I do vagrant up I get this error: there seem to be trigger error issue using Vagrant 2.x ???? I then did vagrant uninstall plugin triggers then re-install them : However I get this error when doing vagrant up root@test:~/vagrant-openstack# vagrant up --provider=virtualbox please advise thanks, still trying to get this working and need to for openstack testing and getting admin certification with vagrant/ansible deployment method. velocity42/xenial64 box vagrant_2.1.0_x86_64.deb root@test:~# lsb_release -a root@test:~/vagrant-openstack# ansible --version |
Please use Vagrant version < 2.1.0 (preferably 2.0.4) - the current Vagrant file was not tested with a feature introduced in the version 2.1.0 that is
|
Nice catch there. I'm currently using openstack@vagrant:~$ vagrant --version I'm away until the end of the week to make any changes but please test a different version. |
setup-hosts.log TASK [runplaybooks : Run Setup Hosts Playbook] ********************************* TASK [runplaybooks : Running openstack-ansible setup-hosts.yml] ******** still persisting with this install . thanks guys for the help. |
==> controller-01: mesg: ttyname failed: Inappropriate ioctl for device
There are errors in the configuration of this machine. Please fix
the following errors and try again:
ansible local provisioner:
I see in Vagrantfile provisioner point to ansible_local ??? So do I have to set this global variable on my host that is running vagrant up ?
I tried vagrant provision --provision-with ansible but still get error . On day 3 trying to get this installation working. thanks
velocity42/xenial64 box
virtualbox 5.1.34_Ubuntu r 121010
vagrant 1.8.5 /vagrant_1.8.5_x86_64.deb
root@test:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
root@test:~/vagrant-openstack# ansible --version
ansible 2.5.2
config file = /root/vagrant-openstack/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
The text was updated successfully, but these errors were encountered: