BMC enlistment - When adding a machine with only IPMI credentials, these get overwritten by MAAS ones

Bug #1782035 reported by Andres Rodriguez
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Medium
Unassigned

Bug Description

When adding a machine with BMC credentials provided for BMC enlistment, these get overwritten when MAAS runs the commissioning ones.

Since the user is manually providing these, then MAAS shouldn't need to override them. MAAS should disable overriding MAAS resetting/creating BMC credentials.

Changed in maas:
milestone: none → 2.5.0
tags: added: bmc-enlistment
Changed in maas:
importance: Undecided → Medium
importance: Medium → High
status: New → Triaged
tags: added: track
Changed in maas:
milestone: 2.5.0 → 2.5.0alpha2
assignee: nobody → Lee Trager (ltrager)
Revision history for this message
Lee Trager (ltrager) wrote :

Enlistment matches a machine with an existing node when the MAC address is missing or incorrect is via the BMC IP address. Enlistment gets the BMC IP address when it sets the BMC credentials. While we could modify maas-ipmi-autodetect to only return the BMC IP address if the machine is being commissioned and the user wants the maas BMC user to be created we have no way to tell enlistment to do that. The way we made the maas BMC user conditional for commissioning is by using a template which is generated on the region.

Changed in maas:
milestone: 2.5.0alpha2 → 2.5.0beta1
Changed in maas:
milestone: 2.5.0beta1 → 2.5.0beta2
tags: added: sprint
Changed in maas:
milestone: 2.5.0beta2 → 2.5.0rc1
Changed in maas:
milestone: 2.5.0rc1 → 2.5.x
Changed in maas:
milestone: 2.5.x → 2.6.0
no longer affects: maas/2.5
Changed in maas:
importance: High → Medium
milestone: 2.6.0 → none
assignee: Lee Trager (ltrager) → nobody
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

MAAS adds its own BMC credentials to the machines it manages, it does not overwrite the ones provided by the user during enlistment. You can remove that user from the BMC if you no longer want MAAS to have access.

summary: - [2.5] BMC enlistment - When adding a machine with only IPMI credentials,
- these get overwritten by MAAS ones
+ BMC enlistment - When adding a machine with only IPMI credentials, these
+ get overwritten by MAAS ones
Changed in maas:
status: Triaged → Invalid
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.