Hello Lucio, it works fine. Thank you Ignazio Il giorno mer 16 set 2020 alle ore 15:05 Lucio Seki <lucioseki@gmail.com> ha scritto:
Hi Ignazio,
The feature was introduced in Pike release [0], so it should work. Please specify the Volume API version >= 3.40 either by: a) passing `--os-volume-api-version` parameter to the command line:
cinder --os-volume-api-version 3.40 revert-to-snapshot snap1
b) exporting the environment variable OS_VOLUME_API_VERSION:
export OS_VOLUME_API_VERSION=3.40
cinder revert-to-snapshot snap1
Please let us know if it works or not.
[0] https://docs.openstack.org/releasenotes/cinder/pike.html#relnotes-11-0-0-sta...
Lucio
On Wed, 16 Sep 2020 at 09:52, Ignazio Cassano <ignaziocassano@gmail.com> wrote:
Hello Stackers, does cinder revert to snapshot works on stein ? The command cinder revert-to-snapshot returns:
error: argument <subcommand>: invalid choice: u'revert-to-snapshot'
*I also tried using cinder v3 api* post /v3/{project_id}/volumes/ {volume_id}/action but it returns : {"itemNotFound": {"message": "The resource could not be found.", "code": 404}}
Please, anyone could help me ? Ignazio