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

Some CLI commands accept name when they should not #6726

Open
3 tasks
OpenNebulaSupport opened this issue Sep 16, 2024 · 0 comments
Open
3 tasks

Some CLI commands accept name when they should not #6726

OpenNebulaSupport opened this issue Sep 16, 2024 · 0 comments

Comments

@OpenNebulaSupport
Copy link
Collaborator

Description
Certain CLI actions which required ID's will accept a name on the command line but when sent as an XML-RPC request to OpenNebula, the ID will be 0.

To Reproduce
Attempt to delete a zone host or another object which requests an ID only:

onezone server-del 0 server-name

This command is effectively the same as onezone server-del 0 0 even if server-name is host ID 4 or any non-zero ID.

Expected behavior
The command should either fail to accept a string for an ID or it should resolve the name to an ID properly.

Details

  • Affected Component: CLI
  • Version: 6.8.3

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants