Rally not show rightful error message at config validation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
In Progress
|
Low
|
takayuki |
Bug Description
Rally show poor error message instead of rightful error message when ambiguous
config of image name.
reproduce:
sample glance image list:
+------
| ID | Name |
+------
| 0a8a021b-
| 6d588e19-
+------
sample scenario.json:
{
"NovaServer
{
"args": {
},
},
},
},
}
}
}
]
}
Run "rally task start scenario.json" then got the following error message.
Invalid scenario argument: 'Image '{'name': '^cirros.*'}' not found'
But, it should be the following error message.
Invalid scenario argument: '{'message': "Image with name '^cirros.*' is
ambiguous, possible matches by id: 0a8a021b-
6d588e19-
The same applied to flavor.
Changed in rally: | |
assignee: | nobody → takayuki (tkyk-mitsui) |
Changed in rally: | |
importance: | Undecided → Low |
milestone: | none → 0.1.0 |
Changed in rally: | |
milestone: | 0.1.0 → none |
tags: | added: task validation |
Fix proposed to branch: master /review. openstack. org/212918
Review: https:/