-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
创建服务失败 #76
Comments
我还使用了serving/status/batchQuery接口去查询状态,结果如下: |
看响应结果,创建和查询是正常的哈?现在是有什么问题吗? |
日志文件是空的,只有个文件夹,预测也是返回结果404 |
kuscia容器内,crictl ps -a,拿到id,crictl exec -it 容器id bash,进入容器内看下有没有日志 |
疑问:我尝试填写本地已经有的serving镜像名和标签,但程序还是要去docker pull拉取镜像,这样不得不依赖网络的拉取,可以修改相关设置先进行本地检查吗? |
kubectl get deployment 名称 -o yaml 看一下 |
[root@mpc-middle-autonomy-p42 kuscia]# kubectl get deployment -n p42 -o yaml
|
使用kuscia api创建serving服务请求如下:
{'serving_id': 'server-uxy3cewxmizgsql7', 'serving_input_config': '{"partyConfigs": {"p169": {"serverConfig": {"featureMapping": {"ahq96f_56": "ahq96f_56", "ahq96f_57": "ahq96f_57", "ahq96f_58": "ahq96f_58", "ahq96f_59": "ahq96f_59", "ahq96f_60": "ahq96f_60", "ahq96f_61": "ahq96f_61", "ahq96f_62": "ahq96f_62", "ahq96f_63": "ahq96f_63", "ahq96f_64": "ahq96f_64", "ahq96f_65": "ahq96f_65", "ahq96f_66": "ahq96f_66", "ahq96f_67": "ahq96f_67", "ahq96f_68": "ahq96f_68", "ahq96f_69": "ahq96f_69", "ahq96f_70": "ahq96f_70", "ahq96f_71": "ahq96f_71", "ahq96f_72": "ahq96f_72", "ahq96f_73": "ahq96f_73", "ahq96f_74": "ahq96f_74", "ahq96f_75": "ahq96f_75", "ahq96f_76": "ahq96f_76", "ahq96f_77": "ahq96f_77", "ahq96f_78": "ahq96f_78", "ahq96f_79": "ahq96f_79", "ahq96f_80": "ahq96f_80", "ahq96f_81": "ahq96f_81", "ahq96f_82": "ahq96f_82", "ahq96f_83": "ahq96f_83", "ahq96f_84": "ahq96f_84", "ahq96f_85": "ahq96f_85", "ahq96f_86": "ahq96f_86", "ahq96f_87": "ahq96f_87", "ahq96f_88": "ahq96f_88", "ahq96f_89": "ahq96f_89", "ahq96f_90": "ahq96f_90", "ahq96f_91": "ahq96f_91", "ahq96f_92": "ahq96f_92", "ahq96f_93": "ahq96f_93", "ahq96f_94": "ahq96f_94", "ahq96f_95": "ahq96f_95", "ahq96f_96": "ahq96f_96", "ahq96f_97": "ahq96f_97", "ahq96f_98": "ahq96f_98", "ahq96f_99": "ahq96f_99", "ahq96f_100": "ahq96f_100", "ahq96f_101": "ahq96f_101", "ahq96f_102": "ahq96f_102", "ahq96f_103": "ahq96f_103", "ahq96f_104": "ahq96f_104", "ahq96f_105": "ahq96f_105", "ahq96f_106": "ahq96f_106", "ahq96f_107": "ahq96f_107", "ahq96f_108": "ahq96f_108", "ahq96f_109": "ahq96f_109", "ahq96f_110": "ahq96f_110"}}, "modelConfig": {"modelId": "ed0862be3dbf11ef8af500505695ad3a", "basePath": "/tmp/p169", "sourcePath": "/home/kuscia/var/storage/data/jobs/202407091409079310520/f5290062-model-package.tar.gz", "sourceType": "ST_FILE"}, "featureSourceConfig": {"csv_opts": {"file_path": "/home/kuscia/var/storage/data/predict_dataset/\u9884\u6d4b\u670d\u52a1\u6837\u672c\u6a21\u677f_20240709173348.csv", "id_name": "id12"}}, "channel_desc": {"protocol": "http"}}, "p170": {"serverConfig": {"featureMapping": {"wzi527_1": "wzi527_1", "wzi527_2": "wzi527_2", "wzi527_3": "wzi527_3", "wzi527_4": "wzi527_4", "wzi527_5": "wzi527_5", "wzi527_6": "wzi527_6", "wzi527_7": "wzi527_7", "wzi527_8": "wzi527_8", "wzi527_9": "wzi527_9", "wzi527_10": "wzi527_10", "wzi527_11": "wzi527_11", "wzi527_12": "wzi527_12", "wzi527_13": "wzi527_13", "wzi527_14": "wzi527_14", "wzi527_15": "wzi527_15", "wzi527_16": "wzi527_16", "wzi527_17": "wzi527_17", "wzi527_18": "wzi527_18", "wzi527_19": "wzi527_19", "wzi527_20": "wzi527_20", "wzi527_21": "wzi527_21", "wzi527_22": "wzi527_22", "wzi527_23": "wzi527_23", "wzi527_24": "wzi527_24", "wzi527_25": "wzi527_25", "wzi527_26": "wzi527_26", "wzi527_27": "wzi527_27", "wzi527_28": "wzi527_28", "wzi527_29": "wzi527_29", "wzi527_30": "wzi527_30", "wzi527_31": "wzi527_31", "wzi527_32": "wzi527_32", "wzi527_33": "wzi527_33", "wzi527_34": "wzi527_34", "wzi527_35": "wzi527_35"}}, "modelConfig": {"modelId": "ed0862be3dbf11ef8af500505695ad3a", "basePath": "/tmp/p170", "sourcePath": "/home/kuscia/var/storage/data/jobs/202407091409079310520/f5290062-model-package.tar.gz", "sourceType": "ST_FILE"}, "featureSourceConfig": {"csv_opts": {"file_path": "/home/kuscia/var/storage/data/predict_dataset/\u9884\u6d4b\u670d\u52a1(\u5ba1\u6279)\u6837\u672c\u6a21\u677f_20240709173430.csv", "id_name": "id63"}}, "channel_desc": {"protocol": "http"}}}}', 'initiator': 'p169', 'parties': [{'domain_id': 'p169', 'app_image': 'secretflow-serving-image', 'role': '', 'replicas': 1, 'update_strategy': {'type': 'RollingUpdate', 'max_surge': '25%', 'max_unavailable': '25%'}, 'resources': [{'container_name': '', 'min_cpu': '0.1', 'max_cpu': '0.1', 'min_memory': '100Mi', 'max_memory': '100Mi'}]}, {'domain_id': 'p170', 'app_image': 'secretflow-serving-image', 'role': '', 'replicas': 1, 'update_strategy': {'type': 'RollingUpdate', 'max_surge': '25%', 'max_unavailable': '25%'}, 'resources': [{'container_name': '', 'min_cpu': '0.1', 'max_cpu': '0.1', 'min_memory': '100Mi', 'max_memory': '100Mi'}]}]}
返回如下:
{'status': {'code': 0, 'message': 'success', 'details': []}}
但是在kuscia容器中的日志文件中虽然建立了相关文件,但文件却为空,看不到serving创建的任何信息,使用该服务预测也失败
The text was updated successfully, but these errors were encountered: