upload a 7.1G images TypeError: Cannot read property 'data' of undefined create failed

Bug #1685761 reported by jeck on 2017-04-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Low
Shu Muto

Bug Description

kolla stable ocata
upload cirror is ok ,but upload big image.qcow2(7.1G winserver2008) is failed

830e26e34b64.js:652 JQMIGRATE: Logging is active
2830e26e34b64.js:1336 The initScope() method is deprecated. Invocation of it will stop in Queens.
(anonymous) @ 830e26e34b64.js:1336
setActionScope @ cac59396880b.js:324
forEach @ 830e26e34b64.js:703
initActions @ cac59396880b.js:324
onResourceTypeNameChange @ cac59396880b.js:583
$digest @ 830e26e34b64.js:1512
$apply @ 830e26e34b64.js:1517
bootstrapApply @ 830e26e34b64.js:792
invoke @ 830e26e34b64.js:938
doBootstrap @ 830e26e34b64.js:792
bootstrap @ 830e26e34b64.js:793
angularInit @ 830e26e34b64.js:789
(anonymous) @ 830e26e34b64.js:1846
fire @ 830e26e34b64.js:208
fireWith @ 830e26e34b64.js:213
ready @ 830e26e34b64.js:32
completed @ 830e26e34b64.js:14
830e26e34b64.js:1336 The initScope() method is deprecated. Invocation of it will stop in Queens.
(anonymous) @ 830e26e34b64.js:1336
setActionScope @ cac59396880b.js:324
forEach @ 830e26e34b64.js:703
initActions @ cac59396880b.js:324
onResourceTypeNameChange @ cac59396880b.js:583
$digest @ 830e26e34b64.js:1512
$apply @ 830e26e34b64.js:1517
bootstrapApply @ 830e26e34b64.js:792
invoke @ 830e26e34b64.js:938
doBootstrap @ 830e26e34b64.js:792
bootstrap @ 830e26e34b64.js:793
angularInit @ 830e26e34b64.js:789
(anonymous) @ 830e26e34b64.js:1846
fire @ 830e26e34b64.js:208
fireWith @ 830e26e34b64.js:213
ready @ 830e26e34b64.js:32
completed @ 830e26e34b64.js:14
830e26e34b64.js:1336 The initScope() method is deprecated. Invocation of it will stop in Queens.
(anonymous) @ 830e26e34b64.js:1336
setActionScope @ cac59396880b.js:324
forEach @ 830e26e34b64.js:703
initActions @ cac59396880b.js:324
onResourceTypeNameChange @ cac59396880b.js:583
$digest @ 830e26e34b64.js:1512
$apply @ 830e26e34b64.js:1517
bootstrapApply @ 830e26e34b64.js:792
invoke @ 830e26e34b64.js:938
doBootstrap @ 830e26e34b64.js:792
bootstrap @ 830e26e34b64.js:793
angularInit @ 830e26e34b64.js:789
(anonymous) @ 830e26e34b64.js:1846
fire @ 830e26e34b64.js:208
fireWith @ 830e26e34b64.js:213
ready @ 830e26e34b64.js:32
completed @ 830e26e34b64.js:14
830e26e34b64.js:1336 The "scope" param to modal() is deprecated.Handling of it will stop in Queens.
(anonymous) @ 830e26e34b64.js:1336
modal @ cac59396880b.js:566
perform @ cac59396880b.js:662
genPassThroughCallback @ cac59396880b.js:410
fn @ VM877:4
expensiveCheckFn @ 830e26e34b64.js:1447
callback @ 830e26e34b64.js:1747
$eval @ 830e26e34b64.js:1516
$apply @ 830e26e34b64.js:1517
(anonymous) @ 830e26e34b64.js:1747
dispatch @ 830e26e34b64.js:332
elemData.handle @ 830e26e34b64.js:305
830e26e34b64.js:654 JQMIGRATE: jQuery.fn.attr('selected') may use property instead of attribute
migrateWarn @ 830e26e34b64.js:654
jQuery.attr @ 830e26e34b64.js:663
access @ 830e26e34b64.js:59
attr @ 830e26e34b64.js:262
renderUnknownOption @ 830e26e34b64.js:1798
writeNgOptionsValue @ 830e26e34b64.js:1799
ngModelCtrl.$render @ 830e26e34b64.js:1838
ngModelWatch @ 830e26e34b64.js:1773
$digest @ 830e26e34b64.js:1512
$apply @ 830e26e34b64.js:1517
(anonymous) @ 830e26e34b64.js:1747
dispatch @ 830e26e34b64.js:332
elemData.handle @ 830e26e34b64.js:305
830e26e34b64.js:654 console.trace
migrateWarn @ 830e26e34b64.js:654
jQuery.attr @ 830e26e34b64.js:663
access @ 830e26e34b64.js:59
attr @ 830e26e34b64.js:262
renderUnknownOption @ 830e26e34b64.js:1798
writeNgOptionsValue @ 830e26e34b64.js:1799
ngModelCtrl.$render @ 830e26e34b64.js:1838
ngModelWatch @ 830e26e34b64.js:1773
$digest @ 830e26e34b64.js:1512
$apply @ 830e26e34b64.js:1517
(anonymous) @ 830e26e34b64.js:1747
dispatch @ 830e26e34b64.js:332
elemData.handle @ 830e26e34b64.js:305
830e26e34b64.js:654 JQMIGRATE: jQuery.fn.attr('value', val) no longer sets properties
migrateWarn @ 830e26e34b64.js:654
set @ 830e26e34b64.js:667
attr @ 830e26e34b64.js:285
jQuery.attr @ 830e26e34b64.js:664
access @ 830e26e34b64.js:59
attr @ 830e26e34b64.js:262
$set @ 830e26e34b64.js:1033
(anonymous) @ 830e26e34b64.js:1130
forEach @ 830e26e34b64.js:703
mergeTemplateAttributes @ 830e26e34b64.js:1129
(anonymous) @ 830e26e34b64.js:1134
processQueue @ 830e26e34b64.js:1469
(anonymous) @ 830e26e34b64.js:1470
$eval @ 830e26e34b64.js:1516
$digest @ 830e26e34b64.js:1510
$apply @ 830e26e34b64.js:1517
done @ 830e26e34b64.js:1244
completeRequest @ 830e26e34b64.js:1259
requestLoaded @ 830e26e34b64.js:1253
830e26e34b64.js:654 console.trace
migrateWarn @ 830e26e34b64.js:654
set @ 830e26e34b64.js:667
attr @ 830e26e34b64.js:285
jQuery.attr @ 830e26e34b64.js:664
access @ 830e26e34b64.js:59
attr @ 830e26e34b64.js:262
$set @ 830e26e34b64.js:1033
(anonymous) @ 830e26e34b64.js:1130
forEach @ 830e26e34b64.js:703
mergeTemplateAttributes @ 830e26e34b64.js:1129
(anonymous) @ 830e26e34b64.js:1134
processQueue @ 830e26e34b64.js:1469
(anonymous) @ 830e26e34b64.js:1470
$eval @ 830e26e34b64.js:1516
$digest @ 830e26e34b64.js:1510
$apply @ 830e26e34b64.js:1517
done @ 830e26e34b64.js:1244
completeRequest @ 830e26e34b64.js:1259
requestLoaded @ 830e26e34b64.js:1253
830e26e34b64.js:1336 The "scope" param to modal() is deprecated.Handling of it will stop in Queens.
(anonymous) @ 830e26e34b64.js:1336
modal @ cac59396880b.js:566
perform @ cac59396880b.js:662
genPassThroughCallback @ cac59396880b.js:410
fn @ VM877:4
expensiveCheckFn @ 830e26e34b64.js:1447
callback @ 830e26e34b64.js:1747
$eval @ 830e26e34b64.js:1516
$apply @ 830e26e34b64.js:1517
(anonymous) @ 830e26e34b64.js:1747
dispatch @ 830e26e34b64.js:332
elemData.handle @ 830e26e34b64.js:305

830e26e34b64.js:1255 POST http://192.168.88.162/api/glance/images/ net::ERR_EMPTY_RESPONSE
(anonymous) @ 830e26e34b64.js:1255
sendReq @ 830e26e34b64.js:1239
serverRequest @ 830e26e34b64.js:1232
processQueue @ 830e26e34b64.js:1469
(anonymous) @ 830e26e34b64.js:1470
$eval @ 830e26e34b64.js:1516
$digest @ 830e26e34b64.js:1510
$apply @ 830e26e34b64.js:1517
(anonymous) @ 830e26e34b64.js:1747
dispatch @ 830e26e34b64.js:332
elemData.handle @ 830e26e34b64.js:305

830e26e34b64.js:1336 TypeError: Cannot read property 'data' of undefined
    at onCreateImage (cac59396880b.js:666)
    at processQueue (830e26e34b64.js:1469)
    at 830e26e34b64.js:1470
    at Scope.$eval (830e26e34b64.js:1516)
    at Scope.$digest (830e26e34b64.js:1510)
    at Scope.$apply (830e26e34b64.js:1517)
    at done (830e26e34b64.js:1244)
    at completeRequest (830e26e34b64.js:1259)
    at XMLHttpRequest.requestError (830e26e34b64.js:1253)
(anonymous) @ 830e26e34b64.js:1336
(anonymous) @ 830e26e34b64.js:1197
processQueue @ 830e26e34b64.js:1469
(anonymous) @ 830e26e34b64.js:1470
$eval @ 830e26e34b64.js:1516
$digest @ 830e26e34b64.js:1510
$apply @ 830e26e34b64.js:1517
done @ 830e26e34b64.js:1244
completeRequest @ 830e26e34b64.js:1259
requestError @ 830e26e34b64.js:1253

jeck (jeckxie) wrote :

this problem is due to horizon dir '/' do not hava enough space

jeck (jeckxie) wrote :

this bug because horizon upload images /tmp/tmp* can't delete ,if you Continuous upload images may lead to ir '/' do not hava enough space .

jeck (jeckxie) on 2017-05-18
affects: kolla-ansible → horizon
Shu Muto (shu-mutou) on 2017-08-30
Changed in horizon:
assignee: nobody → Shu Muto (shu-mutou)
status: New → Confirmed
tags: added: error-reporting
Ying Zuo (yingzuo) wrote :

If this is caused by the limited space in the directory, we just need to make sure the error message shown in horizon is appropriate.

Changed in horizon:
importance: Undecided → Low
Trygve Vea (trygve-vea-gmail) wrote :

Maybe we should consider changing the default HORIZON_IMAGES_UPLOAD_MODE to 'direct' at some point?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers