[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] improve the error message in "xl list --long"
Hi, Wei > On Thu, Oct 24, 2013 at 03:30:57PM +0800, Bamvor Jian Zhang wrote: > > it is a bug reported by customer, xl will output the following message > > when issue "xl list --long domain_name": > > Domain name must be specified. > > > > the error message is completely unclear. this error is because such > > domain is not created by xl itself. xl could saw the domain name but > > could not get the domain configuration. > > > > The root cause is that there is no sotred config file in xl's private > storage. This can be caused by the reason you stated above. > > Another posibility is that Xen fails to clean up a domain after its > death. That domain remains visible in Xen, however at that time the > stored config file is already deleted. > > IMHO we can skip this domain without printing this info. Or this info > needs to cover all the situations. > sorry reply this so late. this issue is reported to us because our user using libvirt and xl at the same time. in xend times, it is ok to combine with libvirt and xend. We should tell user should not do it with xl. as I said in my first email, there is no prompt for missing config in "xl list --long" compare with other command. how about print like this: fprintf(stderr, "No xl userdata found. Is domain id" "'%u' owned by another toolstack or fail in cleanup? ", info[i].domid); Bamvor > Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |