Project

General

Profile

Actions

Bug #19589

closed

greedyspill.lua: :18: attempt to index a nil value (field '?')

Added by Dan van der Ster about 7 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
multimds
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The included greedyspill.lua doesn't seem to work in a simple 3-active MDS scenario.

balancer    greedyspill.lua
292077:    128.142.158.23:6800/1018507254 'cephhalpert-mds-135c39f87d' mds.0.1592 up:active seq 92 export_targets=0,1,2
275888:    128.142.135.28:6800/608393891 'cephhalpert-mds-981001588f' mds.1.1579 up:active seq 895 export_targets=0,1,2
285379:    128.142.132.151:6800/3646166240 'cephhalpert-mds-96d8ad3ea3' mds.2.1600 up:active seq 28

But it fails on line 18?

2017-04-12 13:54:18.222378 7f34eb1db700  0 lua.balancer MDS0: < auth.meta_load=0.0 all.meta_load=0.0 req_rate=0.0 queue_len=0.0 cpu_load_avg=0.35 > load=0.0
2017-04-12 13:54:18.222396 7f34eb1db700  0 lua.balancer MDS1: < auth.meta_load=0.0 all.meta_load=0.0 req_rate=0.0 queue_len=0.0 cpu_load_avg=0.34 > load=0.0
2017-04-12 13:54:18.222404 7f34eb1db700  0 lua.balancer MDS2: < auth.meta_load=0.0 all.meta_load=0.0 req_rate=0.0 queue_len=0.0 cpu_load_avg=0.27 > load=0.0
2017-04-12 13:54:18.222418 7f34eb1db700  0 lua.balancer WARNING: mantle could not execute script: [string "metrics = {"auth.meta_load", "all.meta_load",..."]:18: attempt to index a nil value (field '?')
2017-04-12 13:54:18.222449 7f34eb1db700  0 log_channel(cluster) log [WRN] : using old balancer; mantle failed for balancer=greedyspill.lua : (22) Invalid argument
Actions

Also available in: Atom PDF