| Summary: | Cannot view logs in TUI after drop to shell and return to TUI | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Guohua Ouyang <gouyang> | ||||
| Component: | ovirt-node | Assignee: | Joey Boggs <jboggs> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.2 | CC: | apevec, cshao, kli, leiwang, mburns, moli, ovirt-maint, ycui | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ovirt-node-2.0.2-0.5.git83340dd.el6 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-06 19:27:00 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Guohua Ouyang
2011-08-26 06:37:15 UTC
I tried this with upgraded 6.2-0.12 to 6.2-0.14 vm and did not encounter this problem. Are there any log files or stack traces? Talked on IRC and this is reproducible when you've manually run the "setup" command. 1. boot node 2. login as admin 3. F2 4. view log file -- works 5. drop to shell 6. exit 7. view logs -- works 8. drop to shell 9. setup 10. F2 11. view logs -- fails QE will try to reproduce without running setup If it's just running setup, then perhaps we should disallow running setup manually? I don't see a use case for running setup manually Created attachment 520106 [details]
less
Did some testing:
1. fresh install rhevh
2. login with admin
3. view log is fine
4. drop to shell and exit, view log is fine
5. drop to shell and run setup, view log hit the issue.
so only manually run setup have this issue.
Another testing is:
1. fresh install rhevh
2. login with admin
3. drop to shell.
4. #less /var/log/ovirt.log, screen is mess, see attachment.
Tested on 6.2-0.15: drop to shell and manual run "setup", it display "Unable to run setup manually, Run \"exit\" to return to setup" now, this is ok. But `less /var/log/ovirt.log` also display "Unable to run setup manually, Run \"exit\" to return to setup", this should be still a problem. Verified on 6.2-0.16.2: 1. view logs is ok after press F10. 2. drop to shell, `less /var/log/ovirt.log` is ok. 3. drop to shell, manual run "setup" is prevented and given a proper warning. 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/RHBA-2011-1783.html |