#3182 koji download-task not working for scratch image builds
Closed: Fixed 2 months ago by tkopecek. Opened 8 months ago by geoargyr.

I am trying some scratch image builds which are successfully built and the command koji download-task <task_id> is not working with any task_id.
Is this a bug or the installation is missing configuration?

I searched in the koji nodes and the image that is built is stored succesfully, but I cannot download it with any of the koji commands.

Interesting - nobody has ever tried to use it in this way :-)
Yes, it is not possible. Yes, it could be fixed. Currently download-task will download only rpm content if it is a buildArch task. It could download some other things also.

Anyway, scratch tasks could be quickly garbage-collected (depending on settings) and content would be available in /mnt/koji/scratch/<username>/task_<id>/ I still think we should add download-scratch-build command to not confuse the people. @mikem ?

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

8 months ago

Pull Request #3311 provides a possible solution for this issue.

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.29

4 months ago

It seems the download-task command is hard-wired to only handle buildArch tasks, or their parent tasks.

The right way to address this is to extend/fix the logic in download-task. We may want to add a filter option or two.

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

3 months ago

I tested PR #3343 from the functionality point of view and it works!
Based on that I am going to withdraw my PR #3311

Metadata Update from @jcupova:
- Issue untagged with: testing-ready
- Issue set to the milestone: 1.29.1 (was: 1.29)

3 months ago

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

3 months ago

Metadata Update from @mfilip:
- Issue tagged with: testing-done

2 months ago

Login to comment on this ticket.

Related Pull Requests
  • #3343 Merged 2 months ago