Bug 1119388
| Summary: | Unable to cleanup | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Petr Beňas <pbenas> | ||||
| Component: | ovirt-engine-installer | Assignee: | Simone Tiraboschi <stirabos> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Beňas <pbenas> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.5 | CC: | bazulay, bugs, didi, dougsland, gklein, iheim, lveyde, mperina, pbenas, pstehlik, rbalakri, sbonazzo, stirabos, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | integration | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-10-17 12:20:02 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: | |||||||
| Attachments: |
|
||||||
2014-07-14 18:34:37 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/chkconfig', 'ovirt-fence-kdump-listener', 'off') stderr:
error reading information on service ovirt-fence-kdump-listener: No such file or directory
2014-07-14 18:34:37 DEBUG otopi.context context._executeMethod:152 method exception
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod
method['method']()
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-remove/ovirt-engine/system/fence_kdump_listener.py", line 57, in _misc
state=False,
File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 164, in startup
'on' if state else 'off',
File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 871, in execute
command=args[0],
RuntimeError: Command '/sbin/chkconfig' failed to execute
2014-07-14 18:34:37 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Misc configuration': Command '/sbin/chkconfig' failed to execute
Not really able to reproduce. Was the setup an upgrade form a previous release or a fresh install? IIRC it was alpha1 upgraded to alpha2. It cannot be reproduced on beta2, probably it has been fixed/completed by new code for that. Verified by automated job in recent 3.5. oVirt 3.5 has been released and should include the fix for this issue. |
Created attachment 917922 [details] logfile Description of problem: [root@pb-rh35 ~]# engine-cleanup [ 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-remove-20140714183406-1z6r05.log Version: otopi-1.2.2_master (otopi-1.2.2-0.0.master.20140605.git60102c6.el6) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment customization Do you want to remove all components? (Yes, No) [Yes]: Do you want to remove Engine database content? All data will be lost (Yes, No) [No]: Yes [ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [OK]: All the installed ovirt components are 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 localhost:engine to '/var/lib/ovirt-engine/backups/engine-20140714183425.VIcKtO.dump'. [ INFO ] Clearing Engine database engine [ ERROR ] Failed to execute stage 'Misc configuration': Command '/sbin/chkconfig' failed to execute [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-remove-20140714183406-1z6r05.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140714183437-cleanup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of cleanup failed Version-Release number of selected component (if applicable): ovirt-engine-jboss-as-7.1.1-1.el6.x86_64 ovirt-engine-extensions-api-impl-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-webadmin-portal-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-host-deploy-java-1.2.2-0.0.master.20140605222857.gitf0ac297.el6.noarch ovirt-engine-cli-3.5.0.0-1.20140605.gita11d080.el6.noarch ovirt-engine-setup-base-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-setup-plugin-websocket-proxy-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-lib-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-common-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-setup-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-websocket-proxy-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-dbscripts-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-userportal-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-restapi-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-sdk-python-3.5.0.0-1.20140605.git1267422.el6.noarch ovirt-host-deploy-1.2.2-0.0.master.20140605222857.gitf0ac297.el6.noarch ovirt-log-collector-3.5.0-0.0.master.20140605.git5a48d0c.el6.noarch ovirt-image-uploader-3.5.0-0.0.master.20140605.git83cb670.el6.noarch ovirt-release35-001-0.0.alpha1.noarch ovirt-engine-tools-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-backend-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-iso-uploader-3.5.0-0.0.master.20140605.gite89dcdf.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: