On Tue, Jul 2, 2019 at 10:11 AM Christoph Köhler <
[email protected]> 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
> > <[email protected]> написа:
> >
> >
> > 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 -- [email protected] <mailto:[email protected]>
> > To unsubscribe send an email to [email protected]
> > <mailto:[email protected]>
> > 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/[email protected]/message/BUCERUSB4PUTOTH6RHAAETZNO4WSWSFF/
> >
> > _______________________________________________
> > Users mailing list -- [email protected]
> > To unsubscribe send an email to [email protected]
> > 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/[email protected]/message/6CACNJX6KOR44IAOKHZOJ7EDCAZ2BZM4/
> >
> _______________________________________________
> Users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]/message/XRRM2NMJREU7G57B4UJGMSRI3DRJPSSL/
>


-- 

Simone Tiraboschi

He / Him / His

Principal Software Engineer

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

[email protected]
@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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/XHIY7RE5BFMJAIDVHY6GJPAY2G5YKA4L/

Reply via email to