Area: Ingestion Issues
Sub-Area: Remote Executor / Virtual Environment Setup
Applies to: OSS + Cloud
Issue
Many or all UI ingestion sources fail at the same time, before any source logic runs. The run log ends with:
Failed to set up virtual environment: <install output>
Before it runs a source, the executor creates a Python virtual environment and installs acryl-datahub at a set version with uv pip install. If that version does not exist on the package index the executor uses, the install fails and the run stops with the error above. The executor has no fallback version. Every source that uses the same version fails the same way.
You Might Be Asking
- Why are all of my ingestion sources failing at once with a virtual environment error?
- How do I find which
acryl-datahubversion the executor tried to install? - Can I work around this on a single source without waiting for the default to change?
Cause
Each run installs one acryl-datahub version. DataHub picks it when it creates the run:
- If the source has a value in CLI Version (under Advanced Settings), the run uses that value.
- If not, the run uses the server's default CLI version. On self-hosted DataHub, the server reads it from the GMS environment variable
UI_INGESTION_DEFAULT_CLI_VERSION. On DataHub Cloud, DataHub manages it for you.
When the chosen version is missing from the index (it was never published, or your private mirror does not carry it yet), the install fails. Every source that falls back to the default fails at once. Sources that pin their own published CLI Version keep working.
The executor installs from the package index set in its own environment. That is PyPI unless you point it at a private index, for example with UV_INDEX_URL (see Ingestion executor security and hardening).
Solution
-
Find the version the run tried to install. Open the failed run's logs and look for these lines:
Setting up venv for plugin '<plugin>' with version '<version>' Installing datahub (constraints bootstrap): ... pip install --no-deps acryl-datahub==<version>The uv output after
Failed to set up virtual environment:explains why the install failed. -
Check that the version exists on the index your executor uses. For PyPI, look at the acryl-datahub release history. For a private mirror, check that the mirror holds that exact version.
-
Unblock a source right away. Open the ingestion source, expand Advanced Settings, and enter a version that exists on your index in CLI Version. A value in CLI Version replaces the server default for that source. See the CLI Version setting in Ingestion. Then run the source again.
-
Fix the default so all sources recover.
-
DataHub Cloud: contact DataHub Support and give them the version from step 1. You can't change the default yourself.
-
Self-hosted with the DataHub Helm chart: set the default to a published version and upgrade the release. The chart passes this value to GMS as
UI_INGESTION_DEFAULT_CLI_VERSION.global: datahub: managed_ingestion: defaultCliVersion: "<published-version>" -
Self-hosted without Helm: set
UI_INGESTION_DEFAULT_CLI_VERSIONon the GMS container and restart it. -
Private mirror: if the default is correct but your mirror lacks it, add that version to the mirror.
-
-
Run a source again. DataHub picks the version when it creates the run, so earlier failed runs don't change. After the default is fixed, you can clear CLI Version on the sources you pinned in step 3 so they follow the default again.