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

Fix: Create QEMU VMs directly in a configured Pool #367

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mpywell
Copy link

@mpywell mpywell commented Oct 17, 2024

  • Reintroduced Pool for maptoAPI (required for creating a VM within a Pool)
  • Removed step to add to Pool after creating of a VM (errors 500 already a member of pool when Pool added to maptoAPI)
  • Added tests for maptoAPI for Pool

Closes #366

- Reintroduced Pool for maptoAPI (required for creating a VM within a Pool)
- Removed step to add to Pool after creating of a VM (errors `500 already a member of pool` when Pool added to maptoAPI)
- Added tests for maptoAPI for Pool
@Tinyblargon
Copy link
Collaborator

@mpywell didn't know setting the pool during create would create it in the pool, expected it to be something with the url. That probably how this bug slipped in to begin with.

The createUpdate in the test is for when the create and update tests would be the same, a create and an update test is created from createUpdate

Not sure if the pool property may be set in the api when updating the vm.
Probably better to only add it during creation and omit it during update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue creating QEMU VMs with Pool scoped users or API tokens
2 participants