SVN 2580 : move files from /dev to /NAMEOFIMAGE


  • Moderator

    Hi,

    I don’t know if it’s a bug or problem on my setup. After the upload of the image I have this :

    Task Complete !
    *
    *
    *
    *
    *
    *
    

    And the image isn’t move to the final image folder. I’ll try to connect on the fog server with FTP and move files without problem.

    Regards,
    Ch3i.



  • @Tom Elliott, post: 39751, member: 7271 said:

    ftp doesn’t in your case.

    have you tried logging via ftp to the system (directly) to see if there’s an error being reported during connection?

    I can do some testing if I can have some help what to do, like a small step-by-step guide.



  • @Tom Elliott, post: 39749, member: 7271 said:

    2590 is QUITE along way off of 1.2.0.

    Please check your fog user and password on the server as well as in Storage Management.

    Sorry - I missed that this thread is related to SVN 2580 specifically - I’ll open a separate thread.

    Thanks,
    David


  • Senior Developer

    ftp doesn’t in your case.

    have you tried logging via ftp to the system (directly) to see if there’s an error being reported during connection?



  • I still have this problem. Running a 14 days old SVN (-+ 1 week) on Centos where images are put in the home folder. problem have been there since I moved images, and all settings seems to be OK.


  • Senior Developer

    2590 is QUITE along way off of 1.2.0.

    Please check your fog user and password on the server as well as in Storage Management.



  • Sorry to resurrect a slightly old thread - did you manage to resolve this?

    I am seeing the same behaviour on our new fog install with separate storage nodes - have tried all the following:

    • checked ftp to storage node using details from Storage Management page, both from remote machine and from Fog Management server, and successfully used ftp rename to move the images/dev/<mac> folder to images/<imagename>
    • set permissions on image store to 777 and have tried both fog:root and root:root
    • my image store is not at the default location - have tried setting it in the Storage Management page, and have also tried creating a symlink to it from /images

    I’m using Fog v1.2.0. Our Management Server is Ubuntu 12.04 and our storage nodes are CentOS 6.6


  • Moderator

    @Tom Elliott, post: 39191, member: 7271 said:

    Are you using Rename or Put?

    RNTO : Rename ?


  • Senior Developer

    Are you using Rename or Put?


  • Moderator

    @Tom Elliott, post: 39189, member: 7271 said:

    Have you connected to the node/server that’s not moving the files via FTP?

    As the FTP user, were you able to copy move the files where necessary.

    With a ftp client I have no problem to move the files.

    Regads,
    Ch3i.


  • Senior Developer

    Have you connected to the node/server that’s not moving the files via FTP?

    As the FTP user, were you able to copy move the files where necessary.



  • It is set correct here too.


  • Moderator

    @Tom Elliott, post: 39184, member: 7271 said:

    Is the path set correctly in the relevant node dealing with the images folder?

    Meaning:

    From Storage Management->All Storage Nodes-><Relevant Node Here>->Image Path set to /fogimages or /home/images?

    Hi,

    [B]Image Path set to /fogimages[/B]

    Regards,
    Ch3i.


  • Senior Developer

    Is the path set correctly in the relevant node dealing with the images folder?

    Meaning:

    From Storage Management->All Storage Nodes-><Relevant Node Here>->Image Path set to /fogimages or /home/images?



  • I have set permissions recursively.


  • Senior Developer

    okay
    make sure permissions are recusively set properly:

    sudo touch /fogimages/.mntcheck
    sudo touch /fogimages/dev/.mntcheck
    sudo chmod -R 777 /fogimages/
    
    

  • Moderator

    @pmonstad, post: 39148, member: 17422 said:

    I have exact the same problem. The problem has been around since I moved the image folder from /images to /home/images. The files are not moved from dev after upload has completed.

    When I check permissions etc I find:

    before upload the folder /home/images/t500 exists as expected (probably because I moved it manually last time I created an upload). This folder/files have 777 and ownership apache:apache. (running on centos 6). When upload has completed this folder is deleted and I guess it fails when moving the mac-address-folder inside dev folder. The mac-address inside dev folder has permissions 777 and ownership root:root.

    I have to move it manually and change ownership.

    The same, since I move images from /images >> /fogimages

    Regards,
    Ch3i.



  • I have exact the same problem. The problem has been around since I moved the image folder from /images to /home/images. The files are not moved from dev after upload has completed.

    When I check permissions etc I find:

    before upload the folder /home/images/t500 exists as expected (probably because I moved it manually last time I created an upload). This folder/files have 777 and ownership apache:apache. (running on centos 6). When upload has completed this folder is deleted and I guess it fails when moving the mac-address-folder inside dev folder. The mac-address inside dev folder has permissions 777 and ownership root:root.

    I have to move it manually and change ownership.


  • Senior Developer

    Try upgrading?


  • Moderator

    Hi,

    Any idea ?

    Regards,
    Ch3i.


Log in to reply
 

356
Online

38746
Users

10569
Topics

100051
Posts

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