Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /opt/airbyte/flags.yml #22971

Closed
geekyouth opened this issue Feb 14, 2023 · 5 comments
Labels
area/platform issues related to the platform autoteam community frozen Not being actively worked on team/deployments team/tse Technical Support Engineers type/bug Something isn't working

Comments

@geekyouth
Copy link

Environment

  • Airbyte version: 0.40.32 | 0.40.31
  • OS Version / Instance: Centos7
  • Deployment: Docker
    ...
    ...
  • Step where error happened:
git clone https://github.com/airbytehq/airbyte.git
cd airbyte
docker compose up -d; docker compose logs -f

Current Behavior

Tell us what happens.

[+] Running 10/10
 ⠿ Network airbyte_airbyte_internal            Created                                                                                                                                                   0.2s
 ⠿ Network airbyte_default                     Created                                                                                                                                                   0.3s
 ⠿ Network airbyte_airbyte_public              Created                                                                                                                                                   0.2s
 ⠿ Volume "airbyte_workspace"                  Created                                                                                                                                                   0.0s
 ⠿ Volume "airbyte_data"                       Created                                                                                                                                                   0.0s
 ⠿ Volume "airbyte_db"                         Created                                                                                                                                                   0.0s
 ⠿ Container airbyte-db                        Created                                                                                                                                                   0.2s
 ⠿ Container airbyte-temporal                  Created                                                                                                                                                   0.2s
 ⠿ Container init                              Created                                                                                                                                                   0.2s
 ⠿ Container airbyte-bootloader                Created                                                                                                                                                   0.1s
 ⠋ Container airbyte-webapp                    Creating                                                                                                                                                  0.0s
 ⠋ Container airbyte-server                    Creating                                                                                                                                                  0.0s
 ⠋ Container airbyte-connector-builder-server  Creating                                                                                                                                                  0.0s
 ⠋ Container airbyte-worker                    Creating                                                                                                                                                  0.0s
 ⠋ Container airbyte-cron                      Creating                                                                                                                                                  0.0s
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /opt/airbyte/flags.yml
WARN[0000] The "NEW_SCHEDULER" variable is not set. Defaulting to a blank string.
WARN[0000] The "SECRET_PERSISTENCE" variable is not set. Defaulting to a blank string.

Expected Behavior

Tell us what should happen.

Logs

Steps to Reproduce

Are you willing to submit a PR?

Remove this with your answer.

@geekyouth geekyouth added needs-triage type/bug Something isn't working labels Feb 14, 2023
@geekyouth
Copy link
Author

0.40.28 boot done by docker compose.

@marcosmarxm
Copy link
Member

This was fixed in #22144
The current path is:

airbyte/docker-compose.yaml

Lines 284 to 286 in f93fa72

configs:
flags:
file: ./flags.yml

@pcooper19
Copy link

Airbyte version: 0.44.4
OS Version / Instance: 22.04.2 LTS (Jammy Jellyfish)
Deployment: Shell script
...
...
Step where error happened:

root@0ba297d0125f:/airbyte/airbyte# ./run-ab-platform.sh

█████╗ ██╗██████╗ ██████╗ ██╗ ██╗████████╗███████╗
██╔══██╗██║██╔══██╗██╔══██╗╚██╗ ██╔╝╚══██╔══╝██╔════╝
███████║██║██████╔╝██████╔╝ ╚████╔╝ ██║ █████╗
██╔══██║██║██╔══██╗██╔══██╗ ╚██╔╝ ██║ ██╔══╝
██║ ██║██║██║ ██║██████╔╝ ██║ ██║ ███████╗
╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚══════╝
Move Data

Downloading docker-compose.yaml
Downloading docker-compose.debug.yaml
Downloading .env
Downloading .env.dev
Downloading flags.yml
Loading Shell Variables from .env...
Loading Shell Variables from .env.dev...

Starting Docker Compose
WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string.
WARN[0000] The "REMOTE_CONNECTOR_CATALOG_URL" variable is not set. Defaulting to a blank string.
WARN[0000] The "TEMPORAL_HISTORY_RETENTION_IN_DAYS" variable is not set. Defaulting to a blank string.
WARN[0000] The "UPDATE_DEFINITIONS_CRON_ENABLED" variable is not set. Defaulting to a blank string.
WARN[0000] The "CDK_VERSION" variable is not set. Defaulting to a blank string.
WARN[0000] The "PYTHON_VERSION" variable is not set. Defaulting to a blank string.
WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string.
WARN[0000] The "LOG_CONNECTOR_MESSAGES" variable is not set. Defaulting to a blank string.
WARN[0000] The "SECRET_PERSISTENCE" variable is not set. Defaulting to a blank string.
WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string.
WARN[0000] The "APPLY_FIELD_SELECTION" variable is not set. Defaulting to a blank string.
WARN[0000] The "FIELD_SELECTION_WORKSPACES" variable is not set. Defaulting to a blank string.
WARN[0000] The "NEW_SCHEDULER" variable is not set. Defaulting to a blank string.
WARN[0000] The "SECRET_PERSISTENCE" variable is not set. Defaulting to a blank string.
WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string.
WARN[0000] The "WORKER_ENVIRONMENT" variable is not set. Defaulting to a blank string.
WARN[0000] The "GITHUB_STORE_BRANCH" variable is not set. Defaulting to a blank string.
[+] Running 87/22
✔ airbyte-temporal 21 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 87.5s
✔ worker 5 layers [⣿⣿⣿⣿⣿] 0B/0B Pulled 132.9s
✔ airbyte-proxy 12 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 69.1s
✔ airbyte-cron 1 layers [⣿] 0B/0B Pulled 102.3s
✔ server 8 layers [⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 103.6s
✔ db 8 layers [⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 69.9s
✔ airbyte-connector-builder-server 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 55.0s
✔ init 3 layers [⣿⣿⣿] 0B/0B Pulled 3.4s
✔ webapp 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 43.8s
✔ bootloader 1 layers [⣿] 0B/0B Pulled 100.7s

[+] Running 7/7
✔ Volume "airbyte_data" Created 0.0s
✔ Volume "airbyte_db" Created 0.0s
✔ Volume "airbyte_workspace" Created 0.0s
✔ Container init Created 0.6s
✔ Container airbyte-temporal Created 0.6s
✔ Container airbyte-db Created 0.6s
✔ Container airbyte-bootloader Created 0.3s
⠋ Container airbyte-worker Creating 0.0s
⠋ Container airbyte-server Creating 0.0s
⠋ Container airbyte-webapp Creating 0.0s
⠋ Container airbyte-cron Creating 0.0s
⠋ Container airbyte-connector-builder-server Creating 0.0s
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /airbyte/airbyte/flags.yml

@marcosmarxm
Copy link
Member

This is now outdated. Please use the latest version of the platform. If the problem continues, open a new issue.

@dan-r95
Copy link

dan-r95 commented May 27, 2024

For me this worked:
#33845 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform autoteam community frozen Not being actively worked on team/deployments team/tse Technical Support Engineers type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants