Closed Mrsalai closed 3 months ago
@Mrsalai LimitExceeded supposed to be occur when we already reached our free tier limit. Incase you didnt get the instance but still its quitting with this error then Oracle probably did some changes to the API response.
can you please add the below statements after line 430 in Main file and re-run the setup ?
logging_step5.info("Message: %s ", srv_err.message,)
logging_step5.info("status: %s ", srv_err.status)
When the script stops again , please provide the new logs here.
If the message says - " The following service limits were exceeded: standard-a1-memory-count, standard-a1-memory-regional-count, standard-a1-core-count, standard-a1-core-regional-count. Request a service limit increase from the service limits page in the console." then its oracle side issue and there is nothing we can do but if its a different message we can add it to exceptions.
Its: 400 code: LimitExceeded message: The following service limits were exceeded: standard-a1-memory-count, standard-a1-memory-regional-count, standard-a1-core-count, standard-a1-core-regional-count. Request a service limit increase from the service limits page in the console.
Check your console if you have an ARM instance and also check if there is a INSTANCE _CREATED
file in your project directory
It did not create an instance
then it's probably issue with Oracle , Nothing we can do with the script
@Mrsalai Do you already have any instance in your Oracle? I wanted to make another instance, but hit this error. The script hard-codes 4cores and 24gb, so if you have a small instance already, it won't fit -- the script can be edited though.
Nope, I have 0 instances, But I did google it and found this stackoverflow post: https://stackoverflow.com/questions/72439600/oci-a1-flex-free-tier-limit-exceeded/72439791#72439791
Nope, I have 0 instances, But I did google it and found this stackoverflow post: https://stackoverflow.com/questions/72439600/oci-a1-flex-free-tier-limit-exceeded/72439791#72439791
okay I'm hoping that checking the list of instances when we get limit exceeded error and only exiting if there is an instance would solve this issue but if there is some error at listing instances as well , then there is nothing we could do
Sounds good, please update us with your progress :)
@Mrsalai try the code from LimitExceeded-false-positive-fix
branch , it should fix the issue but I haven't tested it yet.
Hey, sorry for the late reply, I just wanted to make sure it is working. No issues so far. Thanks
After the sript runs for a few hours I get a INFO - LimitExceeded , exiting the program in the launch instance.log.