xendomains can't stop any domU with xl toolstack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
release of Ubuntu : 13.04
package : xen-utils-common 4.2.1-0ubuntu3.1
With xl toolstack, 'xendomains' upstart script cannot stop any domains.
This is because 'xen-init-list', which is script used by xendomains, cannot handle with the output of xl command.
Code in /etc/init.
-------
do_stop_shutdown()
{
while read id name rest; do
log_
xen shutdown $id 2>&1 1>/dev/null
log_
done < <(/usr/
-------
With xm/xend toolstack, /usr/lib/
-------
$ xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 4096 2 r----- 18.5
web 2 8192 1 --p--- 0.0
$ /usr/lib/
2 web
-------
With xl toolstack, it returns nothing :
-------
$ xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 4096 2 r----- 419.3
web 1 8187 1 ------ 1.0
$ /usr/lib/
-------
Status changed to 'Confirmed' because the bug affects multiple users.