Issue with Migration from 2024.08 to a container #11573
viktorkeremedchiev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
My packaged to containerized migration uyuni is failing. The source is on opensuse 15.6, running psql 14. My source server has a commercial (not lets encrypt) TLS/SSL for uyuni.something.cloud. My new server doesn't have any public DNS name yet
The ssh connection does run for a while but it stalls. I have a persistent disk, large enough for the target migration
This is what I use:
mgradm migrate podman uyuni.something.cloud --prepare --ssl-db-ca-intermediate /opt/apache/ssl/uyuni-chain.pem --ssl-db-cert /etc/pki/tls/certs/spacewalk.crt --ssl-db-key /etc/pki/tls/private/spacewalk.key --ssl-db-ca-root=/opt/apache/ssl/uyuni-chain.pem --ssl-ca-root=/opt/apache/ssl/uyuni-chain.pem --ssl-ca-intermediate=/opt/apache/ssl/uyuni-chain.pem --ssl-server-cert /etc/pki/tls/certs/spacewalk.crt --ssl-server-key /etc/pki/tls/private/spacewalk.keyThe last few lines before it fails I see are these:
11:54AM ??? Extracting data... 11:55AM ??? Relabeled /var/lib/containers/storage/volumes/ca-cert/_data/LOCAL-RHN-ORG-TRUSTED-SSL-CERT from unconfined_u:object_r:container_file_t:s0 to system_u:object_r:container_file_t:s0 11:55AM INF Using provided 3rd party server certificates 11:55AM INF Using provided 3rd party database certificates 11:55AM ERR error="Failed to create secrets from the provided SSL arguments: failed to validate hostname db: CN=uyuni.something.cloud\nerror 62 at 0 depth lookup: hostname mismatch\nerror /tmp/mgradm-2338807128/server.crt: verification failed; failed to validate hostname reportdb: CN=uyuni.something.cloud\nerror 62 at 0 depth lookup: hostname mismatch\nerror /tmp/mgradm-2338807128/server.crt: verification failed" Error: Failed to create secrets from the provided SSL arguments: failed to validate hostname db: CN=uyuni.something.cloud error 62 at 0 depth lookup: hostname mismatch error /tmp/mgradm-2338807128/server.crt: verification failed; failed to validate hostname reportdb: CN=uyuni.something.cloud error 62 at 0 depth lookup: hostname mismatch error /tmp/mgradm-2338807128/server.crt: verification failedThank you
Beta Was this translation helpful? Give feedback.
All reactions