On 09/06/2009 07:34 AM, NGUYEN VAN TAN wrote:
Thank you, I saw kojid log, but I don't understand what it mean.

2009-09-06 14:18:54,311 [INFO] koji.build.TaskManager: open task: {'waiting': 
True, 'id': 7, 'weight': 0.10000000000000001}
2009-09-06 14:18:54,398 [WARNING] koji.build.TaskManager: TRACEBACK: Traceback 
(most recent call last):
   File "/usr/sbin/kojid", line 1275, in runTask
     response = (handler.run(),)
   File "/usr/sbin/kojid", line 1351, in run
     return self.handler(*self.params,**self.opts)
   File "/usr/sbin/kojid", line 2560, in handler
     for f in os.listdir(self.datadir):
OSError: [Errno 2] No such file or directory: 
'/tmp/koji/tasks/8/8/repo/repodata'

2009-09-06 14:18:54,450 [WARNING] koji.build.TaskManager: TRACEBACK: Traceback 
(most recent call last):
   File "/usr/sbin/kojid", line 1275, in runTask
     response = (handler.run(),)
   File "/usr/sbin/kojid", line 1351, in run
     return self.handler(*self.params,**self.opts)
   File "/usr/sbin/kojid", line 2560, in handler
     for f in os.listdir(self.datadir):
OSError: [Errno 2] No such file or directory: 
'/tmp/koji/tasks/9/9/repo/repodata'

Do you have any packages or external repos associated with the tag you're trying to create a repo for? If not, then createrepo will never get called, and it won't create the repodata/ subdirectory. Add a package or external repo to the tag, and newRepo/createrepo tasks should start succeeding.

2009-09-06 14:19:09,407 [INFO] koji.build.TaskManager: pids: {7: 10867, 8: 
10873, 9: 10877}
2009-09-06 14:19:09,417 [INFO] koji.build.TaskManager: open task: {'waiting': 
True, 'id': 7, 'weight': 0.10000000000000001, 'alert': True}
2009-09-06 14:19:09,418 [INFO] koji.build.TaskManager: Waking up task: 
{'waiting': True, 'id': 7, 'weight': 0.10000000000000001, 'alert': True}
2009-09-06 14:19:09,424 [INFO] koji.build.TaskManager: Task 8 (pid 10873) 
exited with status 0
2009-09-06 14:19:09,582 [WARNING] koji.build.TaskManager: FAULT:
Traceback (most recent call last):
   File "/usr/sbin/kojid", line 1275, in runTask
     response = (handler.run(),)
   File "/usr/sbin/kojid", line 1351, in run
     return self.handler(*self.params,**self.opts)
   File "/usr/sbin/kojid", line 2517, in handler
     results = self.wait(subtasks.values(), all=True, failany=True)
   File "/usr/sbin/kojid", line 1438, in wait
     return dict(session.host.taskWaitResults(self.id,subtasks))
   File "/usr/lib/python2.5/site-packages/koji/__init__.py", line 1255, in 
__call__
     return self.__func(self.__name,args,opts)
   File "/usr/lib/python2.5/site-packages/koji/__init__.py", line 1501, in 
_callMethod
     raise err
Fault:<Fault 1: 'Traceback (most recent call last):
   File "/usr/sbin/kojid", line 1275, in runTask
     response = (handler.run(),)
   File "/usr/sbin/kojid", line 1351, in run
     return self.handler(*self.params,**self.opts)
   File "/usr/sbin/kojid", line 2560, in handler
     for f in os.listdir(self.datadir):
OSError: [Errno 2] No such file or directory: 
\'/tmp/koji/tasks/8/8/repo/repodata\'
'>

2009-09-06 14:19:09,610 [INFO] koji.build.TaskManager: Expiring subsession 27 
(task 8)
2009-09-06 14:19:09,666 [INFO] koji.build.TaskManager: Task 9 (pid 10877) 
exited with status 0
2009-09-06 14:19:09,694 [INFO] koji.build.TaskManager: Expiring subsession 28 
(task 9)
2009-09-06 14:19:25,813 [INFO] koji.build.TaskManager: pids: {7: 10867}
2009-09-06 14:19:25,943 [INFO] koji.build.TaskManager: Task 7 (pid 10867) 
exited with status 0
2009-09-06 14:19:25,973 [INFO] koji.build.TaskManager: Expiring subsession 26 
(task 7)

I also saw kojira log, but I can't find the what problem is.

2009-09-06 13:09:23,652 [INFO] koji.repo.manager: Found repo 24, state=INIT
2009-09-06 13:10:07,760 [INFO] koji.repo.manager: Problem: newRepo task 116 for 
tag 2 is FAILED
2009-09-06 13:12:19,724 [INFO] koji.repo.manager: Created newRepo task 121 for 
tag 2 (dist-foo-build)
2009-09-06 13:12:25,373 [INFO] koji.repo.manager: Found repo 25, state=INIT
2009-09-06 13:12:32,349 [INFO] koji.repo.manager: Problem: newRepo task 121 for 
tag 2 is FAILED
2009-09-06 14:07:52,959 [INFO] koji: Entering main loop
2009-09-06 14:14:26,191 [INFO] koji.repo.manager: Created newRepo task 1 for 
tag 2 (dist-foo-build)
2009-09-06 14:14:36,261 [INFO] koji.repo.manager: Found repo 1, state=INIT
2009-09-06 14:15:06,624 [INFO] koji.repo.manager: Problem: newRepo task 1 for 
tag 2 is FAILED
2009-09-06 14:15:06,654 [INFO] koji.repo.manager: Created newRepo task 4 for 
tag 2 (dist-foo-build)
2009-09-06 14:15:21,807 [INFO] koji.repo.manager: Problem: newRepo task 4 for 
tag 2 is FAILED
2009-09-06 14:15:21,868 [INFO] koji.repo.manager: Found repo 2, state=INIT
2009-09-06 14:18:24,378 [INFO] koji.repo.manager: Created newRepo task 7 for 
tag 2 (dist-foo-build)
2009-09-06 14:18:43,487 [INFO] koji.repo.manager: Found repo 3, state=INIT
2009-09-06 14:19:11,220 [INFO] koji.repo.manager: Problem: newRepo task 7 for 
tag 2 is FAILED
2009-09-06 14:21:41,670 [INFO] koji.repo.manager: Created newRepo task 10 for 
tag 2 (dist-foo-build)
2009-09-06 14:22:01,882 [INFO] koji.repo.manager: Found repo 4, state=INIT
2009-09-06 14:22:17,139 [INFO] koji.repo.manager: Problem: newRepo task 10 for 
tag 2 is FAILED

I checked if /tmp/koji/tasks/8/8/repo/repodata  exist and this folder is not 
exist. Do you know this folder would be created by what kind of component and 
Why it could be created yet?
And when here my tasks

ID    Pri  Owner        State    Arch       Name
1     15   kojira       FAILED   noarch     newRepo [kojibuilder1]
2     14   kojira       FAILED   noarch      +createrepo [kojibuilder1]
3     14   kojira       FAILED   noarch      +createrepo [kojibuilder1]
4     15   kojira       FAILED   noarch     newRepo [kojibuilder1]
5     14   kojira       FAILED   noarch      +createrepo [kojibuilder1]
6     14   kojira       CANCELED noarch      +createrepo [kojibuilder1]

Do you know why kojira can't create repos and solution to solve it.

Thanks in advance

Nguyễn Văn Tân

--- Ngày Thứ 5, 3/09/09, 
fedora-buildsys-list-requ...@redhat.com<fedora-buildsys-list-requ...@redhat.com>
  đã viết:

Từ: 
fedora-buildsys-list-requ...@redhat.com<fedora-buildsys-list-requ...@redhat.com>
Chủ đề: Fedora-buildsys-list Digest, Vol 55, Issue 2
Đến: fedora-buildsys-list@redhat.com
Ngày: Thứ Năm, 3 tháng 9, 2009, 23:00

Send Fedora-buildsys-list mailing list submissions to
     fedora-buildsys-list@redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
     https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
or, via email, send a message with subject or body 'help' to
     fedora-buildsys-list-requ...@redhat.com

You can reach the person managing the list at
     fedora-buildsys-list-ow...@redhat.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Fedora-buildsys-list digest..."


Today's Topics:

    1. Can't Create repos (NGUYEN VAN TAN)
    2. Re: Can't Create repos (ro...@br.ibm.com)


----------------------------------------------------------------------

Message: 1
Date: Thu, 3 Sep 2009 04:31:37 -0700 (PDT)
From: NGUYEN VAN TAN<tan2...@yahoo.com>
Subject: Can't Create repos
To: fedora-buildsys-list@redhat.com
Message-ID:<532535.63316...@web62403.mail.re1.yahoo.com>
Content-Type: text/plain; charset="utf-8"

I'm trying to construct koji-server on Fedora 10, but I got an error.
Kojira can't create repos. It is always failed when try to create repos.

2009-09-03 14:06:44,449 [INFO] koji.repo.manager: Created newRepo task 116 for 
tag 2 (dist-foo-build)
2009-09-03 14:07:00,198 [INFO] koji.repo.manager: Found repo 24, state=INIT
2009-09-03 14:07:16,096 [INFO] koji.repo.manager: Problem: newRepo task 116 for 
tag 2 is FAILED
2009-09-03 14:10:00,128 [INFO] koji.repo.manager: Created newRepo task 121 for 
tag 2 (dist-foo-build)
2009-09-03 14:10:05,331 [INFO] koji.repo.manager: Problem: newRepo task 121 for 
tag 2 is FAILED
2009-09-03 14:10:05,397 [INFO] koji.repo.manager: Found repo 25, state=INIT
[r...@localhost kojibuilder1]# tail /var/log/kojira.log
2009-09-03 14:07:16,096 [INFO] koji.repo.manager: Problem: newRepo task 116 for 
tag 2 is FAILED
2009-09-03 14:10:00,128 [INFO] koji.repo.manager: Created newRepo task 121 for 
tag 2 (dist-foo-build)
2009-09-03 14:10:05,331 [INFO] koji.repo.manager: Problem: newRepo task 121 for 
tag 2 is FAILED
2009-09-03 14:10:05,397 [INFO] koji.repo.manager: Found repo 25, state=INIT
2009-09-03 14:13:05,745 [INFO] koji.repo.manager: Created newRepo task 128 for 
tag 2 (dist-foo-build)
2009-09-03 14:13:21,376 [INFO] koji.repo.manager: Found repo 26, state=INIT
2009-09-03 14:13:37,095 [INFO] koji.repo.manager: Problem: newRepo task 128 for 
tag 2 is FAILED
2009-09-03 14:16:23,676 [INFO] koji.repo.manager: Created newRepo task 133 for 
tag 2 (dist-foo-build)
2009-09-03 14:16:39,445 [INFO] koji.repo.manager: Problem: newRepo task 133 for 
tag 2 is FAILED
2009-09-03 14:16:39,492 [INFO] koji.repo.manager: Found repo 27, state=INIT

