PKUHPC / OpenSCOW

Super Computing On Web
https://www.pkuscow.com/
Mulan Permissive Software License, Version 2
220 stars 49 forks source link

[Bug/Help] authType 为 ssh 需要给 userName 提供一个默认值以避免验证错误 #1426

Closed link89 closed 2 months ago

link89 commented 2 months ago

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

发生了什么 | What happened

无法创建新账号,错误信息为 ID与姓名不匹配,但实际上从截图可智二者是相符的

70d36fdf4d1cb452f2b34673d514d6d

期望结果 | What did you expect to happen

ID与姓名相符时应可正常创建账号

之前运行正常吗? | Did this work before?

未知

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:
- Scheduler:
- Docker:
- Docker-compose:
- SCOW cli:
- SCOW:
- Adapter:

备注 | Anything else?

已定位问题,当 authType 为ssh时,需要针对用户名缺省的情况提供一个默认值(与ID相同)。 因为Linux用户在创建时并不是总会填写姓名。