Islandora-Devops / sandbox

Provisioning scripts for https://sandbox.islandora.ca
https://sandbox.islandora.ca
MIT License
0 stars 2 forks source link

Deploy is failing #14

Closed nigelgbanks closed 4 months ago

nigelgbanks commented 4 months ago

https://github.com/Islandora-Devops/sandbox/actions/runs/8031018512

failed to deploy to test.islandora.ca

and then I tried to run manually here: https://github.com/Islandora-Devops/sandbox/actions/runs/8033301718

Not sure what is going on, I no longer have access to bitwarden, etc so I can't checkout out digital ocean. @ajstanley mind taking a look?

ajstanley commented 4 months ago

The error is an odd one -

Error: POST https://api.digitalocean.com/v2/droplets: 422 (request "e6bb992e-6551-44f4-bb97-12335e2617c4") Size is not available in this region.
Error: Process completed with exit code 1.

As far as I know, nothing has changed in our configs. I'll see if I can track this one down.

misilot commented 4 months ago

Could it have been a capacity issue at the time?

Might be just worth restarting the workflow?

On Sun, Feb 25, 2024 at 9:27 AM Alan Stanley @.***> wrote:

The error is an odd one -

Error: POST https://api.digitalocean.com/v2/droplets: 422 (request "e6bb992e-6551-44f4-bb97-12335e2617c4") Size is not available in this region. Error: Process completed with exit code 1.

As far as I know, nothing has changed in our configs. I'll see if I can track this one down.

— Reply to this email directly, view it on GitHub https://github.com/Islandora-Devops/sandbox/issues/14#issuecomment-1962974568, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALBHSCKDEXZHZGYXX7IJ33YVNJ65AVCNFSM6AAAAABDYJPECSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSHE3TINJWHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ajstanley commented 4 months ago

That was my thought as well, but I saw the same error on a retry. The issue seems to come from here with a mismatch between region and size. I'm guessing Digital Ocean has changed what's available where.

nigelgbanks commented 4 months ago

https://test.islandora.ca/ isn't up although the deployment said it was.

ajstanley commented 4 months ago

It shows an attempt to build the Droplet, but fails after about a minute with the same region/size error. I'm trying to track down where the variables are set.

misilot commented 4 months ago

https://github.com/Islandora-Devops/sandbox/settings/variables/actions possibly?

On Sun, Feb 25, 2024 at 1:04 PM Alan Stanley @.***> wrote:

It shows an attempt to build the Droplet, but fails after about a minute with the same region/size error. I'm trying to track down where the variables are set.

— Reply to this email directly, view it on GitHub https://github.com/Islandora-Devops/sandbox/issues/14#issuecomment-1963030877, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALBHSFKXZ5ZUUDX2H2TRVTYVODLNAVCNFSM6AAAAABDYJPECSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGAZTAOBXG4 . You are receiving this because you commented.Message ID: @.***>

nigelgbanks commented 4 months ago

I changed it to use AMD since intel wasn't available any more. Running it now: https://github.com/Islandora-Devops/sandbox/actions/runs/8040381065

nigelgbanks commented 4 months ago

It's working now! Cheers @ajstanley & @misilot

ajstanley commented 4 months ago

NIce one! Thanks @nigelgbanks