-
Notifications
You must be signed in to change notification settings - Fork 180
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
"mgr podman" commands fail with common error #9348
Comments
I'm having the same issue as well. After the uninstall and reinstall, I'm getting a blank green page for the web gui. |
Crazy thing just happened around 4 am CST. My uyuni server updated itself but spacewalk-service won't start properly.
|
Comment to own, may have resolved this - requires verification before closing ticket, and ideally a fix to mgradm This is likely caused by the file /etc/rhn/rhn.conf containing two lines with "java.hostname" in them. I fixed this issue by:
Test and fix:
On inspection, this file contains TWO java.hostname lines uyuni-server:/ # grep java.hostname /etc/rhn/rhn.conf Removing one of these lines (Commenting out doesn’t fix it, obviously since it’s grepping) allowed me to run the update “mgradm update podman” So – it looks like the migration adds a valid java.hostname value to this file without checking whether one exists already. I suspect this could be fixed within mgradm by restricting the output of the value by one, ie, changing that command to:
|
That seemed to do the trick! I didn't even notice the double java.hostname in rhn.
|
Great stuff, glad it helped.
Not me. I suspect it existed in the original rpm install, and the migration tool added a second one, but can't verify that.
Ah yes, fixed, thanks. |
Problem description
I'm aware of several other issues raised reporting similar issues, but I've not found a resolution in those.
Server was migrated from RPM to Podman about 3 weeks ago. Most things are fine, but I'm concerned that this will prevent us upgrading to any future versions. We have a lot of changes invested since the upgrade, so starting the migration over is very much something we don't want to do.
During the upgrade I created a new vm, named it uyuni02 and as per the guide, turned off the original and then changed the ip and hostname of the new vm to that of the original. The clients are checking in, we've worked out scheduled events and things seem good, apart from this.
I have tried "mgradm uninstall --force" and "mgadm install podman" as advised in #9023 but this did not resolve it for me.
(I've manually changes the fqdn for privacy, but the two match)
Uyuni host vm (Leap micro 5.5)
In container, via "mgrctl term"
DNS lookup is resolved correctly inside and outside of the container
"mgradm upgrade podman" also fails with the same error.
Please advise. Thanks.
Steps to reproduce
As above
Uyuni version
Uyuni proxy version (if used)
No response
Useful logs
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: