-
Notifications
You must be signed in to change notification settings - Fork 175
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
Add all necessary packages to bootstrap repo (Centos) #2193
Comments
What CentOS version? What version of Uyuni are you using? I see the packages defined as part of the bootstrap repos for 6 and 7: https://github.com/uyuni-project/uyuni/blob/master/susemanager/src/mgr_bootstrap_data.py#L252 Could be your bootstrap repository is outdated and you need to regenerate it. If the packages on the repositories available to the client are newer, those will be used (local repositories are disabled after the bootstrap, not before). |
I use Centos 7 and Uyuni 2020.04 Now i regen. the bootstrap repo and try it again! Thanks the help! |
Now i do this:
It better now, start to install, but when i install it, i get this: So one package missing, right? |
@vampywiz17 see #2115 |
Yes, but i can not add the epel, i disable all repos. if i add epel via post script and enable internet access to the VM, it working well. (all other repos, exclode bootrstrap and epel diabled) So my only problem that one packege need to salt, that only download it with epel repo. I think a workround, that i download the package to a local webserver. but it not so clean.. |
I think I am missing something here. You should not needed any local repositories enabled on an instance when you are bootstrapping. Just disable all local repos on the instance before bootstrapping it, and all needed packages will come from the bootstrap repo, as described at #2115 (comment) Of course if you then run the update, you will get the issue described at that very same comment. The issue should go away when we start shipping salt 3000 (requires Leap 15.2 to be published). However it can happen at any time, so we opened yesterday an internal (SUSE Manager) research card, that should result on an RFC to be discussed with the community for a result to be implemented. Of course if in the meantime anyone comes with a good idea, we'll be happy to hear about it :-) |
I dont understand... I disable all repos via script #2193 (comment) and after i run bootstrap and i get the error... edit: Now i try this:
edit2: same... not working. All other repo is disabled, |
Is EPEL7 a child of the parent channel for CentOS7 at the Uyuni Server? If that's the case, and the bootstap repository was created with packages from EPEL, I think you will have this problem as well. Solution: remove EPEL7 or move it out of the CentOS7 tree, regenerate the bootstrap repository ( On paper you can readd EPEL7 again to the tree after the bootstrap repo regenerated, but as of this moment EPEL is know to provoke problems, as described at #2115
That's not the bootstrap repository, but the client tools repository. It's a GPG key and I can open it (but not with Chrome or Chromium as I think it will think it's a XML). |
Yes i think it is the probem!
You help me a little that how to move it ? (i dont want to delete it with spacewalk-remove-channel ) |
I was thinking that changing the parent channel was possible, but just checked on my Uyuni server and that value can't be changed. So the alternative that should work:
However this could impact your activation keys, so make sure they are OK after step 8 and before bootstrapping any new client. Also the bad news is that you will need to do this workaround each time you want to update your bootstrap repositories (from time to time we request a refresh if we change packages). So there isn't an elegant way of fixing right now. Still this won't fix the problem you see at #2115 (comment) So as you can see, all in all, what I propose is an ugly hack. The short message is "EPEL is not supported right now, we are working to see how we can fix this problem (and the problem with any other repositories that could cause the same issue)". |
I see, it a sad news... Now i delete the epel repo , regenerate the bootstrap repo and download the epel again. Now the kickstart is working well. (for a while seems to) I hope you are fix it in the future. Thanks to the help!! |
Glad I could help. Since we have this problem already at #2115, do you mind if I close this issue? |
Yes, please close it! Thanks! |
Hello there,
If we want to install/configure salt via bootstrap, we need to add this dependencies:
Most of them is get to base repo and epel(!!) It not so good, becaouse most of time the (on my infra) bootstraped server can not connect to the internet. It possible to add all neccesarry dependencies to bootstrap repo?
The text was updated successfully, but these errors were encountered: