Hi all, I'm experiencing some issues with the Met...
# ask-metaflow
a
Hi all, I'm experiencing some issues with the Metaflow UI after transitioning to an internal hardened image. I'm unable to drill into the the runs. Seems to be some sort of error with the errorlogger. Any insight into what's causing this error?
1
In addition to this, I ran a flow and got this error below once, but haven't been able to recreate this issue in the 10 subsequent runs:
v
it seems the service wasn’t available. Maybe it was starting up? 🤔
a
Yeah it could be a cold start. Seems ok now.
v
it seems like the same 504 in the UI side. Does it still give the same error?
a
I'm afraid it does. Oh and as you wrote your message, I just recreated the error once again:
v
since it's a timeout error, are you sure that your (new) instance / RDS are large enough to handle the load?
we have seen spurious issues when using tiny instances / DBs
a
I could try using larger instances. We are using the same instances as before where we didn't encounter these issues. Tomorrow I'll switch back to the original containers for the metadata service and the UI to better isolate the issue. We are only using images that deviate from the template because our security team wants us to use our own internal hardened images
👍 1
Ok - can confirm it's the hardened container image. The container for static UI seems to be ok, but the one I created for the metadata service seems to be causing some problems. I've narrowed it down to 2 root causes and addressing them has seemingly fixed the issue: • Not sure if it's caused by the number of replicas for the ECS Services, but I downgraded from 2 to 1 • Downgraded the golang container from 1.19 to 1.18
v
interesting, good to hear
a
Ok nevermind - I found the actual issue. It is the password rotation (I suspected it might be). After I rotated the password, things start to lose calibration.
v
nice, that should be easy to fix 🙂
a
Well maybe not - I've already integrated the password rotation via lambda to login into RDS and change the master password and I'm using secrets manager injection into the ECS containers. The services are healthy too.
I think it's the secrets manager injection. If I redeploy the ECS containers, it works again. Not sure how to explain it, but I think when I do the password rotation, even though it propagates the new password to both RDS and ECS, it does something with the calibration of the systems integrating together.
👍 1