Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uyuni migration to podman #9663

Open
s90 opened this issue Jan 22, 2025 · 0 comments
Open

Uyuni migration to podman #9663

s90 opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working P3

Comments

@s90
Copy link

s90 commented Jan 22, 2025

Problem description

Running command
mgradm migrate podman --logLevel debug uyuni.old
I get an error
10:51AM ??? Cmd output > connection to server on socket "/var/lib/pgsql/.s.PGSQL.50432" failed: fe_sendauth: no password
Any ideas how to fix?

Steps to reproduce

mgradm migrate podman --logLevel debug uyuni.old

Uyuni version

current version is 2024.08
zypper info:
Repository     : @System
Name           : Uyuni-Server-release
Version        : 2024.07-230900.219.1.uyuni3
Arch           : x86_64
Vendor         : obs://build.opensuse.org/systemsmanagement:Uyuni
Installed Size : 1.4 KiB
Installed      : Yes
Status         : up-to-date
Source package : Uyuni-Server-release-2024.07-230900.219.1.uyuni3.src
Upstream URL   : https://www.uyuni-project.org/
Summary        : Uyuni Server
Description    : 
    Uyuni lets you efficiently manage physical, virtual,
    and cloud-based Linux systems. It provides automated and cost-effective
    configuration and software management, asset management, and system
    provisioning.

Uyuni proxy version (if used)

Useful logs

fixing permissions on existing directory /var/lib/pgsql/data ... ok
10:51AM ??? Cmd output > creating subdirectories ... 
10:51AM ??? Cmd output > ok
10:51AM ??? Cmd output > selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 
10:51AM ??? Cmd output > 100
selecting default shared_buffers ... 
10:51AM ??? Cmd output > 128MB
selecting default time zone ... 
10:51AM ??? Cmd output > Etc/UTC
creating configuration files ... 
10:51AM ??? Cmd output > ok
running bootstrap script ... 
10:51AM ??? Cmd output > ok
performing post-bootstrap initialization ... 
10:51AM ??? Cmd output > ok
syncing data to disk ... 
10:51AM ??? Cmd output > ok


Success. You can now start the database server using:

    pg_ctl -D /var/lib/pgsql/data -l logfile start

10:51AM ??? Cmd output > initdb: warning: enabling "trust" authentication for local connections
initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
10:51AM ??? Cmd output > Successfully initialized new postgresql 16 database.
Temporarily disable SSL in the old posgresql configuration
10:51AM ??? Cmd output > Performing Consistency Checks
-----------------------------
Checking cluster versions                                     ok
10:51AM ??? Cmd output > connection to server on socket "/var/lib/pgsql/.s.PGSQL.50432" failed: fe_sendauth: no password <REDACTED>

Failure, exiting
Error: cannot run PostgreSQL version upgrade script: failed to run uyuni-upgrade-pgsql container: exit status 1

Additional information

No response

@s90 s90 added bug Something isn't working P5 labels Jan 22, 2025
@parlt91 parlt91 added P3 and removed P5 labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P3
Projects
None yet
Development

No branches or pull requests

2 participants