After adding virsh machine with existing address, multiple machines share address info

Bug #1890527 reported by Seyeong Kim on 2020-08-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Steps to reproduce
- Prepare MAAS and two KVM hosts(Let's say Host A and B) without adding to MAAS
- Create VMs on those hosts A and B
- In MAAS, add a machine with a VM from host A with correct power configuration
- In MAAS, add a machine with a VM from host B but with the power configuration of host A which is wrong IP address and leads to fail commissioning
- In MAAS, modify the power configuration of the VM from host B with correct IP. This will allow the VM from host B to succeed commissioning but result the VM from host A refer to the power configuration of host B because they have been sharing the power configuration since the VM from host B were added with the power configuration of host A.

- Changing Virsh VM ID is fine. only Address is changed on both machine.
- After adding machine with different virsh vm id, It can be edit separately.

Tags: sts Edit Tag help
Seyeong Kim (seyeongkim) on 2020-08-10
tags: added: sts
Björn Tillenius (bjornt) wrote :

This is a known problem, due to the way BMCs are shared in the model, but not exposed as such in the UI/API.

Fixing this problem is quite a lot of work, and more of a feature request.

To work around it, you can change the power to be "manual", and then change it back to virsh with the correct IP.

Changed in maas:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers