View Issue Details

IDProjectCategoryView StatusLast Update
0009748CentOS CI[All Projects] generalpublic2020-01-29 16:39
Reporterdmsimard 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0009748: Requesting more than one node in a single get does not work as expected
DescriptionThe first problem is that the parameter as documented here [1] and here [2] is wrong, the parameter is not i_count but count.

The second problem is that when using count, we do not get the expected amount of nodes back.
In my testing, doing a request with count=2 will yield 10 nodes back for the same ssid.

[1]: https://wiki.centos.org/QaWiki/CI/Duffy
[2]: https://github.com/kbsingh/centos-ci-scripts/blob/master/build_python_script.py#L21
TagsNo tags attached.

Activities

bstinson

bstinson

2015-11-13 01:00

administrator   ~0024831

A hotfix to address this should be applied.
kbsingh@karan.org

kbsingh@karan.org

2015-11-16 17:36

administrator   ~0024863

This should be fixed now, the param is also now documented as 'count' and not 'i_count'. please report back if the problem persists. I've tested:

1) 1 node will still be handed out if count not specified (ie. this param remains optional)
2) a single node is handed out if count=1
3) 3 nodes are handed out if count=3
4) 10 nodes are handed out if count=15 ( ie, max is still cap'd at 10 )
5) 1 node is handed out if count=-1 ( ie. disregard invalid input )

Issue History

Date Modified Username Field Change
2015-11-12 21:19 dmsimard New Issue
2015-11-12 21:25 bstinson View Status private => public
2015-11-13 01:00 bstinson Note Added: 0024831
2015-11-13 01:00 bstinson Status new => resolved
2015-11-13 01:00 bstinson Resolution open => fixed
2015-11-13 19:15 bstinson Status resolved => feedback
2015-11-13 19:15 bstinson Resolution fixed => reopened
2015-11-13 19:15 bstinson Status feedback => confirmed
2015-11-16 17:36 kbsingh@karan.org Note Added: 0024863
2015-11-16 17:36 kbsingh@karan.org Status confirmed => resolved
2015-11-16 17:36 kbsingh@karan.org Resolution reopened => fixed
2020-01-29 16:39 arrfab Project Buildsys => CentOS CI
2020-01-29 16:39 arrfab Category Ci.centos.org Ecosystem Testing => general