Learn more about these different git repos.
Other Git URLs
Hello!
I'm trying to make spin-off distro based on CentOS 7 so I set up Koji with CentOS 7.
After the bootstrap guide finished, I executed koji spin-livecd ... command and then kojid has failed like below
koji spin-livecd ...
Using title 'Anystor Enterprise' and product 'Anystor Enterprise' Extending sparse file /var/tmp/imgcreate-VMpw32/tmp-qFsh4e/ext3fs.img to 4294967296 Losetup add /dev/loop0 mapping to /var/tmp/imgcreate-VMpw32/tmp-qFsh4e/ext3fs.img Formating ext3 filesystem on /dev/loop0 mke2fs 1.42.9 (28-Dec-2013) Discarding device blocks: 4096/1048576??????????????? ???????????????done Filesystem label=_anystor-enterpr OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 262144 inodes, 1048576 blocks 10485 blocks (1.00%) reserved for the super user First data block=0 Maximum filesystem blocks=1073741824 32 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736 Allocating group tables: 0/32????? ?????done Writing inode tables: 0/32????? ?????done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: 0/32????? ?????done Tuning filesystem on /dev/loop0 tune2fs 1.42.9 (28-Dec-2013) Setting maximal mount count to -1 Setting interval between checks to 0 seconds Extending sparse file /var/tmp/imgcreate-VMpw32/tmp-qFsh4e/ext3fs.img to 4294967296 Mounting /dev/loop0 at /var/tmp/imgcreate-VMpw32/install_root Skipping (/sys/fs/selinux,/sys/fs/selinux) because source doesn't exist. Error creating Live CD : failure: repodata/repomd.xml from koji-dist-ase3-build-18: [Errno 256] No more mirrors to try. http://koji.gluesys.com/kojifiles/repos/dist-ase3-build/18/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: koji.gluesys.com; Unknown error" Unmounting directory /var/tmp/imgcreate-VMpw32/install_root Losetup remove /dev/loop0
I asked a question on IRC, yzhu(Yuming Zhu) answered
PotatoGim an you try to modify /usr/lib/python2.7/site-packages/koji/__init__.py to add one item 'rpmbuild_networking': True in config_opts of genMockConfig()?
So I modified genMockConfig() method á…Ÿaccording to that.
genMockConfig()
As a result, It works fine.
it's caused by mock-1.4.9-1 introduced config_opts['rpmbuild_networking'] for new-chroot see https://github.com/rpm-software-management/mock/issues/113
config_opts['rpmbuild_networking']
There are numerous issues between Koji and the newest versions of mock right now. Perhaps we need a meta-tracker for them.
PR #897
Commit 4a2e875 fixes this issue
@mikem: Thanks! :thumbsup:
Metadata Update from @julian8628: - Issue set to the milestone: 1.17
Login to comment on this ticket.