-
Notifications
You must be signed in to change notification settings - Fork 28
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
Deployment cdk script fails with database 404 #15
Comments
@tyrtel, was this what you were seeing as well? Were you able to get past it? |
@flooey , did you run into this at all? And if so, what was the fix/workaround? |
I got the same error and have been stuck trying to figure it out. Have you found any solution or workaround for this? @kittyandrew |
nope |
Someone else ran into that and they just removed monitoring from the deployment to see if they could get it to work. That got them past the monitoring issue. |
@dmmiller I'm experiencing a freeze with no error messages, and the screen has been unchanged for about two hours. Here's the screen I'm stuck on: I minimized sizes to see if it would enable deployment (I'm using the free tier). Could this adjustment be causing the freeze? I'm unsure if this is a minor issue or if it indicates a deeper problem. For example, in
|
Driving by, if anyone wants to actually fix the issue with monitoring, I have a potential lead from my memory of the issues it had at Cord. It's something like... there is a persistent drive that monitoring uses so that historical data isn't lost when the ec2 instance is rebuilt. The IAM permissions are set so that only the monitoring instance can mount that drive. At least in steady-state, this would cause issues when the ec2 instance would get rebuilt because CF wouldn't assign the new IAM role to the new monitoring instance (which is what allows it to mount the drive) until the instance was up/healthy, but it wouldn't be considered up/healthy until it had mounted the drive. Or something like that -- I didn't 100% pin it down but that is my recollection of what I strongly suspected was going on. This used to (somehow!) work and then it broke earlier this year. We rebuilt monitoring infrequently enough that I just assigned the drive by hand in the ec2 console in the timeframe that CF was waiting on it (you have about a 10m window, though you need to be watching to find the right time...) the two or three times I hit it. I'd be unsurprised if an extremely similar issue affected creating monitoring for the first time. If you want to at least try to have a monitoring instance, you can try removing that persistent drive logic and just having monitoring write to the raw root drive (which you might want to increase in size a little bit). You'll lose all data on rebuild, but it will at least give you something. Relevant links:
|
After configuring everything according to the readme and more ("bootstrapping" aws sdk and creating engineering group etc), I'm stuck with a new error:
This seems to be related to some database setup, but it doesn't seem to be described anywhere inside readme and not related to the existing database setup section, which comes much later than
npm run deploy
.From my limited AWS experience and after reading readme its also strange that it failed to find "default" group or subnet, because as far as I understand this is a reserve name that should exist already (?).
Please let me know if I'm missing something trivial, or doing something wrong.
The text was updated successfully, but these errors were encountered: