Possible contention/blocking in nova-api (100% CPU until untarred) after uploading image

Bug #906351 reported by Kevin Jackson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

After uploading a 5G image (cloud-publish-image) with kernel and initrd - at the stage it is untarring, euca-describe-images waits until image is not untarring.
I'm aware that this is also dependent on hardware capabilities and may not constitute a bug - but possible uneccessary blocking occuring from one task to the next.

2 x Intel Core Duo E6550 @ 2.33GHz
2Gb RAM
Storage is local disk (SATA)

No swapping occurring.

Commands to reproduce:
$ cloud-publish-image -t image -K CentOS-6.1-i386-vmlinuz-virtual -R CentOS-6.1-i386-loader i386 CentOS-6.1-i386.img images
$ euca-describe-images

Eventually returned this

IMAGE ami-00000011 images/CentOS-6.1-i386.img.manifest.xml untarring private i386 machine aki-0000000f ari-00000010 instance-store
IMAGE ari-00000010 images/CentOS-6.1-i386-loader.manifest.xml available private i386 ramdisk instance-store
IMAGE aki-0000000f images/CentOS-6.1-i386-vmlinuz-virtual.manifest.xml available private i386 kernel

On my host (spec as described), nova-api running 99-100% on a single CPU (untarring image).
Concern is that no other users can use nova-api (and therefore Nova) until task is complete.

Tags: scaling
Thierry Carrez (ttx)
tags: added: scaling
Revision history for this message
Brian Waldon (bcwaldon) wrote :

Is it the nova-api or nova-objectstore process that's blocking?

Changed in nova:
status: New → Incomplete
Revision history for this message
Brian Waldon (bcwaldon) wrote :

A temporary solution may be to run multiple nova-api processes.

Revision history for this message
Thierry Carrez (ttx) wrote :

We cannot solve the issue you reported without more information. Could you please provide the requested information ?

Revision history for this message
Thierry Carrez (ttx) wrote :

This bug lacks the necessary information to effectively reproduce and fix it, therefore it has been closed. Feel free to reopen the bug by providing the requested information and set the bug status back to ''New''.

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.