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

Re: xl create/save throwing errors



On Wed, Feb 19, 2025 at 5:53 PM Petr Beneš <w1benny@xxxxxxxxx> wrote:
>
> On Wed, Feb 19, 2025 at 5:04 PM Petr Beneš <w1benny@xxxxxxxxx> wrote:
> >
> > Hello,
> >
>
> To add more information and observations:

Even more observations. This is from a run where 4 vms (4 VCPUs each)
were being created in parallel:

```
Saving to /clones/win10-18362-102/state new xl format (info 0x3/0x0/1780)
xc: info: Saving domain 14, type x86 HVM
xc: error: save callback suspend() failed: 0: Internal error
xc: error: Save failed (0 = Success): Internal error
libxl: error: libxl_qmp.c:1334:qmp_ev_lock_aquired: Domain 14:Failed
to connect to QMP socket /var/run/xen/qmp-libxl-14: No such file or
directory
libxl: error: libxl_dom_save.c:246:switch_qemu_xen_logdirty_done:
Domain 14:logdirty switch failed (rc=-3), abandoning suspend
xc: error: Couldn't disable qemu log-dirty mode (0 = Success): Internal error
xc: error: Failed to clean up (0 = Success): Internal error
libxl: error: libxl_stream_write.c:347:libxl__xc_domain_save_done:
Domain 14:saving domain: domain responded to suspend request: Success
Failed to save domain, resuming domain
libxl: error: libxl_qmp.c:1334:qmp_ev_lock_aquired: Domain 14:Failed
to connect to QMP socket /var/run/xen/qmp-libxl-14: No such file or
directory
libxl: error: libxl_dom_suspend.c:610:dm_resume_done: Domain 14:Failed
to resume device model: rc=-3
```

But... running afterwards:

```
# xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0 16384     6     r-----     475.1
win10-18362-102                             17  2048     4     -b----      30.8
```

And:
```
# lsa /var/run/xen/
total 16K
drwxr-xr-x  2 root root  160 Feb 19 17:13 .
drwxr-xr-x 36 root root 1.1K Feb 19 17:07 ..
-rw-r--r--  1 root root   28 Feb 19 17:13 domid-history
-rw-------  1 root root    4 Feb 19 17:06 qemu-dom0.pid
srwxr-xr-x  1 root root    0 Feb 19 17:13 qmp-libxenstat-17
srwxr-xr-x  1 root root    0 Feb 19 17:13 qmp-libxl-17
-rw-------  1 root root    5 Feb 19 17:06 xenconsoled.pid
-rw-r-----  1 root root    4 Feb 19 17:06 xenstored.pid
```

The logs complain about a domain ID 14, however, the domain ID of the
win10-18362-102 is later observed to be 17.

P.



 


Rackspace

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