Unsolved
This post is more than 5 years old
4 Posts
0
1262
OneFS 8.1.0.4 REST API for Change list broken?
I just installed the new version of Isilon Appliance (8.1.0.4) and see that the REST api is returning incorrect results. Is it broken?
I moved a file from from root of a share to a folder called "folder1" ( mv 10m_file3.bin folder1/)
The changelist, when I view in the command line shows correct values.
akmisi81-1# isi_changelist_mod -a 40_42
st_ino=4295033563 st_mode=0120777 st_size=49 st_atime=1200124800 st_mtime=1200124800 st_ctime=1531864230 st_flags=224 cl_flags=05 path=/ifs/akshaya_nfs_1/folder1/10m_file3.bin
st_ino=4295297425 st_mode=040755 st_size=93 st_atime=1531864230 st_mtime=1531864230 st_ctime=1531864230 st_flags=224 cl_flags=00 path=/ifs/akshaya_nfs_1/folder1
st_ino=4295360811 st_mode=040777 st_size=284 st_atime=1531864230 st_mtime=1531864230 st_ctime=1531864230 st_flags=224 cl_flags=00 path=/ifs/akshaya_nfs_1
st_ino=4295033563 st_mode=0120777 st_size=49 st_atime=1200124800 st_mtime=1200124800 st_ctime=1531780410 st_flags=224 cl_flags=06 path=/ifs/akshaya_nfs_1/10m_file3.bin
However the REST API is showing up all entries as removed. Including the entry that shows up as ADDED in the command line.
URL: https:// :8080/platform/1/snapshot/changelists/40_42/lins
Results:
{
"lins": [
{
"atime": {
"nsec": 0,
"sec": 1200124800
},
"ctime": {
"nsec": 0,
"sec": 1531864230
},
"id": "68720537008",
"mtime": {
"nsec": 0,
"sec": 1200124800
},
"path": "/folder1/10m_file3.bin",
"size": 49,
"type": "(REMOVED)"
},
{
"atime": {
"nsec": 0,
"sec": 1531864230
},
"ctime": {
"nsec": 0,
"sec": 1531864230
},
"id": "68724758800",
"mtime": {
"nsec": 0,
"sec": 1531864230
},
"path": "/folder1",
"size": 93,
"type": "(REMOVED)"
},
{
"atime": {
"nsec": 0,
"sec": 1531864230
},
"ctime": {
"nsec": 0,
"sec": 1531864230
},
"id": "68725772976",
"mtime": {
"nsec": 0,
"sec": 1531864230
},
"path": "",
"size": 284,
"type": "(REMOVED)"
},
{
"atime": {
"nsec": 0,
"sec": 1200124800
},
"ctime": {
"nsec": 0,
"sec": 1531780410
},
"id": "2305843077934230960",
"mtime": {
"nsec": 0,
"sec": 1200124800
},
"path": "/10m_file3.bin",
"size": 49,
"type": "(REMOVED)"
}
],
"resume": null,
"total": 4
}
upinya
2 Posts
0
June 20th, 2019 07:00
This exact issue still occurs in 8.1.2.0.