• 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.7m
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.
  • J
    joacliba
    last edited by Jan 24, 2014, 12:29 PM

    I don’t understant the osid variable, if it’s multipartition and it can hold multiple os, for what is $osid?

    I can’t test until monday, but, it’s supposed to exist a [FONT=Consolas]/tmp/status.fog where I can check errors?[/FONT]

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jan 24, 2014, 12:34 PM

      /tmp/status.fog is the location for the progress information on the client side. fog.statusreporter looks at the data in the file, sends it to the fogserver then clears it out for the next iteration.

      The osid, I think, is more for specialized cases. If its a pure linux system it needs to create the parts in the right places before upload can begin, hence the OSID in place for 50. Otherwise, it doesn’t appear to care.

      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
      • F
        fabritrento
        last edited by Jan 24, 2014, 2:55 PM

        [quote=“Tom Elliott, post: 21867, member: 7271”]r1137 released.

        Had to make tweak to blkid in fog script. Should work more fluidly with this method.

        From the commit comments: “Make (hopefully) final tweak in partclone stuffs on fog script. Not done updating fog script, just hopefully done with partclone tweaks.”

        I hope you know that just means I’m done, at least for now, with partclone methods. I will continue editing the fog script, and I hope to use partclone for dd (raw) imaging types in the future.[/quote]

        i tryed to do a upload of a pc with:
        sda1 ntfs
        sda2 ext4
        sda3 swap

        the first partition works, and also the swap.

        the ext4 partition don’t work, i think the cause is because blkid command returns ext2 ext3 ext4 and the partclone.extfs command is not called.

        So i created 3 symlink in /usr/sbin on the client:

        ln -s partclone.extfs partclone.ext2
        ln -s partclone.extfs partclone.ext3
        ln -s partclone.extfs partclone.ext4

        but not works.

        is possible to modify the script to make 3 different log in /var/log/partclone_[DATETIME].log ? to debug? i find only the 3th launch of partimage in the log

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

          can you give me exact output of blkid for ext4 stuff?

          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
          • F
            fabritrento
            last edited by Jan 24, 2014, 3:17 PM

            [quote=“Tom Elliott, post: 21886, member: 7271”]can you give me exact output of blkid for ext4 stuff?[/quote]
            i added ${partNum} to /tmp/status.fog, now i see what appens, and what command is launched for 2nd partclone command

            if not sufficient i add also debug at zero level to partimage arguments

            1 Reply Last reply Reply Quote 0
            • F
              fabritrento
              last edited by Jan 24, 2014, 3:43 PM

              [quote=“fabritrento, post: 21888, member: 21607”]i added ${partNum} to /tmp/status.fog, now i see what appens, and what command is launched for 2nd partclone command

              if not sufficient i add also debug at zero level to partimage arguments[/quote]

              the error is when says calculating bitmap progress

              contenent of /var/log/blkid.tab:
              <device DEVNO=“0x0801” TIME=“1390579226.27383” UUID=“E6282FE0282FAF0D” TYPE=“ntfs”>/dev/sda1</device>
              <device DEVNO=“0x0802” TIME=“1390579226.67856” UUID=“48b78e27-9a6e-4aab-a9b2-a4d2a50026f8” TYPE=“ext4”>/dev/sda2</device>
              <device DEVNO=“0x0803” TIME=“1390579226.131478” UUID=“65b19640-5de4-4e1b-ba5e-105f6dbcc8cc” TYPE=“swap”>/dev/sda3</device>

              1 Reply Last reply Reply Quote 0
              • T
                Troye Johnson
                last edited by Jan 24, 2014, 5:19 PM

                Hey Tom,

                So it looks like

                Basic task > Advanced > Inventory hardware does not work properly when the computer reboots it give invilad mac address and screws up the database. I have learned my lession and now make backups of all of my databases 🙂

                Also any reason why DNS won’t resolve the host names in the data base if i can ping them successfully?

                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 24, 2014, 5:27 PM

                  Because DNS records needs to be attached somewhere. Your basic network generally doesn’t store the DNS Hostnames. Windows DNS Servers tend to attach the netbios name and stores it within the dns server which is why it works in command prompt. So theoretically, this would work if your DNS Server IP is the same dns ip you use on your fog server AND the main DNS (/etc/resolv.conf) on your fog server uses this dns as well.

                  The other caveat to that is the Windows systems need the firewall elements either off, or enabled for hostname translation.

                  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 24, 2014, 5:28 PM

                    @Fabritreno,

                    My guess is the fstype isn’t working completely correct at this point.

                    ext4 should be able to find bitmap, but it could also be that the partitions are in LVM format and the extra parts you’re getting errors on don’t contain the bitmap information because they’re, technically, not in containment of bitmap.

                    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
                    • F
                      fabritrento
                      last edited by Jan 24, 2014, 5:32 PM

                      [quote=“fabritrento, post: 21891, member: 21607”]the error is when says calculating bitmap progress

                      contenent of /var/log/blkid.tab:
                      <device DEVNO=“0x0801” TIME=“1390579226.27383” UUID=“E6282FE0282FAF0D” TYPE=“ntfs”>/dev/sda1</device>
                      <device DEVNO=“0x0802” TIME=“1390579226.67856” UUID=“48b78e27-9a6e-4aab-a9b2-a4d2a50026f8” TYPE=“ext4”>/dev/sda2</device>
                      <device DEVNO=“0x0803” TIME=“1390579226.131478” UUID=“65b19640-5de4-4e1b-ba5e-105f6dbcc8cc” TYPE=“swap”>/dev/sda3</device>[/quote]

                      i resolved editing the partclone row, and cut the “-N -f 1” occurences (ncurses interface and refresh to 1). in this way (i don’t understand why at the moment) works

                      1 Reply Last reply Reply Quote 0
                      • J
                        jbsclm Developer
                        last edited by Jan 24, 2014, 6:54 PM

                        Please see attached for 2 files which resolve ( I hope ), the problems with capone.
                        they are
                        /fog/management/plugins/run.php
                        and
                        /fog/service/capone.php

                        [url=“/_imported_xf_attachments/0/517_run.zip?:”]run.zip[/url]

                        1 Reply Last reply Reply Quote 0
                        • T
                          Troye Johnson
                          last edited by Jan 24, 2014, 7:01 PM

                          tom,

                          is there a problem with how long the pc name can be?

                          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 24, 2014, 7:02 PM

                            Can be 15 characters long. It auto truncates to 15. It also checks that the hostname doesn’t already exist why?

                            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
                              Troye Johnson
                              last edited by Jan 24, 2014, 7:20 PM

                              because I have a computer named scanningstation and when I do that and submit a task it messes up the database I had to restore maybe three times now because of it I am trying to figure out what actually triggers it. I am not sure if it is because I am trying to enter the pc manually or if its something else.

                              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 25, 2014, 1:52 AM

                                jbsclm,

                                It appears that the FOG_NFS_DATADIR is removed from the database in this current version. My guess is it’s expected to get the information of this from the storage node class file. More dynamic I suppose but easy to miss. I’m sorry I missed it while coding, I didn’t know it wasn’t in the database anymore.

                                I’ve just modified the capone.php service file to use the Capone class and obtain the information relevant to how this worked.

                                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 25, 2014, 2:15 AM

                                  r1140 released.

                                  Should fix run.php and capone.php only in the proper order now.

                                  Hopefully this helps you out jbsclm. Please test it, there’s a lot of differences.

                                  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 Jan 26, 2014, 12:57 AM

                                    Finally got around to installing 0.33b in a Ubuntu 13.10 VM and found a small quirk to the install script. When you get to the point where it prompts the user to create a mysql root password, the script tells the user that setting the password isn’t mandatory, but if you leave it blank, it goes forward a step, and keeps coming back to the password prompt step. Obviously it’s not advisable to not use a password, but you may want to update the script text stating it’s mandatory, or allow a blank password

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Tom Elliott
                                      last edited by Jan 26, 2014, 1:57 AM

                                      That’s the mysql installation, not FOG. It asks three times.

                                      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
                                      • V
                                        VincentJ Moderator
                                        last edited by Jan 26, 2014, 12:14 PM

                                        it does warn that if you set a password… you need to set it in one of the config files so fog will actually work… it is the users choice to have a password or not.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tom Elliott
                                          last edited by Jan 26, 2014, 12:56 PM

                                          I’m currently rewriting the fog script. I’ve broken it into three smaller, and I think, more manageable scripts.

                                          fog.checkin (performs the checkin and variable assignments.
                                          fog.download (performs the download tasks)
                                          fog.upload (performs the upload tasks)
                                          fog (just deals with passing the tasking. appropriately.)

                                          I’m still testing but things seem to be a little bit better from my perspective. Still have to test dd, mpa, mps upload and all downloads, but just giving a heads up as to what I’m doing lately.

                                          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
                                          • 30
                                          • 31
                                          • 32
                                          • 33
                                          • 34
                                          • 77
                                          • 78
                                          • 32 / 78
                                          32 / 78
                                          • First post
                                            636/1559
                                            Last post

                                          173

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project