Hello Michael >> PR702 Changed backend/satellite_tools/reposync.py to also download the >> .treeinfo file from a repo. The missing treeinfo file stops provisioning of >> KVMs. >> Downside is, that the now added treeinfo file causes issues when >> provisioning CentOS 8 as it includes the Appstream repo, which does not get >> synced down with reposync.
>What problem solves it? Is currently provisioning of all distributins >(Fedora, CentOS 6,7) or CentoOS 8 only broken? The current design: .treeinfo is not downloaded from the repo. This file seems to be required for kickstart provisionings. CentOS 7 shows a 404 before starting Anaconda. Then the kickstart continues without any further issues. On CentOS 8, it sometimes worked, sometimes doesn't. I think it depends on the channel setup. Sometimes even resaving of the channel helps. This month, I started looking at virtualising via kvm instead of VMWare but I was not able to provision CentOS 7 or CentOS 8 at all. I don't remember exactly but I think the installation process failed before anaconda. I traced it down to the missing .treeinfo file. Now with my fix, I can always deploy C7 and C8 reliably. Even on non kvm kickstart. As I mentioned, one drawback of the existing treeinfo file is that a default C8 definitely won't provision as the treeinfo file contains a link to the AppStream FOLDER, which one would usually not clone down for Spacewalk usage as all packages are in one/different Spacewalk Channels. So at the moment, one has to manually update the treeinfo file and remove linked channels. The way I see it though is, that this would be the expected design/flaw and should be improved upstream. Kopano has the same issue. I am happy to eventually work an a C8 specific/general Spacewalk improvement to filter all linked channels out if that is asked for. Either way, this limitation should be documented in the Spacewalk manual. Best wishes, Stefan ----- Ursprüngliche Mail ----- Von: "Michael Mraka" <michael.mr...@redhat.com> An: "spacewalk-devel" <spacewalk-devel@redhat.com> Gesendet: Freitag, 28. Februar 2020 11:29:04 Betreff: Re: [Spacewalk-devel] Spacewalk 2.10 branched Stefan Bluhm: > Hello Michael, Hello Stefan, > any chance to get my two pull requests into it? > > PR703 Is low risk (updating http to https in a SPEC file.) No problem with that one. Merged. > PR702 Changed backend/satellite_tools/reposync.py to also download the > .treeinfo file from a repo. The missing treeinfo file stops provisioning of > KVMs. > Downside is, that the now added treeinfo file causes issues when provisioning > CentOS 8 as it includes the Appstream repo, which does not get synced down > with reposync. What problem solves it? Is currently provisioning of all distributins (Fedora, CentOS 6,7) or CentoOS 8 only broken? > So eventually, there has to be a code change to automatically strip out > linked repositories and addition to the documentation to provide the stripped > out repositories as a channel during provisioning. Or auto-creation of the > treeinfo file. Apart from that, I would say that the above behaviour would be > as designed and should be expected in that way. > > Best wishes, > > Stefan Regards, -- Michael Mráka System Management Engineering, Red Hat _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel