bentoctl with azure #4230
Replies: 1 comment
-
Hi @ludovicmarecaux - we are slowly sunsetting the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I try to follow step by step the quickstart for bentoctl with azure(https://github.com/bentoml/azure-container-instances-deploy)
I have an account on azure and the azure cli (az) is correctly parameter (terraform works well on my azure account)
When I try: bentoctl build -b iris_classifier:latest -f deployment_config.yaml
Then I have an error that I don't understand:
(E:\mlproject4\venv4) PS E:\mlproject4> bentoctl build -b iris_classifier:latest -f deployment_config.yaml
Traceback (most recent call last):
File "E:\mlproject4\venv4\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "E:\mlproject4\venv4\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "E:\mlproject4\venv4\Scripts\bentoctl.exe_main.py", line 7, in
sys.exit(bentoctl())
File "E:\mlproject4\venv4\lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
File "E:\mlproject4\venv4\lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
File "E:\mlproject4\venv4\lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "E:\mlproject4\venv4\lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "E:\mlproject4\venv4\lib\site-packages\click\core.py", line 783, in invoke
return _callback(*args, **kwargs)
File "E:\mlproject4\venv4\lib\site-packages\bentoctl\cli\utils.py", line 92, in wrapper
return_value = func(*args, **kwargs)
File "E:\mlproject4\venv4\lib\site-packages\bentoctl\cli\utils.py", line 57, in wrapper
return func(*args, **kwargs)
File "E:\mlproject4\venv4\lib\site-packages\bentoctl\cli\utils.py", line 26, in wrapper
File "E:\mlproject4\venv4\lib\site-packages\bentoctl\cli_init.py", line 316, in build
generate_deployable_container(
File "E:\mlproject4\venv4\lib\site-packages\bentoctl\docker_utils.py", line 120, in generate_deployable_container
backend.build(**buildx_args)
return subprocess.check_output(commands, cwd=context_path, env=env)
File "E:\mlproject4\venv4\lib\subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "E:\mlproject4\venv4\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "E:\mlproject4\venv4\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "E:\mlproject4\venv4\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
NotADirectoryError: [WinError 267] Nom de répertoire non valide (Non valid repository/directory)
Well ....despite I follow each step of the quickstart....
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions