Dne 24.1.2017 v 11:31 Martin Juhl napsal(a):
> Does anyone know howto use this with copr and mockremote???
> 
> Right now I have created a /etc/mock/rhel-7-x86_64.cfg, and added the profile 
> with the manage.py script...

Add it with manage.py to copr db is one step, but you must make sure the config 
exist on builders VMs. So put it in
ansible playbook, which spawns the builder.


> [2017-01-24 09:56:59,846][ 
> DEBUG][vmm.event_handler][event_handle.py:on_health_check_result:106] 
> recording check fail: {u'vm_ip': u'127.0.0.1', u'vm_name': u'Copr builder 
> 596711858', u'topic': u'health_check', u'result': u'failed', u'msg': u'VM is 
> not responding to the testing playbook.Runner options: {\'remote_user\': 
> \'mockbuilder\', \'timeout\': 5, \'pattern\': \'127.0.0.1\', \'forks\': 1, 
> \'host_list\': \'127.0.0.1,\', \'transport\': u\'paramiko\'}Ansible raw 
> response:\n{\'dark\': {\'127.0.0.1\': {\'msg\': "Failed to open session: (1, 
> \'Administratively prohibited\')", \'failed\': True}}, \'contacted\': {}}'}

Ok. this is another issue. It seems that ansible is not able to ssh connect to 
your localhost. Are you sure you have
there ssh keys for copr user?


-- 
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
_______________________________________________
copr-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to