maas 2.9.2 proxmox machine violates unique constraint "maasserver_bmc_power_type_parameters_idx"

Bug #1917377 reported by Marco Mezzaro
This bug report is a duplicate of:  Bug #1916093: Unable to add more than 3 Promox VMs. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
New
Undecided
Unassigned

Bug Description

Hi all,
I've installed maas and tried to add some machine created on proxmox pve 6.3.3 .
The first one was created correctly but the next one raised a django error in the logs:

django.db.utils.IntegrityError: duplicate key value violates unique constraint "maasserver_bmc_power_type_parameters_idx"

I looked in the postgres database and I removed the index "maasserver_bmc_power_type_parameters_idx".

After that I can add multiple proxmox vm as machines and launch commission and deploy tasks.

Please let me know if the current behavior is by design (and I'm missing something) or is just a bug.
I attach the python stacktrace as log.

Thank you and keep up the good work.

Tags: db index proxmox
Revision history for this message
Marco Mezzaro (harrz84) wrote :
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.