-
Bug
-
Resolution: Done-Errata
-
Undefined
-
6.15.2
-
Important
-
None
Description of problem:
https://issues.redhat.com/browse/SAT-24811 This was the reported issue for which we added a check in satellite-maintain but the same issue can fail a new installation as well in ipv6 disabled environment.
How reproducible:
Every Time
Steps to Reproduce:
1. Disable "ipv6.disable=1 " from kernel options in the file /boot/grub2/grubenv
2. check ipv6 loopback port is not listening
- netstat -antup | grep "\::1"
3. enable repos and install satellite 6.15.
- subscription-manager repos --disable "*"
- subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms \
--enable=rhel-8-for-x86_64-appstream-rpms \
--enable=satellite-6.15-for-rhel-8-x86_64-rpms \
--enable=satellite-maintenance-6.15-for-rhel-8-x86_64-rpms
- dnf module enable satellite:el8
- dnf install satellite
- satellite-installer --scenario satellite \
--foreman-initial-organization "My_Organization" \
--foreman-initial-location "My_Location" \
--foreman-initial-admin-username admin_user_name \
--foreman-initial-admin-password admin_password
Actual behavior:
The error from /var/log/foreman-installer/satellite.log
*{{2024-07-22 16:23:35 [DEBUG ] [configure] Foreman::Rake[db:seed]: Starting to evaluate the resource (1404 of 1647)
2024-07-22 16:23:35 [DEBUG ] [configure] Foreman::Rake[db:seed]: Scheduling refresh of Exec[foreman-rake-db:seed]
2024-07-22 16:23:35 [DEBUG ] [configure] Foreman::Rake[db:seed]: Evaluated in 0.00 seconds
2024-07-22 16:23:35 [DEBUG ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Starting to evaluate the resource (1405 of 1647)
2024-07-22 16:23:35 [DEBUG ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: '/usr/sbin/foreman-rake db:seed' won't be executed because of failed check 'refreshonly'
2024-07-22 16:23:35 [DEBUG ] [configure] Exec[foreman-rake-db:seed](provider=posix): Executing '/usr/sbin/foreman-rake db:seed'
2024-07-22 16:23:35 [DEBUG ] [configure] Executing with uid=foreman: '/usr/sbin/foreman-rake db:seed'
2024-07-22 16:24:24 [INFO ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: rake aborted!
2024-07-22 16:24:24 [INFO ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)}}*
Expected behavior:
during installation health check should fail with the same ipv6.disable=1 warning/error
and return msg to use the correct article to fix the ipv6. https://access.redhat.com/solutions/5045841
- links to
-
RHBA-2024:140284 Important: Satellite 6.16.0 release