On Monday, December 5, 2016 1:49:22 PM CET Martin Juhl wrote:
Hi
Manually:
ansible-playbook -i inventory -c ssh
/usr/share/doc/copr-backend-1.94/playbooks/spawn_local.yml/usr/lib/python2.7/site-packages/novaclient/v1_1/__init__.py:30:
UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for
novaclient.v2). The preferable way to get client class or object you can find
in novaclient.client module.
warnings.warn("Module novaclient.v1_1 is deprecated (taken as a basis for "
PLAY [create instance] ********************************************************
TASK: [generate builder name] *************************************************
changed: [localhost -> 127.0.0.1]
TASK: [debug msg="IP=127.0.0.1"] **********************************************
ok: [localhost] => {
"msg": "IP=127.0.0.1"
}
TASK: [debug msg="vm_name={{vm_name.stdout}}"] ********************************
ok: [localhost] => {
"msg": "vm_name=Copr builder 494041090"
}
PLAY RECAP ********************************************************************
localhost : ok=3 changed=1 unreachable=0 failed=0
Are there other playbooks I need to test???
For some reason you don't allocaate builder VM in OpenStack, but you rather use
backend VM as a builder, is that expected?
But I think the playbook ends prematurely anyway, based on [1] -- though I am
not expert there (ask Michal), I use different playbooks.
[1]
https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/copr...
Pavel