yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44084
[Bug 1495834] Re: [VMware] Launching an instance with large image size crashes nova-compute
Reviewed: https://review.openstack.org/231468
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=71d2d31b9b86df4071c3728666842eec6cd1c727
Submitter: Jenkins
Branch: master
commit 71d2d31b9b86df4071c3728666842eec6cd1c727
Author: Radoslav Gerganov <rgerganov@xxxxxxxxxx>
Date: Tue Oct 6 16:01:45 2015 +0300
VMware: specify chunk size when reading image data
When reading OVA image data from Glance without specifying chunk size,
nova-compute tries to read the entire tar stream in memory because this
is how the tar fileobject is implemented. This patch fixes this by
specifying the chunk size to be 64KB.
Change-Id: I953dfa1c28c25886306e1c9afe281cf2faca4db5
Closes-Bug: #1495834
** Changed in: nova
Status: In Progress => 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/1495834
Title:
[VMware] Launching an instance with large image size crashes nova-
compute
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Created an image of size ~6.5GB.
Launching a new instance from this image crashes nova-compute.
I'm observing nova-compute node running out of memory.
This could probably be due to reading entire file stream in memory
without using proper chunk size.
This is from git source and not any distribution.
git log -1
commit 1cf97bd096112b8d2e0eb95fd2a636a53cbf0bcc
Merge: a54c0d6 17fe88a
Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
Date: Mon Sep 14 02:34:18 2015 +0000
Merge "Fix typo in lib/keystone"
nova image-show fa376c74-4058-492b-9081-f31522f640f6
+----------------------+--------------------------------------+
| Property | Value |
+----------------------+--------------------------------------+
| OS-EXT-IMG-SIZE:size | 6997009920 |
| created | 2015-09-14T10:53:09Z |
| id | fa376c74-4058-492b-9081-f31522f640f6 |
| minDisk | 0 |
| minRam | 0 |
| name | win2k12-01 |
| progress | 100 |
| status | ACTIVE |
| updated | 2015-09-14T10:59:33Z |
+----------------------+--------------------------------------+
Attached n-cpu.log
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1495834/+subscriptions
References