• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Latest FOG 0.33b

    Scheduled Pinned Locked Moved
    General
    77
    1.6k
    6.5m
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tom ElliottT
      Tom Elliott
      last edited by

      r1178 released.

      More adds/edits to location plugin.

      Only created the add elements. Next step is the edit elements.

      LocationAssociation relationships created.

      If, in my basic logic of this, what I’m thinking of works, for now you can only assign one location at a time to the host. It’s all too easy, from the gui, to make the change where necessary, but the idea of the storage groups will help manage the moving of hosts between sites.

      Hope that makes sense.

      Still isn’t fully operational yet, but it is well on it’s way. Host registration should work as well. If the location is enabled, it asks you, if not not it doesn’t ask.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        r1179 released.

        More mods to location plugin. Specifically, for now, the task generation based on the location storage group. Fixes display issue on task page of kill/force icons.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          r1180 released.

          Missed a semicolon sorry guys.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • J
            jbsclm Developer
            last edited by

            Just checking out XP single partition resizable on r1178, Original disk size of 30gb, used 9.7gb.
            Deploys OK, to both 15Gb and 50Gb partitions, but a minor point, it seems to leave about 1% unallocated at the end of the disc.
            e.g. in the case of deploying to 50Gb, creates a 49.5 Gb partition, leaves 510 Mb free.
            Is this deliberate, I can see how it might be?

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              It was deliberate.

              I’m setting the “layPartSize” to 99%.

              The reason for this is because:

              Some drives like 100% set, others don’t.
              Some drives like exact drive size set, others don’t.

              Some drives don’t like 100% set AND don’t like exact drive size set, others don’t really care.

              However, I haven’t seen any issues with any drives being set to 99%.

              Yes you loose a little bit of space, but you can extend it later on.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • A
                ArchFan
                last edited by

                Is anyone else unable to deploy via multicast? I get to the PartClone screen, and it stops there at “restoring image to device”. It’s the first I’ve attempted multicast in 0.33b, so I’m not sure if it’s just me or if it’s a legit issue. Deploying the same image via unicast works. The image is a Win 7 image, set to single partition. Verified using rev. 1180

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  What’s the error logs look like?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    Is FOGMulticastManager service running?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      r1184 released.

                      More location tweaks. Editing should work. It’s not perfect but I think I’m getting there.

                      Suggestions and some code tests are welcome to make getting it complete that much faster.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        ArchFan,

                        I only ask those questions because I’m currently multicasting a job and all worked perfectly.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • A
                          ArchFan
                          last edited by

                          [quote=“Tom Elliott, post: 22379, member: 7271”]ArchFan,

                          I only ask those questions because I’m currently multicasting a job and all worked perfectly.[/quote]

                          It doesn’t look like FOGMulticastManager service was running. For some reason, attempting to start, stop, or restart the service using sudo initially failed. Typing /opt/fog/service/FOGMulticastManager/FOGMulticastManager seems to have resolved the issue, and I can now start, stop, and restart the service. Multicast then works as expected

                          1 Reply Last reply Reply Quote 0
                          • Lee RowlettL
                            Lee Rowlett Developer
                            last edited by

                            multicast doesn’t seem to be working for me, no matter how i queue the task, tried from list all hosts using deploy, tried from group multicast, tried task management and list all group, multicast - it is creating seperate multicast tasks for each host :-S

                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              Are you talking the tasks themselves, or the udp-sender?

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • A
                                ArchFan
                                last edited by

                                To answer the log question, there were no files in /opt/fog/log, and none of the /var/log files showed anything other than something about not defining a timezone. Typing /opt/fog/service/FOGMulticastManager/FOGMulticastManager did give me quite a few PHP Warnings. I don’t know what’s significant

                                PHP Warning: fopen(): Filename cannot be empty in /opt/fog/service/common/functions.php on line 10
                                PHP Warning: date(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in /opt/fog/service/common/functions.php on line 19
                                PHP Warning: fopen(/dev/tty2): failed to open stream: Permission denied in /opt/fog/service/common/functions.php on line 10
                                PHP Warning: fopen(/opt/fog/log/multicast.log): failed to open stream: Permission denied in /opt/fog/service/common/functions.php on line 26
                                PHP Warning: Missing argument 2 for out(), called in /opt/fog/service/common/functions.php on line 28 and defined in /opt/fog/service/common/functions.php on line 6

                                1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott
                                  last edited by

                                  Found the issue Lee was reporting.

                                  r1185 released. Should PROPERLY NOW, fix group/individual taskings for multicast jobs.

                                  Creates new multicast task for individual host multicast deploy.

                                  Creates Group multicast task based on the Group->Host->image being the same.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    ccmiens
                                    last edited by

                                    Hi,
                                    How to update r1170 -> r1185?
                                    Uninstall and reinstall all or simply extract files of new version.
                                    Thanks

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      fabritrento
                                      last edited by

                                      [quote=“Tom Elliott, post: 22384, member: 7271”]Found the issue Lee was reporting.

                                      r1185 released. Should PROPERLY NOW, fix group/individual taskings for multicast jobs.

                                      Creates new multicast task for individual host multicast deploy.

                                      Creates Group multicast task based on the Group->Host->image being the same.[/quote]

                                      today i tested multicast: don’t work.

                                      i have 2 group: one of 26 pc another of 16 pc.

                                      the pcs in second group is included also in first group.

                                      clicked on list all group, multicast (second green icon with 2 down-rows)

                                      the pc boots and starts partclone, that remain grey and wait to infinite.

                                      here some logs:

                                      administrator@fog:~/fog_0.33b/bin$ ps -ef|grep fog
                                      avahi 507 1 0 Jan31 ? 00:00:07 avahi-daemon: running [fog.local]
                                      root 30590 1 0 11:19 ? 00:00:01 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                                      root 30600 1 0 11:19 ? 00:00:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator
                                      root 30612 1 0 11:19 ? 00:00:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
                                      1000 31110 26061 0 11:24 pts/1 00:00:00 grep --color=auto fog
                                      administrator@fog:~/fog_0.33b/bin$

                                      administrator@fog:/opt/fog/log$ vi multicast.log
                                      [02-03-14 11:28:18 am] | [02-03-14 11:28:18 am] Task (50) LAB-CA is new!
                                      [02-03-14 11:28:18 am] | [02-03-14 11:28:18 am] Task (50) LAB-CA image file found.
                                      [02-03-14 11:28:18 am] | [02-03-14 11:28:18 am] Task (50) LAB-CA 40 clients found.
                                      [02-03-14 11:28:18 am] | [02-03-14 11:28:18 am] Task (50) LAB-CA sending on base port: 27198
                                      [02-03-14 11:28:18 am] CMD: cat “/images//labinfociro/d1p1.img”|/usr/local/sbin/udp-sender --min-receivers 40 --portbase 27198 --interface eth0 --full-duplex --ttl 32 --nokbd;cat “/images//labinfociro/d1p2.img”|/usr/local/sbin/udp-sender --min-receivers 40 --portbase 27198 --interface eth0 --full-duplex --ttl 32 --nokbd;cat “/images//labinfociro/d1p3.img”|/usr/local/sbin/udp-sender --min-receivers 40 --portbase 27198 --interface eth0 --full-duplex --ttl 32 --nokbd;
                                      [02-03-14 11:28:18 am] | [02-03-14 11:28:18 am] Task (50) LAB-CA has started.
                                      [02-03-14 11:28:28 am] * [02-03-14 11:28:28 am] Checking if I am the group manager.
                                      [02-03-14 11:28:29 am] * [02-03-14 11:28:29 am] I am the group manager.
                                      [02-03-14 11:28:29 am] | [02-03-14 11:28:29 am] Task (50) LAB-CA is no longer running.
                                      [02-03-14 11:28:29 am] | [02-03-14 11:28:29 am] Task (50) LAB-CA will not be cleaned yet (5 min delay).
                                      [02-03-14 11:28:39 am] * [02-03-14 11:28:39 am] Checking if I am the group manager.
                                      [02-03-14 11:28:40 am] * [02-03-14 11:28:40 am] I am the group manager.
                                      [02-03-14 11:28:40 am] | [02-03-14 11:28:40 am] Task (50) LAB-CA is no longer running.
                                      [02-03-14 11:28:40 am] | [02-03-14 11:28:40 am] Task (50) LAB-CA will not be cleaned yet (5 min delay).
                                      [02-03-14 11:28:50 am] * [02-03-14 11:28:50 am] Checking if I am the group manager.
                                      [02-03-14 11:28:51 am] * [02-03-14 11:28:51 am] I am the group manager.
                                      [02-03-14 11:28:51 am] | [02-03-14 11:28:51 am] Task (50) LAB-CA is no longer running.
                                      [02-03-14 11:28:51 am] | [02-03-14 11:28:51 am] Task (50) LAB-CA will not be cleaned yet (5 min delay).
                                      [02-03-14 11:29:01 am] * [02-03-14 11:29:01 am] Checking if I am the group manager.

                                      administrator@fog:/var/log/apache2$ vi error.log
                                      [Mon Feb 03 11:35:19 2014] [error] [client 192.168.0.30] PHP Fatal error: Call to a member function isValid() on a non-object in /var/www/fog/service/servicemodule-active.php on line 11

                                      I retryed deleting the 26 pc group, and restart the multicast for 16pc group:

                                      [02-03-14 11:42:09 am] | [02-03-14 11:42:09 am] Task (50) LAB-CA is new!
                                      [02-03-14 11:42:09 am] | [02-03-14 11:42:09 am] Task (50) LAB-CA image file found.
                                      [02-03-14 11:42:09 am] | [02-03-14 11:42:09 am] Task (50) LAB-CA 56 clients found.
                                      [02-03-14 11:42:09 am] | [02-03-14 11:42:09 am] Task (50) LAB-CA sending on base port: 27198
                                      [02-03-14 11:42:09 am] CMD: cat “/images//labinfociro/d1p1.img”|/usr/local/sbin/udp-sender --min-receivers 56 --portbase 27198 --interface eth0 --full-duplex --ttl 32 --nokbd;cat “/images//labinfociro/d1p2.img”|/usr/local/sbin/udp-sender --min-receivers 56 --portbase 27198 --interface eth0 --full-duplex --ttl 32 --nokbd;cat “/images//labinfociro/d1p3.img”|/usr/local/sbin/udp-sender --min-receivers 56 --portbase 27198 --interface eth0 --full-duplex --ttl 32 --nokbd;
                                      [02-03-14 11:42:10 am] | [02-03-14 11:42:10 am] Task (50) LAB-CA has started.
                                      [02-03-14 11:42:20 am] * [02-03-14 11:42:20 am] Checking if I am the group manager.
                                      [02-03-14 11:42:21 am] * [02-03-14 11:42:21 am] I am the group manager.

                                      Udp-sender 20120424
                                      Using mcast address 232.168.0.3
                                      UDP sender for (stdin) at 192.168.0.3 on eth0
                                      Broadcasting control to 224.0.0.1
                                      New connection from 192.168.0.142 (#0) 00000009
                                      New connection from 192.168.0.43 (#1) 00000009
                                      New connection from 192.168.0.141 (#2) 00000009
                                      New connection from 192.168.0.113 (#3) 00000009
                                      New connection from 192.168.0.133 (#4) 00000009
                                      New connection from 192.168.0.117 (#5) 00000009
                                      New connection from 192.168.0.121 (#6) 00000009
                                      New connection from 192.168.0.122 (#7) 00000009
                                      New connection from 192.168.0.123 (#8) 00000009
                                      New connection from 192.168.0.137 (#9) 00000009
                                      New connection from 192.168.0.138 (#10) 00000009
                                      New connection from 192.168.0.136 (#11) 00000009
                                      New connection from 192.168.0.127 (#12) 00000009
                                      New connection from 192.168.0.118 (#13) 00000009
                                      New connection from 192.168.0.132 (#14) 00000009

                                      administrator@fog:/opt/fog/log$ ps -ef|grep udp
                                      root 1053 30590 0 11:42 ? 00:00:00 sh -c exec cat “/images//labinfociro/d1p1.img”|/usr/local/sbin/udp-sender --min-receivers 56 --portbase 27198 --interface eth0 --full-duplex --ttl 32 --nokbd;cat “/images//labinfociro/d1p2.img”|/usr/local/sbin/udp-sender --min-receivers 56 --portbase 27198 --interface eth0 --full-duplex --ttl 32 --nokbd;cat “/images//labinfociro/d1p3.img”|/usr/local/sbin/udp-sender --min-receivers 56 --portbase 27198 --interface eth0 --full-duplex --ttl 32 --nokbd;

                                      i see that LAB-CA is used, but this group is deleted and don’t exist anymore. the group name is “test”.

                                      i think that there is some inconsistences into db, expect --min-receivers 16 and NOT 56 (±*/ errors?)

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fabritrento
                                        last edited by

                                        uploading a disk from a pc with 3 partition i get this error:

                                        first partition is ntfs with windows xp
                                        second is eth4 with ubuntu 13.10
                                        third is linux-swap.

                                        1st and 3rd is copyed ok on fog server, but second gives a error, seems that try to copy as ntfs instead as ext4.

                                        this bug is urgent must be fixed

                                        1 Reply Last reply Reply Quote 0
                                        • Tom ElliottT
                                          Tom Elliott
                                          last edited by

                                          fabritrento,

                                          What is the error that is given? Are you sure it’s ext4 and not LVM?

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                          1 Reply Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott
                                            last edited by

                                            [quote=“ccmiens, post: 22385, member: 2951”]Hi,
                                            How to update r1170 -> r1185?
                                            Uninstall and reinstall all or simply extract files of new version
                                            Thanks[/quote]

                                            You can do this is multiple ways.

                                            First method, if you downloaded thru svn:

                                            Go into the directory where you placed fog perform the command svn update and reinstall. (It will upgrade, not perform brand new install.)

                                            For example: /home/user/trunk
                                            [code]cd ~/trunk
                                            svn update
                                            cd bin
                                            ./install.sh[/code]

                                            My tarball is updated to 1185, just download it and run the installer (again it will upgrade.)
                                            [code]wget --no-check-certificate https://mastacontrola.com/fog_0.33b.tar.bz2
                                            tar -xjf fog_0.33b.tar.bz2
                                            cd fog_0.33b/bin
                                            ./install.sh[/code]

                                            That should do it.

                                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 77
                                            • 78
                                            • 2 / 78
                                            • First post
                                              Last post

                                            156

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project