Skip to content
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

The problems list after upgrade system #963

Closed
agilebot1 opened this issue Mar 30, 2024 · 7 comments
Closed

The problems list after upgrade system #963

agilebot1 opened this issue Mar 30, 2024 · 7 comments
Assignees
Labels
bug Something isn't working priority-high
Milestone

Comments

@agilebot1
Copy link
Collaborator

agilebot1 commented Mar 30, 2024

升级步骤:

  1. 更新好values.yaml后,直接 helm upgrade -n kubeagi-system arcadia . , 提示minio pvc 方面的报错
  2. 手动逐个更新镜像,apiserver、ccontroller、opsconsole、agentportal
  3. 更新crd:kubectl apply -f crds/

升级后问题如下

1、模型文件介绍内容为空,之前有 Readme.md 文件。

image

查看后台日志

kubectl logs arcadia-apiserver-5f5bb5468-kjpx4  -n kubeagi-system -f
E0330 01:52:21.011884       1 minio_server.go:591] stat file poemsai/model/qwen1.5-4b-chat/README.md error The specified key does not exist.
[GIN] 2024/03/30 - 02:04:16 | 500 |   21.897069ms |       127.0.0.1 | GET      "/bff/model/files/stat?fileName=README.md&bucket=kubeagi-system&bucketPath=model%2Fqwen1.5-4b-chat"

2、编辑智能体,未读取原有数据,内容为空
image

3、智能体详情页,编辑智能体,能读取原有数据,但分类和从智能体首页编辑智能体的分类不一致,仍为老的分类列表,未从 configmap 读取。两处编辑智能体须一致,或者去掉从智能体首页编辑,避免不一致带来bug。
image

4、数据源详情,在线数据输入长URL,页面显示有问题
image

5、推荐/取消推荐功能失败

以admin用户登录能正常操作,以非admin登录操作会遇到此问题,需注意下用户权限

image

{
  "message": "applications.arcadia.kubeagi.k8s.com.cn \"mianshi\" is forbidden: User \"kubeagi\" cannot update resource \"applications\" in API group \"arcadia.kubeagi.k8s.com.cn\" in the namespace \"poemsai\"",
  "path": [
    "Application",
    "updateApplication"
  ]
}
@bjwswang
Copy link
Collaborator

@liutianyi0801 问题4和5已经在ops-console开了issue,追踪下

@bjwswang
Copy link
Collaborator

问题1传参有问题,需要前后端统一下,@liutianyi0801 @0xff-dev

@agilebot1
Copy link
Collaborator Author

For bug 1, it set wrong namespace name when get the system-defalut models, it's in "kubeagi-system" not self-defined "poemsai" namespace, it should be configure out the namespace. this problem not appear before.

@bjwswang
Copy link
Collaborator

bjwswang commented Apr 7, 2024

@liutianyi0801 这些问题是否修复了? 如果已经修复,可以关闭issue

@agilebot1
Copy link
Collaborator Author

@bjwswang @liutianyi0801 除了问题1,其他问题已解决。

@bjwswang bjwswang added this to the v0.3.0 milestone Apr 9, 2024
@bjwswang
Copy link
Collaborator

bjwswang commented Apr 9, 2024

@huangqg the 1st issue got fixed now.

@agilebot1
Copy link
Collaborator Author

cool, the above problems are fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-high
Projects
None yet
Development

No branches or pull requests

3 participants