pulumi inside docker container with local backend #24198
llo-man
started this conversation in
Preview Features
Replies: 1 comment 3 replies
|
I'm guessing you're running your docker container with "host" networking. This will make it so |
3 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.
nice product!
i wil try it inside docker desktop container.
i have create image based upon "FROM pulumi/pulumi-python:3.256.0-debian-amd64".
the scenario is very simple:
"
export PULUMI_RUNTIME_VIRTUALENV=venv
export PULUMI_RUNTIME_TOOLCHAIN=pip
export PULUMI_CONFIG_PASSPHRASE="xxx"
export PULUMI_DISABLE_AUTOMATIC_PLUGIN_ACQUISITION=true
printenv
mkdir 001-cmd
cd 001-cmd
mkdir state
pulumi login file://./state
pulumi new /pulumi/templates/python --name "001-cmd" --description "test de création basique" -y --force
pulumi up
"
i encounter grpc error.
where am i wrong?
error first lines:
diagnostics:
pulumi:pulumi:Stack (001-cmd-dev):
Traceback (most recent call last):
File "/ciril/tests/001-cmd/venv/lib/python3.13/site-packages/pulumi/runtime/settings.py", line 549, in _load_monitor_feature_support
deployment_info = await asyncio.get_running_loop().run_in_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/ciril/tests/001-cmd/venv/lib/python3.13/site-packages/pulumi/runtime/_instrumentation.py", line 117, in wrapper
return fn(*args, **kwargs)
File "/ciril/tests/001-cmd/venv/lib/python3.13/site-packages/pulumi/runtime/settings.py", line 552, in
lambda: SETTINGS.monitor.GetDeploymentInfo(empty_pb2.Empty())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/ciril/tests/001-cmd/venv/lib/python3.13/site-packages/grpc/_channel.py", line 1168, in call
return _end_unary_response_blocking(state, call, False, None)
File "/ciril/tests/001-cmd/venv/lib/python3.13/site-packages/grpc/_channel.py", line 999, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:36669: Failed to connect to remote host: Connection refused"
debug_error_string = "UNAVAILABLE:failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:36669: Failed to connect to remote host: Connection refused"
>
thanks
All reactions