Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

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

Open
ppmdz opened this issue Jul 18, 2024 · 7 comments

Comments

@ppmdz
Copy link

ppmdz commented Jul 18, 2024

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"
}

@melonges
Copy link

the same problem

@ppmdz
Copy link
Author

ppmdz commented Jul 21, 2024

the same problem

What area are you in? I'm UK

@melonges
Copy link

the same problem

What area are you in? I'm UK

i'm too

@ppmdz
Copy link
Author

ppmdz commented Jul 22, 2024

the same problem

What area are you in? I'm UK

I'm too

Then I tentatively suspect a UK problem.

@melonges
Copy link

melonges commented Jul 22, 2024

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

@ppmdz
Copy link
Author

ppmdz commented Jul 22, 2024

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!

@azapater
Copy link

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'],

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants