Symptoms

In some cases SELinux is known to prevent automatic firewall configuration, resulting in errors like the following during postinstall:


cloud-init: ERROR:dbus.proxies:Introspect error on :1.23:/org/fedoraproject/FirewallD1: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Solutions

If you encounter such errors you will need to manually open firewall ports for HTTP, HTTPS, and SSH by running:

# systemctl stop firewalld
# firewall-offline-cmd --add-service=https
# firewall-offline-cmd --add-service=http
# firewall-offline-cmd --add-service=ssh
# systemctl start firewalld