• Tyler Wanner

    Tyler Wanner

    2 years ago
    Feel free to reach out to the channel, or to me directly, with any questions about this incident or any impact you might have had from it
  • j

    Joe Schmid

    2 years ago
    Question for folks doing CI/CD automation to build & register Prefect Flows. Building Docker storage for one of our flows from our CI/CD system (Screwdriver.io) fails with the exception below. Docker appears to be installed and working properly because
    docker run hello-world
    succeeds. (There is special "docker-in-docker" config we use with Screwdriver and this works well for many of our other projects.) I can also build Docker storage successfully on my laptop from inside the same image that our CI/CD system is using. I'm sure it's some simple config that I'm missing -- anybody run into this?
    15:25:50 Traceback (most recent call last):
    15:25:50   File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    15:25:50     "__main__", mod_spec)
    15:25:50   File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
    15:25:50     exec(code, run_globals)
    15:25:50   File "/usr/local/lib/python3.7/site-packages/srm_datasci-0.1.0-py3.7.egg/srm/datasci/flows/util/test_flow.py", line 35, in <module>
    15:25:50     flow.register("Utilities")
    15:25:50   File "/usr/local/lib/python3.7/site-packages/prefect/core/flow.py", line 1412, in register
    15:25:50     no_url=no_url,
    15:25:50   File "/usr/local/lib/python3.7/site-packages/prefect/client/client.py", line 616, in register
    15:25:50     serialized_flow = flow.serialize(build=build)  # type: Any
    15:25:50   File "/usr/local/lib/python3.7/site-packages/prefect/core/flow.py", line 1221, in serialize
    15:25:50     storage = self.storage.build()  # type: Optional[Storage]
    15:25:50   File "/usr/local/lib/python3.7/site-packages/prefect/environments/storage/docker.py", line 263, in build
    15:25:50     self._build_image(push=push)
    15:25:50   File "/usr/local/lib/python3.7/site-packages/prefect/environments/storage/docker.py", line 293, in _build_image
    15:25:50     self.pull_image()
    15:25:50   File "/usr/local/lib/python3.7/site-packages/prefect/environments/storage/docker.py", line 483, in pull_image
    15:25:50     client = self._get_client()
    15:25:50   File "/usr/local/lib/python3.7/site-packages/prefect/environments/storage/docker.py", line 471, in _get_client
    15:25:50     return docker.APIClient(base_url=self.base_url, version="auto")
    15:25:50   File "/usr/local/lib/python3.7/site-packages/docker/api/client.py", line 190, in __init__
    15:25:50     self._version = self._retrieve_server_version()
    15:25:50   File "/usr/local/lib/python3.7/site-packages/docker/api/client.py", line 215, in _retrieve_server_version
    15:25:50     'Error while fetching server API version: {0}'.format(e)
    15:25:50 docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
    j
    Laura Lorenz (she/her)
    9 replies
    Copy to Clipboard
  • b

    Bob Colner

    2 years ago
    Hi folks!, I'm a disgruntled airflow user here looking to learn more about prefect. I've started to port over a simple ETL workflow with some success.
    b
    Chris White
    32 replies
    Copy to Clipboard
  • b

    bardovv

    2 years ago
    Do I have to use prefect cloud to get access of the UI dashboard cause my tasks run but I can't see the UI dashboard. I haven't logged into prefect cloud.
  • b

    bardovv

    2 years ago
    (myenv) amod@amod-ThinkPad-T430:~/prefect$ prefect run cloud --name hello-flow --project 'Hello, World!' hello-flow not found
  • b

    bardovv

    2 years ago
    I have followed all the steps from this https://docs.prefect.io/cloud/tutorial/first.html#write-flow yet unable to work.
    b
    Thomas La Piana
    2 replies
    Copy to Clipboard
  • j

    John Ramirez

    2 years ago
    Hey - is it possible to pass a function to return a default value for a Parameter
    j
    1 replies
    Copy to Clipboard
  • n

    Nathan Molby

    2 years ago
    I’m getting an error of “Cannot serialize socket object”. The error says “Can’t pickle function <myFunction>: it’s not the same object as Helper_Functions.myFunction”. Any suggestions on how to fix this? I’m mapping over a task with 3 unmapped parameters which as the results of other tasks.
    n
    j
    +1
    16 replies
    Copy to Clipboard
  • j

    John Ramirez

    2 years ago
    hey everyone - I’m experiencing a problem where my workflow in a remote dask cluster breaks down after a mapping task. The workflow is terminated on the remote cluster but not in the cloud. any thoughts?
    j
    j
    3 replies
    Copy to Clipboard