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

   M1 Macbook Pro with MacOS 13.2.1
   
   ```
   $ mkdir AIR
   $ python3.10 -m venv venv
   $ source venv/bin/activate
   (venv) $ pip3 install airavata-mft-cli
   Collecting airavata-mft-cli
     Using cached airavata_mft_cli-0.1.9-py3-none-any.whl (21 kB)
   Collecting typer[all]<0.8.0,>=0.7.0
     Using cached typer-0.7.0-py3-none-any.whl (38 kB)
   Collecting pick==2.2.0
     Using cached pick-2.2.0-py3-none-any.whl (4.9 kB)
   Collecting airavata_mft_sdk==0.0.1-alpha27
     Using cached airavata_mft_sdk-0.0.1a27-py3-none-any.whl (96 kB)
   Collecting grpcio==1.47.0rc1
     Using cached grpcio-1.47.0rc1-cp310-cp310-macosx_13_0_arm64.whl
   Collecting grpcio-tools==1.47.0rc1
     Using cached grpcio_tools-1.47.0rc1-cp310-cp310-macosx_13_0_arm64.whl
   Collecting google-api-python-client>=2.0.0
     Downloading google_api_python_client-2.83.0-py2.py3-none-any.whl (11.2 MB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.2/11.2 MB 3.4 MB/s eta 
0:00:00
   Collecting six>=1.5.2
     Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
   Requirement already satisfied: setuptools in 
./venv/lib/python3.10/site-packages (from 
grpcio-tools==1.47.0rc1->airavata-mft-cli) (67.2.0)
   Collecting protobuf<4.0dev,>=3.12.0
     Using cached protobuf-3.20.3-py2.py3-none-any.whl (162 kB)
   Collecting click<9.0.0,>=7.1.1
     Using cached click-8.1.3-py3-none-any.whl (96 kB)
   Collecting shellingham<2.0.0,>=1.3.0
     Using cached shellingham-1.5.0.post1-py2.py3-none-any.whl (9.4 kB)
   Collecting colorama<0.5.0,>=0.4.3
     Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
   Collecting rich<13.0.0,>=10.11.0
     Using cached rich-12.6.0-py3-none-any.whl (237 kB)
   Collecting uritemplate<5,>=3.0.1
     Using cached uritemplate-4.1.1-py2.py3-none-any.whl (10 kB)
   Collecting google-auth<3.0.0dev,>=1.19.0
     Downloading google_auth-2.17.0-py2.py3-none-any.whl (178 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.1/178.1 kB 13.5 MB/s eta 
0:00:00
   Collecting google-auth-httplib2>=0.1.0
     Using cached google_auth_httplib2-0.1.0-py2.py3-none-any.whl (9.3 kB)
   Collecting google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5
     Using cached google_api_core-2.11.0-py3-none-any.whl (120 kB)
   Collecting httplib2<1dev,>=0.15.0
     Using cached httplib2-0.22.0-py3-none-any.whl (96 kB)
   Collecting pygments<3.0.0,>=2.6.0
     Using cached Pygments-2.14.0-py3-none-any.whl (1.1 MB)
   Collecting commonmark<0.10.0,>=0.9.0
     Using cached commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
   Collecting requests<3.0.0dev,>=2.18.0
     Using cached requests-2.28.2-py3-none-any.whl (62 kB)
   Collecting googleapis-common-protos<2.0dev,>=1.56.2
     Using cached googleapis_common_protos-1.59.0-py2.py3-none-any.whl (223 kB)
   Collecting cachetools<6.0,>=2.0.0
     Using cached cachetools-5.3.0-py3-none-any.whl (9.3 kB)
   Collecting rsa<5,>=3.1.4
     Using cached rsa-4.9-py3-none-any.whl (34 kB)
   Collecting pyasn1-modules>=0.2.1
     Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
   Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2
     Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
   Collecting pyasn1<0.5.0,>=0.4.6
     Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
   Collecting idna<4,>=2.5
     Using cached idna-3.4-py3-none-any.whl (61 kB)
   Collecting certifi>=2017.4.17
     Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
   Collecting urllib3<1.27,>=1.21.1
     Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
   Collecting charset-normalizer<4,>=2
     Using cached charset_normalizer-3.1.0-cp310-cp310-macosx_11_0_arm64.whl 
(123 kB)
   Installing collected packages: pyasn1, commonmark, urllib3, uritemplate, 
six, shellingham, rsa, pyparsing, pygments, pyasn1-modules, protobuf, pick, 
idna, colorama, click, charset-normalizer, certifi, cachetools, typer, rich, 
requests, httplib2, grpcio, googleapis-common-protos, google-auth, 
grpcio-tools, google-auth-httplib2, google-api-core, google-api-python-client, 
airavata_mft_sdk, airavata-mft-cli
   Successfully installed airavata-mft-cli-0.1.9 airavata_mft_sdk-0.0.1a27 
cachetools-5.3.0 certifi-2022.12.7 charset-normalizer-3.1.0 click-8.1.3 
colorama-0.4.6 commonmark-0.9.1 google-api-core-2.11.0 
google-api-python-client-2.83.0 google-auth-2.17.0 google-auth-httplib2-0.1.0 
googleapis-common-protos-1.59.0 grpcio-1.47.0rc1 grpcio-tools-1.47.0rc1 
httplib2-0.22.0 idna-3.4 pick-2.2.0 protobuf-3.20.3 pyasn1-0.4.8 
pyasn1-modules-0.2.8 pygments-2.14.0 pyparsing-3.0.9 requests-2.28.2 
rich-12.6.0 rsa-4.9 shellingham-1.5.0.post1 six-1.16.0 typer-0.7.0 
uritemplate-4.1.1 urllib3-1.26.15
   
   (venv) $ mft init
   Setting up MFT Services
   Consul process id: 74795
   Standalone Service stoping ...
   ./standalone-service-daemon.sh: line 55: kill: (62156) - No such process
   Standalone Service stopped ...
   Starting Standalone Service ...
   Standalone Service started ...
   MFT Started
   (venv) $ mft storage list
   ╭─────────────────────────────── Traceback (most recent call last) 
────────────────────────────────╮
   │ 
/Users/myuser/venv/lib/python3.10/site-packages/airavata_mft_cli/storage/__init__.py:6
 │
   │ 6 in list_storage                                                          
                      │
   │                                                                            
                      │
   │   63 │   │   │   │   │   │   │   │     secret_service_host = 
configcli.secret_service_host,      │
   │   64 │   │   │   │   │   │   │   │     secret_service_port = 
configcli.secret_service_port)      │
   │   65 │   list_req = StorageCommon_pb2.StorageListRequest()                 
                      │
   │ ❱ 66 │   list_response = client.common_api.listStorages(list_req)          
                      │
   │   67 │                                                                     
                      │
   │   68 │   console = Console()                                               
                      │
   │   69 │   table = Table(show_header=True, header_style='bold #2070b2')      
                      │
   │                                                                            
                      │
   │ ╭───────────────────────────────── locals 
─────────────────────────────────╮                     │
   │ │   client = <airavata_mft_sdk.mft_client.MFTClient object at 0x10796d8a0> 
│                     │
   │ │ list_req = <class 'rich.pretty.Node'>.__repr__ returned empty string     
│                     │
   │ 
╰──────────────────────────────────────────────────────────────────────────╯    
                 │
   │                                                                            
                      │
   │ /Users/myuser/venv/lib/python3.10/site-packages/grpc/_channel.py:946 in 
__call__       │
   │                                                                            
                      │
   │    943 │   │   │   │    compression=None):                                 
                      │
   │    944 │   │   state, call, = self._blocking(request, timeout, metadata, 
credentials,            │
   │    945 │   │   │   │   │   │   │   │   │     wait_for_ready, compression)  
                      │
   │ ❱  946 │   │   return _end_unary_response_blocking(state, call, False, 
None)                     │
   │    947 │                                                                   
                      │
   │    948 │   def with_call(self,                                             
                      │
   │    949 │   │   │   │     request,                                          
                      │
   │                                                                            
                      │
   │ ╭──────────────────────────────────── locals 
─────────────────────────────────────╮              │
   │ │           call = <grpc._cython.cygrpc.SegregatedCall object at 
0x1076085c0>     │              │
   │ │    compression = None                                                    
       │              │
   │ │    credentials = None                                                    
       │              │
   │ │       metadata = None                                                    
       │              │
   │ │        request = <class 'rich.pretty.Node'>.__repr__ returned empty 
string      │              │
   │ │           self = <grpc._channel._UnaryUnaryMultiCallable object at 
0x107adde70> │              │
   │ │          state = <grpc._channel._RPCState object at 0x107adf4f0>         
       │              │
   │ │        timeout = None                                                    
       │              │
   │ │ wait_for_ready = None                                                    
       │              │
   │ 
╰─────────────────────────────────────────────────────────────────────────────────╯
              │
   │                                                                            
                      │
   │ /Users/myuser/venv/lib/python3.10/site-packages/grpc/_channel.py:849 in    
            │
   │ _end_unary_response_blocking                                               
                      │
   │                                                                            
                      │
   │    846 │   │   else:                                                       
                      │
   │    847 │   │   │   return state.response                                   
                      │
   │    848 │   else:                                                           
                      │
   │ ❱  849 │   │   raise _InactiveRpcError(state)                              
                      │
   │    850                                                                     
                      │
   │    851                                                                     
                      │
   │    852 def _stream_unary_invocation_operationses(metadata, 
initial_metadata_flags):              │
   │                                                                            
                      │
   │ ╭──────────────────────────────── locals ────────────────────────────────╮ 
                      │
   │ │      call = <grpc._cython.cygrpc.SegregatedCall object at 0x1076085c0> │ 
                      │
   │ │  deadline = None                                                       │ 
                      │
   │ │     state = <grpc._channel._RPCState object at 0x107adf4f0>            │ 
                      │
   │ │ with_call = False                                                      │ 
                      │
   │ ╰────────────────────────────────────────────────────────────────────────╯ 
                      │
   
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
   _InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
           status = StatusCode.UNAVAILABLE
           details = "failed to connect to all addresses"
           debug_error_string = 
"{"created":"@1680205081.363435000","description":"Failed to pick
   
subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3261,"referenced_errors":
   [{"created":"@1680205081.363434000","description":"failed to connect to all
   
addresses","file":"src/core/lib/transport/error_utils.cc","file_line":167,"grpc_status":14}]}"
   >
   (venv) $
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to