Problem:
/Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from ‘notrun’ to [‘0’] failed: ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0]
Expected outcome:
Successful installation
Foreman and Proxy versions:
3.0
Foreman and Proxy plugin versions:
Katello 4.2
Distribution and version:
Centos 8 Stream
Other relevant data:
foreman-installer --scenario katello --foreman-initial-admin-username “admin” --foreman-initial-admin-password “password” --foreman-initial-admin-email “enauk@example.com” --foreman-email-smtp-address “smtp.example.com” --foreman-initial-organization “Org-name”
2022-09-06 09:32:25 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-09-06 09:32:37 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-09-06 09:32:37 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-09-06 09:32:47 [NOTICE] [configure] Starting system configuration.
2022-09-06 09:33:45 [NOTICE] [configure] 250 configuration steps out of 1990 steps complete.
2022-09-06 09:33:52 [NOTICE] [configure] 500 configuration steps out of 1990 steps complete.
2022-09-06 09:33:53 [NOTICE] [configure] 750 configuration steps out of 1994 steps complete.
2022-09-06 09:33:59 [NOTICE] [configure] 1000 configuration steps out of 1998 steps complete.
2022-09-06 09:34:01 [NOTICE] [configure] 1250 configuration steps out of 2002 steps complete.
2022-09-06 09:34:55 [NOTICE] [configure] 1500 configuration steps out of 2002 steps complete.
2022-09-06 09:34:56 [NOTICE] [configure] 1750 configuration steps out of 2002 steps complete.
2022-09-06 09:35:02 [ERROR ] [configure] ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0]
2022-09-06 09:35:02 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from ‘notrun’ to [‘0’] failed: ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0]
2022-09-06 09:35:03 [NOTICE] [configure] 2000 configuration steps out of 2002 steps complete.
2022-09-06 09:35:09 [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
I can attach the log if needed.