#11322 301 Moved Permanently curl http://localhost:80/ipa/ui
Closed: Fixed with Explanation a year ago by zlopez. Opened a year ago by seddik.

@zlopez tried to curl http://localhost:80/ipa/ui from ipa01 machine and permanently it's redirected to http://ipa01.iad2.fedoraproject.org/ipa/ui

[root@ipa01 httpd][PROD-IAD2]# curl http://localhost:80/ipa/ui
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://ipa01.iad2.fedoraproject.org/ipa/ui">here</a>.</p>
</body></html>

Metadata Update from @zlopez:
- Issue tagged with: Needs investigation

a year ago

I don't have that much experience with the HTTP redirection troubleshooting.

Here is what I tried:

  • <fas>.id.fedoraproject.org isn't redirected to ipa01.iad2.fedoraproject.rog
  • I checked proxies-redirects playbook and didn't found anything
  • Restarted httpd daemon on ipa01.iad2.fedoraproject.org using ipactl
  • Checked httpd configuration on ipa01.iad2.fedoraproject.org and proxy01.iad2.fedoraproject.org, but didn't saw anything suspicious
  • Checked latest commits in ansible repo, but didn't found anything that would cause this

This started happening at 6:22 UTC today.

To fix this you need to run ipa playbook.

From @kevin: This is because rhel 8.8 came out yesterday, ipa was updated in it with a security update, so dnf-automatic applied it, and when ipa updates, it replaces that file, so we need to update the cluster with ipa-server-update and then run the playbook to fix that file. ;)

Metadata Update from @zlopez:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

a year ago

Log in to comment on this ticket.

Metadata