In 3.5.0 "machines create" with the cli takes several minutes

Bug #2058625 reported by Jacopo Rota
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
High
Anton Troyanov
3.5
Fix Committed
High
Anton Troyanov

Bug Description

In 3.5.0 "machines create" takes several minutes, while on 3.4 took less than 10 seconds

See the following logs

2024-03-21-08:56:46 root DEBUG [localhost]: maas root machines create hostname=node1 power_type=virsh architecture=amd64/generic mac_addresses=XXXXXX power_parameters_power_address=qemu+ssh://ubuntu@XXXXX/system zone=zone2 power_parameters_power_id=node1 testing_scripts=none
2024-03-21-09:02:34 root DEBUG [localhost]: maas root machine power-parameters dmrmpn

Related branches

Jacopo Rota (r00ta)
Changed in maas:
milestone: 3.5.0 → 3.6.x
Jacopo Rota (r00ta)
Changed in maas:
milestone: 3.6.x → 3.6.0
Revision history for this message
Anton Troyanov (troyanov) wrote :
Revision history for this message
Marian Gasparovic (marosg) wrote :

It seems quite random, maybe depends on how it is synced with temporal
In one test with seven machines I saw five of them returning below 50s (usual time) and one in 90 seconds. In another test with the same machines I see 47s, 5m27s, 6m, 5m40s, 2m30s, 5m40s, 42s

We execute `machine create` commands sequentially.

Revision history for this message
Marian Gasparovic (marosg) wrote :

We see similar issue also with compose vm command

Changed in maas:
assignee: nobody → Anton Troyanov (troyanov)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.