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

account update for --user option is throwing some invalid error #8023

Closed
ramya-c3 opened this issue May 8, 2024 · 2 comments · Fixed by #8058
Closed

account update for --user option is throwing some invalid error #8023

ramya-c3 opened this issue May 8, 2024 · 2 comments · Fixed by #8058
Assignees
Milestone

Comments

@ramya-c3
Copy link

ramya-c3 commented May 8, 2024

Environment info

  • NooBaa Version: 5.15.3
  • Platform: standalone

Actual behavior

1.# noobaa-cli account update --name 2* --user root 2>/dev/null
{
"error": {
"code": "InvalidSchema",
"message": "Schema invalid, please use required properties",
"detail": "Error: must NOT have additional properties | {"additionalProperty":"distinguished_name"} | "/nsfs_account_config"\n at Object.validate_account_schema (/usr/local/noobaa-core/src/manage_nsfs/nsfs_schema_utils.js:50:15)\n at update_account (/usr/local/noobaa-core/src/cmd/manage_nsfs.js:482:27)\n at async manage_account_operations (/usr/local/noobaa-core/src/cmd/manage_nsfs.js:585:9)\n at async account_management (/usr/local/noobaa-core/src/cmd/manage_nsfs.js:337:5)\n at async main (/usr/local/noobaa-core/src/cmd/manage_nsfs.js:112:13)"
}
}

Expected behavior

  1. valid error message should be thrown

Steps to reproduce

More information - Screenshots / Logs / Other output

@ramya-c3 ramya-c3 added the NS-FS label May 8, 2024
@ramya-c3 ramya-c3 changed the title account update for user is throwing some invalid error account update for --user option is throwing some invalid error May 8, 2024
@guymguym guymguym added this to the 5.15.4 milestone May 8, 2024
@romayalon romayalon added the Non Containerized Non containerized label May 9, 2024
@shirady
Copy link
Contributor

shirady commented May 16, 2024

Hi @ramya-c3,
Was that account created with UID and GID and in the update you tried to update it to distinguished name (user)?

@shirady
Copy link
Contributor

shirady commented May 27, 2024

Duplicate of #8072

@shirady shirady closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
@shirady shirady marked this as a duplicate of #8072 May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants