[Bug 1564853] [NEW] xendomains fails to suspend VMs not running
Philipp Hahn
hahn at univention.de
Fri Apr 1 11:17:27 UTC 2016
Public bug reported:
`/etc/init.d/xendomains stop` fails on xen-4.1.6.1 as it tries to parse
the output of "xm list", which has a varying number of columns for
running and already shut down VMs:
For managed inactive domains `xm list` does not output a domain-ID and a
state.
| # xm list
| Name ID Mem VCPUs State Time(s)
| Domain-0 0 3884 2 r----- 71.6
| yyy 512 1 0.0
| xxx 7 512 1 -b---- 1.1
Also cpu is not output.
Rewrite parseln() to use IFS for splitting and use number of output columns to
parse the lines.
** Affects: xen (Ubuntu)
Importance: Undecided
Status: New
** Tags: patch
** Patch added: "Fix `xm list` parsing"
https://bugs.launchpad.net/bugs/1564853/+attachment/4619341/+files/20_Bug40697_xendomains.patch
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xen in Ubuntu.
https://bugs.launchpad.net/bugs/1564853
Title:
xendomains fails to suspend VMs not running
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1564853/+subscriptions
More information about the Ubuntu-server-bugs
mailing list