red-hat-storage / openshift-cic

CNS Inventory file Creator (CIC) , also works for OCS
GNU General Public License v3.0
31 stars 7 forks source link

Exits with error, "Enter a valid supported version of OCP" when entered 3.10 as version #44

Closed ashmitha7 closed 6 years ago

ashmitha7 commented 6 years ago

The tool exits with an error saying that the version entered is not supported when entering 3.10 as the answer. I think it needs some change in how it's accepting the answers.

$ ./cic.py What version of OpenShift Container Platform are you deploying (3.9 or 3.10)?: 3.10 Enter a valid supported version of OCP

It worked the next time I tried to execute.

ramkrsna commented 6 years ago

@ashmitha7 Thank you for reporting the issue. Do let me know if this behavior is persistent.

ashmitha7 commented 6 years ago

@ramkrsna yes sure.

netzzer commented 6 years ago

To fix this issue need to remove the 'trailing whitespace' from all CIC user inputs.

netzzer commented 6 years ago

Resolved by PR #48