• j

    jeev

    5 months ago
    seeing a weird issue with flyteadmin when upgrading from 0.6.44 -> 0.6.104:
    time="2022-02-28T20:30:40Z" level=info msg="Using config file: [/etc/flyte/config/allowed_origins.yaml /etc/flyte/config/cluster_resources.yaml /etc/flyte/config/core.yaml /etc/flyte/config/db.yaml /etc/flyte/config/domain.yaml /etc/flyte/config/logger.yaml /etc/flyte/config/server.yaml /etc/flyte/config/storage-limits.yaml /etc/flyte/config/storage.yaml /etc/flyte/config/task_resource_defaults.yaml]"
    {"json":{"src":"migrate.go:107"},"level":"fatal","msg":"failed to connect to `host=cloud-sql-proxy user=flyte database=flyte`: server error (ERROR: SSL required (SQLSTATE 08P01))","ts":"2022-02-28T20:30:40Z"}
    
    2022/02/28 20:30:40 /go/src/github.com/flyteorg/flyteadmin/pkg/repositories/database.go:102
    [error] failed to initialize database, got error failed to connect to `host=cloud-sql-proxy user=flyte database=flyte`: server error (ERROR: SSL required (SQLSTATE 08P01))
  • admin db config:
    database:
      port: 5432
      username: flyte
      host: cloud-sql-proxy
      dbname: flyte
      options: sslmode=require
      passwordPath: /etc/db/FLYTE_DB_PASSWORD
  • datacatalog that shares that same config starts up fine
  • Yee

    Yee

    5 months ago
  • Haytham Abuelfutuh

    Haytham Abuelfutuh

    5 months ago
    looking… @jeev
  • j

    jeev

    5 months ago
    ok i can confirm that it works in 0.6.99 but breaks in 0.6.100:
  • Haytham Abuelfutuh

    Haytham Abuelfutuh

    5 months ago
    very possibly yeah… @katrina is out though… she’s back tomorrow… so trying to look into that…
  • j

    jeev

    5 months ago
    hmm wonder if its related to having a newline in my passwordPath file
  • lol
  • Haytham Abuelfutuh

    Haytham Abuelfutuh

    5 months ago
    So the released versions of all components can be found here: https://github.com/flyteorg/flyte/blob/v0.19.2/charts/flyte-core/values.yaml I would stick with these versions in your “prod” clusters… as we all validate newer versions of different components…
  • j

    jeev

    5 months ago
  • nvm no newline in my password path file
  • oh interesting
  • @Haytham Abuelfutuh: wow ok i totally messed up the versions
  • my bad
  • i was looking at the head tag instead of 0.19.2
  • Haytham Abuelfutuh

    Haytham Abuelfutuh

    5 months ago
    I just tried deploying the latest admin to a staging cluster and it also failed… looking into this..
  • j

    jeev

    5 months ago
    👍
  • switching to the supported versions unblocks me though
  • thanks 🙂
  • s

    Sören Brunk

    5 months ago
    Here's the issue I've opened when I ran into this:https://github.com/flyteorg/flyte/issues/2211
  • k

    katrina

    5 months ago
    ah hey folks we updated the db config yaml block in flyteadmin but it should be backwards compatible (fingers crossed) is there anyway you could paste a (redacted) version of your db config block?
  • ah nvm I missed that Haytham reproduced this above. will debug with that