CloudWise-OpenSource / OMP

OMP(Operation Management Platform)是云智慧公司自主设计、研发的轻量级、聚合型、智能运维管理平台。是一款为用户提供便捷运维能力和业务管理的综合平台。具备运维一应俱全的功能,目的是提升运维自动化、智能化,提高运维效率,提升业务连续性和安全性。
https://cloudwise.ai/omp.html
GNU General Public License v3.0
261 stars 87 forks source link

添加主机失败 #32

Open xiaoluoge11 opened 2 years ago

xiaoluoge11 commented 2 years ago

添加主机提示创建分区失败: [2022-07-05 17:24:04,053][ERROR] ./utils/exception_handler.py 33 -> ExceptionResponse: {'data_folder': [ErrorDetail(string='创建数据分区操作失败', code='invalid')]}; {'view': <hosts.views.HostListView object at 0x7f4e67fe5c70>, 'args': (), 'kwargs': {}, 'request': <rest_framework.request.Request: POST '/api/hosts/hosts/'>} [2022-07-05 17:24:04,054][ERROR] ./utils/exception_handler.py 34 -> ExceptionResponse: Traceback (most recent call last): File "/data/omp/component/env/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/data/omp/component/env/lib/python3.8/site-packages/rest_framework/mixins.py", line 18, in create serializer.is_valid(raise_exception=True) File "/data/omp/component/env/lib/python3.8/site-packages/rest_framework/serializers.py", line 228, in is_valid raise ValidationError(self.errors) rest_framework.exceptions.ValidationError: {'data_folder': [ErrorDetail(string='创建数据分区操作失败', code='invalid')]}

Xiaoyuerwise commented 1 year ago

添加主机建议使用root用户执行 如果使用的是普通用户,请根据前端提示信息,手动执行主机初始化,或修改相关配置信息