Files
octavia/octavia/compute
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
..
2018-03-14 07:02:56 +09:00
2020-06-23 19:54:20 +02:00