Ironic port is getting deleted for node whose provision state is active

Bug #1694693 reported by M V P Nitesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Kaifeng Wang

Bug Description

Currently user can delete the ironic port which is associated to the ironic node whose provision state is active. User should not be allowed to delete a port which is associated to the node whose provision state is active.

M V P Nitesh (m-nitesh)
Changed in ironic:
assignee: nobody → M V P Nitesh (m-nitesh)
information type: Private Security → Public
Revision history for this message
Sam Betts (sambetts) wrote :

We currently check for state and maintenance when we do a port update, so I think doing it for a port-delete makes sense too.

Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/470273

Changed in ironic:
status: Triaged → In Progress
Changed in ironic:
assignee: M V P Nitesh (m-nitesh) → Kaifeng Wang (kaifeng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/470273
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=b79eecf5de0a89e15c4e326e9d433b9bf7047280
Submitter: Zuul
Branch: master

commit b79eecf5de0a89e15c4e326e9d433b9bf7047280
Author: M V P Nitesh <email address hidden>
Date: Fri Jun 2 18:10:26 2017 +0530

    Prevents deletion of ports for active nodes

    Prevents deletion of ironic port of the node whose provision
    state is active. User can delete the port of such node's when
    the node's are in the maintenance mode.

    Co-Authored-By: Kaifeng Wang <email address hidden>
    Change-Id: I3c2cc8ec5ddb04d7ab829d1341a045da6dee07e3
    Closes-Bug: #1694693

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 12.0.0

This issue was fixed in the openstack/ironic 12.0.0 release.

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.