Bug 1080431
| Summary: | [ENGINE-CLEANUP] Odd questions & statements - during cleanup process | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Barak Dagan <bdagan> | ||||
| Component: | ovirt-engine-reports | Assignee: | Yedidyah Bar David <didi> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Barak Dagan <bdagan> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.4.0 | CC: | aberezin, acathrow, adahms, bazulay, didi, gklein, iheim, pstehlik, Rhev-m-bugs, sbonazzo, yeylon, ylavi | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | integration | ||||||
| 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.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-06-09 15:28:15 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1098239 | ||||||
| Attachments: |
|
||||||
<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 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
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. 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 |
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: