[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] patch to fix xendomains non-fatal error (4.5-unstable)



On Sun, Oct 19, 2014 at 09:32:43AM -0700, Mark Pryor wrote:
> 
> 
> 
> 
> 
> On Sunday, October 19, 2014 6:11 AM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
> On Sat, Oct 18, 2014 at 10:34:31AM -0700, Mark Pryor wrote:
> > --- ./tools/libxl/xl_cmdimpl.c.orig     2014-10-18 09:46:31.784512679 -0700
> > +++ ./tools/libxl/xl_cmdimpl.c  2014-10-18 09:51:21.138512679 -0700
> > @@ -3246,6 +3246,8 @@
> > 
> >      for (i = 0; i < nb_domain; i++) {
> >          libxl_domain_config_init(&d_config);
> > +        if (info[i].domid == 0)
> > +                continue;
> >          rc = libxl_retrieve_domain_configuration(ctx, info[i].domid, 
> > &d_config);
> >          if (rc)
> >              continue;
> > 
> > 
> > ------------- snip --------------------
> > 
> > Before the above fix, upon starting xendomains the logs showed:
> > -----------
> > 
> > Oct 18 09:34:40 c7dom0 xendomains: Starting auto Xen domains: a_c7minlibxl: 
> > error: libxl.c:6292:libxl_retrieve_domain_configuration: fail to get domain 
> > configuration for domain 0
> > 
> 
> Are you using NetBSD?
> 
> I'm not familiar with NetBSD, but can you check if xencommons runs
> before xendomains? If not, can you make xencommons starts before
> xendomains start? In theory that should fix your problem.
> 
> Wei.
> 
> 
> 
> The system is Centos 7 with this 
> ./configure --enable-systemd --prefix=/usr --lib=/usr/lib --enable-efi
> 
> So its systemd, not sysv as you suppose. These are the services
> 
> systemctl enable xen-qemu-dom0-disk-backend.service
> #xen-watchdog.service
> systemctl enable xenconsoled.service
> systemctl enable xendomains.service
> systemctl enable xenstored.service
> 

OK, it's a missing module in Xen's systemd configurations.

A patch is required. I'm not familiar with systemd and don't have a
test environment at the moment. I will send a bug report to Xen-devel
with you CC'ed.

Wei.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.