← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1720128] [NEW] [ocata] second instance resize fails on same host

 

Public bug reported:

With `allow_resize_to_same_host=true` nova removes instance directory on
host after confirming resize.

First resize works fine, although directore is removed.
Second resize fails, because nova cannot mv instance dir to instance_resize.
Workaround: power cycle instance after resize, then directory is created again.

Tested on volume-backed instances (with Ceph).
Env:
 Ubuntu Xenial
 nova-compute 15.0.2
 libvirt 2.5.0-3

Steps to reproduce:
- set allow_resize_to_same_host=true in nova.conf & restart nova services
- create instance (in my case: boot from volume, cinder storage in Ceph)
- watch /var/lib/nova/instances
- resize instance
- observe change in /var/lib/nova/instances
- confirm resize
- both directories were deleted
- resized instance is running

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  With `allow_resize_to_same_host=true` nova removes instance directory on
  host after confirming resize.
- 
  
  First resize works fine, although directore is removed.
  Second resize fails, because nova cannot mv instance dir to instance_resize.
  Workaround: power cycle instance after resize, then directory is created again.
  
  Tested on volume-backed instances (with Ceph).
  Env:
-  Ubuntu
-  nova-compute 15.0.2
-  libvirt 2.5.0-3
+  Ubuntu Xenial
+  nova-compute 15.0.2
+  libvirt 2.5.0-3
  
  Steps to reproduce:
  - set allow_resize_to_same_host=true in nova.conf & restart nova services
  - create instance (in my case: boot from volume, cinder storage in Ceph)
  - watch /var/lib/nova/instances
  - resize instance
  - observe change in /var/lib/nova/instances
- - confirm resize 
+ - confirm resize
  - both directories were deleted
  - resized instance is running

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

Title:
  [ocata] second instance resize fails on same host

Status in OpenStack Compute (nova):
  New

Bug description:
  With `allow_resize_to_same_host=true` nova removes instance directory
  on host after confirming resize.

  First resize works fine, although directore is removed.
  Second resize fails, because nova cannot mv instance dir to instance_resize.
  Workaround: power cycle instance after resize, then directory is created again.

  Tested on volume-backed instances (with Ceph).
  Env:
   Ubuntu Xenial
   nova-compute 15.0.2
   libvirt 2.5.0-3

  Steps to reproduce:
  - set allow_resize_to_same_host=true in nova.conf & restart nova services
  - create instance (in my case: boot from volume, cinder storage in Ceph)
  - watch /var/lib/nova/instances
  - resize instance
  - observe change in /var/lib/nova/instances
  - confirm resize
  - both directories were deleted
  - resized instance is running

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


Follow ups