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

Latest FOG 0.33b

Scheduled Pinned Locked Moved
General
77
1.6k
6.4m
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.
  • T
    Troye Johnson
    last edited by Jan 21, 2014, 2:06 PM

    ok yea I dont think that will work because I am trying to go from one server to another in a diffrent location. Just wanted to make sure there was no easier way before I did it manually. 🙂

    Fog Server information

    Cent OS 7
    Running Version 1.5.2

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jan 21, 2014, 2:41 PM

      r1125 Released.

      Should fix typo on multicast task creation.

      Recodes elements of service scripts. Getting less and less ClientServiceManager.php needs.

      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
      • R
        rado
        last edited by Jan 21, 2014, 2:50 PM

        [quote=“Tom Elliott, post: 21684, member: 7271”]If you downloaded the svn to do the install, from the trunk directory (or whatever you named it) perform:
        [code]svn update[/code]

        Then re-run the installer:
        [code]cd bin
        ./installfog.sh[/code][/quote]

        thanks, worked.

        But is multicast working? I tried to create multicast task in latest (1124) revision. Got the same blank screen as previously (see post #504), so changed [I]$MulticasetSessionAssoc->save();[/I] and blank screen was solved. But there was no multicast task in Active Multicast Tasks (only individual tasks in Active Tasks) - this happend even in 1118. And creating task took too long (few minutes)[I] - [/I]I found out, that mysql daemon is causing high load. Then I looked at [I]multicastSessions[/I] table and found circa 60000 tasks with random base ports and -1 msState. So I deleted them manually and now I’m getting another blank screen and in apache error log there is:

        [I][CODE]PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16 bytes) in /var/www/fog/lib/fog/FOGManagerController.class.php on line 124, referer: http://localhost:8081/fog/management/index.php?node=tasks&sub=listgroups[/CODE][/I]

        So, perhaps I deleted too much or what. I tried to figure out what’s wrong.

        Rev. 1125 didn’t help.[I][/I]

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jan 21, 2014, 3:06 PM

          restart apache.

          FOR REDHAT
          [code]service httpd restart[/code]

          FOR UBUNTU
          [code]sudo service apache2 restart[/code]

          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
          • R
            rado
            last edited by Jan 21, 2014, 3:16 PM

            if the restart was to me - it didn’t help.
            but thanks

            1 Reply Last reply Reply Quote 0
            • R
              rado
              last edited by Jan 21, 2014, 3:46 PM

              Do you have any other tip (if the restart was for me)? If not, I’m going to reinstall it.

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Jan 21, 2014, 3:49 PM

                I’m not seeing the same issues as you.

                At all.

                I can create the task, watch the task get created. Start my system, and watch it image. But I’ll try some more details.

                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
                • T
                  Tom Elliott
                  last edited by Jan 21, 2014, 3:56 PM

                  I think i narrowed down the issue.

                  I was imaging a winxp system with a resizable harddrive.

                  This means I have a file (FILE not DIRECTORY) that is called:

                  /images/winxpimage

                  It finds and images that perfectly fine.

                  The issue, right now, is the task is trying to gunzip the directory for a windows 7 image, rather than the files within the directory. I’m a big idiot and I’m sorry about that. Working on a fix now.

                  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
                  • R
                    rado
                    last edited by Jan 21, 2014, 5:08 PM

                    OK, I was going to reinstall FOG and thought I should backup db first. So I did and found in sql dump file a table (multicastSessionAssoc) with lot of entries, so now I understand why it didn’t work as I deleted only entries in multicastSession and not here 🙂

                    Now everything seems to work, even multicast task starts (not only individual tasks), but 2 issues:
                    [LIST=1]
                    []one host gets proper pxe config file with good porbase (say 58720) but second host gets 224 (it seems lik 1. octet of multicast address), so I have to change it manualy to start multicasting
                    [
                    ]but then it complains it’s not partclone image (I created it yesterday with 0.33 fog, so it should be partclone image); Is this what you are talking above? This is how it looks like in both versions:
                    [LIST=1]
                    []0.32 is gunzip -c “/images/test/d1p1.img” | /usr/local/sbin/udp-sender … (I have a screenshot)
                    [
                    ]0.33 is gunzip -c “/images/cpu/”|/usr/local/sbin/udp-sender …
                    [/LIST]
                    [/LIST]

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Jan 21, 2014, 5:16 PM

                      I fixed it. r1126 released to address the multicast task creation.

                      You should be good. I don’t know what was generating all the multicastSessions you are talking about, but it shouldn’t do that anymore.

                      Thank you,

                      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
                      • T
                        Tom Elliott
                        last edited by Jan 21, 2014, 5:21 PM

                        Also,

                        Instead of reinstalling the DB.

                        Just clear out the sessions and Assocs:

                        truncate table multicastSessions;
                        truncate table multicastSessionsAssoc;

                        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
                        • R
                          rado
                          last edited by Jan 21, 2014, 5:57 PM

                          You are welcome, Tom. Now multicast seems to work, but there is stil the issue with different ports assigned to hosts. I’m going to look at it.

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Jan 21, 2014, 6:17 PM

                            I guess I don’t understand? Are the tasks going to different hosts on different ports from within the same tasking?

                            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
                            • R
                              rado
                              last edited by Jan 21, 2014, 6:31 PM

                              I’m not sure if I understand you now 🙂 but, when you create multicast tasks, it should create pxe file per client (MAC) and 1st my client got now multicast base port 45084 and 2nd got now 9964, which is, as I in the meantime found out that it’s some default port (I see it in globalSettings db table). But it was not every time this one, it looked like this client (and it seems that every time it’s the same client) gets port from previous multicast session (and perhaps now, as I started this multicast task after truncating those session tables, it gets some default value).

                              I guess, creating pxe config file is based on hostID, which correlates, this is how my hosts table for those hosts looks like:

                              [CODE]mysql> select * from hosts;
                              ±-------±---------±------------------------------------------------±-------±----------±-------------±--------------------±-------------±------------------±----------±-------------±---------±-----------±-----------±-----------------±---------------±-----------±-----------+
                              | hostID | hostName | hostDesc | hostIP | hostImage | hostBuilding | hostCreateDate | hostCreateBy | hostMAC | hostUseAD | hostADDomain | hostADOU | hostADUser | hostADPass | hostPrinterLevel | hostKernelArgs | hostKernel | hostDevice |
                              ±-------±---------±------------------------------------------------±-------±----------±-------------±--------------------±-------------±------------------±----------±-------------±---------±-----------±-----------±-----------------±---------------±-----------±-----------+
                              | 1 | 772 | Created by FOG Reg on January 20, 2014, 3:13 pm | | 6 | 0 | 2014-01-20 15:13:34 | FOGREG | d4:3d:7e:0c:8c:6f | | | | | | | | | |
                              | 2 | 768 | Created by FOG Reg on January 20, 2014, 3:15 pm | | 6 | 0 | 2014-01-20 15:15:48 | FOGREG | d4:3d:7e:0c:90:ed | | | | | | | | | |
                              [/CODE]

                              edit: and host 772 gets wrong port

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tom Elliott
                                last edited by Jan 21, 2014, 6:41 PM

                                I want to make sure I get this right!

                                Are you creating a multicast task for the individual hosts? (One task per host)

                                Or are you creating a multicast task from the group? (One task to multiple hosts)

                                I haven’t implemented a code base to kill the original task/job/command and regenerate if the two individual tasks have the same image id.

                                Does this make sense?

                                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 Jan 21, 2014, 6:42 PM

                                  Sorry Tom, just testing capone, it hangs at “looking for images”
                                  There is the following in the apache error log.

                                  [client 192.168.3.10] PHP Warning: vsprintf(): Too few arguments in /var/www/fog/lib/db/MySQL.class.php on line 105

                                  I am running r1026 on Ubuntu LTS 12.04

                                  [url=“/_imported_xf_attachments/0/510_boottest.png?:”]boottest.png[/url]

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tom Elliott
                                    last edited by Jan 21, 2014, 6:44 PM

                                    can you update to the latest revision? r1126 and try again.

                                    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 Jan 21, 2014, 6:47 PM

                                      Sorry, my typo, r1126, just downloaded this evening

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rado
                                        last edited by Jan 21, 2014, 6:47 PM

                                        I am creating one task to multiple hosts, from Task Management -> List All Groups -> Deploy Multicast. No other tasks or even processes are running when I start task - every time I kill udp-sender (if there is some hanging), check tasks in Active Tasks and Active Multicast Tasks, and now even sessionMulticast and sessionMulticastAssoc tables. So there shouldn’t be any collision, if you have this on mind in your 4th sentence.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tom Elliott
                                          last edited by Jan 21, 2014, 6:48 PM

                                          can you give me output of your apache2/httpd error log?

                                          @jbsclm

                                          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
                                          • 25
                                          • 26
                                          • 27
                                          • 28
                                          • 29
                                          • 77
                                          • 78
                                          • 27 / 78
                                          27 / 78
                                          • First post
                                            529/1559
                                            Last post

                                          240

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project