Katello 3.17 to 3.18, cannot migrate to pulp3

Centos8, yes. Centos8 STREAM, no.

Can you check in the Postgres database which distribution it is? Instructions are in the other thread.

Note that this creates the pulpcore database using the current locale. In the installer we enforce en_US.UTF-8 and UTF-8 encoding. If your OS locale is en_US.UTF-8 then itā€™ll be ok but this affects the results of sorting and can cause unexpected behavior.

For example:

$ echo -e "a\nb\nc\nd\nch\nh\ni" | LC_ALL=en_US.UTF-8 sort
a
b
c
ch
d
h
i
$ echo -e "a\nb\nc\nd\nch\nh\ni" | LC_ALL=cs_CZ.UTF-8 sort
a
b
c
d
h
ch
i

Iā€™d recommend to be explicit

createdb -E UTF-8 -l en_US.UTF-8 pulpcore
1 Like

@caseybea @gvde since youā€™re both hitting the same error, mind if we take the remaining discussion over to [ContentMigration] Katello::Errors::Pulp3Error ? Iā€™ll be looking for potentially-related Pulp 3 bugs.

@iballou @gvde Yes I was going to propose that but you beat me to it.

My original issue, the ā€œcontent prepareā€ operationg getting justā€¦ STUCKā€” has been solved above. Iā€™ll continue over in the other thread. Thank you much.

1 Like

Absolutely. Maybe you can change the subject of that topic? ā€œKatello::Errors::Pulp3Errorā€ is very generic and I cannot change the subject anymore.

I canā€™t change it either, but hopefully searching for the error youā€™re both seeing will lead to the thread.