hitrov/oci-arm-host-capacity

Issues with Creating OCI Instances: “Out of Host Capacity” and “Shape VM.Standard.A1.Flex not Found”

ppmdz opened this issue · 7 comments

I’m trying to create instances using my script, but I’m encountering a peculiar issue where it’s either successful or fails. What could be the reason behind this alternating success and failure? (Extracted from parts of oci.log).

{
"code": "InternalError",
"message": "Out of host capacity."
}
{
"code": "NotAuthorizedOrNotFound",
"message": "shape VM.Standard.A1.Flex not found"
}
{
"code": "InternalError",
"message": "Out of host capacity."
}
{
"code": "NotAuthorizedOrNotFound",
"message": "shape VM.Standard.A1.Flex not found"
}
{
"code": "InternalError",
"message": "Out of host capacity."
}
{
"code": "NotAuthorizedOrNotFound",
"message": "shape VM.Standard.A1.Flex not found"
}

the same problem

the same problem

What area are you in? I'm UK

the same problem

What area are you in? I'm UK

i'm too

the same problem

What area are you in? I'm UK

I'm too

Then I tentatively suspect a UK problem.

the same problem

What area are you in? I'm UK

I'm too

Then I tentatively suspect a UK problem.

The reason of this error its voKL:UK-LONDON-1-AD-2 domain. You can skip this domain by changes of this line:
getenv('OCI_AVAILABILITY_DOMAIN') ?: ['voKL:UK-LONDON-1-AD-1', 'voKL:UK-LONDON-1-AD-3'], // null or '' or 'jYtI:PHX-AD-1' or ['jYtI:PHX-AD-1','jYtI:PHX-AD-2']
in index.php

the same problem

What area are you in? I'm UK

I'm too

Then I tentatively suspect a UK problem.

The reason of this error its voKL:UK-LONDON-1-AD-2 domain. You can skip this domain by changes of this line: getenv('OCI_AVAILABILITY_DOMAIN') ?: ['voKL:UK-LONDON-1-AD-1', 'voKL:UK-LONDON-1-AD-3'], null or '' or 'jYtI:PHX-AD-1' or ['jYtI:PHX-AD-1','jYtI:PHX-AD-2'] in index.php

Professionalism bro, thanks a lot!

Just in case it helps anyone, I'm in UK South (London) and for me the domains are:

getenv('OCI_AVAILABILITY_DOMAIN') ?: ['sXPO:UK-LONDON-1-AD-1', 'sXPO:UK-LONDON-1-AD-2'],