RFE: option to overwrite allocations for instances

Bug #1868997 reported by jayaditya gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
jayaditya gupta

Bug Description

Add an option to overwrite allocations for instances which already
have allocations (but the operator thinks might be wrong?);

this would probably only be safe with a specific instance.

This is mentioned as TO-DO in nova/cmd/manage.py Line 2126

Changed in nova:
assignee: nobody → jayaditya gupta (jayssj11)
Revision history for this message
Matt Riedemann (mriedem) wrote :

> nova/cmd/manage.py Line 2126

That doesn't mean much depending on which branch you're looking at. Looking at master today and that doesn't align with any TODO in the code. Use a tag or git hash and link to the actual TODO you're referring to. Also, we don't normally need to track TODOs in the code with bugs (nova already has enough bugs that don't get looked at).

tags: added: nova-manage
Revision history for this message
Matt Riedemann (mriedem) wrote :

Sorry I read the wrong line, so you're referring to this in the heal_allocations command:

# - add an option to overwrite allocations for instances which already
# have allocations (but the operator thinks might be wrong?); this
# would probably only be safe with a specific instance.

summary: - option to overwrite allocations for instances
+ RFE: option to overwrite allocations for instances
Changed in nova:
status: New → Triaged
importance: Undecided → Wishlist
tags: added: placement
Changed in nova:
status: Triaged → In Progress
Changed in nova:
assignee: jayaditya gupta (jayssj11) → Stephen Finucane (stephenfinucane)
Changed in nova:
assignee: Stephen Finucane (stephenfinucane) → jayaditya gupta (jayssj11)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.opendev.org/715395
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=87936baaac3a1b5227ab779398dc26b4546e1af1
Submitter: Zuul
Branch: master

commit 87936baaac3a1b5227ab779398dc26b4546e1af1
Author: jay <email address hidden>
Date: Mon Apr 6 16:03:17 2020 +0200

    Support for --force flag for nova-manage placement heal_allocations command

    Use this flag to forcefully heal allocation for a specific instance

    Change-Id: I54147d522c86d858f938df509b333b6af3189e52
    Closes-Bug: #1868997

Changed in nova:
status: In Progress → Fix Released
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.