Skip to content

Commit 8acc703

Browse files
committed
Drop AQ manage step
The AQ Make step implies all the details, such as arch / personality / sandbox or domain. Doing a manage step after is redundant and caused us to revert back to the domain type instead of the sandbox
1 parent 35e9bd6 commit 8acc703

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

OpenStack-Rabbit-Consumer/rabbit_consumer/message_consumer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ def handle_create_machine(rabbit_message: RabbitMessage) -> None:
160160

161161
# Manage host in Aquilon
162162
aq_api.create_host(image_meta, network_details, machine_name)
163-
164-
aq_api.aq_manage(network_details, image_meta)
165163
aq_api.aq_make(network_details, image_meta)
166164

167165
add_aq_details_to_metadata(vm_data, network_details)

OpenStack-Rabbit-Consumer/test/test_message_consumer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ def test_consume_create_machine_hostnames_good_path(
248248
aq_api.create_host.assert_called_once_with(
249249
image_metadata, network_details, machine_name
250250
)
251-
aq_api.aq_manage.assert_called_once_with(network_details, image_metadata)
252251
aq_api.aq_make.assert_called_once_with(network_details, image_metadata)
253252

254253
# Metadata

0 commit comments

Comments
 (0)