grenade fails resource provider inventory check with python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grenade |
Fix Released
|
Undecided
|
Matt Riedemann |
Bug Description
I have a change proposed to add a python3-specific grenade job:
https:/
But it fails because the column order from the "openstack resource provider inventory list" command output is random on py3 which results in the expected value not matching the stored value:
2018-11-13 14:37:28.139 | + /opt/stack/
2018-11-13 14:37:28.143 | ++ /opt/stack/
2018-11-13 14:37:28.146 | ++ /opt/stack/
2018-11-13 14:37:28.151 | ++ /opt/stack/
2018-11-13 14:37:28.154 | ++ /opt/stack/
2018-11-13 14:37:28.159 | +++ /opt/stack/
2018-11-13 14:37:28.160 | +++ /opt/stack/
2018-11-13 14:37:28.168 | +++ /opt/stack/
2018-11-13 14:37:29.730 | ++ /opt/stack/
2018-11-13 14:37:29.734 | ++ /opt/stack/
2018-11-13 14:37:29.734 | ++ /opt/stack/
2018-11-13 14:37:29.743 | ++ /opt/stack/
2018-11-13 14:37:31.052 | + /opt/stack/
2018-11-13 14:37:31.055 | + /opt/stack/
2018-11-13 14:37:31.058 | + /opt/stack/
2018-11-13 14:37:31.061 | + /opt/stack/
2018-11-13 14:37:31.064 | + /opt/stack/
We can fix this by using the -c option to get the specific inventory value we care about.
Changed in grenade: | |
assignee: | nobody → Matt Riedemann (mriedem) |
Fix proposed to branch: master /review. openstack. org/617914
Review: https:/