Hello all, I'm installing Koji 1.3.2 (all services on the same server) and I have problem with newRepo task.
I have used http://fedoraproject.org/wiki/Koji/ServerHowTo guideline to configure koji and apache daemons and http://fedoraproject.org/wiki/Koji/ServerBootstrap guideline to start using koji. Peux tu m'apporter ta lumière si tu connais bien koji ? I have imported SRPM in koji $ koji import hawai-webmin-1.510-1.hawai5.src.rpm I have created distrib and build tag, associated the RPM to the tag and launched build for the tag $ koji add-pkg --owner hawai dist-hawai-5 hawai-webmin $ koji add-tag --parent dist-hawai-5 --arches x86_64 "noarch" dist-hawai-5-build $ koji add-target dist-hawai-5 dist-hawai-5-build $ koji add-group dist-hawai-5-build build $ koji list-groups dist-hawai-5-build build [dist-hawai-5-build] kawai-webmin: None, default [dist-hawai-5-build] As a consequence koji has created newRepo task: $ koji list-tasks ID Pri Owner State Arch Name 237 15 kojira FAILED noarch newRepo [hwi06os.hawai.recouv] 238 14 kojira FAILED noarch +createrepo [hwi06os.hawai.recouv] 239 15 kojira FAILED noarch newRepo [hwi06os.hawai.recouv] 240 14 kojira FAILED noarch +createrepo [hwi06os.hawai.recouv] .... In kojid log repodata directory don't exist: 2010-09-02 14:25:01,979 [INFO] koji.build: Starting up 2010-09-02 14:26:49,152 [INFO] koji.build.TaskManager: Attempting to take task 161 2010-09-02 14:26:50,881 [INFO] koji.build.TaskManager: pids: {161: 22620} 2010-09-02 14:26:51,358 [INFO] koji.build.TaskManager: open task: {'waiting': None, 'id': 161, 'weight': 0.10000000000000001} 2010-09-02 14:27:08,286 [INFO] koji.build.TaskManager: pids: {161: 22620} 2010-09-02 14:27:08,757 [INFO] koji.build.TaskManager: open task: {'waiting': True, 'id': 161, 'weight': 0.10000000000000001} 2010-09-02 14:27:10,206 [INFO] koji.build.TaskManager: Attempting to take task 162 2010-09-02 14:27:11,947 [INFO] koji.build.TaskManager: pids: {161: 22620, 162: 22621} 2010-09-02 14:27:12,432 [INFO] koji.build.TaskManager: open task: {'waiting': True, 'id': 161, 'weight': 0.10000000000000001} 2010-09-02 14:27:12,433 [INFO] koji.build.TaskManager: open task: {'waiting': None, 'id': 162, 'weight': 1.5} 2010-09-02 14:27:12,667 [WARNING] koji.build.TaskManager: TRACEBACK: Traceback (most recent call last): File "/usr/sbin/kojid", line 1285, in runTask response = (handler.run(),) File "/usr/sbin/kojid", line 1361, in run return self.handler(*self.params,**self.opts) File "/usr/sbin/kojid", line 2884, in handler for f in os.listdir(self.datadir): OSError: [Errno 2] No such file or directory: '/tmp/koji/tasks/162/162/repo/repodata' 2010-09-02 14:27:29,382 [INFO] koji.build.TaskManager: pids: {161: 22620, 162: 22621} 2010-09-02 14:27:29,855 [INFO] koji.build.TaskManager: open task: {'waiting': True, 'id': 161, 'weight': 0.10000000000000001, 'alert': True} 2010-09-02 14:27:29,855 [INFO] koji.build.TaskManager: Waking up task: {'waiting': True, 'id': 161, 'weight': 0.10000000000000001, 'alert': True} 2010-09-02 14:27:29,856 [INFO] koji.build.TaskManager: Task 162 (pid 22621) exited with status 0 2010-09-02 14:27:29,890 [INFO] koji.build.TaskManager: Expiring subsession 230 (task 162) 2010-09-02 14:27:30,826 [WARNING] koji.build.TaskManager: FAULT: Traceback (most recent call last): File "/usr/sbin/kojid", line 1285, in runTask response = (handler.run(),) File "/usr/sbin/kojid", line 1361, in run return self.handler(*self.params,**self.opts) File "/usr/sbin/kojid", line 2841, in handler results = self.wait(subtasks.values(), all=True, failany=True) File "/usr/sbin/kojid", line 1448, in wait return dict(session.host.taskWaitResults(self.id,subtasks)) File "__init__.py", line 1302, in __call__ File "__init__.py", line 1548, in _callMethod Fault: <Fault 1: 'Traceback (most recent call last): File "/usr/sbin/kojid", line 1285, in runTask response = (handler.run(),) File "/usr/sbin/kojid", line 1361, in run return self.handler(*self.params,**self.opts) File "/usr/sbin/kojid", line 2884, in handler for f in os.listdir(self.datadir): OSError: [Errno 2] No such file or directory: \'/tmp/koji/tasks/162/162/repo/repodata\' In kojira logs repodata is not created : 2010-09-02 14:26:35,459 [INFO] koji.repo.manager: Created newRepo task 161 for tag 4 (dist-hawai-5-build) 2010-09-02 14:27:06,898 [INFO] koji.repo.manager: Found repo 82, state=INIT 2010-09-02 14:27:31,906 [INFO] koji.repo.manager: Problem: newRepo task 161 for tag 4 is FAILED I have RUNAS=root in /etc/sysconfig/kojira also no rights error (all is launched on the same server) createrepo is available on the server and createrepo canal is added to the server $ koji add-host-to-channel hwi06os.hawai.recouv createrepo GenericError: host hwi06os.hawai.recouv is already subscribed to the createrepo channel kojira user has "repo" rights $koji list-permissions --user kojira repo Any Idea ? Regards, Pierre -- buildsys mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/buildsys
