Problems creating deploy (location plugin)



  • Server
    • FOG Version: 1.3.1-RC-6
    • OS: 14.04.1-Ubuntu
    Description

    I created a deploy task with 6 hosts using the location plugin. The hosts get the image from 3 different nodes.
    On two hosts I am getting this error. Both have the same “location node”.

    0_1484220986206_DSC_0040.JPG



  • Uninstalled and reinstalled the location plugin.
    Assigned hosts to the locations and deploy now works like a charm.

    Thanks a lot @Tom-Elliott


  • Senior Developer

    The issue is “known” about and I forgot that it may not be immediately apparent as to what’s causing this. The code itself is operationally running properly. It’s the database table (specifically locationAssoc) that’s causing the issue.

    You could try creating a new location association table, and remove all the duplicate entries. You could, also, try just updating the location on each host. (possibly through a group as well?)

    I’ve added code that should correct this issue if you don’t want to uninstall/reinstall, but it would be wise to do so as the schema did change to ensure something like this doesn’t happen in the future accidentally.


  • Senior Developer

    Because this is a location, is that location updated to the same?



  • Here you go.

    0_1484221881264_fog_screen.PNG


  • Senior Developer

    This appears to me that you have duplicated “FOG” web mount points. This issue was known about and has since been fixed.

    Can you check ls -l /var/www and ls -l /var/www/html


Log in to reply
 

515
Online

39.4k
Users

11.1k
Topics

105.4k
Posts

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