globus / globus-compute

Globus Compute: High Performance Function Serving for Science
https://www.globus.org/compute
Apache License 2.0
148 stars 47 forks source link

ConfigExists exception #463

Closed ryanchard closed 3 years ago

ryanchard commented 3 years ago

The latest release is raising a ConfigExists exception when running funcx-endpoint configure on a fresh machine.

config dir already exsits Traceback (most recent call last): File "/home/ubuntu/.local/bin/funcx-endpoint", line 8, in sys.exit(cli_run()) File "/home/ubuntu/.local/lib/python3.8/site-packages/funcx_endpoint/endpoint/endpoint.py", line 186, in cli_run app() File "/home/ubuntu/.local/lib/python3.8/site-packages/typer/main.py", line 214, in call return get_command(self)(*args, kwargs) File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 829, in call return self.main(args, kwargs) File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, ctx.params) File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(args, kwargs) File "/home/ubuntu/.local/lib/python3.8/site-packages/typer/main.py", line 497, in wrapper return callback(**use_params) # type: ignore File "/home/ubuntu/.local/lib/python3.8/site-packages/funcx_endpoint/endpoint/endpoint.py", line 59, in configure_endpoint manager.configure_endpoint(name, endpoint_config) File "/home/ubuntu/.local/lib/python3.8/site-packages/funcx_endpoint/endpoint/endpoint_manager.py", line 85, in configure_endpoint raise Exception('ConfigExists') Exception: ConfigExists`

ZhuozhaoLi commented 3 years ago

fixed in #464