FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 07-22-2008, 08:02 PM
Naveen Gavini
 
Default GenericError Repo directory missing

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.


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.

--
Naveen Gavini
Student Systems Programmer
OSS/CSS - OIT Rutgers
ngavini@jla.rutgers.edu

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 07-22-2008, 08:28 PM
Mike Bonnet
 
Default GenericError Repo directory missing

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 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
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 07-22-2008, 09:19 PM
Naveen Gavini
 
Default GenericError Repo directory missing

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
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list




--
Naveen Gavini
Student Systems Programmer
OSS/CSS - OIT Rutgers
ngavini@jla.rutgers.edu

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 07-22-2008, 09:26 PM
Doug Ledford
 
Default GenericError Repo directory missing

On Tue, 2008-07-22 at 17:19 -0400, Naveen Gavini wrote:
> We thought since kojira was creating the
> repos directories that would suffice.

Mike corrected me on this same thing once. The deal is that kojira
doesn't create repos, it only creates repo creation *tasks* which are
then picked up by kojid and carried out by kojid.

--
Doug Ledford <dledford@redhat.com>
GPG KeyID: CFBFF194
http://people.redhat.com/dledford

Infiniband specific RPMs available at
http://people.redhat.com/dledford/Infiniband

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 07-22-2008, 09:31 PM
Mike McLean
 
Default GenericError Repo directory missing

Naveen Gavini wrote:

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.


It depends on how you configure the builder. If you specify a
topurl value, them the builder will access the repos via http. Otherwise
it will access them via the filesystem under /mnt/koji.


--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 07-22-2008, 09:58 PM
Mike Bonnet
 
Default GenericError Repo directory missing

On Tue, 2008-07-22 at 17:19 -0400, Naveen Gavini wrote:
> 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.

It is possible to have a builder that doesn't need access to /mnt/koji
if you configure topurl, as Mike McLean suggested, and remove that
builder from the "createrepo" channel (so it won't take newRepo tasks).
However, you always need to have at least one builder that has
(read-only) access to /mnt/koji in the "createrepo" channel, or no repos
will ever get created/refreshed.

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

Thread Tools




All times are GMT. The time now is 11:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org