← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1134104] Re: instance is reverted to a wrong flavor after resizing several times

 

Our QA has run the same testcase with grizzly(master branch on github)
more than 20 times, this bug doesn't emerge, so I close it now, and if
this bug reappears later in grizzly with more fully tests, I will reopen
it.

** Changed in: nova
       Status: Incomplete => Fix Released

-- 
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/1134104

Title:
  instance is reverted to a wrong flavor after resizing several times

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I'm using stable folsom and testing it.
  I have add resize_confirm_window=60 to nova.conf, and it is enabled.
  my testcase is:
  2013-01-28 08:20:27,172 INFO ========= running test case test_resize_auto_confirm =========
  2013-01-28 08:20:27,442 INFO the selected flavor is 8(xtiny.c: vcpus 1, ecus_per_vcpu 1, ram 2048)
  2013-01-28 08:20:27,938 INFO removing floating IP 114.113.199.245 from server a658f85e-8430-4889-8339-bf4cabe639ef
  2013-01-28 08:20:36,149 INFO resizing server a658f85e-8430-4889-8339-bf4cabe639ef: flavor 11 to flavor 8
  2013-01-28 08:21:07,476 INFO server a658f85e-8430-4889-8339-bf4cabe639ef resized, the status is VERIFY_RESIZE
  2013-01-28 08:21:07,477 INFO adding floating IP 114.113.199.245 to server a658f85e-8430-4889-8339-bf4cabe639ef
  2013-01-28 08:21:15,151 INFO now the availability zone of the server is nova11
  2013-01-28 08:21:15,151 INFO waiting for auto confirming resize for server a658f85e-8430-4889-8339-bf4cabe639ef
  2013-01-28 08:27:12,611 INFO server a658f85e-8430-4889-8339-bf4cabe639ef auto confirming resize done
  2013-01-28 08:27:17,709 INFO ========= running test case test_resize_server =========
  2013-01-28 08:27:17,982 INFO the selected flavor is 12(small.a: vcpus 2, ecus_per_vcpu 2, ram 2048)
  2013-01-28 08:27:18,747 INFO removing floating IP 114.113.199.245 from server a658f85e-8430-4889-8339-bf4cabe639ef
  2013-01-28 08:27:29,662 INFO resizing server a658f85e-8430-4889-8339-bf4cabe639ef: flavor 8 to flavor 12
  2013-01-28 08:28:06,077 INFO server a658f85e-8430-4889-8339-bf4cabe639ef resized, the status is VERIFY_RESIZE
  2013-01-28 08:28:06,077 INFO adding floating IP 114.113.199.245 to server a658f85e-8430-4889-8339-bf4cabe639ef
  2013-01-28 08:28:13,819 INFO now the availability zone of the server is nova11
  2013-01-28 08:28:13,820 INFO confirming resize for server a658f85e-8430-4889-8339-bf4cabe639ef
  2013-01-28 08:28:19,282 INFO server a658f85e-8430-4889-8339-bf4cabe639ef resize confirmed
  2013-01-28 08:28:24,383 INFO ========= running test case test_revert_resize =========
  2013-01-28 08:28:24,557 INFO the selected flavor is 13(small.b: vcpus 2, ecus_per_vcpu 2, ram 4096)
  2013-01-28 08:28:26,309 INFO removing floating IP 114.113.199.245 from server a658f85e-8430-4889-8339-bf4cabe639ef
  2013-01-28 08:28:36,559 INFO resizing server a658f85e-8430-4889-8339-bf4cabe639ef: flavor 12 to flavor 13
  2013-01-28 08:29:09,791 INFO server a658f85e-8430-4889-8339-bf4cabe639ef resized, the status is VERIFY_RESIZE
  2013-01-28 08:29:09,792 INFO adding floating IP 114.113.199.245 to server a658f85e-8430-4889-8339-bf4cabe639ef
  2013-01-28 08:29:17,859 INFO now the availability zone of the server is nova11
  2013-01-28 08:29:17,860 INFO reverting resize for server a658f85e-8430-4889-8339-bf4cabe639ef
  2013-01-28 08:29:54,074 INFO server a658f85e-8430-4889-8339-bf4cabe639ef resize reverted

  FAIL [94.799s]: test_revert_resize (nvs_server.NVSServerTestCases)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/qatest/jenkins-nvs/workspace/cloud-autotest-nvs/nvs_utils.py", line 668, in _test_case
      return func(*args, **kwargs)
    File "/home/qatest/jenkins-nvs/workspace/cloud-autotest-nvs/nvs_server.py", line 196, in test_revert_resize
      server['server']['flavor']['id']))
  AssertionError: after reverting, the flavor of server a658f85e-8430-4889-8339-bf4cabe639ef not changed to 12 (it is 8)

  It seems like revert to a wrong flavor, this issue occurs at least two
  times with this case, but it's a probabilistic issue.

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