ERROR: plcontainer: Cannot connect to the container, 10000 ms timeout reached. Check container logs for details.
search cancel

ERROR: plcontainer: Cannot connect to the container, 10000 ms timeout reached. Check container logs for details.

book

Article ID: 296353

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

An error is reported when running the plcontainer function using one of the python container images:

$ plcontainer image-list
REPOSITORY TAG IMAGE ID CREATED SIZE
pivotaldata/plcontainer_python3_shared devel 93f353853dbd 11 months ago 5.55GB
pivotaldata/plcontainer_python_shared devel c94546182146 11 months ago 2.34GB

 
The error reported by the function is:

ERROR: plcontainer: Cannot connect to the container, 10000 ms timeout reached. Check container logs for details.

This can occur if the runtime created from the image is defined with the incorrect language.

Environment

Product Version: 6.7

Resolution

Change the language defined for the runtime with the following steps.

List the runtimes defined with:

plcontainer runtime-show


Delete the runtime with:

plcontainer runtime-delete -r <Runtime ID>


Recreate the runtime with:

plcontainer runtime-add -r <Runtime ID> -i <Image ID> -l <Language>

 

  • <Runtime ID> is the runtime defined in the plcontainer function.
  • <Image ID> is from the "plcontainer image-list" output
  • <Language> should be "r", "python" or "python3"
  • "python" should be used for image "pivotaldata/plcontainer_python_shared:devel"
  • "python3" should be used for image "pivotaldata/plcontainer_python3_shared:devel"