Bug 251666
Summary: | Service xendomains output is confusing and ugly | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Matthias Saou <matthias> | ||||||||
Component: | xen | Assignee: | Michal Novotny <minovotn> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||
Severity: | low | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 5.1 | CC: | areis, clalance, jdenemar, jorton, kajtzu, k.georgiou, llim, riek, rwu, syeghiay, xen-maint | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | xen-3.0.3-101.el5 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2010-03-30 08:59:07 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Matthias Saou
2007-08-10 10:46:18 UTC
Seeing the same with final 5.1. # rpm -q xen xen-3.0.3-41.el5 Created attachment 332019 [details]
Fix Xendomains output formatting
This is patch to format output of Xendomains script to provide information to users about entire progress.
Michal
A test package which fixes this issue (and several others as well) has been made available at: http://people.redhat.com/jdenemar/xen/ Could the reporter try it out and report if it fixes the problem or not? Thank you for your cooperation. Looking much better now, but with the try I made, the "OK" was printed on the same line as my shell prompt : Shutting down Xen domains: genvm01(save)........ mcp01(save)............................. mcp04(save)............................... mcp07(save)................................ scanvm02(save)......... scanvm03(save)................. [root@x133 tmp]# [ OK ] The above is only 2 lines, the "Shutting down..." one then the prompt+OK one. Seems like the fix might now be as simple as calling "echo" after success instead of before. Thanks for looking at this! Created attachment 333514 [details]
New version of xendomain patch
Ok, I've created some a new version of this patch, hopefully matthias will be happy ;) Anyway I've found several strange issues when shutting down all domains (SHUTDOWN_ALL code) when shutdown was taking very long time and finally it ended with result of no error but the return code was not 0. This was some `xm shutdown` issue because when I tried to run `xm shutdown` itself it still showing this domain in `xm list` but the domain seemed to be dead (no output, not accessible via ssh and only "Domain has shutdown: name=RHEL53 id=6 reason=suspend." line in /var/log/xen/xend.log, nothing more). Anyway I've tried to investigate this behaviour but I still don't know what the cause is so I am still investigating.
Created attachment 357401 [details]
New version of this formatting patch
Right, this is the new version of Xendomains output formatting patch to match upstream.
Michal
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0294.html This bug was closed during 5.5 development and it's being removed from the internal tracking bugs (which are now for 5.6). |