[Yahoo-eng-team] [Bug 1782696] Re: nova migration a vm with pci devices to a host don't have pci available

2020-05-14 Thread Ivan Borisov
Since it looks like problem has not been resolved, and, I believe, has
been confirmed by multiple operators, I'll change status to "Confirmed"
for now.

** Changed in: nova
   Status: Invalid => Confirmed

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

Title:
  nova migration a vm with pci devices to a host don't have pci
  available

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  on nova master, multinodes with 2 compute nodes available. only one of
  nova compute had pci devices available.

  1. booting vm with pci reqested, assume it's name: pci-vm
  2. nova migrate pci-vm
  3. the pci-vm been schedule to a host don't have pci devices available.

  we see exception on nova compute(the host don't have pci devs and
  which nova schedule the pci-vm to):

  exception type 1:
  env/local/lib/python2.7/site-packages/nova/pci/request.py", line 157, in 
_translate_alias_to_requests
  2018-07-19 22:04:15.950 7 ERROR oslo_messaging.rpc.server raise 
exception.PciRequestAliasNotDefined(alias=name)
  2018-07-19 22:04:15.950 7 ERROR oslo_messaging.rpc.server 
  PciRequestAliasNotDefined: PCI alias intelpci is not defined

  
  exception type2: (define pci configurations but no pci device available )

  2018-07-22 23:10:16.528 7 ERROR oslo_messaging.rpc.server 
overhead=overhead, limits=limits)
  2018-07-22 23:10:16.528 7 ERROR oslo_messaging.rpc.server   File 
"/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/compute/claims.py", 
line 95, in __init__
  2018-07-22 23:10:16.528 7 ERROR oslo_messaging.rpc.server 
self._claim_test(resources, limits)
  2018-07-22 23:10:16.528 7 ERROR oslo_messaging.rpc.server   File 
"/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/compute/claims.py", 
line 162, in _claim_test
  2018-07-22 23:10:16.528 7 ERROR oslo_messaging.rpc.server "; 
".join(reasons))
  2018-07-22 23:10:16.528 7 ERROR oslo_messaging.rpc.server 
ComputeResourcesUnavailable: Insufficient compute resources: Claim pci failed.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1792710] Re: glance backend is in crazy resize when an image is uploading

2020-03-20 Thread Ivan Borisov
** Also affects: glance
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1792710

Title:
  glance backend is in crazy resize when an image is uploading

Status in Cinder:
  In Progress
Status in Glance:
  New
Status in glance_store:
  New

Bug description:
  When uploading a volume to glance as an image, the glance server don't
  know the image size, so the backend storage server(such as ceph) need
  to resize the image every time it received new chunk of data(by
  default 64K). So there will be huge times of resize operations that
  will impact the performance.

  - regarding cinder, it has not calculate the image size and pass the correct 
size to glance
  - regarding glance, it should allow the client to set image size.

  This is an known issue which can be found in driver files of all kinds of 
backend storage system:
  In file: glance_store/_drivers/rbd.py, function: add
  In file: glance_store/_drivers/cinder.py, function: add
  In file: glance_store/_drivers/sheepdog.py, function: add
  In all these files, there're comments like below:
  # If the image size provided is zero we need to do
  # a resize for the amount we are writing. This will
  # be slower so setting a higher chunk size may
  # speed things up a bit.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp