Announcement

Collapse
No announcement yet.

Error when resetting a user's LVE limits

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error when resetting a user's LVE limits

    When clicking "Reset limits to default" I get error:

    The received data is wrong. Contact support for resolution. Traceback (most recent call last): File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/utils_cmd.py", line 48, in run_command text=convert_to_str, File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 800, in __init__ restore_signals, start_new_session) File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename)FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/lve/dbgovernor/governor_package_limitting.py': '/usr/share/lve/dbgovernor/governor_package_limitting.py'The above exception was the direct cause of the following exception:Traceback (most recent call last): File "/usr/share/l.v.e-manager/utils/cloudlinux-cli.py", line 16, in cloudlinux_cli_admin.main() File "/usr/share/l.v.e-manager/utils/libcloudlinux.py", line 152, in main endpoint() File "/usr/share/l.v.e-manager/utils/cloudlinux_cli.py", line 157, in cl_limits cl.run(list_to_request) File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/limits.py", line 141, in run return self._set_run() File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/limits.py", line 551, in _set_run return self._set_action(uid, username) File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/limits.py", line 641, in _set_action is_lvectl_error, ret_list, result = self._set_user_action(o, uid, username) File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/limits.py", line 841, in _set_user_action self._mysql_governor.reset_user_limits_to_defaults (username, gov_limits) File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/mysql_governor_lib.py", line 514, in reset_user_limits_to_defaults ret_code, _, std_err = run_command(cmd_list, return_full_output=True) File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/utils_cmd.py", line 53, in run_command ) from oserrclcommon.utils_cmd.ExternalProgramFailed: /usr/share/lve/dbgovernor/governor_package_limitting.py reset_individual --user=lodgepar --limits=all. Cannot run command: [Errno 2] No such file or directory: '/usr/share/lve/dbgovernor/governor_package_limitting.py': '/usr/share/lve/dbgovernor/governor_package_limitting.py'

    I do not run MySQL governor, and have previously not had this error.

    I am trying to reset a user's limits because previously I have used this technique to correct a users MySQL usage which can get stuck on 100% PMEM usage.

  • #2
    Hello,

    It's a bug in lve-utils package, not fixed yet. As of now please just ignore it.
    Bug ID is LU-3666 and could be tracked over https://changelog.cloudlinux.com/lve-utils

    Comment

    Working...
    X