On Tue, Jul 2, 2019 at 10:11 AM Christoph Köhler <koehler@luis.uni-hannover.de> wrote:
Hello!

No, I do not use cinderlib!

If so, simply deconfigure/remove it on the source system before taking a new backup and then restore that backup on the target device.
 
It may be, that the restore process want to
activate cinder per default in the new engine. So it could not find it's
counterpart in die backup-file. If so, there should be an option like
--no-cinder or so for the restore process.

We continue testing...

Greetings!


On 01.07.19 17:53, Strahil Nikolov wrote:
> Do you really use Cinderlib ?
>
> If so , I think that someone of the DEv should take a look at:
> [ ERROR ] Failed to
> execute stage 'Environment setup': Cannot connect to ovirt cinderlib
> database using existing credentials: ovirt_cinderlib@localhost
> <mailto:ovirt_cinderlib@localhost>:5432
>
> Best Regards,
> Strahil Nikolov
>
> В понеделник, 1 юли 2019 г., 9:42:18 ч. Гринуич-4, Christoph Köhler
> <koehler@luis.uni-hannover.de> написа:
>
>
> Hello,
>
> we tried to migrate the hosted engine to a new storage but we ran into
> an error - in any attempt the same.
>
> What we did is:
>
> ° Version 4.3.4.3-1.el7
> ° in the engine vm: systemctl stop  ovirt-engine
> ° took backup with scope=all
> ° hosted-engine --set-maintenance --mode=global
> ° hosted-engine --vm-shutdown
> ° on a new host (not in the inventory of engineDB): hosted-engine
> ---deploy --restore-from-file=backup-file
>
> It ran fine until:
>
> //
> ERROR ] fatal: [localhost -> newhost]: FAILED! => {"changed": true,
> "cmd": ["engine-setup", "--accept-defaults",
> "--config-append=/root/ovirt-engine-answers", "--offline"], "delta":
> "0:00:00.801074", "end": "2019-06-27 12:13:49.157140", "msg": "non-zero
> return code", "rc": 1, "start": "2019-06-27 12:13:48.356066", "stderr":
> "", "stderr_lines": [], "stdout": "[ INFO  ] Stage: Initializing\n[ INFO
>    ] Stage: Environment setup\n          Configuration files:
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf',
> '/root/ovirt-engine-answers']\n          Log file:
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20190627121348-48b6rw.log\n
>            Version: otopi-1.8.2 (otopi-1.8.2-1.el7)\n[ ERROR ] Failed to
> execute stage 'Environment setup': Cannot connect to ovirt cinderlib
> database using existing credentials: ovirt_cinderlib@localhost
> <mailto:ovirt_cinderlib@localhost>:5432\n[
> INFO  ] Stage: Clean up\n          Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20190627121348-48b6rw.log\n[
> INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20190627121349-setup.conf'\n[ INFO
> ] Stage: Pre-termination\n[ INFO  ] Stage: Termination\n[ ERROR ]
> Execution of setup failed", "stdout_lines": ["[ INFO  ] Stage:
> Initializing", "[ INFO  ] Stage: Environment setup", "
> Configuration files:
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf',
> '/root/ovirt-engine-answers']", "          Log file:
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20190627121348-48b6rw.log",
> "          Version: otopi-1.8.2 (otopi-1.8.2-1.el7)", "[ ERROR ] Failed
> to execute stage 'Environment setup': Cannot connect to ovirt cinderlib
> database using existing credentials: ovirt_cinderlib@localhost
> <mailto:ovirt_cinderlib@localhost>:5432", "[
> INFO  ] Stage: Clean up", "          Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20190627121348-48b6rw.log",
> "[ INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20190627121349-setup.conf'", "[
> INFO  ] Stage: Pre-termination", "[ INFO  ] Stage: Termination", "[
> ERROR ] Execution of setup failed"]}
> //
>
> The user and password hashes are okay and the same on old_engine and
> restore_file.
>
> Any ideas?
>
> regards,
> Chris
>
> _______________________________________________
> Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> To unsubscribe send an email to users-leave@ovirt.org
> <mailto:users-leave@ovirt.org>
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/BUCERUSB4PUTOTH6RHAAETZNO4WSWSFF/
>
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/6CACNJX6KOR44IAOKHZOJ7EDCAZ2BZM4/
>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XRRM2NMJREU7G57B4UJGMSRI3DRJPSSL/


--

Simone Tiraboschi

He / Him / His

Principal Software Engineer

Red Hat

stirabos@redhat.com   

@redhatjobs   redhatjobs @redhatjobs