Ovz7 issues with latest updates/kernel: 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 [message #53833] |
Thu, 25 January 2024 16:42 |
nathan.brownrice
Messages: 15 Registered: August 2020
|
Junior Member |
|
|
As the subject states, we just noticed a new kernel was released and updated/rebooted a few of our non-production hosts. They all have the same issue when attempting to start a container. You can't start a container and get this error:
Failed to start the CT: PRL_ERR_VZCTL_OPERATION_FAILED (Details: vcmmd: failed to register Container: Failed to get VCMMD D-Bus name
vcmmd: failed to unregister Container: Failed to get VCMMD D-Bus name
vcmmd: failed to unregister Container: Failed to get VCMMD D-Bus name
Failed to start the Container
)
I noticed that vcmmd.service is stuck "activating", and looking at the vcmmd.log it's failing with this:
2024-01-25 09:30:26 INFO vcmmd: Started
2024-01-25 09:30:26 INFO vcmmd.config: Loading config from file '/etc/vz/vcmmd.conf'
2024-01-25 09:30:26 INFO vcmmd.host: ovz7-10.brownrice.com: 134722818048 bytes available for VEs
2024-01-25 09:30:26 ERROR vcmmd.host: ovz7-10.brownrice.com: Memory cgroup vstorage.slice does not exist
2024-01-25 09:30:26 ERROR vcmmd.ldmgr: Failed to load policy "density": Policy not found
2024-01-25 09:30:26 INFO vcmmd.ldmgr: Switch to fallback policy
2024-01-25 09:30:26 INFO vcmmd.ldmgr: Loaded policy "NoOpPolicy"
2024-01-25 09:30:26 CRITICAL vcmmd: Terminating program due to unhandled exception:
2024-01-25 09:30:26 CRITICAL vcmmd: Traceback (most recent call last):
2024-01-25 09:30:26 CRITICAL vcmmd: File "/usr/lib/python3.6/site-packages/vcmmd/util/threading.py", line 43, in run_with_except_hook
2024-01-25 09:30:26 CRITICAL vcmmd: run_original(*args2, **kwargs2)
2024-01-25 09:30:26 CRITICAL vcmmd: File "/usr/lib64/python3.6/threading.py", line 864, in run
2024-01-25 09:30:26 CRITICAL vcmmd: self._target(*self._args, **self._kwargs)
2024-01-25 09:30:26 CRITICAL vcmmd: File "/usr/lib/python3.6/site-packages/vcmmd/ldmgr/policy.py", line 82, in wrapper
2024-01-25 09:30:26 CRITICAL vcmmd: sleep_timeout = f(self, *args, **kwargs)
2024-01-25 09:30:26 CRITICAL vcmmd: File "/usr/lib/python3.6/site-packages/vcmmd/ldmgr/policy.py", line 323, in ksm_controller
2024-01-25 09:30:26 CRITICAL vcmmd: params = self.get_ksm_params()
2024-01-25 09:30:26 CRITICAL vcmmd: File "/usr/lib/python3.6/site-packages/vcmmd/ldmgr/policies/NoOpPolicy.py", line 54, in get_ksm_params
2024-01-25 09:30:26 CRITICAL vcmmd: if self.active_vm < ksm_vms_active_threshold or \
2024-01-25 09:30:26 CRITICAL vcmmd: AttributeError: 'NoOpPolicy' object has no attribute 'active_vm'
Is anyone else running into this? I have the same issue on all 4 hosts that I updated yesterday.
Thanks!,
|
|
|
|
|
Re: Ovz7 issues with latest updates/kernel: 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 [message #53837 is a reply to message #53836] |
Thu, 25 January 2024 21:39 |
nathan.brownrice
Messages: 15 Registered: August 2020
|
Junior Member |
|
|
Another update:
It would appear that the issue is this package causing the issue:
vcmmd.noarch 8.0.88-1.vz7 @openvz-os
I removed vcmmd.noarch (which of course removes a ton of dependencies that I had to manually re-install after), and replaced it with the package from the older release: https://download.openvz.org/virtuozzo/releases/openvz-7.0.20 -147/x86_64
vcmmd.noarch 8.0.77-1.vz7 @/vcmmd-8.0.77-1.vz7.noarch
And now the vcmmd service starts fine, and I've been able to get a container to run on the host, everything seemingly working now. However, there was a huge chain of dependencies that I went through and manually re-installed, and this fix was super "hacky". I'd do it on a production server in a pinch if I had to, but wouldn't feel comfortable running production VPS's on it, so I'm hoping we get an official fix soon.
This does shine some light on where the issue is with the latest release, so hopefully some devs will see this and patch the latest release ASAP. I have 4 hosts that I've updated to the latest release, and this issue has happened on each one of them.
|
|
|
|
|
|
|
|
|
|