Re: COPR shows "failed", but in fact build succeeded

2016-12-05 Thread Michal Novotny
There was Gateway Timeout on copr-keygen. The machine was likely overloaded at that time. On Mon, Dec 5, 2016 at 10:58 PM, Igor Gnatenko wrote: > https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/rpm- > gitoverlay-1480969917.509235/build/485123/ > -- > -Igor Gnatenko > _

COPR shows "failed", but in fact build succeeded

2016-12-05 Thread Igor Gnatenko
https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/rpm-gitoverlay-1480969917.509235/build/485123/ -- -Igor Gnatenko ___ copr-devel mailing list -- copr-devel@lists.fedorahosted.org To unsubscribe send an email to copr-devel-le...@lists.fedoraho

Re: python-novaclient package??

2016-12-05 Thread Michal Novotny
On Mon, Dec 5, 2016 at 4:18 PM, Martin Juhl wrote: > Hi > > Yes, copr-be is running as copr: > > root@copr02 playbooks]# ps uax |grep copr > copr 10065 0.0 1.2 240084 23144 ?Ss 10:57 0:03 > RedisLogHandler > copr 21706 0.0 1.8 306404 34176 ?Ss 13:17 0:00 Copr V

Re: dist-git is failing to import

2016-12-05 Thread Martin Juhl
Hi [root@copr02 new]# rpm -aq |grep pyrpkg pyrpkg-1.46-5.el7.noarch - It's from EPEL... What's your version... Seems to be here it fails: log.info("save the source files into lookaside cache") commands.upload(upload_files, replace=True) <-- FAILS log.debug("git push") So is pro

Re: dist-git is failing to import

2016-12-05 Thread Michal Novotny
On Mon, Dec 5, 2016 at 4:46 PM, Martin Juhl wrote: > When trying to import, dist-git is failing: > > [15:12:20][DEBUG][dist_git.dist_git_importer][dist_git_importer:392] 1. > Try to get task data > [15:12:20][INFO][dist_git.dist_git_importer][dist_git_importer:484] 2. > Task: 9-epel7, importing t

dist-git is failing to import

2016-12-05 Thread Martin Juhl
When trying to import, dist-git is failing: [15:12:20][DEBUG][dist_git.dist_git_importer][dist_git_importer:392] 1. Try to get task data [15:12:20][INFO][dist_git.dist_git_importer][dist_git_importer:484] 2. Task: 9-epel7, importing the package: http://copr02.casalogic.lan/tmp/tmpuxT8L3/copr-mo

Re: python-novaclient package??

2016-12-05 Thread Martin Juhl
Hi This is, for now, just a test.. so I just want to keep the stuff on one server.. so I'm using the spawn_local.yml and terminate_local.yml from the backend package... /Martin - Original meddelelse - Fra: "praiskup" Til: "copr-devel" Cc: "mj" Sendt: mandag, 5. december 2016 16:09:

Re: python-novaclient package??

2016-12-05 Thread Martin Juhl
Hi Yes, copr-be is running as copr: root@copr02 playbooks]# ps uax |grep copr copr 10065 0.0 1.2 240084 23144 ?Ss 10:57 0:03 RedisLogHandler copr 21706 0.0 1.8 306404 34176 ?Ss 13:17 0:00 Copr VMM base process copr 21707 0.0 2.3 351736 43416 ?Ss

Re: python-novaclient package??

2016-12-05 Thread Pavel Raiskup
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 deprecate

Re: python-novaclient package??

2016-12-05 Thread Michal Novotny
On Mon, Dec 5, 2016 at 2:58 PM, Martin Juhl wrote: > Hi > > I haven't done anything to the ansible.cfg file... should I replace it > with the one from the copr-backend package??? > You can try that (move backend/conf/playbooks/ansible.cfg into /etc/ansible) but on my machine I successfully use d

Re: failed to post data to frontend

2016-12-05 Thread Michal Novotny
On Mon, Dec 5, 2016 at 1:47 PM, Martin Juhl wrote: > Hi > > I'm getting these errors/warnings: > > ==> /var/log/copr-backend/backend.log <== > [2016-12-05 11:57:15,358][WARNING][backend.main][frontend.py:_ > post_to_frontend_repeatedly:48] failed to post data to frontend, repeat > #20 > [2016-12-

Re: python-novaclient package??

2016-12-05 Thread Martin Juhl
Hi I haven't done anything to the ansible.cfg file... should I replace it with the one from the copr-backend package??? # config file for ansible -- http://ansible.com/ # == # nearly all parameters can be overridden in ansible-playbook # or with comm

Re: python-novaclient package??

2016-12-05 Thread Michal Novotny
On Mon, Dec 5, 2016 at 11:47 AM, Martin Juhl wrote: > Ok... Might have fixed that myself... > > Using the /centos/7.2.1511/cloud/x86_64/openstack-kilo/ it seems to > work... > > Now i'm getting: > > ==> /var/log/copr-backend/vmm.log <== > [2016-12-05 11:15:37,384][ > INFO][vmm.event_handler][ma

Re: python-novaclient package??

2016-12-05 Thread Martin Juhl
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

failed to post data to frontend

2016-12-05 Thread Martin Juhl
Hi I'm getting these errors/warnings: ==> /var/log/copr-backend/backend.log <== [2016-12-05 11:57:15,358][WARNING][backend.main][frontend.py:_post_to_frontend_repeatedly:48] failed to post data to frontend, repeat #20 [2016-12-05 11:57:20,452][WARNING][backend.main][frontend.py:_post_to_fronte

Re: python-novaclient package??

2016-12-05 Thread Pavel Raiskup
On Monday, December 5, 2016 11:47:59 AM CET Martin Juhl wrote: > Ok... Might have fixed that myself... > > Using the /centos/7.2.1511/cloud/x86_64/openstack-kilo/ it seems to work... > > Now i'm getting: > > ==> /var/log/copr-backend/vmm.log <== > [2016-12-05 11:15:37,384][ > INFO][vmm.event

Re: python-novaclient package??

2016-12-05 Thread Pavel Raiskup
On Monday, December 5, 2016 10:53:35 AM CET Martin Juhl wrote: > Hi guys > > Still playing around with getting COPR to work on RHEL/CentOS.. > > I'm very close.. Only think I have one issue left.. When ansible is spawning a > new build instance it fails... we talked about this with Mirek and Val

Re: python-novaclient package??

2016-12-05 Thread Martin Juhl
Ok... Might have fixed that myself... Using the /centos/7.2.1511/cloud/x86_64/openstack-kilo/ it seems to work... Now i'm getting: ==> /var/log/copr-backend/vmm.log <== [2016-12-05 11:15:37,384][ INFO][vmm.event_handler][manager.py:add_vm_to_pool:175] registered new VM: Copr builder 946717

Re: python-novaclient package??

2016-12-05 Thread Michal Novotny
We use python-novaclient 2.23.3 currently on our backend machines. The os_nova.py filter plugin is actually not needed for local spawning so I usually just move it to os_nova.py.off. We need to implement support for newer python-novaclient. On Mon, Dec 5, 2016 at 10:53 AM, Martin Juhl wrote: > H

python-novaclient package??

2016-12-05 Thread Martin Juhl
Hi guys Still playing around with getting COPR to work on RHEL/CentOS.. I'm very close.. Only think I have one issue left.. When ansible is spawning a new build instance it fails... [root@copr02 playbooks]# ansible-playbook -i inventory -c ssh /usr/share/doc/copr-backend-1.94/playbooks/spawn_l