@olivierlambert said in Resource monitoring with perf-alert:
On the screenshot I can see your host is really outdated. So I would update/reboot and see the situation after that.
I tried to update the patches but I get this error:
pool.rollingUpdate
{
"pool": "68d0a3f2-ff33-8711-f8b3-bcd85507881b"
}
{
"code": "-1",
"params": [
"Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1",
"",
"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/updater.py\", line 96, in decorator
return func(*args, **kwargs)
File \"/etc/xapi.d/plugins/updater.py\", line 157, in update
raise error
CalledProcessError: Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1
"
],
"call": {
"method": "host.call_plugin",
"params": [
"OpaqueRef:b48630d1-f865-4315-9bac-21c94ad68369",
"updater.py",
"update",
{}
]
},
"message": "-1(Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1, , 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/updater.py\", line 96, in decorator
return func(*args, **kwargs)
File \"/etc/xapi.d/plugins/updater.py\", line 157, in update
raise error
CalledProcessError: Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1
)",
"name": "XapiError",
"stack": "XapiError: -1(Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1, , 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/updater.py\", line 96, in decorator
return func(*args, **kwargs)
File \"/etc/xapi.d/plugins/updater.py\", line 157, in update
raise error
CalledProcessError: Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1
)
at Function.wrap (/opt/xo/xo-builds/xen-orchestra-202306071622/packages/xen-api/src/_XapiError.js:16:12)
at /opt/xo/xo-builds/xen-orchestra-202306071622/packages/xen-api/src/transports/json-rpc.js:35:21
at runNextTicks (node:internal/process/task_queues:60:5)
at processImmediate (node:internal/timers:447:9)
at process.callbackTrampoline (node:internal/async_hooks:130:17)"
}
Could anyone please help me resolve this issue?
Thank you