yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74609
[Bug 1740260] Re: When restoring a volume backup to the specified volume, the selection of the target volume list should list available volumes only
Reviewed: https://review.openstack.org/597144
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=19635237b388dcc9199081a740ee9829feb67bee
Submitter: Zuul
Branch: master
commit 19635237b388dcc9199081a740ee9829feb67bee
Author: PrivateRookie <996514515@xxxxxx>
Date: Tue Aug 28 22:23:46 2018 +0800
fix volume status bug when restoring a Volume
Change-Id: I96b922d59908f19f2850c117e77ec8831e7fdd77
Closes-Bug:#1740260
** Changed in: horizon
Status: In Progress => Fix Released
--
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/1740260
Title:
When restoring a volume backup to the specified volume, the selection
of the target volume list should list available volumes only
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
On dashboard,steps as follows(The following steps are on devstack, kolla also exists.):
1.Open the OpenStack Horizon,select-->Project-->Volumes-->backups;
2.Select a backup from the list of volume backups and perform a recovery operation,you can get a list of available target volumes. However, the current version of the acquired list of volumes is not filtered, including error,in-use and other states.
Through the CLI you can get the relevant information.
[root@localhost ~]# cinder backup-restore --volume 1237b738-fe01-4acf-828d-2e06b046bc9e --name test 81155cf4-33b1-49df-981c-a31958b13940
Mutually exclusive options are specified simultaneously: "--volume (or the deprecated --volume-id) and --name". The --volume (or --volume-id) option takes priority.
ERROR:Invalid volume: Volume to be restored to must be available (HTTP 400) (Request-ID: req-24442e88-0b26-4b04-856e-0f0723451412)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1740260/+subscriptions
References