You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "DImuthuUpe (via GitHub)" <gi...@apache.org> on 2023/04/04 17:22:17 UTC

[GitHub] [airavata-mft] DImuthuUpe opened a new issue, #94: Rich error handling in CLI when communicating with MFT Server

DImuthuUpe opened a new issue, #94:
URL: https://github.com/apache/airavata-mft/issues/94

   Related to the discussion going in https://github.com/apache/airavata-mft/issues/93#issuecomment-1496242557. Presently the connection failures to MFT service from the CLI throw a StatusCode.UNAVAILABLE exception which is generic to gRPC. We need to capture these errors and print user-friendly error messages and steps to debug the issue. 
   
   One example place that requires the fix: https://github.com/apache/airavata-mft/blob/master/python-cli/mft_cli/airavata_mft_cli/storage/__init__.py#L66


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] slimandslam commented on issue #94: Rich error handling in CLI when communicating with MFT Server

Posted by "slimandslam (via GitHub)" <gi...@apache.org>.
slimandslam commented on issue #94:
URL: https://github.com/apache/airavata-mft/issues/94#issuecomment-1499929158

   Yes. Unless you are running the daemon in some kind of HA configuration (e.g. using redundancy and Zookeeper, for example), you shouldn't ever assume that the daemon is running. The CLI should, at least, know that it failed to contact the daemon and give that sort of error message, imho.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] praneethchityala commented on issue #94: Rich error handling in CLI when communicating with MFT Server

Posted by "praneethchityala (via GitHub)" <gi...@apache.org>.
praneethchityala commented on issue #94:
URL: https://github.com/apache/airavata-mft/issues/94#issuecomment-1499964612

   @DImuthuUpe I will be looking into this, will post updates once I have them.
   @slimandslam thank you for the suggestion.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airavata-mft] DImuthuUpe closed issue #94: Rich error handling in CLI when communicating with MFT Server

Posted by "DImuthuUpe (via GitHub)" <gi...@apache.org>.
DImuthuUpe closed issue #94: Rich error handling in CLI when communicating with MFT Server
URL: https://github.com/apache/airavata-mft/issues/94


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org