Bug 1279444 - task cleaning utility gives error : psql:./taskcleaner_sp_3_5.sql:14: ERROR: type "command_entities" does not exist
task cleaning utility gives error : psql:./taskcleaner_sp_3_5.sql:14: ERROR: ...
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup (Show other bugs)
3.4.5
All Linux
unspecified Severity high
: ---
: ---
Assigned To: Yedidyah Bar David
Pavel Stehlik
integration
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-09 08:23 EST by Gajanan
Modified: 2015-11-10 15:51 EST (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-10 05:30:54 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gajanan 2015-11-09 08:23:02 EST
Description of problem:

Upgrade to RHEV 3.5 failed, the engine-setup failed with below error: 

+++++++++++
[ INFO ] Stage: Setup validation
During execution engine service will be stopped (OK, Cancel) [OK]:
[ INFO ] Cleaning stale zombie tasks and commands
[ ERROR ] Failed to execute stage 'Setup validation': Failed to clear zombie commands. Please access support in attempt to resolve the problem
[ INFO ] Stage: Clean up
Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20151109135655-1ta9ju.log
[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20151109135807-setup.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
+++++++++++

When trying to : ./taskcleaner.sh it gave another error as below: 

+++++++++++
# ./taskcleaner.sh -u engine -d engine -v -z
select exists (select * from information_schema.tables where table_schema = 'public' and table_name = 'command_entities');
psql:./taskcleaner_sp_3_5.sql:14: ERROR: type "command_entities" does not exist
FATAL: Cannot execute sql command: --file=./taskcleaner_sp_3_5.sql
+++++++++++

Suspect a bug with taskcleaner.sh, the current setup is at version:  rhevm-3.4.5-0.3
Comment 3 Oved Ourfali 2015-11-10 03:23:16 EST
Actually, it was last touched by Didi.
Didi - can you take a look?
Comment 4 Yedidyah Bar David 2015-11-10 04:17:29 EST
(In reply to Oved Ourfali from comment #3)
> Actually, it was last touched by Didi.
> Didi - can you take a look?

I don't think I touched it for 3.5, only in master. Gave it a look anyway. Will give more details in a private comment.

Note You need to log in before you can comment on or make changes to this bug.