AnykeyNL / OCI-AutoScale

Automatic Scaling for OCI BM Database Cloud Service (Schedule based)
Universal Permissive License v1.0
113 stars 67 forks source link

Override Tag starts up instance with an active schedule #42

Open adeangelis01 opened 4 months ago

adeangelis01 commented 4 months ago

Hello,

I have set up override tags in addition to the Weekday and Weekend tags. I ran the script with the Up command with an override tag. It powered on the intended instance, but also powered on another instance with a that was already shut down, but had an active schedule. The unintended instance had a different override tag than the one I used in the command.

Intended instance: Checking banner-oci14 (Instance) CurentState: STOPPED...

Unintended instance: Checking cleanaddr-oci01 (Instance) CurentState: STOPPED...

banner-oci14 and cleanaddr-oci01 are both configured with the same schedule tags.

I am using the override tag to allow only a specific test environment to stay online ad-hoc.

Any help will be greatly appreciated!

Thank you!

AnykeyNL commented 4 months ago

Can you share the full command you are running?

adeangelis01 commented 4 months ago

source $HOME/.bash_profile; python3 /home/opc/OCI-AutoScale/AutoScaleALL.py -a Up -override alberto -ip