Giter Site home page Giter Site logo

Comments (8)

benjamreis avatar benjamreis commented on July 20, 2024

Hi!

Thanks for the report.
Could you post here the return of the command: xl info threads_per_core on your host where you encountered the issue please?

Thanks

from xen-orchestra.

RemiNetEU avatar RemiNetEU commented on July 20, 2024

After force restart all works fine. So far I've installed latest XCP-NG updates on two hosts with same result - unable to perform smart reboot, access console of the VMs or stop VMs.
Here is the result after force restart.
image

from xen-orchestra.

benjamreis avatar benjamreis commented on July 20, 2024

When you say all works fine, does this mean that smart reboot as well?
If you still have an host you have not force rebooted yet can you try the same command on this host?

from xen-orchestra.

RemiNetEU avatar RemiNetEU commented on July 20, 2024

Yes, after force restart smart reboot works again. What I've also noticed that after installing those XCP-NG updates (beside issues mentioned above), RAM showed full use (0% free) and Hyperthreading as disabled.
I still have two hosts to upgrade but can't do that before 8PM (CET)

from xen-orchestra.

benjamreis avatar benjamreis commented on July 20, 2024

Okay so when you do, please before force rebooting run:
xl info threads_per_core
and
xe host-call-plugin host-uuid=<uuid of your host> plugin=hyperthreading.py fun=get_hyperthreading and post the results here.

Latest changes bump the Xen version of XCP-ng and I suspect there's something there that perturbate xl info or something, that is fixed after a reboot.
I'll look into it meanwhile.

Thx!

from xen-orchestra.

RemiNetEU avatar RemiNetEU commented on July 20, 2024

xl info threads_per_core gives:

[20:07 xcp1 ~]# xl info threads_per_core
libxl: error: libxl_utils.c:815:libxl_cpu_bitmap_alloc: failed to retrieve the maximum number of cpus
libxl: error: libxl_utils.c:815:libxl_cpu_bitmap_alloc: failed to retrieve the maximum number of cpus
libxl: error: libxl_utils.c:815:libxl_cpu_bitmap_alloc: failed to retrieve the maximum number of cpus
libxl: error: libxl.c:361:libxl_get_physinfo: getting physinfo: Permission denied
libxl_physinfo failed.
libxl: error: libxl_sched.c:166:libxl_get_scheduler: getting current scheduler id: Permission denied
get_scheduler sysctl failed.

and xe host-call-plugin host-uuid=<uuid of your host> plugin=hyperthreading.py fn=get_hyperthreading gives

[20:10 xcp1 ~]# xe host-call-plugin host-uuid=23b2e075-1726-4960-ae09-9ee01fa2590e plugin=hyperthreading.py fn=get_hyperthreading
Error code: -1
Error parameters: list index out of range, , Traceback (most recent call last):
  File "/etc/xapi.d/plugins/xcpngutils/__init__.py", line 119, in wrapper
    return func(*args, **kwds)
  File "/etc/xapi.d/plugins/hyperthreading.py", line 17, in get_hyperthreading
    return json.dumps(int(lines[0]) > 1)
IndexError: list index out of range

from xen-orchestra.

benjamreis avatar benjamreis commented on July 20, 2024

Perfect! Thank you for the info.

As I suspected something is wrong at Xen level after the upgrade.
Fortunately a force reboot solves everything.
I'll talk to this with the team.

Regards

from xen-orchestra.

julien-f avatar julien-f commented on July 20, 2024

This issue should not impact Smart Reboot, can you show me a log related to this problem?

from xen-orchestra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.