octavia/octavia/compute/drivers/noop_driver
Gregory Thiemonge 5fff5676d7 Fix create_server_group in compute noop
When using Noop+ACTIVE_STANDBY+anti_affinity, create_server_group
doesn't return a value but the caller (NovaServerGroupCreate.execute)
accesses to the id attribute of the returned value, it triggers an
AttributeError:

File "../worker/v2/tasks/compute_tasks.py", line 319, in execute
        "%s", server_group.id, loadbalancer_id)
AttributeError: 'NoneType' object has no attribute 'id'

This commit adds a fake object that is returned by the noop driver.

Change-Id: I579c1e7bd364b3c34e9a813f99c77d30753d288b
2023-03-17 09:59:16 -04:00
..
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
driver.py Fix create_server_group in compute noop 2023-03-17 09:59:16 -04:00