← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1413833] [NEW] vm_state inaccurate when operate virsh command

 

Public bug reported:

"vm_state" of instance is inaccurate when user operate "virsh pause DOM"
command.

One case:
1. Use "nova pause INSTANCE", and get:
| e4ce6895-a0db-4b43-9483-c4b8401fdd1c | instance_test          | PAUSED | -          | Paused      |          |
2. Use "virsh pause DOM", and get:
| e4ce6895-a0db-4b43-9483-c4b8401fdd1c | instance_test          | ACTIVE | -          | Paused      |          |

Another case:
1. nova pause INSTANCE;
| e4ce6895-a0db-4b43-9483-c4b8401fdd1c | instance_test          | PAUSED | -          | Paused      |          |
2. virsh resume INSTANCE;
| e4ce6895-a0db-4b43-9483-c4b8401fdd1c | instance_test          | PAUSED | -          | Running     |          |

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1413833

Title:
  vm_state inaccurate when operate virsh command

Status in OpenStack Compute (Nova):
  New

Bug description:
  "vm_state" of instance is inaccurate when user operate "virsh pause
  DOM" command.

  One case:
  1. Use "nova pause INSTANCE", and get:
  | e4ce6895-a0db-4b43-9483-c4b8401fdd1c | instance_test          | PAUSED | -          | Paused      |          |
  2. Use "virsh pause DOM", and get:
  | e4ce6895-a0db-4b43-9483-c4b8401fdd1c | instance_test          | ACTIVE | -          | Paused      |          |

  Another case:
  1. nova pause INSTANCE;
  | e4ce6895-a0db-4b43-9483-c4b8401fdd1c | instance_test          | PAUSED | -          | Paused      |          |
  2. virsh resume INSTANCE;
  | e4ce6895-a0db-4b43-9483-c4b8401fdd1c | instance_test          | PAUSED | -          | Running     |          |

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1413833/+subscriptions


Follow ups

References