Anyone got this error? And Could you tell me how to solve it?

Thanks in advance.


Nguyễn Văn Tân


       Thiết kế ngay một Pingbox độc đáo cho riêng bạn! Tạo một nơi để chat 
trên blog là chuyện nhỏ. http://vn.messenger.yahoo.com/pingbox/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
https://www.redhat.com/archives/fedora-buildsys-list/attachments/20090903/12fd41f9/attachment.html

------------------------------

Message: 2
Date: Thu, 3 Sep 2009 09:13:51 -0300
From: ro...@br.ibm.com
Subject: Re: Can't Create repos
To: tann...@gmail.com,    Discussion of Fedora build system
     <fedora-buildsys-list@redhat.com>
Message-ID:
     <of07b143d9.da41587a-on83257626.00424d27-83257626.00436...@br.ibm.com>
Content-Type: text/plain; charset="utf-8"

I have already had this problem. Re-check the repo directory permission
(usually in /mnt/koji) and selinux linux permissions as well.
I have selinux disabled, to avoid problems.

I may find more usefull information in kojid.log.

Rodrigo Trujillo



From:
NGUYEN VAN TAN<tan2...@yahoo.com>
To:
fedora-buildsys-list@redhat.com
Date:
03/09/2009 08:29
Subject:
Can't Create repos




I'm trying to construct koji-server on Fedora 10, but I got an error.
Kojira can't create repos. It is always failed when try to create repos.

2009-09-03 14:06:44,449 [INFO] koji.repo.manager: Created newRepo task 116
for tag 2 (dist-foo-build)
2009-09-03 14:07:00,198 [INFO] koji.repo.manager: Found repo 24,
state=INIT
2009-09-03 14:07:16,096 [INFO] koji.repo.manager: Problem: newRepo task
116 for tag 2 is FAILED
2009-09-03 14:10:00,128 [INFO] koji.repo.manager: Created newRepo task 121
for tag 2 (dist-foo-build)
2009-09-03 14:10:05,331 [INFO] koji.repo.manager: Problem: newRepo task
121 for tag 2 is FAILED
2009-09-03 14:10:05,397 [INFO] koji.repo.manager: Found repo 25,
state=INIT
[r...@localhost kojibuilder1]# tail /var/log/kojira.log
2009-09-03 14:07:16,096 [INFO] koji.repo.manager: Problem: newRepo task
116 for tag 2 is FAILED
2009-09-03 14:10:00,128 [INFO] koji.repo.manager: Created newRepo task 121
for tag 2 (dist-foo-build)
2009-09-03 14:10:05,331 [INFO] koji.repo.manager: Problem: newRepo task
121 for tag 2 is FAILED
2009-09-03 14:10:05,397 [INFO] koji.repo.manager: Found repo 25,
state=INIT
2009-09-03 14:13:05,745 [INFO] koji.repo.manager: Created newRepo task 128
for tag 2 (dist-foo-build)
2009-09-03 14:13:21,376 [INFO] koji.repo.manager: Found repo 26,
state=INIT
2009-09-03 14:13:37,095 [INFO] koji.repo.manager: Problem: newRepo task
128 for tag 2 is FAILED
2009-09-03 14:16:23,676 [INFO] koji.repo.manager: Created newRepo task 133
for tag 2 (dist-foo-build)
2009-09-03 14:16:39,445 [INFO] koji.repo.manager: Problem: newRepo task
133 for tag 2 is FAILED
2009-09-03 14:16:39,492 [INFO] koji.repo.manager: Found repo 27,
state=INIT

Anyone got this error? And Could you tell me how to solve it?

Thanks in advance.


Nguyễn Văn Tân

Yahoo! Mail nay NHANH HƠN - Thử ngay!--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
https://www.redhat.com/archives/fedora-buildsys-list/attachments/20090903/6a598143/attachment.html

------------------------------

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

End of Fedora-buildsys-list Digest, Vol 55, Issue 2
***************************************************



       nữ nghĩ gì khi đàn ông rửa bát và giặt quần áo? Xem mọi người nghĩ gì trên 
Yahoo! Hỏi&  Đáp. http://vn.answers.yahoo.com


------------------------------------------------------------------------

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to