Skip to content

Workflow indicates incorrect host when using APERTUREDB_KEY #233

Closed

Description

@luisremis

When providing APERTUREDB_KEY to a workflow container, logs indicate "Verifying connectivity to localhost..."

[+] Running 2/2
 ✔ app-cust-embeddings                         Built                                                                         0.0s
 ✔ Container embeddings-app-cust-embeddings-1  Created                                                                       0.0s
Attaching to app-cust-embeddings-1
app-cust-embeddings-1  | Workflow Version: UNDEFINED
app-cust-embeddings-1  | Starting Status Server: ...
app-cust-embeddings-1  | Waiting for Status Server to start on port 8080...
app-cust-embeddings-1  | INFO:     Started server process [12]
app-cust-embeddings-1  | INFO:     Waiting for application startup.
app-cust-embeddings-1  | INFO:     Application startup complete.
app-cust-embeddings-1  | INFO:     Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
app-cust-embeddings-1  | Starting Status Server is up.
app-cust-embeddings-1  | [21:57:11] Configuration named 'default' already exists. Use    configure.py:174
app-cust-embeddings-1  |            --overwrite to overwrite.
app-cust-embeddings-1  | Verifying connectivity to localhost...
app-cust-embeddings-1  | [
...

The workflow executes normally using the instance specified byAPERTUREDB_KEY.

Activity

  1. self-assigned this
    on Oct 14, 2025
  2. drewaogle commented on Oct 14, 2025

    @drewaogle
    Contributor

    start.sh uses DB_HOST, after creating the default connection using DB_HOST. It should instead not create a connection using DB_HOST if that exists and should get the connection hostname from adb.

  3. drewaogle commented on Oct 17, 2025

    @drewaogle
    Contributor

    ok, now that get command is added we will be able to change

    adb config create default \
    --host=$ADB_HOST \
    --port=$ADB_PORT \
    --username=$ADB_USER \
    --password=$ADB_PASS \
    "${params[@]}" \
    --no-interactive
    echo "Verifying connectivity to ${ADB_HOST}..." | tee -a $LOGFILE
    adb utils execute status 2>&1 | tee -a $LOGFILE
    to only add if no APERTUREDB_KEY and then use adb config get .host to show the hostname.

  4. drewaogle commented on Oct 23, 2025

    @drewaogle
    Contributor

    addressed in pr #237

  5. drewaogle commented on Oct 24, 2025

    @drewaogle
    Contributor

    Verified that v2025.10.24 reads config from the passed APERTUREDB_KEY:

    Verifying connectivity to bucket-wf2-3i9uwnr8.farm0004.cloud.aperturedata.dev...
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions