RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1007504 - horizon [Havana]: new volume dialogue takes a long time to open when we try to create a new volume during delete of several volumes
Summary: horizon [Havana]: new volume dialogue takes a long time to open when we try t...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: RDO
Classification: Community
Component: python-django-horizon
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: Icehouse
Assignee: Matthias Runge
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 15:35 UTC by Dafna Ron
Modified: 2015-06-04 21:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-23 14:53:54 UTC
Embargoed:


Attachments (Terms of Use)
logs (15.25 KB, application/x-gzip)
2013-09-12 15:35 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2013-09-12 15:35:46 UTC
Created attachment 796918 [details]
logs

Description of problem:

In AIO with local tgt I created a 6 volumes and deleted all of them 
while volumes were deleted I created a new volume 
the dialogue for new volume took about 90 seconds to appear. 

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

python-django-horizon-2013.2-0.10b3.el6.noarch

How reproducible:

100%

Steps to Reproduce:
1. install RDO havana on AIO with local tgt
2. create 6 volumes 
3. select all volumes and delete them
4. create a new volume

Actual results:

the new volume dialogue took me about 90 seconds to open 

Expected results:

dialogue should open right away 

Additional info: logs

Comment 1 Matthias Runge 2013-11-11 10:58:05 UTC
Somehow I think, this is more or less expected on normal workstation hardware, as it just takes time for disk IO. Esp. horizon can't do anything in preventing this wanted IO.

Comment 2 Dafna Ron 2013-11-15 08:31:11 UTC
this is not a disk I/O issue. 
seems like this would be an issue when we move to testing loaded environments. 
Please move to next version if you don't think it can be fixed in current version but it's most surely a bug

Comment 3 Matthias Runge 2013-11-15 08:38:44 UTC
Horizon just responds to underlying services. If they don't answer (for whatever reason), horizon waits (until timeout)

Comment 4 Matthias Runge 2014-01-23 14:44:07 UTC
When reproducing this, my machine gets a significant load avg (30), and esp. high iowaits (85%). 

you can try that yourself (even in shell):
#!/bin/sh
function create() {
start_create=`date +%s`
for i in `seq 1 8`; do cinder create --display-name myvol$i 1 ; done
end_create=`date +%s`
echo $end_create - $start_create | bc
}


function delete() {
start_create=`date +%s`
volumes=`cinder list | grep "myvol" | cut -d '|' -f2-2 `
for i in $volumes ; do cinder delete $i; done
end_create=`date +%s`
echo $end_create - $start_create | bc
}

create
delete


And wait 10 mins, until your computer is usable again ;-)

Comment 5 Matthias Runge 2014-01-23 14:53:54 UTC
it seems, cinder delete using a loopback device etc. is a very expensive function.


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