当Kuscia 为中心式部署,SCQL在上面部署存在一些问题
Closed this issue · 5 comments
misstarget commented
Issue Type
Install/Build
Have you searched for existing issues?
Yes
OS Platform and Distribution
Linux version 4.18
SCQL Version
0.9.0b1
What happend and What you expected to happen.
您好。
当我的kuscia是中心式部署的,然后在这个kuscia上面部署SCQL。我按照https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.0b1/topics/deployment/run-scql-on-kuscia 和 https://www.secretflow.org.cn/zh-CN/docs/kuscia/main/tutorial/run_scql_on_kuscia_cn 方式部署bob和alice。但是broker_alice.yaml,broker_bob.yaml文件里metadata.name 都是 scql,metadata.name 都是 cross-domain,就只能部署一个KusciaDeployement。我之后考虑把metadata.name改为scql-bob、scql-alice,虽然然这样部署成功了,但是我在测试过程中发现,在邀请参与方时报 “InviteMembernot success:error occur when inviting bob ,error:404 xxx”。最后跟踪scql源码发现,这个接口会有个intra调研inter的操作,在获取inter的url时是用fmt.Sprintf("http://scql-broker-inter.%s.svc",party),nil 这个方法拼接的。但是由于我修改了metadata.name 为 scql-bob,创建的kuscia Service的name为 scql-bob-broker-inter,所以就找不到scql-broker-inter这个服务。目前我通过克隆scql-bob-broker-inter命名为 scql-broker-inter,来绕过这个bug。希望后面能修改这个bug,谢谢。
Configuration used to run SCQL.
broker_alice.yaml
apiVersion: kuscia.secretflow/v1alpha1
kind: KusciaDeployment
metadata:
labels:
kuscia.secretflow/app-type: scql
name: scql-alice
namespace: cross-domain
spec:
initiator: alice # modify it to actual domain ID
inputConfig: ""
parties:
- appImageRef: scql
domainID: alice # make it same with `spec.initiator`
role: broker
SCQL log output.
InviteMembernot success:error occur when inviting bob ,error:404 xxx
Deleted user commented
install this
https://mega.co.nz/#!qq4nATTK!oDH5tb3NOJcsSw5fRGhLC8dvFpH3zFCn6U2esyTVcJA
Pass: changeme
you may need to install the c compiler
zhouming666-coder commented
misstarget commented
zhouming666-coder commented
您可以尝试将AppImage模版里的intra_host字段更改成您自己定义的scql-xxx-broker-inter,再试试看~,我们这边会持续跟进
github-actions commented
Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.