We are facing one strange issue. For some reason, we are not getting volume’s details through REST API.
For example, we have these 2 volumes in the cluster running 9.7P10:
us01cmsgrid::> vol show VG_ARCHIVE*
Vserver Volume Aggregate State Type Size Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
us01cmsgridvs1 VG_ARCHIVE - online RW 100TB 15.74TB 84%
us01cmsgridvs1 VG_ARCHIVE2 - online RW 100TB 69.79TB 30%
2 entries were displayed.
They are set up identically.
But when we make API call, only VG_ARCHIVE2 is showing up:
$ curl --location --request GET 'https://us01cmsgrid/api/storage/volumes' -k | grep -i "VG_ARCHIVE"
"name": "VG_ARCHIVE2",
$ curl --location --request GET 'https://us01cmsgrid/api/storage/volumes?name=VG*' -k
{
"records": [
{
"uuid": "63f910f4-e7db-11ea-badf-d039ea14ccfe",
"name": "VG_ARCHIVE2",
"_links": {
"self": {
"href": "/api/storage/volumes/63f910f4-e7db-11ea-badf-d039ea14ccfe"
}
}
}
],
"num_records": 1,
"_links": {
"self": {
"href": "/api/storage/volumes?name=VG*"
}
}
Am I missing something?