[ovirt-users] Re: upgrading ovirt engine from 4.4.6.7-1.el8 to 4.4.8 latest getting failed

2021-08-30 Thread Yedidyah Bar David
On Tue, Aug 24, 2021 at 12:30 PM dhanaraj.ramesh--- via Users
 wrote:
>
> Hi Ritesh, Thank you.. Yes I was following this and all works fine except at 
> the last steps where I'm getting error and setup failed
>
>  ERROR ] Failed to execute stage 'Misc configuration': Command
> '/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute

Can you please share the setup log, so that we can try to understand
why this failed?

> [ INFO ] DNF Performing DNF transaction rollback
> [ ERROR ] DNF module 'dnf.history' has no attribute 'open_history'

Now commented about this here:

https://bugzilla.redhat.com/show_bug.cgi?id=1542492#c2

Thanks for the report!
-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GM34YQ5LX2VUISLYR4W3EWQBDA7ZKB33/


[ovirt-users] Re: upgrading ovirt engine from 4.4.6.7-1.el8 to 4.4.8 latest getting failed

2021-08-24 Thread dhanaraj.ramesh--- via Users
Hi Ritesh, Thank you.. Yes I was following this and all works fine except at 
the last steps where I'm getting error and setup failed 

 ERROR ] Failed to execute stage 'Misc configuration': Command
'/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute
[ INFO ] DNF Performing DNF transaction rollback
[ ERROR ] DNF module 'dnf.history' has no attribute 'open_history'
[WARNING] Rollback of DWH database postponed to Stage "Clean up"
[ INFO ] Stage: Clean up
Log file is located at
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TKD7GX7WFK5A26B6V3V7NIJ5SWKUIKGX/


[ovirt-users] Re: upgrading ovirt engine from 4.4.6.7-1.el8 to 4.4.8 latest getting failed

2021-08-24 Thread Ritesh Chikatwar
Hello
Did you try checking if the engine upgrade is available or not? If yes
please update and then run engine-setup.

To check
run this engine-upgrade-check

if update is available please run
yum update ovirt-engine\*setup\* -y

After this you can run engine-setup. Hope this will work for you

*Ritesh*



On Mon, Aug 23, 2021 at 2:08 PM dhanaraj.ramesh--- via Users <
users@ovirt.org> wrote:

> Hi Klaas Demter
>
> Thank you so much for the help, appreciate it. but the upgrade still
> failed before the last setps and the hosting engine crashed,
>
> [ INFO  ] Updating OVN SSL configuration
> [ INFO  ] Updating OVN timeout configuration
> [ INFO  ] Backing up database localhost:ovirt_engine_history to
> '/var/lib/ovirt-engine-dwh/backups/dwh-20210823012249.n7sv_dim.dump'.
> [ INFO  ] Creating/refreshing DWH database schema
> [ INFO  ] Setting up ovirt-vmconsole SSH PKI artifacts
> [ ERROR ] Failed to execute stage 'Misc configuration': Command
> '/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute
> [ INFO  ] DNF Performing DNF transaction rollback
> [ ERROR ] DNF module 'dnf.history' has no attribute 'open_history'
> [WARNING] Rollback of DWH database postponed to Stage "Clean up"
> [ INFO  ] Stage: Clean up
>   Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20210823011923-bv030m.log
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20210823012309-setup.conf'
> [WARNING] Rollback of DWH database started
>   This might be a long process, but it should be safe to start the
> engine service before it finishes, if needed.
> [ INFO  ] Clearing DWH database ovirt_engine_history
> [ INFO  ] Restoring DWH database ovirt_engine_history
> [ INFO  ] Restoring file
> '/var/lib/ovirt-engine-dwh/backups/dwh-20210823012249.n7sv_dim.dump' to
> database localhost:ovirt_engine_history.
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/2A7W7Z5Q3JQK25U4QTEBAEB27VYNOZJ5/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/A7ZVQTS2I4K7KCED4UOQB7B4QH2FDSYP/


[ovirt-users] Re: upgrading ovirt engine from 4.4.6.7-1.el8 to 4.4.8 latest getting failed

2021-08-23 Thread dhanaraj.ramesh--- via Users
Hi Klaas Demter

Thank you so much for the help, appreciate it. but the upgrade still failed 
before the last setps and the hosting engine crashed, 

[ INFO  ] Updating OVN SSL configuration
[ INFO  ] Updating OVN timeout configuration
[ INFO  ] Backing up database localhost:ovirt_engine_history to 
'/var/lib/ovirt-engine-dwh/backups/dwh-20210823012249.n7sv_dim.dump'.
[ INFO  ] Creating/refreshing DWH database schema
[ INFO  ] Setting up ovirt-vmconsole SSH PKI artifacts
[ ERROR ] Failed to execute stage 'Misc configuration': Command 
'/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute
[ INFO  ] DNF Performing DNF transaction rollback
[ ERROR ] DNF module 'dnf.history' has no attribute 'open_history'
[WARNING] Rollback of DWH database postponed to Stage "Clean up"
[ INFO  ] Stage: Clean up
  Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20210823011923-bv030m.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20210823012309-setup.conf'
[WARNING] Rollback of DWH database started
  This might be a long process, but it should be safe to start the 
engine service before it finishes, if needed.
[ INFO  ] Clearing DWH database ovirt_engine_history
[ INFO  ] Restoring DWH database ovirt_engine_history
[ INFO  ] Restoring file 
'/var/lib/ovirt-engine-dwh/backups/dwh-20210823012249.n7sv_dim.dump' to 
database localhost:ovirt_engine_history.
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2A7W7Z5Q3JQK25U4QTEBAEB27VYNOZJ5/


[ovirt-users] Re: upgrading ovirt engine from 4.4.6.7-1.el8 to 4.4.8 latest getting failed

2021-08-23 Thread Klaas Demter

Hi,

I think that is solved by running

dnf update -y ovirt-release44

before engine-setup


Greetings

Klaas


On 8/23/21 9:21 AM, dhanaraj.ramesh--- via Users wrote:

Since 4.4.8 released I'm trying to upgrade my hosted engine from 4.4.6 to 4.4.8 
but thesetup has been failed

  engine-setup
[ 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
   Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20210823001021-vbtu6d.log
   Version: otopi-1.9.4 (otopi-1.9.4-1.el8)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup (late)
[ INFO  ] Stage: Environment customization

   --== PRODUCT OPTIONS ==--

[ INFO  ] ovirt-provider-ovn already installed, skipping.

   --== PACKAGES ==--

[ INFO  ] Checking for product updates...
[ ERROR ] DNF
   Problem 1: cannot install the best candidate for the job
- nothing provides ceph-common needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
   Problem 2: problem with installed package 
ovirt-engine-4.4.6.7-1.el8.noarch
- cannot install the best update candidate for package 
ovirt-engine-4.4.6.7-1.el8.noarch
- nothing provides ceph-common needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
[ INFO  ] DNF Performing DNF transaction rollback
[ ERROR ] Failed to execute stage 'Environment customization':
   Problem 1: cannot install the best candidate for the job
- nothing provides ceph-common needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
   Problem 2: problem with installed package 
ovirt-engine-4.4.6.7-1.el8.noarch
- cannot install the best update candidate for package 
ovirt-engine-4.4.6.7-1.el8.noarch
- nothing provides ceph-common needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
[ INFO  ] Stage: Clean up
   Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20210823001021-vbtu6d.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20210823001030-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed



setup log file :
2021-08-23 00:10:30,642-0700 ERROR otopi.context context._executeMethod:154 
Failed to execute stage 'Environment customization':
  Problem 1: cannot install the best candidate for the job
   - nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch
   - nothing provides python3-cinderlib needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
  Problem 2: problem with installed package ovirt-engine-4.4.6.7-1.el8.noarch
   - cannot install the best update candidate for package 
ovirt-engine-4.4.6.7-1.el8.noarch
   - nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch
   - nothing provides python3-cinderlib needed by 
ovirt-engine-4.4.8.4-1.el8.noarch
2021-08-23 00:10:30,643-0700 DEBUG otopi.plugins.otopi.dialog.human 
human.format:69 newline sent to logger
2021-08-23 00:10:30,643-0700 DEBUG otopi.context context.dumpEnvironment:765 
ENVIRONMENT DUMP - BEGIN
2021-08-23 00:10:30,643-0700 DEBUG otopi.context context.dumpEnvironment:775 
ENV BASE/error=bool:'True'
2021-08-23 00:10:30,643-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV 
BASE/exceptionInfo=list:'[(, DepsolveError(), 
)]'
2021-08-23 00:10:30,645-0700 DEBUG otopi.context context.dumpEnvironment:779 
ENVIRONMENT DUMP - END
2021-08-23 00:10:30,645-0700 INFO otopi.context context.runSequence:616 Stage: 
Clean up
2021-08-23 00:10:30,645-0700 DEBUG otopi.context context.runSequence:620 STAGE 
cleanup
2021-08-23 00:10:30,646-0700 DEBUG otopi.context context._executeMethod:127 
Stage cleanup METHOD 
otopi.plugins.otopi.dialog.answer_file.Plugin._generate_answer_file
2021-08-23 00:10:30,647-0700 DEBUG otopi.context context.dumpEnvironment:765 
ENVIRONMENT DUMP - BEGIN
2021-08-23 00:10:30,647-0700 DEBUG otopi.context context.dumpEnvironment:775 
ENV DIALOG/answerFileContent=str:'# OTOPI answer file, generated by human dialog
[environment:default]
'
2021-08-23 00:10:30,648-0700 DEBUG otopi.context context.dumpEnvironment:779 
ENVIRONMENT DUMP - END
2021-08-23 00:10:30,649-0700 DEBUG otopi.context context._executeMethod:127 
Stage cleanup METHOD 
otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup
2021-08-23 00:10:30,649-0700 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND