Example failed koji task: https://koji.fedoraproject.org/koji/taskinfo?taskID=20474689
We recently started having ostree re-use the local mirror of content from the ISO image if it existed. We have it look in /ostree/repo and /run/install/repo in this line of code. At least for fedora 25 (according to the lorax template the real location was /run/install/repo/content/repo. However /run/install/repo/ is an actual directory on our media and has several things in there that anaconda uses. So /run/install/repo exists and is not an ostree repo.
/ostree/repo
/run/install/repo
/run/install/repo/content/repo
/run/install/repo/
This means that any ostree anaconda install that is initiated from a non-ostree install tree (like our atomic host qcows are in our pungi composes) will fail with this error:
The following error occurred while installing. This is a fatal error and installation will be aborted. Failed to pull from repository: g-io-error-quark: Opening objects/ directory: openat: No such file or directory (1)
I'm thinking we should
Thoughts?
Metadata Update from @dustymabe: - Issue tagged with: rawhide, releng
Note - adding this %pre script to your kickstart is a workaround:
%pre mkdir -p /ostree/repo ostree init --mode=archive --repo=/ostree/repo %end
PR for temporary workaround until a new build of anaconda is out: https://pagure.io/fedora-kickstarts/pull-request/261#
https://pagure.io/pungi-fedora/pull-request/296
Metadata Update from @dustymabe: - Issue tagged with: anaconda
New build of anaconda is out: https://koji.fedoraproject.org/koji/buildinfo?buildID=942056 - will remove the workaround and attempt installs.
works in rawhide. PR to revert workaround here: https://pagure.io/fedora-kickstarts/pull-request/274
I'm going to close this issue.
Metadata Update from @dustymabe: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.