Mike Bonnet wrote:
On Tue, 2008-07-22 at 16:02 -0400, Naveen Gavini wrote:
Hello all,

We have installed the Koji build system and are able to import RPMS. We are having issues building from SRPMS as it's prompting us that it is unable to find the file once it is uploaded. The other issue is we have seen about 500 tasks fail for newRepo (noarch) with the message: GenericError: Repo directory missing: /mnt/koji/repos/rutgers-centos5-build/538.

Does the /mnt/koji/repos directory exist?  Is it owned by the same user
httpd runs as?

Also, have you tried to change topdir to something other than /mnt/koji?
There are known problem with this, it needs to be fixed.

We were able to fix this. The problem seemed to be that we did not have this directory (/mnt/koji) mounted on the builder, it was only mounted on the hub which runs kojira. We thought since kojira was creating the repos directories that would suffice. It also needs to be accessible by the builder.

Thanks.
We have set the permissions to daemon on /mnt/koji (same user as apache).

It seems when we try to manually look at the directory it exists, this is also the same for when the srpm is uploaded and it fails prompting us file not found, even though we can find it by looking at that directory on the server.

Below is the kojira.log

2008-07-22 19:46:31,358 [DEBUG] koji.repo.manager: Reading current repo data
2008-07-22 19:46:36,855 [DEBUG] koji.repo.manager: Repo data: [{'create_event': 552, 'state': 0, 'tag_id': 2, 'tag_name': 'rutgers-centos5-build', 'create_ts': 1216754980.8750801, 'id': 534}, {'create_event': 553, 'state': 0, 'tag_id': 2, 'tag_name': 'rutgers-centos5-build', 'create_ts': 1216755215.82616, 'id': 535}]
2008-07-22 19:46:42,399 [DEBUG] koji.repo.manager: Needed tags: [2]
2008-07-22 19:46:42,400 [DEBUG] koji.repo.manager: Current tags: [2]
2008-07-22 19:46:42,400 [DEBUG] koji.repo: Checking for changes: [1, 2]
2008-07-22 19:46:47,902 [DEBUG] koji.repo: No tag changes since event 552
2008-07-22 19:46:47,902 [DEBUG] koji.repo: Checking for changes: [1, 2]
2008-07-22 19:46:53,429 [DEBUG] koji.repo: No tag changes since event 553
2008-07-22 19:46:53,430 [DEBUG] koji.repo.manager: order: []
2008-07-22 19:46:53,430 [DEBUG] koji.repo.manager: repo 534: tag=2, state=INIT 2008-07-22 19:46:53,430 [DEBUG] koji.repo.manager: repo 535: tag=2, state=INIT
2008-07-22 19:46:53,430 [DEBUG] koji.repo.manager: task 548 for tag 2
2008-07-22 19:46:53,430 [DEBUG] koji.repo.manager: Scanning filesystem for repos 2008-07-22 19:47:09,590 [INFO] koji.repo.manager: Problem: newRepo task 548 for tag 2 is FAILED
2008-07-22 19:47:09,591 [DEBUG] koji.repo.manager: Current tasks: {}
2008-07-22 19:47:09,591 [DEBUG] koji.repo.manager: Updating repos
2008-07-22 19:47:09,591 [DEBUG] koji.repo.manager: Reading current repo data
2008-07-22 19:47:15,273 [DEBUG] koji.repo.manager: Repo data: [{'create_event': 552, 'state': 0, 'tag_id': 2, 'tag_name': 'rutgers-centos5-build', 'create_ts': 1216754980.8750801, 'id': 534}, {'create_event': 553, 'state': 0, 'tag_id': 2, 'tag_name': 'rutgers-centos5-build', 'create_ts': 1216755215.82616, 'id': 535}, {'create_event': 554, 'state': 0, 'tag_id': 2, 'tag_name': 'rutgers-centos5-build', 'create_ts': 1216756145.8847401, 'id': 536}]
2008-07-22 19:47:15,273 [INFO] koji.repo.manager: Found repo 536, state=INIT
2008-07-22 19:47:26,421 [DEBUG] koji.repo.manager: Needed tags: [2]
2008-07-22 19:47:26,421 [DEBUG] koji.repo.manager: Current tags: [2]
2008-07-22 19:47:26,421 [DEBUG] koji.repo: Checking for changes: [1, 2]
2008-07-22 19:47:31,905 [DEBUG] koji.repo: No tag changes since event 554
2008-07-22 19:47:31,905 [DEBUG] koji.repo: Checking for changes: [1, 2]

Any idea?

Thanks.


--
Fedora-buildsys-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list


--
Naveen Gavini
Student Systems Programmer
OSS/CSS - OIT Rutgers
[EMAIL PROTECTED]

--
Fedora-buildsys-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to