Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-74

unshelve an instance to specific host

XMLWordPrintable

    • unshelve an instance to specific host
    • False
    • False
    • Committed
    • Committed
    • OSP-14490 - Large scale scheduling
    • openstack-nova-27.1.1-18.0.20230930093334.a869ab1.el9ost
    • Committed
    • Committed
    • 11% To Do, 0% In Progress, 89% Done
    • Hide
      .More options for the `server unshelve` command

      With this update, new options are added to the `server unshelve` command in RHOSO 18.0.0.

      The `--host` option allows adminstirators to specify a destination host.
      The `--no-availability-zone` option allows administrators to specify the availability zone.
      Both options require the server to be in the `SHELVED_OFFLOADED` state and the Compute API version to be `2.91` or greater.
      Show
      .More options for the `server unshelve` command With this update, new options are added to the `server unshelve` command in RHOSO 18.0.0. The `--host` option allows adminstirators to specify a destination host. The `--no-availability-zone` option allows administrators to specify the availability zone. Both options require the server to be in the `SHELVED_OFFLOADED` state and the Compute API version to be `2.91` or greater.
    • Enhancement
    • Done
    • Automated

      Description of problem:

      when unshelving an instance of the shelve-offload state, it can't assign an instance to specific host

      When unshelving an instance, is it possible to select a specific host using the Availability Zone, just like when creating an instance using availability zones to select hosts?

      (overcloud_test) [stack@undercloud ~]$ openstack help server unshelve
      usage: openstack server unshelve [-h] [--availability-zone AVAILABILITY_ZONE]
      <server> [<server> ...]

      Unshelve server(s)

      positional arguments:
      <server> Server(s) to unshelve (name or ID)

      optional arguments:
      -h, --help show this help message and exit
      --availability-zone AVAILABILITY_ZONE
      Name of the availability zone in which to unshelve a
      SHELVED_OFFLOADED server (supported by -os-compute
      api-version 2.77 or above)

      Version-Release number of selected component (if applicable):

      Red Hat OpenStack 16.1

      How reproducible:

      Always

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:
      We have successfully unshelved an instance to specific host

      Additional info:

      when unshelving an instance of the shelve-offload state, it is difficult to manage unshelved an instance if the specific HOST is not assigned because we don't know which host an instance will be assigned to

              rribaud@redhat.com Rene Ribaud
              jira-bugzilla-migration RH Bugzilla Integration
              rhos-dfg-compute
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: