-
Notifications
You must be signed in to change notification settings - Fork 65
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
Deployment example doesn't work #37
Comments
in the instances.yaml you need to specify real IP-s of servers/services that will be used for your deployment. 10.87.64.23 is an IP of KVM host that should be accessible by ssh for ansible's code. |
That's what I initially though. However the text of the wiki says the IP of the server is 172.16.10.1. So why doesn't the yaml say 172.16.10.1? I tried changing the IP address to localhost. Now I get a permission error because Ansible can't save the image to When I run
Are the ssh credentials in the |
Ah, yes. Those ssh credentials are supposed to be for the host you're on. Once I changed the SSH credentials, I then got a virsh error because the "default" virsh network bridge did not exist. Anyway, after setting up 2
Does Ansible know about virsh bridges? Is this playbook supposed to set up the bridge for me? |
As I know ansible doesn't setup networking with virsh. it just can run machines for you. different results in running virsh caused by different connection string to qemu. |
Ok, well I think the wiki should be modified to specify what virsh commands are needed as prep. It says:
and also includes basic setup like installing I'm happy to modify the wiki myself, once I figure out what the solution is. I tried using the steps here, making sure that I run all
But I still get the same error when I run the playbook.
Even though So then I ran:
That last command fails.
I cannot simply add While running the playbook, I noticed two errors which appear but are ignored by Ansible. They both say:
Is that something which can be ignored? If yes, then I'll go change the wiki page to mention that this error message is ok. |
Ok, it turns out I needed to add That fixed the bridge error. Then I got another error about permissions. I discovered that I must run the playbooks with When I run with sudo, that step runs sucessfully, and then I got a different error. I fixed that with PR #38 . Now I get a new error:
As you can probably tell, I'm new to Ansible.
Is there a reason why the last task in |
Is this problem turned out? |
No, this problem still exists because PR #38 was rejected. I'm not working on Contrail stuff any more. (I changed teams at work.) So unfortunately I don't have the time required to climb the steep learning curve necessary to figure out how to resubmit #38 through gerrit. |
I am trying to follow this example on this wiki page.
It fails at the first ansible playbook.
Am I supposed to change on of the IP addresses in that yaml from the previous step? The guide says that the scripts setup openstack for me on a single bare metal server.
I interpreted that as meaning that I don't have to spin up the VMs myself, therefore there are no other IP addresses I could possibly put into that yaml.
How is this wiki example supposed to be run?
The text was updated successfully, but these errors were encountered: