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

core: set correct policy when reseting cpu pinning string #523

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

ljelinkova
Copy link
Contributor

When we are importing a VM that is pinned to a host, and the host is not present in the cluster where the VM should be imported, the host pinning is cleared as well as the cpu pinning string. However, the cpu pinning policy was not updated and remained MANUAL causing the import to fail when inserting the VM into the database.

This patch updates the cpu pinning policy to NONE when cpu pinning string is cleared during import.

Bug-Url: https://bugzilla.redhat.com/2104115

When we are importing a VM that is pinned to a host,
and the host is not present in the cluster where
the VM should be imported, the host pinning is cleared
as well as the cpu pinning string. However, the cpu pinning
policy was not updated and remained MANUAL causing the import
to fail when inserting the VM into the database.

This patch updates the cpu pinning policy to NONE when
cpu pinning string is cleared during import.

Bug-Url: https://bugzilla.redhat.com/2104115
@ljelinkova
Copy link
Contributor Author

/ost

1 similar comment
@ljelinkova
Copy link
Contributor Author

/ost

@ljelinkova ljelinkova self-assigned this Jul 12, 2022
@ljelinkova
Copy link
Contributor Author

/ost

@ahadas ahadas merged commit 1c30137 into oVirt:master Jul 13, 2022
@ljelinkova ljelinkova deleted the import-manual-pinning branch August 10, 2022 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants