Re: upgrade OVM 3.4.5 to ovm 3.5.6 stuck due to ovmm not stopping

From: k.hadd <kouss.hd_at_gmail.com>
Date: Wed, 1 Apr 2020 14:25:57 -0400
Message-ID: <CAF+xsmQTNa37g_X0LL8mqRQ-THH1khGra31oExQQHKVopZeg4A_at_mail.gmail.com>



Never mind .
problem solved
 the service wasn't stable I had to restart then stop it manually . the upgrade went smoothly right away after.

thanks

 ovmm.service - LSB: start and stop OVMM    Loaded: loaded (/etc/rc.d/init.d/ovmm; bad; vendor preset: disabled)   Drop-In: /etc/systemd/system/ovmm.service.d

           └─override.conf
   Active: failed (Result: timeout) since Tue 2020-03-31 17:14:12 EDT; 2h 44min ago

     Docs: man:systemd-sysv-generator(8)Mar 31 17:09:12 ovm-manager01 systemd[1]: Starting LSB: start and stop OVMM... Mar 31 17:09:12 ovm-manager01 su[18909]: (to oracle) root on none Mar 31 17:14:12 ovm-manager01 systemd[1]: ovmm.service start operation timed out. Terminating.
Mar 31 17:14:12 ovm-manager01 systemd[1]: Failed to start LSB: start and stop OVMM.
Mar 31 17:14:12 ovm-manager01 systemd[1]: Unit ovmm.service entered failed state.

Mar 31 17:14:12 ovm-manager01 systemd[1]: ovmm.service failed.
Mar 31 17:14:13 ovm-manager01 ovmm[18889]: Starting Oracle VM Manager
Mar 31 17:47:36 ovm-manager01 systemd[1]:
[/etc/systemd/system/ovmm.service.d/override.conf:3] Failed to parse usec_t value, ignoring: 900 # or whatever value you want Mar 31 17:48:57 ovm-manager01 systemd[1]: [/etc/systemd/system/ovmm.service.d/override.conf:3] Failed to parse usec_t value, ignoring: 900 # or whatever value you want

[root_at_ovm-man ~]# systemctl restart ovmm.service [root_at_ovm-man ~]# systemctl status ovmm.service ● ovmm.service - LSB: start and stop OVMM

   Loaded: loaded (/etc/rc.d/init.d/ovmm; bad; vendor preset: disabled)   Drop-In: /etc/systemd/system/ovmm.service.d

           └─override.conf

   Active: active (exited) since Tue 2020-03-31 19:59:45 EDT; 2s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6288 ExecStart=/etc/rc.d/init.d/ovmm start (code=exited,
status=0/SUCCESS)

8:03 <https://eclipsys.slack.com/archives/DT8NJHZ28/p1585699400024600>

[root_at_ovm-ma01 ~]# systemctl stop ovmm.service [root_at_ovm-mann01 ~]#

On Tue, Mar 31, 2020 at 6:26 PM k.hadd <kouss.hd_at_gmail.com> wrote:

> Hi ,
> I decided to upgrade our lab ovmm server from 3.4.5 to 3.5.6 today but the
> upgrade couldn't progress at some point when ovmm service had to stop .
> I even changed the ovmm.service TimeoutStopSec parameter to 15 min. Does
> this ring a bell for any of you ?
> Thanks in advance
> Koss
>
> - Here is the log excerpt which seemed to be an infinite loop as the
> service kept the stop action from succeeding .
>
>
> =================================log=====================================
> EDT Mar 31 18:21:27.169 system.process DEBUG system.process.run stderr:
>
> EDT Mar 31 18:21:28.173 system.process DEBUG system.process.start
> EDT Mar 31 18:21:28.344 system.process DEBUG system.process.run ended,
> exitcode was 0
> EDT Mar 31 18:21:28.349 system.process DEBUG system.process.run stdout:
> Oracle VM Manager is running...
>
> EDT Mar 31 18:21:28.349 system.process DEBUG system.process.run stderr:
>
> EDT Mar 31 18:21:29.353 system.process DEBUG system.process.start
> EDT Mar 31 18:21:29.502 system.process DEBUG system.process.run ended,
> exitcode was 0
> EDT Mar 31 18:21:29.506 system.process DEBUG system.process.run stdout:
> Oracle VM Manager is running...
>
> -=======================================================================
>
>
>
>
>
> output during the upgrade
>
> [root_at_]# ./runInstaller.sh --installtype Upgrade
>
> Starting Upgrade ...
>
> Reading database parameters from config ...
>
> ==========================
> Typically the current Oracle VM Manager database password will be the same
> as the Oracle VM Manager application password.
>
> ==========================
> Database Repository
> ==========================
> Please enter the current Oracle VM Manager database password for user ovs:
>
> Oracle VM Manager application
> =============================
> Please enter the current Oracle VM Manager application password for user
> admin:
>
> Oracle Weblogic Server 12c
> ==========================
> Please enter the current password for the WebLogic domain administrator:
>
> Please enter your fully qualified domain name, e.g. ovs123.us.oracle.com,
> (or IP address) of your management server for SSL certification generation
> xxxxxx [ovm-manager01]: x.x.x.10
> Successfully verified password for user root
> Successfully verified password for user appfw
>
> Verifying configuration ...
> Verifying 3.4.5 meets the minimum version for upgrade ...
>
> Upgrading from version 3.4.5.1919 to version 3.4.6.2424
>
> Start upgrading Oracle VM Manager:
> 1: Continue
> 2: Abort
>
> Select Number (1-2): 1
>
> Running full database backup ...
> Successfully backed up database to
> /u01/app/oracle/mysql/dbbackup/3.4.5_preUpgradeBackup-20200331_175933
> Running ovm_preUpgrade script, please be patient this may take a long time
> ...
> Exporting weblogic embedded LDAP users
> Stopping service on Linux: ovmcli ...
> Stopping service on Linux: ovmm ...
>
>
>
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Apr 01 2020 - 20:25:57 CEST

Original text of this message