Re: [ovirt-users] Can't fine engine postgres password

This is a multi-part message in MIME format. --------------020507080206080208080502 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, it's running well on ovirt 3.6, but exists the same procedure for ovirt 3.5 ?? Didn't find that. Or can I use this from ovirt 3.6 on 3.5 version ?? regs. Pavel =========================================================== Hi, database configuration is stored in the VM/host where engine is installed in "/etc/ovirt-engine/engine.conf.d/10-setup-database.conf". If you used automatic database setup, then whole db configuration is generated automatically. And please bear in mind that db user password is different from webadmin user (admin@internal) password which you can specify during installation. Martin Perina ----- Original Message -----
From: "Adam Verslype"<verslyap@gmail.com> To:users@ovirt.org Sent: Monday, February 15, 2016 2:50:21 AM Subject: [ovirt-users] Can't fine engine postgres password
Hi,
After deploying hosted engine using the hosted-engine-appliance I need to run the unlock_entity utility on the engine vm to unlock a disk that's stuck. So I ssh on the vm and run:
sudo PGPASSWORD=xxxxxxxxx ./unlock_entity.sh -t disk -u engine -q psql: FATAL: password authentication failed for user "engine" FATAL: Cannot execute sql command: --file=./unlock_entity.sql where xxxxxxxxx is the password I supplied for everything during deployment. Does it have a different password that came with the appliance? Is this documented somewhere?
Thanks,
Adam Verslype
--------------020507080206080208080502 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body text="#000066" bgcolor="#FFFFFF"> <pre wrap="">Hello, it's running well on ovirt 3.6, but exists the same procedure for ovirt 3.5 ?? Didn't find that. Or can I use this from ovirt 3.6 on 3.5 version ?? regs. Pavel =========================================================== Hi, database configuration is stored in the VM/host where engine is installed in "/etc/ovirt-engine/engine.conf.d/10-setup-database.conf". If you used automatic database setup, then whole db configuration is generated automatically. And please bear in mind that db user password is different from webadmin user (admin@internal) password which you can specify during installation. Martin Perina ----- Original Message ----- </pre> <blockquote type="cite" style="color: #000066;"> <pre wrap="">From: "Adam Verslype" <a class="moz-txt-link-rfc2396E" href="mailto:verslyap@gmail.com"><verslyap@gmail.com></a> To: <a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a> Sent: Monday, February 15, 2016 2:50:21 AM Subject: [ovirt-users] Can't fine engine postgres password Hi, After deploying hosted engine using the hosted-engine-appliance I need to run the unlock_entity utility on the engine vm to unlock a disk that's stuck. So I ssh on the vm and run: sudo PGPASSWORD=xxxxxxxxx ./unlock_entity.sh -t disk -u engine -q psql: FATAL: password authentication failed for user "engine" FATAL: Cannot execute sql command: --file=./unlock_entity.sql where xxxxxxxxx is the password I supplied for everything during deployment. Does it have a different password that came with the appliance? Is this documented somewhere? Thanks, Adam Verslype </pre> </blockquote> </body> </html> --------------020507080206080208080502--

Yes, oVirt 3.5 db configuration is stored in the same file. ----- Original Message -----
From: paf1@email.cz To: "users" <users@ovirt.org> Sent: Friday, February 19, 2016 1:49:51 PM Subject: Re: [ovirt-users] Can't fine engine postgres password
Hello,
it's running well on ovirt 3.6, but exists the same procedure for ovirt 3.5 ?? Didn't find that. Or can I use this from ovirt 3.6 on 3.5 version ??
regs. Pavel
=========================================================== Hi,
database configuration is stored in the VM/host where engine is installed in "/etc/ovirt-engine/engine.conf.d/10-setup-database.conf". If you used automatic database setup, then whole db configuration is generated automatically. And please bear in mind that db user password is different from webadmin user (admin@internal) password which you can specify during installation.
Martin Perina
----- Original Message -----
From: "Adam Verslype" <verslyap@gmail.com> To: users@ovirt.org Sent: Monday, February 15, 2016 2:50:21 AM Subject: [ovirt-users] Can't fine engine postgres password
Hi,
After deploying hosted engine using the hosted-engine-appliance I need to run the unlock_entity utility on the engine vm to unlock a disk that's stuck. So I ssh on the vm and run:
sudo PGPASSWORD=xxxxxxxxx ./unlock_entity.sh -t disk -u engine -q psql: FATAL: password authentication failed for user "engine" FATAL: Cannot execute sql command: --file=./unlock_entity.sql where xxxxxxxxx is the password I supplied for everything during deployment. Does it have a different password that came with the appliance? Is this documented somewhere?
Thanks,
Adam Verslype
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Martin Perina
-
paf1@email.cz