Skip to content

Error applying with Autonomous Database #38

@sdominguez-quistor

Description

@sdominguez-quistor

Hello!
We're getting this error to use this code with our Autonomous Database:

Checking XXX_XXX (AutonomousDatabase) CurentState: STOPPED...

  • Active schedule for XXX_XXX: ,,,,,,,,1,,,,,,,0,[1],,,,,,,*,
    Traceback (most recent call last):
    File "/home/xxx/AutoScaleALL.py", line 1782, in
    autoscale_region(region_name)
    File "/home/xxx/AutoScaleALL.py", line 1034, in autoscale_region
    if (resourceDetails.cpu_core_count == int(schedulehours[CurrentHour]) and resourceDetails.compute_model == "OCPU") or ((resourceDetails.compute_count == int(schedulehours[CurrentHour]) and resourceDetails.compute_model == "ECPU") ):
    AttributeError: 'AutonomousDatabase' object has no attribute 'compute_count'

Any clue about this error?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions