merge-new-params-nic-config-script - StopIteration ERROR - Not userfriendly
Bug #1812530 reported by
Harald Jensås
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Harald Jensås |
Bug Description
The script fails with a StopIteration error here:
nic_config_name = next((x.
The exception StopIteration indicates that it iterated trough all the roles in roles data without finding a match. The user specified a --role-name that does not exist in roles_data.
The script should handle this error case more gracefully and indicate the role is missing instead of generating StopIteration.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/631950
Review: https:/