Hello!
For quite a while koji is broken on CentOS 7
it fails when I try to regen-repo with error:
[kojiadmin@koji ~]$ koji --debug regen-repo dist-centos6-build successfully connected to hub Regenerating repo for tag dist-centos6-build Watching tasks (this may be safely interrupted)... 5 newRepo (dist-centos6-build): free Traceback (most recent call last): File "/bin/koji", line 6733, in <module> rv = locals()[command].__call__(options, session, args) File "/bin/koji", line 6506, in handle_regen_repo return watch_tasks(session, [task_id], quiet=options.quiet) File "/bin/koji", line 456, in watch_tasks changed = task.update() File "/bin/koji", line 361, in update self.info = self.session.getTaskInfo(self.id, request=True) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1577, in __call__ return self.__func(self.__name,args,opts) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1952, in _callMethod iter(arg) TypeError: 'int' object is not iterable
applying the patch found in https://lists.fedoraproject.org/pipermail/buildsys/2015-January/004484.html resolves the issue.
but this patch is more than 1 year old.
Could someone please fix this stuff?
steps to reproduce:
git clone https://github.com/kostyrevaa/ansible-koji-infra.git cd ansible-koji-infra/ ./bootstrap-ansible.sh vagrant up vagrant ssh sudo -i su - kojiadmin
koji moshimoshi koji add-tag dist-centos6 koji add-tag --parent dist-centos6 --arches "x86_64" dist-centos6-build koji add-external-repo -t dist-centos6-build dist-centos6-repo http://mirror.yandex.ru/centos/6/os/%5C$arch/ koji add-external-repo -t dist-centos6-build dist-epel6-repo http://mirror.yandex.ru/epel/6/%5C$arch/ koji add-target dist-centos6 dist-centos6-build koji add-group dist-centos6-build build koji add-group dist-centos6-build srpm-build koji add-group-pkg dist-centos6-build build bash bzip2 coreutils cpio diffutils findutils gawk gcc grep sed gcc-c++ gzip info patch redhat-rpm-config rpm-build shadow-utils tar unzip util-linux-ng which make koji add-group-pkg dist-centos6-build srpm-build bash gnupg make redhat-rpm-config rpm-build shadow-utils wget rpmdevtools koji regen-repo dist-centos6-build
P.S. the very same sequence of commands runs smoothly on CentOS 6.8
Thanks!
On Sun, Jul 24, 2016 at 9:57 PM, Александр Костырев kostyrevaa@gmail.com wrote:
Hello!
For quite a while koji is broken on CentOS 7
The koji in EPEL-7 works just fine, it's what we use in the Fedora infrastructure so is known good. Not sure what the details of the version in CentOS or where it comes from.
it fails when I try to regen-repo with error:
[kojiadmin@koji ~]$ koji --debug regen-repo dist-centos6-build successfully connected to hub Regenerating repo for tag dist-centos6-build Watching tasks (this may be safely interrupted)... 5 newRepo (dist-centos6-build): free Traceback (most recent call last): File "/bin/koji", line 6733, in <module> rv = locals()[command].__call__(options, session, args) File "/bin/koji", line 6506, in handle_regen_repo return watch_tasks(session, [task_id], quiet=options.quiet) File "/bin/koji", line 456, in watch_tasks changed = task.update() File "/bin/koji", line 361, in update self.info = self.session.getTaskInfo(self.id, request=True) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1577, in __call__ return self.__func(self.__name,args,opts) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1952, in _callMethod iter(arg) TypeError: 'int' object is not iterable
applying the patch found in https://lists.fedoraproject.org/pipermail/buildsys/2015-January/004484.html resolves the issue.
but this patch is more than 1 year old.
Could someone please fix this stuff?
steps to reproduce:
git clone https://github.com/kostyrevaa/ansible-koji-infra.git cd ansible-koji-infra/ ./bootstrap-ansible.sh vagrant up vagrant ssh sudo -i su - kojiadmin
koji moshimoshi koji add-tag dist-centos6 koji add-tag --parent dist-centos6 --arches "x86_64" dist-centos6-build koji add-external-repo -t dist-centos6-build dist-centos6-repo http://mirror.yandex.ru/centos/6/os/%5C$arch/ koji add-external-repo -t dist-centos6-build dist-epel6-repo http://mirror.yandex.ru/epel/6/%5C$arch/ koji add-target dist-centos6 dist-centos6-build koji add-group dist-centos6-build build koji add-group dist-centos6-build srpm-build koji add-group-pkg dist-centos6-build build bash bzip2 coreutils cpio diffutils findutils gawk gcc grep sed gcc-c++ gzip info patch redhat-rpm-config rpm-build shadow-utils tar unzip util-linux-ng which make koji add-group-pkg dist-centos6-build srpm-build bash gnupg make redhat-rpm-config rpm-build shadow-utils wget rpmdevtools koji regen-repo dist-centos6-build
P.S. the very same sequence of commands runs smoothly on CentOS 6.8
Thanks!
buildsys mailing list buildsys@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/buildsys@lists.fedoraproject.org
The koji in EPEL-7 works just fine
As of yesterday, installing koji-builder fails with error: Error: Package: koji-builder-1.10.1-8.el7.noarch (epel) Requires: python2-multilib You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest CentOS 7.2
I am guessing by the .centos in the disttag, that the build is provided by CentOS or self built. You will need to ask whoever provided the rpm, epel currently has koji-1.10.1-10.el7 available
Dennis
On Sunday, July 24, 2016 11:57:07 PM CDT Александр Костырев wrote:
Hello!
For quite a while koji is broken on CentOS 7
it fails when I try to regen-repo with error:
[kojiadmin@koji ~]$ koji --debug regen-repo dist-centos6-build successfully connected to hub Regenerating repo for tag dist-centos6-build Watching tasks (this may be safely interrupted)... 5 newRepo (dist-centos6-build): free Traceback (most recent call last): File "/bin/koji", line 6733, in <module> rv = locals()[command].__call__(options, session, args) File "/bin/koji", line 6506, in handle_regen_repo return watch_tasks(session, [task_id], quiet=options.quiet) File "/bin/koji", line 456, in watch_tasks changed = task.update() File "/bin/koji", line 361, in update self.info = self.session.getTaskInfo(self.id, request=True) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1577, in __call__ return self.__func(self.__name,args,opts) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1952, in _callMethod iter(arg) TypeError: 'int' object is not iterable
applying the patch found in https://lists.fedoraproject.org/pipermail/buildsys/2015-January/004484.html resolves the issue.
but this patch is more than 1 year old.
Could someone please fix this stuff?
steps to reproduce:
git clone https://github.com/kostyrevaa/ansible-koji-infra.git cd ansible-koji-infra/ ./bootstrap-ansible.sh vagrant up vagrant ssh sudo -i su - kojiadmin
koji moshimoshi koji add-tag dist-centos6 koji add-tag --parent dist-centos6 --arches "x86_64" dist-centos6-build koji add-external-repo -t dist-centos6-build dist-centos6-repo http://mirror.yandex.ru/centos/6/os/%5C$arch/ koji add-external-repo -t dist-centos6-build dist-epel6-repo http://mirror.yandex.ru/epel/6/%5C$arch/ koji add-target dist-centos6 dist-centos6-build koji add-group dist-centos6-build build koji add-group dist-centos6-build srpm-build koji add-group-pkg dist-centos6-build build bash bzip2 coreutils cpio diffutils findutils gawk gcc grep sed gcc-c++ gzip info patch redhat-rpm-config rpm-build shadow-utils tar unzip util-linux-ng which make koji add-group-pkg dist-centos6-build srpm-build bash gnupg make redhat-rpm-config rpm-build shadow-utils wget rpmdevtools koji regen-repo dist-centos6-build
P.S. the very same sequence of commands runs smoothly on CentOS 6.8
Thanks!
buildsys mailing list buildsys@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/buildsys@lists.fedoraproject.org
I am guessing by the .centos in the disttag, that the build is provided by CentOS
indeed. I tried to use packages provided by CentOS Extras (it's enabled by default)
epel currently has koji-1.10.1-10.el7 available
yes, in its epel-testing repo
but I can't use it because of Error: Package: koji-builder-1.10.1-10.el7.noarch (epel-testing) Requires: python2-multilib You could try using --skip-broken to work around the problem
buildsys@lists.fedoraproject.org