Bug 1080431 - [ENGINE-CLEANUP] Odd questions & statements - during cleanup process
Summary: [ENGINE-CLEANUP] Odd questions & statements - during cleanup process
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-reports
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.4.0
Assignee: Yedidyah Bar David
QA Contact: Barak Dagan
URL:
Whiteboard: integration
Depends On:
Blocks: rhev3.4rc
TreeView+ depends on / blocked
 
Reported: 2014-03-25 12:35 UTC by Barak Dagan
Modified: 2014-06-09 15:28 UTC (History)
12 users (show)

Fixed In Version: av8 - rhevm-reports-3.4.0-7.el6ev.noarch.rpm
Doc Type: Bug Fix
Doc Text:
With this update, users are no longer prompted whether to install the Reports feature when running the engine-cleanup command.
Clone Of:
Environment:
Last Closed: 2014-06-09 15:28:15 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine cleanup log (1.45 KB, text/plain)
2014-03-25 12:35 UTC, Barak Dagan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0602 0 normal SHIPPED_LIVE rhevm-reports 3.4 bug fix and enhancement update 2014-06-09 19:26:10 UTC
oVirt gerrit 27181 0 master MERGED packaging: setup: Ask only during setup Never
oVirt gerrit 27204 0 ovirt-engine-3.4 MERGED packaging: setup: Ask only during setup Never

Description Barak Dagan 2014-03-25 12:35:22 UTC
Created attachment 878447 [details]
engine cleanup log

Description of problem:

Using the clean up tool, one gets the following snippet on the console, including questions like:\
1) "Install reports on this host" - a) no- want to uninstall it, b) confusing terminology as host is being used for the vds while this is the vdc.

2) "remove all components" - any other option ? can only some be uninstalled ?

3) "engine service will be stopped OK ?" - of course, the purpose is to remove it from the system

4) "data will be lost" - as as 3), and the data is being backed up few lines later (engine data anyway, why doesn't dwh & reports being backed up as well)

5) "Stage: Package installation" - shouldn't be un installation ?

# engine-cleanup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-dwh.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-packaging-rhevm-reports.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
          Log file: /var/log/ovirt-engine/setup/ovirt-engine-remove-20140325141801.log
          Version: otopi-1.2.0_rc4 (otopi-1.2.0-0.11.rc4.el6ev)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment customization
-->          Install Reports on this host (Yes, No) [Yes]: yes
--> ?          Do you want to remove all components? (Yes, No) [Yes]: yes
[ INFO  ] Stage: Setup validation
-->          During execution engine service will be stopped (OK, Cancel) [OK]: 
-->          ovirt-engine is about to be removed, data will be lost (OK, Cancel) [Cancel]: ok
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
--> [ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Backing up PKI configuration and keys
[ INFO  ] Backing up database some.ip.add.ress:engine to '/var/lib/ovirt-engine/backups/engine-20140325141836.R3AUKC.sql'.



Version-Release number of selected component (if applicable):
av3

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Barak Dagan 2014-03-25 13:52:09 UTC
<didi> only one is a real issue - 'install reports'
<didi> 'remove all' - yes, it's possible to partially remove, but then setup does not work very well. we already have a bug on this
<didi> 'engine service will be stopped' - I guess it's just a warning
<didi> 'data will be lost' - same
<didi> I guess last two are PM req
<didi> "Stage Package installation" - it's not a bug. There is such a stage, and currently in cleanup it does nothing. I can anticipate needs that will make it install stuff. It never uninstalls

Comment 2 Barak Dagan 2014-05-01 16:01:31 UTC
Verified on av8.1:

[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-dwh.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-packaging-rhevm-reports.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
          Log file: /var/log/ovirt-engine/setup/ovirt-engine-remove-20140501185608.log
          Version: otopi-1.2.0 (otopi-1.2.0-1.el6ev)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment customization
          Do you want to remove all components? (Yes, No) [Yes]: yes
[ INFO  ] Stage: Setup validation
          During execution engine service will be stopped (OK, Cancel) [OK]: 
          ovirt-engine is about to be removed, data will be lost (OK, Cancel) [Cancel]: ok
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Backing up PKI configuration and keys
[ INFO  ] Backing up database localhost:engine to '/var/lib/ovirt-engine/backups/engine-20140501185713.2IxYBN.dump'.
[ INFO  ] Clearing Engine database engine
[ INFO  ] Backing up database localhost:ovirt_engine_history to '/var/lib/ovirt-engine-dwh/backups/dwh-20140501185724.NlDccP.dump'.
[ INFO  ] Clearing DWH database ovirt_engine_history
[ INFO  ] Backing up database localhost:rhevmreports to '/var/lib/ovirt-engine-reports/backups/reports-20140501185733.xHJ0Ph.dump'.
[ INFO  ] Clearing Reports database rhevmreports
[ INFO  ] Removing files
[ INFO  ] Reverting changes to files
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up

Comment 3 Yedidyah Bar David 2014-05-13 06:20:43 UTC
This bug was introduced during the development of 3.4, so was never visible to users of any stable release, thus does not require doc text etc.

Comment 4 errata-xmlrpc 2014-06-09 15:28:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0602.html


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