Centos 8 Stream - Foreman 2.5.2 with Katello fresh install with errors

Problem:

I’ve installed Foreman 2.5.2 with Katello 4.1 on fresh Centos 8 Stream, and i have problem configuring discovery plugin.

[root@katello modules]# foreman-installer --enable-foreman-proxy-plugin-discovery --foreman-proxy-plugin-discovery-install-images=true
2021-07-21 22:35:41 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-07-21 22:35:46 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2021-07-21 22:35:46 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2021-07-21 22:35:56 [NOTICE] [configure] Starting system configuration.
2021-07-21 22:36:08 [NOTICE] [configure] 250 configuration steps out of 1964 steps complete.
2021-07-21 22:36:10 [NOTICE] [configure] 500 configuration steps out of 1964 steps complete.
2021-07-21 22:36:11 [NOTICE] [configure] 750 configuration steps out of 1968 steps complete.
2021-07-21 22:36:13 [NOTICE] [configure] 1000 configuration steps out of 1972 steps complete.
2021-07-21 22:36:14 [NOTICE] [configure] 1250 configuration steps out of 1976 steps complete.
2021-07-21 22:36:38 [NOTICE] [configure] 1500 configuration steps out of 1976 steps complete.
2021-07-21 22:36:38 [NOTICE] [configure] 1750 configuration steps out of 1976 steps complete.
2021-07-21 22:36:46 [ERROR ] [configure] Proxy katello.p24b.int has failed to load one or more features (Discovery), check /var/log/foreman-proxy/proxy.log for configuration errors
2021-07-21 22:36:46 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.local.int]/features: change from [“Dynflow”, “Logs”, “Pulpcore”, “Puppet”, “Puppet CA”, “Registration”, “SSH”] to [“Discovery”, “Logs”, “Pulpcore”, “Puppet”, “Puppet CA”, “Registration”] failed: Proxy katello.local.int has failed to load one or more features (Discovery), check /var/log/foreman-proxy/proxy.log for configuration errors
2021-07-21 22:36:47 [NOTICE] [configure] System configuration has finished.

There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.

The full log is at /var/log/foreman-installer/katello.log

Foreman and Proxy versions:
2.5.2

Foreman and Proxy plugin versions:

Distribution and version:
Centos 8 Stream

Other relevant data:

proxy.log not realy showing anything:

[root@katello ~]# cat /var/log/foreman-proxy/proxy.log

