> 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. 

Sooo.. where exactly should I put it?? 

I'm using the /usr/share/doc/copr-backend-1.94/playbooks/spawn_local.yml 
playbook... ???

> 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? 

It works with epel-7-x86_64.cfg??? so I guess it's because the vm is spawned 
incorrectly??


----- Original meddelelse -----
Fra: "Miroslav Suchý" <msu...@redhat.com>
Til: "copr-devel" <copr-devel@lists.fedorahosted.org>
Sendt: tirsdag, 31. januar 2017 11:08:29
Emne: Re: mockremote with RHEL??

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 -- copr-devel@lists.fedorahosted.org 
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org 
_______________________________________________
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org

Reply via email to