Public bug reported:

Even though the feature is noted in the release notes of the Ussuri release 
(https://docs.openstack.org/releasenotes/nova/ussuri.html#relnotes-21-0-0-stable-ussuri)
 a volume based instance cannot be "rescued" 
(https://docs.openstack.org/nova/ussuri/user/rescue.html) via the Horizon 
Dashboard. 
After clicking "rescue" the action silently fails and nothing happens.

I believe this is simply due to the Nova API version used not being recent 
enough.
According to 
https://github.com/openstack/nova/commit/ff3fd846362dfaa7d880dca83f1482b7a8ce80c5
 at least version 2.87 is required and I was able to reproduce the issue using 
the CLI:


1) no version selected 

# openstack  server rescue --image $IMAGE_ID --password abc123
$INSTANCE_ID

Instance $INSTANCE_ID cannot be rescued: Cannot rescue a volume-backed
instance (HTTP 400) (Request-ID:
req-8608b9a3-2a10-40ce-a76e-21c93c3bbd8b)


2) selected API version 2.87

# openstack --os-compute-api-version 2.87 server rescue -image $IMAGE_ID
--password abc123 $INSTANCE_ID


-> success.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1941744

Title:
  Rescue of volume based instance fails silently due to wrong API
  version

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Even though the feature is noted in the release notes of the Ussuri release 
(https://docs.openstack.org/releasenotes/nova/ussuri.html#relnotes-21-0-0-stable-ussuri)
 a volume based instance cannot be "rescued" 
(https://docs.openstack.org/nova/ussuri/user/rescue.html) via the Horizon 
Dashboard. 
  After clicking "rescue" the action silently fails and nothing happens.

  I believe this is simply due to the Nova API version used not being recent 
enough.
  According to 
https://github.com/openstack/nova/commit/ff3fd846362dfaa7d880dca83f1482b7a8ce80c5
 at least version 2.87 is required and I was able to reproduce the issue using 
the CLI:

  
  1) no version selected 

  # openstack  server rescue --image $IMAGE_ID --password abc123
  $INSTANCE_ID

  Instance $INSTANCE_ID cannot be rescued: Cannot rescue a volume-backed
  instance (HTTP 400) (Request-ID:
  req-8608b9a3-2a10-40ce-a76e-21c93c3bbd8b)


  
  2) selected API version 2.87

  # openstack --os-compute-api-version 2.87 server rescue -image
  $IMAGE_ID --password abc123 $INSTANCE_ID

  
  -> success.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1941744/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to