2021-07-21T22:45:56  [I] start terminating delayed_executor...
2021-07-21T22:45:56  [I] start terminating throttle_limiter...
2021-07-21T22:45:56  [I] start terminating executor...
2021-07-21T22:45:56  [I] shutting down Core ...
2021-07-21T22:45:56  [I] ... Dynflow core terminated.
2021-07-21T22:45:56  [I] start terminating executor dispatcher...
2021-07-21T22:45:56  [I] start terminating client dispatcher...
2021-07-21T22:45:56  [I] stop listening for new events...
2021-07-21T22:45:56  [I] start terminating clock...
2021-07-21T22:45:56  [I] going to shutdown ...
2021-07-21T22:45:56  [I] WEBrick::HTTPServer#start done.
2021-07-21T22:45:57  [I] Successfully initialized 'pulpcore'
2021-07-21T22:45:57  [I] Successfully initialized 'dynflow'
2021-07-21T22:45:57  [I] Successfully initialized 'ssh'
2021-07-21T22:45:57  [I] Successfully initialized 'ansible'
2021-07-21T22:45:57  [I] Successfully initialized 'discovery'
2021-07-21T22:45:57  [I] Successfully initialized 'foreman_proxy'
2021-07-21T22:45:57  [I] Successfully initialized 'puppetca_http_api'
2021-07-21T22:45:57  [I] Successfully initialized 'puppetca_hostname_whitelisting'
2021-07-21T22:45:57  [I] Successfully initialized 'puppetca'
2021-07-21T22:45:57  [I] Successfully initialized 'puppet_proxy_puppet_api'
2021-07-21T22:45:57  [I] Successfully initialized 'puppet'
2021-07-21T22:45:57  [I] Successfully initialized 'logs'
2021-07-21T22:45:57  [I] Successfully initialized 'registration'
2021-07-21T22:45:57  [I] Settings loaded, reloading logger
2021-07-21T22:45:57  [I] WEBrick 1.6.1
2021-07-21T22:45:57  [I] ruby 2.7.3 (2021-04-05) [x86_64-linux]
2021-07-21T22:45:57  [I]
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            01:aa:28:64:5f:d8:a3:36:e8:98:01:e6:ec:5c:1e:ab:97:e1:10:07
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C=US, ST=North Carolina, L=Raleigh, O=Katello, OU=SomeOrgUnit, CN=katello.local.int
        Validity
            Not Before: Jul 14 11:23:52 2021 GMT
            Not After : Jan 18 11:23:53 2038 GMT
        Subject: C=US, ST=North Carolina, O=FOREMAN, OU=SMART_PROXY, CN=katello.local.int
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (4096 bit)
                Modulus:
                    00:db:12:2e:ae:93:4b:48:ac:4d:d9:4a:63:c6:6d:
                    f0:d1:af:70:0e:e8:fc:f7:1f:09:6e:07:00:64:59:
                    95:08:8d:b5:be:47:e2:7b:17:bd:fa:cb:1b:4f:fc:
                    d1:04:0a:87:e8:25:1c:2d:96:a0:c8:06:ba:9b:eb:
                    0e:4c:3f:bd:ab:4a:2f:e1:bd:f0:08:8a:6e:f3:d4:
                    33:21:5d:2b:c8:72:c5:56:d0:28:bc:91:d6:d4:de:
                    09:79:19:e9:d2:34:a3:f8:0c:8a:8c:9f:91:8e:b5:
                    f8:41:06:4e:8c:0b:05:42:3a:15:3d:00:a0:5e:17:
                    a6:c5:e2:9b:bf:de:55:2f:14:c0:a6:a3:7b:c3:a4:
                    fd:46:36:73:c8:7e:3a:e2:87:de:39:d0:72:59:fc:
                    cb:a2:c4:3e:5f:8d:e2:6a:8b:c4:ad:b2:c1:9e:f0:
                    c1:26:df:8c:2e:5b:77:19:36:23:7b:59:7b:93:56:
                    f1:42:48:62:ea:d8:f4:b5:3d:08:1c:c1:6a:78:33:
                    54:ad:83:13:44:a3:b3:d8:89:7e:14:62:ef:12:6f:
                    06:7f:f1:b1:96:24:f7:c5:2d:b9:43:96:a7:1d:5e:
                    18:fa:ac:99:c8:ab:f4:a3:7b:72:42:de:cd:8d:b0:
                    a1:d8:b2:77:0c:ef:80:cd:d9:69:66:9c:73:93:8a:
                    f8:78:a5:2b:f7:de:7b:fb:bf:44:5f:b6:52:7c:26:
                    e0:c2:8b:31:d1:14:a7:f5:6c:42:c9:14:bb:20:48:
                    f7:2a:2a:2b:e8:97:f8:20:4c:f7:c0:26:30:21:8b:
                    a3:85:98:a3:6b:a6:c7:8c:28:b2:25:22:aa:b4:7b:
                    c1:c9:01:2e:03:4d:26:fb:3b:91:71:0c:cb:4f:04:
                    84:90:f8:5d:bb:16:1a:04:4a:af:86:b8:3e:38:9b:
                    5b:3a:1f:6c:e4:74:e2:55:97:8c:8e:c1:a0:72:56:
                    23:78:b8:21:2b:2c:05:49:ce:04:59:3a:76:62:84:
                    7b:c5:65:5e:f9:d8:5e:c9:9f:fe:0d:03:26:e0:94:
                    a3:b7:c4:c1:44:99:a6:b2:71:43:04:af:65:28:ee:
                    ba:f2:c9:a1:1d:f5:9c:23:ec:de:df:55:2d:c4:7c:
                    0b:76:47:1a:97:a8:16:2f:53:6d:c3:6b:53:ad:ac:
                    2c:14:3f:3e:e3:87:42:35:7c:c6:36:e8:e1:96:10:
                    df:76:5d:ec:5b:e0:ff:ff:7e:a7:89:3a:98:b6:9f:
                    c9:a1:00:63:ce:66:95:28:9b:e0:36:49:14:33:e2:
                    62:fe:49:f4:c0:4a:5f:db:18:12:c6:93:ad:68:aa:
                    ab:d1:18:a5:ad:8c:13:62:0c:2c:f4:df:6e:95:5f:
                    eb:dd:d5
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Basic Constraints:
                CA:FALSE
            X509v3 Key Usage:
                Digital Signature, Key Encipherment
            X509v3 Extended Key Usage:
                TLS Web Server Authentication, TLS Web Client Authentication
            Netscape Cert Type:
                SSL Server
            Netscape Comment:
                Katello SSL Tool Generated Certificate
            X509v3 Subject Key Identifier:
                F7:7B:8D:4F:FB:A1:3C:EB:48:63:BA:28:77:29:63:2F:31:85:9C:A1
            X509v3 Authority Key Identifier:
                keyid:85:75:F1:73:54:8B:F7:FF:E8:39:7D:2F:E7:48:B6:9C:B8:5C:FE:51
                DirName:/C=US/ST=North Carolina/L=Raleigh/O=Katello/OU=SomeOrgUnit/CN=katello.local.int
                serial:01:AA:28:64:5F:D8:A3:36:E8:98:01:E6:EC:5C:1E:AB:97:E1:10:01

            X509v3 Subject Alternative Name:
                DNS:katello.local.int
    Signature Algorithm: sha256WithRSAEncryption
         85:8d:20:5f:4d:0a:76:c0:5c:5a:d8:6e:f7:54:4e:d2:d5:e9:
         75:f8:3b:11:f8:7d:ef:7d:fa:21:02:75:da:d0:56:69:48:a9:
         98:71:e8:05:4b:77:cd:f5:51:b0:bc:38:92:51:09:80:7c:90:
         fe:39:fa:6f:c3:1d:05:ad:eb:38:a9:72:7b:bd:a7:2f:d1:d9:
         0a:59:be:56:0d:42:b8:37:85:3b:bc:db:31:db:07:d8:24:c3:
         68:5c:68:bd:b9:af:1b:37:e6:25:87:e1:ac:9f:ea:0c:ff:40:
         bf:f6:56:43:09:97:8c:af:35:fe:91:40:3a:ad:11:3b:4c:5c:
         d5:5a:77:ea:3f:d2:e5:01:97:f3:22:bf:6f:a2:a6:df:06:33:
         59:8b:da:e3:51:58:02:2d:26:27:7d:71:86:19:57:26:5b:7f:
         c5:28:c4:d2:4c:45:c4:96:fe:07:db:24:a1:27:22:60:a3:d0:
         83:f5:3f:f1:ef:e0:d7:07:be:5b:d7:c0:45:d8:c3:aa:0f:d3:
         db:7e:a5:94:69:c9:02:e9:2c:08:2b:80:ca:0c:62:12:fe:e3:
         32:b4:fe:46:bb:8f:af:26:e4:8c:5c:94:5d:3f:e2:47:1e:2e:
         07:93:3f:59:1e:02:41:39:ed:90:a4:9a:8f:ba:5e:dd:22:ba:
         2f:3e:2d:4a:55:a7:e3:dc:1a:09:18:cb:10:0a:b8:48:8f:a9:
         3c:60:47:92:e9:a1:95:00:e7:d1:f7:eb:98:45:9c:7a:dd:94:
         69:e0:2a:f8:8b:72:b1:86:4d:3f:b5:ce:d4:fc:de:ed:a3:2f:
         19:8b:b9:89:fd:fa:55:da:f7:29:a5:b5:83:bc:fa:1f:88:72:
         fe:fd:fa:85:bd:2e:63:e4:3e:e6:f5:a4:2a:e3:73:05:4e:11:
         8c:94:05:25:35:b4:a2:ca:6e:04:4f:83:6f:05:6d:df:14:74:
         85:81:39:70:d2:0c:46:3c:7f:d4:c9:ea:c1:09:12:fb:18:16:
         d4:ad:97:46:26:ad:a6:8e:80:f7:ec:43:0f:78:31:0e:37:6f:
         67:6d:13:06:1b:c0:84:10:d6:78:3c:53:27:a1:39:25:74:8c:
         13:12:85:db:b9:e2:57:50:da:8c:38:b3:af:17:6b:73:a5:22:
         12:8c:1b:66:f1:b2:76:75:be:29:c2:ed:66:16:a7:c5:db:5e:
         11:f7:29:ea:c5:2d:e3:f4:e2:51:8b:18:25:f3:c3:63:ab:ce:
         47:3f:e3:9d:82:cb:6c:7b:e4:30:4e:7f:19:62:4b:95:b7:6b:
         fe:5f:b3:45:47:be:6a:50:54:dc:16:bb:73:d2:e9:5a:4c:23:
         5e:dd:d3:1b:14:aa:3d:3b

2021-07-21T22:45:57  [I] WEBrick::HTTPServer#start: pid=41607 port=9090
2021-07-21T22:45:57  [I] Smart proxy has launched on 1 socket(s), waiting for requests
2021-07-21T22:47:29  [W] Could not open DB for dynflow at '', will keep data in memory. Restart will drop all dynflow data.
2021-07-21T22:47:29  [I] Execution plan cleaner removing 0 execution plans.
2021-07-21T22:47:29 0146df51 [I] Started GET /v2/features
2021-07-21T22:47:29 0146df51 [I] Finished GET /v2/features with 200 (35.02 ms)
2021-07-21T22:47:29 0146df51 [I] Started GET /ssh/pubkey
2021-07-21T22:47:29 0146df51 [I] Finished GET /ssh/pubkey with 200 (0.61 ms)
2021-07-21T22:47:29 0146df51 [I] Started GET /v2/features
2021-07-21T22:47:29 0146df51 [I] Finished GET /v2/features with 200 (33.09 ms)
2021-07-21T22:47:29 0146df51 [I] Started GET /v2/features
2021-07-21T22:47:29 0146df51 [I] Finished GET /v2/features with 200 (28.07 ms)```