On Mon, Jul 1, 2019 at 6:06 PM Strahil Nikolov <hunter86...@yahoo.com>
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:5432
>

Yes, there is an open bug tracked at https://bugzilla.redhat.com/1707225
<https://bugzilla.redhat.com/show_bug.cgi?id=1707225> about handling
cinderlib integration in the backup.
It's targeted for 4.3.6.

Honestly I don't see any workaround other than trying to manually backup
and restore the cinderlib DB.



>
> Best Regards,
> Strahil Nikolov
>
> В понеделник, 1 юли 2019 г., 9:42:18 ч. Гринуич-4, Christoph Köhler <
> koeh...@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: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: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
> To unsubscribe send an email to users-le...@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-le...@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/
>


-- 

Simone Tiraboschi

He / Him / His

Principal Software Engineer

Red Hat <https://www.redhat.com/>

stira...@redhat.com
@redhatjobs <https://twitter.com/redhatjobs>   redhatjobs
<https://www.facebook.com/redhatjobs> @redhatjobs
<https://instagram.com/redhatjobs>
<https://red.ht/sig>
<https://redhat.com/summit>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/YQKNAQCYJOVLTD3MUR3G3M73DQQYUI7S/

Reply via email to