← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1361925] [NEW] nova resize-revert forgets hw_cdrom_bus

 

Public bug reported:

Hi,

The test
tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert
fails for me on arm64.  It turns out that this is because (if you use a
config drive, which is the default with devstack) you need to set
hw_cdrom_bus on the image to 'virtio' but the resize-revert command
somehow fails to take this into accound and tries to put the cdrom on
the ide bus, which does not exist in the emulated machine model on
arm64.

These command reproduce for me (given an image with hw_cdrom_bus set)

nova boot --poll --image $IMAGE_ID --flavor m1.tiny inst
nova resize inst m1.small --poll
nova resize-revert inst

I'll attach the libvirt log for such an instance.

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "instance-00000002.log"
   https://bugs.launchpad.net/bugs/1361925/+attachment/4187884/+files/instance-00000002.log

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

Title:
  nova resize-revert forgets hw_cdrom_bus

Status in OpenStack Compute (Nova):
  New

Bug description:
  Hi,

  The test
  tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert
  fails for me on arm64.  It turns out that this is because (if you use
  a config drive, which is the default with devstack) you need to set
  hw_cdrom_bus on the image to 'virtio' but the resize-revert command
  somehow fails to take this into accound and tries to put the cdrom on
  the ide bus, which does not exist in the emulated machine model on
  arm64.

  These command reproduce for me (given an image with hw_cdrom_bus set)

  nova boot --poll --image $IMAGE_ID --flavor m1.tiny inst
  nova resize inst m1.small --poll
  nova resize-revert inst

  I'll attach the libvirt log for such an instance.

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


Follow ups

References