Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance ostree mirroring for better UX #54

Closed
dustymabe opened this issue Oct 1, 2018 · 9 comments
Closed

enhance ostree mirroring for better UX #54

dustymabe opened this issue Oct 1, 2018 · 9 comments
Assignees
Labels
infra Related to Fedora Infrastructure team work/input jira for syncing to jira priority/high

Comments

@dustymabe
Copy link
Member

dustymabe commented Oct 1, 2018

Since we have decided on using ostree repos to deliver content to end users for now, let's work with Fedora Infra and upstream in ostree to get ostree mirroring set up and working well.

related:

@dustymabe dustymabe added infra Related to Fedora Infrastructure team work/input jira for syncing to jira labels Oct 1, 2018
@dustymabe
Copy link
Member Author

mariking as high priority as the UX is something we want to get right for FCOS

@sinnykumari
Copy link
Contributor

Mirrormanager issue - fedora-infra/mirrormanager2#258

@sinnykumari
Copy link
Contributor

We are also exploring using cloudfront to CDN entire ostree repo/ for content delivery and making use of contenturl to fetch repo/deltas/ and repo/objects/ content on client machine. This approach has some interesting results at ostreedev/ostree#1541 (comment)

@ramcq
Copy link

ramcq commented Jan 9, 2019

(CDN works really well for Flathub, fwiw! :D)

@sinnykumari
Copy link
Contributor

We have new cloudfront set-up done from Fedora side caching content of ostree repo https://kojipkgs.fedoraproject.org/atomic/repo/ .
With new config, user's config looks something like:

[remote "fedora"]
url=https://ostree.fedoraproject.org
gpg-verify=true
gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary
contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist

With new config, we have seen nice results with speed improvement upto 20 times faster. See ostreedev/ostree#1541 (comment)

@jlebon
Copy link
Member

jlebon commented Jan 30, 2019

Let's discuss this in today's community meeting? And if we're agreed, then we can move forward with planning on updating user configs. (This is more for other Fedora OSTree-based systems available right now of course, given that FCOS is not yet out :)).

One note: was talking about this with @sinnykumari and @puiterwijk at DevConf.cz about shipping the config as part of a package. Now that we have ostreedev/ostree#1773, we should definitely do this from day 0 for FCOS.

@sinnykumari sinnykumari added the meeting topics for meetings label Jan 30, 2019
@bgilbert bgilbert removed the meeting topics for meetings label Jan 30, 2019
@dustymabe
Copy link
Member Author

This work is in progress and should be complete today.

@sinnykumari
Copy link
Contributor

In FCOS community meeting , we agreed that using ostree config with contenturl set makes ostree update much faster on user's system.

Updated ostree ostree config looks like:

[remote "fedora"]
url=https://ostree.fedoraproject.org
gpg-verify=true
gpgkeypath=/etc/pki/rpm-gpg/
contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist

Latest ostree supports passing directory containing list of gpgpkeys in gpgkeypath .

Next step is to ship this config to user through an rpm package. This allow us to update the remote config whenever required without effecting user's existing ostree remote config. This will be tracked in #143 .

@dustymabe
Copy link
Member Author

Nice work sinny!

kean0048 pushed a commit to kean0048/fedora-lorax-templates-for-legion that referenced this issue Jul 2, 2024
See coreos/fedora-coreos-tracker#54 (comment)

Rawhide recently changed keys, let's not be broken by default.

Signed-off-by: Colin Walters <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Related to Fedora Infrastructure team work/input jira for syncing to jira priority/high
Projects
None yet
Development

No branches or pull requests

5 participants