Add support for 'allow_resize_to_same_host'

Bug #1946620 reported by Jose Guedez
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Nova Cloud Controller Charm
Fix Released
Wishlist
Marcin Wilk
Ussuri
Fix Committed
Undecided
Unassigned
Victoria
Fix Committed
Undecided
Unassigned
Wallaby
Fix Committed
Undecided
Unassigned
Xena
Fix Committed
Undecided
Unassigned
OpenStack Nova Compute Charm
Fix Released
Wishlist
Marcin Wilk
Ussuri
New
Undecided
Unassigned
Victoria
New
Undecided
Unassigned
Wallaby
New
Undecided
Unassigned
Xena
New
Undecided
Unassigned

Bug Description

The option `allow_resize_to_same_host` [0] is not currently supported by the charms (need nova-api and compute: nova-cloud-controller and nova-compute) and defaults to False. It can be useful in certain cases.

An example of this would be a nova application for a special need (like SR-IOV) where there is a single compute per AZ. It would be convenient to resize a VM instance (e.g. increase memory) in the same node without having to force the end user to redeploy it.

[0] https://docs.openstack.org/nova/ussuri/configuration/config.html

Haw Loeung (hloeung)
Changed in charm-nova-cloud-controller:
status: New → Confirmed
Changed in charm-nova-compute:
status: New → Confirmed
Changed in charm-nova-cloud-controller:
importance: Undecided → Wishlist
status: Confirmed → Triaged
Changed in charm-nova-compute:
importance: Undecided → Wishlist
status: Confirmed → Triaged
tags: added: good-first-bug
Marcin Wilk (wilkmarcin)
Changed in charm-nova-cloud-controller:
assignee: nobody → Marcin Wilk (wilkmarcin)
Changed in charm-nova-compute:
assignee: nobody → Marcin Wilk (wilkmarcin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (master)
Changed in charm-nova-compute:
status: Triaged → In Progress
Changed in charm-nova-cloud-controller:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-cloud-controller (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-cloud-controller (master)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-cloud-controller/+/828122
Committed: https://opendev.org/openstack/charm-nova-cloud-controller/commit/690d1d190ca35958abd8d2c280a954e884e2c2f2
Submitter: "Zuul (22348)"
Branch: master

commit 690d1d190ca35958abd8d2c280a954e884e2c2f2
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 11:12:07 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Change-Id: I13d0c332cd0b110344b7a1645e3e4fd250fce33a

Changed in charm-nova-cloud-controller:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/828121
Committed: https://opendev.org/openstack/charm-nova-compute/commit/c3bd6788a73b5ca77729af6852f0e727f6615de6
Submitter: "Zuul (22348)"
Branch: master

commit c3bd6788a73b5ca77729af6852f0e727f6615de6
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 10:07:53 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Depends-On: I13d0c332cd0b110344b7a1645e3e4fd250fce33a
    Change-Id: I2f2e9e44f6bba48e15621a216539089c7e3abc1d

Changed in charm-nova-compute:
status: In Progress → Fix Committed
Changed in charm-nova-compute:
milestone: none → 22.04
Changed in charm-nova-cloud-controller:
milestone: none → 22.04
Changed in charm-nova-compute:
status: Fix Committed → Fix Released
Changed in charm-nova-cloud-controller:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/880744

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/880745

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/880746

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/880747

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-cloud-controller (stable/xena)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-cloud-controller (stable/wallaby)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-cloud-controller (stable/victoria)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-cloud-controller (stable/ussuri)
Felipe Reyes (freyes)
no longer affects: charm-nova-compute/yoga
no longer affects: charm-nova-compute/zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-cloud-controller (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-cloud-controller/+/880748
Committed: https://opendev.org/openstack/charm-nova-cloud-controller/commit/5e61cb90332a11c84ad9089cec167bb708a6571c
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 5e61cb90332a11c84ad9089cec167bb708a6571c
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 11:12:07 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Change-Id: I13d0c332cd0b110344b7a1645e3e4fd250fce33a
    (cherry picked from commit 690d1d190ca35958abd8d2c280a954e884e2c2f2)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-cloud-controller (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-cloud-controller/+/880749
Committed: https://opendev.org/openstack/charm-nova-cloud-controller/commit/b137e2bbfc3b4020bf5d068bcea043617daf1d2e
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit b137e2bbfc3b4020bf5d068bcea043617daf1d2e
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 11:12:07 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Change-Id: I13d0c332cd0b110344b7a1645e3e4fd250fce33a
    (cherry picked from commit 690d1d190ca35958abd8d2c280a954e884e2c2f2)
    (cherry picked from commit 6691684d89b1353f8815be40a7d7dc659a6d7336)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-cloud-controller (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-cloud-controller/+/880750
Committed: https://opendev.org/openstack/charm-nova-cloud-controller/commit/4d010253584738ccafb98411746b35d73bdead72
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 4d010253584738ccafb98411746b35d73bdead72
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 11:12:07 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Change-Id: I13d0c332cd0b110344b7a1645e3e4fd250fce33a
    (cherry picked from commit 690d1d190ca35958abd8d2c280a954e884e2c2f2)
    (cherry picked from commit 6691684d89b1353f8815be40a7d7dc659a6d7336)
    (cherry picked from commit b137e2bbfc3b4020bf5d068bcea043617daf1d2e)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-cloud-controller (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-cloud-controller/+/880751
Committed: https://opendev.org/openstack/charm-nova-cloud-controller/commit/4248cb35b95bfe7afcc94c0ee3dbe032ec1aa8d1
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 4248cb35b95bfe7afcc94c0ee3dbe032ec1aa8d1
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 11:12:07 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Change-Id: I13d0c332cd0b110344b7a1645e3e4fd250fce33a
    (cherry picked from commit 690d1d190ca35958abd8d2c280a954e884e2c2f2)
    (cherry picked from commit 6691684d89b1353f8815be40a7d7dc659a6d7336)
    (cherry picked from commit b137e2bbfc3b4020bf5d068bcea043617daf1d2e)
    (cherry picked from commit 4d010253584738ccafb98411746b35d73bdead72)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/880744
Committed: https://opendev.org/openstack/charm-nova-compute/commit/649c9a7737e13d95028a38a5b8650903b9f5510e
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 649c9a7737e13d95028a38a5b8650903b9f5510e
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 10:07:53 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Depends-On: I13d0c332cd0b110344b7a1645e3e4fd250fce33a
    Change-Id: I2f2e9e44f6bba48e15621a216539089c7e3abc1d
    (cherry picked from commit c3bd6788a73b5ca77729af6852f0e727f6615de6)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/880746
Committed: https://opendev.org/openstack/charm-nova-compute/commit/777d3dea842f03b83547aa5d3e05f9f805c9d137
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 777d3dea842f03b83547aa5d3e05f9f805c9d137
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 10:07:53 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Depends-On: I13d0c332cd0b110344b7a1645e3e4fd250fce33a
    Change-Id: I2f2e9e44f6bba48e15621a216539089c7e3abc1d
    (cherry picked from commit c3bd6788a73b5ca77729af6852f0e727f6615de6)
    (cherry picked from commit 649c9a7737e13d95028a38a5b8650903b9f5510e)
    (cherry picked from commit d16dadfab943235bc17f0a1b697132fedeede063)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/880745
Committed: https://opendev.org/openstack/charm-nova-compute/commit/d16dadfab943235bc17f0a1b697132fedeede063
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit d16dadfab943235bc17f0a1b697132fedeede063
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 10:07:53 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Depends-On: I13d0c332cd0b110344b7a1645e3e4fd250fce33a
    Change-Id: I2f2e9e44f6bba48e15621a216539089c7e3abc1d
    (cherry picked from commit c3bd6788a73b5ca77729af6852f0e727f6615de6)
    (cherry picked from commit 649c9a7737e13d95028a38a5b8650903b9f5510e)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/880747
Committed: https://opendev.org/openstack/charm-nova-compute/commit/654f6e5089d929fa091448fdf0dc42675ff175d2
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 654f6e5089d929fa091448fdf0dc42675ff175d2
Author: Marcin Wilk <email address hidden>
Date: Mon Feb 7 10:07:53 2022 +0000

    Allow resizing to the same host

    By default resizing an instance to the same host as the source is
    not enabled. This change adds new charm config option that maps
    directly to the nova.conf setting which effectively gives a user
    possibility to enable/disable this functionality.

    Closes-Bug: #1946620
    Depends-On: I13d0c332cd0b110344b7a1645e3e4fd250fce33a
    Change-Id: I2f2e9e44f6bba48e15621a216539089c7e3abc1d
    (cherry picked from commit c3bd6788a73b5ca77729af6852f0e727f6615de6)
    (cherry picked from commit 649c9a7737e13d95028a38a5b8650903b9f5510e)
    (cherry picked from commit d16dadfab943235bc17f0a1b697132fedeede063)
    (cherry picked from commit 777d3dea842f03b83547aa5d3e05f9f805c9d137)

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.