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](1_1461231037404_storage noe 3.PNG 0_1461231037403_IMG_0348 (Medium).JPG



  • 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


  • Senior Developer

    @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)


  • 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


  • Senior Developer

    What does your /etc/exports look like?


Log in to reply
 

465
Online

39.4k
Users

11.1k
Topics

105.3k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.