Bug 1364344 - Live migration failed due to ram allocation ratio is not aware by conductor
Summary: Live migration failed due to ram allocation ratio is not aware by conductor
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 7.0 (Kilo)
Hardware: All
OS: All
high
urgent
Target Milestone: async
: 7.0 (Kilo)
Assignee: Stephen Finucane
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-05 06:59 UTC by Chen
Modified: 2019-12-16 06:17 UTC (History)
17 users (show)

Fixed In Version: openstack-nova-2015.1.4-14.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-05 19:16:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2025 0 normal SHIPPED_LIVE openstack-nova bug fix advisory 2016-10-05 23:12:09 UTC

Description Chen 2016-08-05 06:59:01 UTC
Description of problem:

Live migration would fail if free_ram_mb is less than the memory of the instance. If the host is overcommitted this is very easy to happen.

Version-Release number of selected component (if applicable):

python-nova-12.0.3-11.el7ost.noarch

How reproducible:

100%

Upstream bug:

https://review.openstack.org/#/c/180151/

Actual results:

The live migration will fail with:

ERROR (BadRequest): Migration pre-check error: Unable to migrate XXXXXXXX to XXXXXXXX: Lack of memory(host:-10883 <= instance:2048) (HTTP 400) (Request-ID: XXXXXXXX)

Expected results:

The live migration should succeed

Additional info:

Comment 2 Chen 2016-08-17 01:50:23 UTC
Hi,

Sorry for the disturb but do we have any progress on the backport ?

Best Regards,
Chen

Comment 6 Chen 2016-09-12 07:36:34 UTC
Hi Jon,

The customer is using something like:

python-nova-2015.1.2-18.el7ost.noarch

So I'm wondering can I upgrade the nova packages from 1.2 to 1.4 directly ?

Best Regards,
Chen

Comment 7 Chen 2016-09-13 01:50:55 UTC
Hi Jon,

I hope we could have a 2015-1.2-18 hotfix to reduce the high risk from upgrading nova. This customer doesn't have a test environment.

Best Regards,
Chen

Comment 10 Stephen Finucane 2016-09-26 11:36:37 UTC
Mike - this patch was submitted for osp7. Does this need to be extended to other versions?

Comment 12 errata-xmlrpc 2016-10-05 19:16:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2025.html


Note You need to log in before you can comment on or make changes to this bug.