Failed to upload Image to Storage Node
-
Just setup a new fog server 7208 and storage node.
The storage node was updated from 1.2.0 and the fog server was fresh install.
Uploaded database backup from old fog server to new one.
Added the storage node and i can build ok, i just cant upload any images.
I get error “failed to create image upload past (prepareUpLoadLocation)”
I have checked permissions and i think they are correct.
Anyone else came across this and able to advise?
Thanks Duncan![alt text](
-
What does your
/etc/exports
look like? -
On the Node:
/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0) /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
On the Fog Server:
/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0) /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
So both the same
Thanks
-
@Duncan There’s your problem.
Your node shows with /images/storage
Your exports shows with /images.
Edit the exports for them so their /images path is the proper path you need.
In the one screenshoot you have make the system exports file have:
/images/storage *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0) /images/storage/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
-
Nice, changed the exports and rebooted.
Looks to be uploading the image now, folder with mac has appeared in the /images/storage/dev folder.
Many thanks for the speedy help!
Duncan