You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get a Volume but when I use this method I get the 404 Error. It seems like the API its calling is this:
GET /v1/ -Project ID- /volumes/ -Volume ID-
However, it should be "v3" instead of "v1". I tested both in postman and with the replacement of v3 it worked.
how can I change it?
Reacted by renanbronchart, Dzmitry Zhylko and Vitaly Filipovich
I just ran into this today and found that if I modified this file:
pkgcloud/lib/pkgcloud/openstack/blockstorage/client/index.js
Change
this.serviceType = 'volume';
to
this.serviceType = 'volumev3';
I know this is a year plus old post but I found it looking for an answer so maybe someone else will too.
Not sure the proper way to fix this issue which is why i have not put a Pull Request in. I am new to openstack so not sure if the v1 interface is needed.
Activity
hagak commentedon Jun 17, 2021
I just ran into this today and found that if I modified this file:
pkgcloud/lib/pkgcloud/openstack/blockstorage/client/index.js
Change
this.serviceType = 'volume';
to
this.serviceType = 'volumev3';
I know this is a year plus old post but I found it looking for an answer so maybe someone else will too.
Not sure the proper way to fix this issue which is why i have not put a Pull Request in. I am new to openstack so not sure if the v1 interface is needed.