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

CA-148243: Getting rid of bad assertion failure after VM starts #1976

Merged
merged 2 commits into from
Nov 3, 2014

Conversation

ravippandey
Copy link
Contributor

After VM starts, if it is not in paused or running state, then an
ungraceful assertion failure is raised.
This patch raises the failure in a readable format.

Signed-off-by: Ravi Pandey ravi.pandey@citrix.com

operations

Issue: After a VM lifecycle operation, assert statement throws assertion
failure in an ugly manner.

Fix: Removing the assert statements and replacing them with
vm_bad_power_state error in case the power state of VM doesn't match the
expected state after some lifecycle operation.

Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
thomassa added a commit that referenced this pull request Nov 3, 2014
CA-148243: Getting rid of bad assertion failure after VM starts
@thomassa thomassa merged commit 7c97420 into xapi-project:master Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants