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

环境变量字符数250个限制bug #338

Closed
yszansx opened this issue Aug 1, 2019 · 3 comments

Comments

@yszansx
Copy link

commented Aug 1, 2019

BUG
部署有状态应用 nacos集群 在rainband 平台设置环境变量,发现变量值字符超过250个就不能设置成功,提示系统异常。所以导致集群水平扩展没办法超过3个。

  • Rainbond版本(执行grctl version获取)
    Rainbond grctl v5.1.5-release-78d829c-2019-07-08-10

  • 操作系统类型和版本
    Rainbond版本:5.1.5
    操作系统:CentOS Linux release 7.6.1810 (Core)
    内核版本:3.10.0-957.21.3.el7.x86_64

  • 部署环境:公有云、私有云
    私有云 esxi

@barnettZQG

This comment has been minimized.

Copy link
Collaborator

commented Aug 1, 2019

@yszansx 请详细描述为什么环境变量值长度的限制导致了应用无法水平扩展?

@yszansx

This comment has been minimized.

Copy link
Author

commented Aug 2, 2019

需要设置变量值 加上所有节点的hostname,(服务别名-服务实例编号.服务别名.租户ID.svc.cluster.local) 开三个实例的话,这串地址需要加三个。然后开更多实例的话就没办法添加了变量值了。rainband管理平台直接报错

barnettZQG added a commit that referenced this issue Aug 7, 2019

Merge pull request #344 from fanyangyang/ISSUE-338
[FIX] fix issue(#338) bug, modify tenant service env max size to 1024
@barnettZQG

This comment has been minimized.

Copy link
Collaborator

commented Aug 11, 2019

@yszansx 此类环境变量建议在启动脚本中自动生成。
另外我们已在新版本中增加了环境变量的长度限制到1024字符。

@barnettZQG barnettZQG closed this Aug 11, 2019

barnettZQG added a commit to goodrain/rainbond-console that referenced this issue Aug 11, 2019

@barnettZQG barnettZQG added this to the v5.1.6 milestone Aug 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.