My koji server have kojihub,kojiweb,kojira,kojid, When I modified the server ip from 172.16.70.249 to 172.16.70.33 . I modified the kojira,kojid,kojihub,kojiweb's ip info . But the yum also use 172.16.70.249 . I already "koji regen-repo" also.
--------------------------- /usr/bin/yum --installroot /dist/mock/moblin2-build-55-45/root/ groupinstall build ... udev i586 136-22.1.moblin2 build 337 k unzip i586 5.52-12.119.moblin2 build 138 k usleep i586 1-1.43.moblin2 build 5.7 k util-linux-ng i586 2.14.1-11.26.moblin2 build 2.0 M zlib i586 1.2.3-29.4.moblin2 build 48 k
Transaction Summary ============================================================================= Install 105 Package(s) Update 0 Package(s) Remove 0 Package(s)
Total download size: 84 M http://172.16.70.249/packages/bash/3.2/29.3.moblin2/i586/bash-3.2-29.3.mobli...: [Errno 4] IOError: <urlopen error (113, '\xe6\xb2\xa1\xe6\x9c\x89\xe5\x88\xb0\xe4\xb8\xbb\xe6\x9c\xba\xe7\x9a\x84\xe8\xb7\xaf\xe7\x94\xb1')> Trying other mirror. http://172.16.70.249/packages/less/418/9.14.moblin2/i586/less-418-9.14.mobli...: [Errno 4] IOError: <urlopen error (114, '\xe6\x93\x8d\xe4\xbd\x9c\xe5\xb7\xb2\xe7\xbb\x8f\xe5\x9c\xa8\xe8\xbf\x9b\xe8\xa1\x8c')> Trying other mirror.
==========================
Did anyone can help me ? Thanks for you help!
I've solv this probole. the /usr/sbin/kojid have following code: ---------------------------------- 2584 #cmd.append('--update') 2585 #if options.createrepo_skip_stat: 2586 # cmd.append('--skip-stat') ==============================
I commented it , so the createrepo run as follow (see createrepo.log): -------------------------------
$ /usr/bin/createrepo -vd -o /tmp/koji/tasks/273/273/repo \ -i /data/koji/repos/moblin2-build/49/i386/pkglist \ -u http://172.16.70.33/packages \ -g /data/koji/repos/moblin2-build/49/groups/comps.xml \ /data/koji/packages/ =======================
The above command has no "--update --skip_stat",and now looks like ok! I'll recomment the three lines later.
Thanks,
2009/6/3 李建 lijian.gnu@gmail.com
My koji server have kojihub,kojiweb,kojira,kojid, When I modified the server ip from 172.16.70.249 to 172.16.70.33 . I modified the kojira,kojid,kojihub,kojiweb's ip info . But the yum also use 172.16.70.249 . I already "koji regen-repo" also.
/usr/bin/yum --installroot /dist/mock/moblin2-build-55-45/root/ groupinstall build ... udev i586 136-22.1.moblin2 build 337 k unzip i586 5.52-12.119.moblin2 build 138 k usleep i586 1-1.43.moblin2 build 5.7 k util-linux-ng i586 2.14.1-11.26.moblin2 build 2.0 M zlib i586 1.2.3-29.4.moblin2 build 48 k
Transaction Summary
============================================================================= Install 105 Package(s) Update 0 Package(s) Remove 0 Package(s)
Total download size: 84 M
http://172.16.70.249/packages/bash/3.2/29.3.moblin2/i586/bash-3.2-29.3.mobli...: [Errno 4] IOError: <urlopen error (113, '\xe6\xb2\xa1\xe6\x9c\x89\xe5\x88\xb0\xe4\xb8\xbb\xe6\x9c\xba\xe7\x9a\x84\xe8\xb7\xaf\xe7\x94\xb1')> Trying other mirror.
http://172.16.70.249/packages/less/418/9.14.moblin2/i586/less-418-9.14.mobli...: [Errno 4] IOError: <urlopen error (114, '\xe6\x93\x8d\xe4\xbd\x9c\xe5\xb7\xb2\xe7\xbb\x8f\xe5\x9c\xa8\xe8\xbf\x9b\xe8\xa1\x8c')> Trying other mirror.
==========================
Did anyone can help me ? Thanks for you help!
-- 李建 msn lijian.gnu@gmail.com
李建 wrote:
I've solv this probole. the /usr/sbin/kojid have following code:
2584 #cmd.append('--update') 2585 #if options.createrepo_skip_stat: 2586 # cmd.append('--skip-stat') ==============================
I commented it , so the createrepo run as follow (see createrepo.log):
It seems a little silly to comment out code that can be disabled with a configuration option (createrepo_skip_stat). Of course, there is no option to disable the --update.
When I need to force the system to regenerate repos from scratch I just expire them in the db. This works because kojid will only recycle repodata from a repo in the READY state. Anyway, to expire all current repos, I'd use this sql command: - update repo set state = 2 where state in (0, 1); You'll also need to cancel any newRepo tasks that were running beforehand.
Good,the method you give is simple.I'll test later.My repo table in sql now is following,Did you can tell me what's mean about state=3 ? and state=1 ,and state=2 ?
Thank you very much ! I have draw a koji illustrative diagram , can you give me some advices?
http://workplace.turbolinux.com.cn/attachments/120/koji%E5%8E%9F%E7%90%86%E5... **
I've write many docs about install koji server and use koji,all is chinese. Can I put it on koji wiki ?
https://fedoraproject.org/wiki/Talk:Koji
---------------------------------------------------- koji=> SELECT * from repo; id | create_event | tag_id | state ----+--------------+--------+------- 5 | 3848 | 2 | 3 6 | 3849 | 2 | 3 8 | 3860 | 1 | 3 7 | 3857 | 2 | 3 9 | 3861 | 2 | 3 10 | 3883 | 2 | 3 11 | 3899 | 2 | 3 12 | 3901 | 2 | 3 13 | 3982 | 2 | 3 14 | 4021 | 2 | 3 15 | 4044 | 2 | 3 16 | 4073 | 2 | 3 17 | 4117 | 2 | 3 18 | 4151 | 2 | 3 19 | 4160 | 2 | 3 20 | 4162 | 2 | 3 21 | 4189 | 2 | 3 22 | 4200 | 2 | 3 23 | 4305 | 2 | 3 24 | 4382 | 2 | 3 25 | 4431 | 2 | 3 27 | 4455 | 4 | 3 28 | 4457 | 4 | 3 29 | 4463 | 4 | 3 30 | 4494 | 4 | 3 31 | 4509 | 4 | 3 32 | 4511 | 4 | 3 33 | 4521 | 4 | 3 34 | 4531 | 4 | 3 40 | 7335 | 5 | 2 41 | 7348 | 3 | 2 42 | 7349 | 5 | 2 35 | 4540 | 4 | 3 43 | 7350 | 6 | 2 45 | 7356 | 6 | 2 46 | 7369 | 6 | 2 44 | 7355 | 4 | 2 47 | 7372 | 6 | 2 48 | 7373 | 4 | 2 49 | 7376 | 6 | 2 52 | 7392 | 6 | 2 56 | 7401 | 6 | 2 50 | 7379 | 4 | 2 51 | 7386 | 2 | 1 26 | 4441 | 2 | 3 53 | 7394 | 6 | 2 54 | 7396 | 6 | 2 57 | 7405 | 6 | 2 59 | 7424 | 4 | 1 55 | 7400 | 6 | 2 36 | 7290 | 6 | 3 37 | 7292 | 6 | 3 38 | 7318 | 6 | 3 39 | 7323 | 6 | 3 58 | 7410 | 6 | 2 61 | 7443 | 6 | 1 60 | 7441 | 6 | 2 (57 rows)
================================
2009/6/4 Mike McLean mikem@redhat.com
李建 wrote:
I've solv this probole. the /usr/sbin/kojid have following code:
2584 #cmd.append('--update') 2585 #if options.createrepo_skip_stat: 2586 # cmd.append('--skip-stat') ==============================
I commented it , so the createrepo run as follow (see createrepo.log):
It seems a little silly to comment out code that can be disabled with a configuration option (createrepo_skip_stat). Of course, there is no option to disable the --update.
When I need to force the system to regenerate repos from scratch I just expire them in the db. This works because kojid will only recycle repodata from a repo in the READY state. Anyway, to expire all current repos, I'd use this sql command:
- update repo set state = 2 where state in (0, 1);
You'll also need to cancel any newRepo tasks that were running beforehand.
-- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
李建 wrote:
Good,the method you give is simple.I'll test later.My repo table in sql now is following,Did you can tell me what's mean about state=3 ? and state=1 ,and state=2 ?
from koji/__init__.py: REPO_STATES = Enum(( 'INIT', 'READY', 'EXPIRED', 'DELETED', 'PROBLEM', ))
So 0 = INIT, 1 = READY, 2 = EXPIRED, 3 = DELETED
Thank you very much ! I have draw a koji illustrative diagram , can you give me some advices?
http://workplace.turbolinux.com.cn/attachments/120/koji%E5%8E%9F%E7%90%86%E5...
This link prompts me for a password
Thanks for your help.
Sorry about the wrong url.It's our internal service. I put it here now:
chinese description images: http://lh6.ggpht.com/_7pYSaZNGn90/SijV4bEsPiI/AAAAAAAAAFI/8nu2aSZfbcc/s400/k...
English description images: http://lh6.ggpht.com/_7pYSaZNGn90/SijXT9kmo2I/AAAAAAAAAFM/2W0kLoYuBps/koji-e...
2009/6/5 Mike McLean mikem@redhat.com
李建 wrote:
Good,the method you give is simple.I'll test later.My repo table in sql
now
is following,Did you can tell me what's mean about state=3 ? and state=1 ,and state=2 ?
from koji/__init__.py: REPO_STATES = Enum(( 'INIT', 'READY', 'EXPIRED', 'DELETED', 'PROBLEM', ))
So 0 = INIT, 1 = READY, 2 = EXPIRED, 3 = DELETED
Thank you very much ! I have draw a koji illustrative diagram , can you
give
me some advices?
http://workplace.turbolinux.com.cn/attachments/120/koji%E5%8E%9F%E7%90%86%E5...
This link prompts me for a password
-- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
buildsys@lists.fedoraproject.org