Foreman installer fails with following error all the time. All pre-req and settings as per the doc,
21-05-18 04:53:06 [NOTICE] [configure] 1800 out of 1959 done.
2021-05-18 04:53:09 [ERROR ] [configure] ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0]
2021-05-18 04:53:09 [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]
2021-05-18 04:53:09 [NOTICE] [configure] 1900 out of 1959 done.
Installer never ever complete and in UI, when click on any links in Content menu it throws following error
Oops, we’re sorry but something went wrong undefined method `pulp3_repository_type_support?’ for nil:NilClass
Out of options, anyone can help ?
How to create support ticket with Foreman, its a bug , i think
I guess it’s difficult to say anything, if you don’t give the exact foreman-installer command you have used, the docs you said you have followed, the OS you use, etc.
And creating multiple topics on the same issue isn’t helping either…
since i was getting pulp core migrate error i tried it manually by pointing to pulp config file and it did the migration, but still its an incomplete install and I het that message about pul03 repository ? when clicked on any menu uder contents
There is a command you have enter when you install it. Noone knows it if you don’t post it. It’s a simple copy and paste and it accurately describes the installation you have attempted… If you don’t post it we must guess and maybe or maybe not we guess right.
And again: a link to the docs you have used would be helpful to understand what you mean by “All pre-req and settings as per the doc”. Again, I can guess what docs you have used but some people are very creative finding the oddest docs at the oddest places…
And it really makes a difference on what OS you try it…
If it’s a new installation of katello 4.0 on a new server with a new OS, there is no migration. Is it possible, that you have installed foreman or katello on that server before?
Is there a need to update the default katello.yaml and /or katello-answers.yaml, if not does it come with Pulp3 support ?, looks like from the error after installation Pulp3 repositories are not configured, do I need to do content migration /switchover ?
ok, will try that. But thats only one step in thw process, even if it goes thru , how to make remaininf steps compkete, as can be seen in errro message its stopps at arnd 1800 out 1980 or something
Also, one person suggested that if its a brand new install on a new box , (which is what i am doing) there is no migration, so why it is doing migration task, is it because of the rake migrate param, should i set to to false
the error i pasted in the problem statement is the one in katello.log as well, it dont give me any additional details… it says pulpcore migrate failed , nothing , installer says fix this issue and and run installer again
the error ether in karello.log , production.log ( after i get the famous oops something went wrong pulp3_rpository ? nil class ) do not say anything about why this error and where to look for, without this info what to fix !!!
If anyone managed to install katello 4.0 (new install, not upgrade) , pl post the command , that would help, out of options as simple basic install is failing…
It’s a crucial step in setting up Pulp. If it can’t complete, the installation is only partial. It must succeed. All other steps failing after it can probably be explained by it.
I also can’t believe there’s nothing in the installer log. Without some log output or output from that command we really can’t help you.
I didnt say nothing in error log,I said logs are in katello, but it is the
same error I pasted in the beginning of the thread
I get that this step must succeed, but even after it succeed, after running
the command you pasted, what steps I should make for the installer to
continue and complete remaining steps ???
There are asditional 59 steps remaining as per the output