Description of problem: When using `rhc setup` for the first time, the following error is displayed if the user hasn't visited the web dashboard to accept the terms: Unable to complete the requested operation due to: Found valid credentials but you haven't requested access yet. Version-Release number of selected component (if applicable): rhc 1.12.4 How reproducible: Easy. Steps to Reproduce: 1. create a new openshift account 2. validate account via emailed link (*don't visit the dashboard*) 3. run `rhc setup` Actual results: Unable to complete the requested operation due to: Found valid credentials but you haven't requested access yet. Expected results: A better error message. Something like: Unable to complete requested operation due to: Need to accept terms. Visit <url to dashboard>
Fixed in https://github.com/openshift/li/pull/1837 Message changed to: In order to access and use the OpenShift Online services you will need to accept the terms and conditions. Visit the OpenShift Online console to accept the terms and conditions Including the url to the terms/accept page in the error message has been added as a story in the backlog.
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/c58c968d50d722e068fdd67d9976b1438c8b38d6 Bug 998982 - improve msg exposed in rhc when user hasnt accepted terms
Will verify it on devenv_3681
Verifide on devenv-stage_448,rhc is rhc-1.13.5 Result: [wsun@dhcp-8-229 ~]$ rhc setup OpenShift Client Tools (RHC) Setup Wizard This wizard will help you upload your SSH keys, set your application namespace, and check that other programs like Git are properly installed. Using wsun+bug998982 to login to ec2-107-21-140-169.compute-1.amazonaws.com Password: ****** Unable to complete the requested operation due to: In order to access and use the OpenShift Online services you will need to accept the terms and conditions. Visit the OpenShift Online console to accept the terms and conditions. Reference ID: ba845f3d3ff4cd029fc5e3c8459142a2