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

    Bugs in FOG 0.33

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    49
    308
    400.9k
    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.
    • B
      BryceZ
      last edited by

      Astrouga, unless they’ve decided to change the way the /images directory creates and stores images, the /etc/exports file is correct. /images is for storing files that have been uploaded. /images/dev is for writing the image during the upload process. Once an image has completed uploading it is moved from /images/dev to /images. It’s to prevent people from just connecting over NFS to the /images share and start messing with image files.

      Thanks for tracking down all these bugs. Knowing where things break makes it easier to find what’s wrong or hasn’t been converted yet.

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

        BryceZ:

        Thanks for explanation. My fix was just to get things working. I did another full, clean install this morning. Here is what the default install (851 trunk) does on an image upload:
        "


        • An error has been detected! *

        Unable to create /images/d424be1d42d7


        • Computer will reboot in 1 minute! *

        [SIZE=2]"[/SIZE]
        where d424be1d42d7 is the ethernet address of the client I am attempting to pull an image from.

        Here is the exports file:

        more /etc/exports:
        /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
        /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)

        Altering the exports file the way I described earlier allowed imaging to work. Perhaps there is just a mistake in their code and it is attempting to write to the wrong folder. I was hoping that by documenting my issues and fixes, it would help the developers, but also get some other folks to test out fog in their environment. I’m going to try to put some time aside later today to look at the init.gz file and see what the client is trying to do.

        Cheers, astrouga

        1 Reply Last reply Reply Quote 0
        • R
          regad
          last edited by

          Where can I find the FOG 0.33 release ?
          I would like to test it and report eventual issues.

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

            I just download a tarball of the trunk from:

            [url]http://freeghost.svn.sourceforge.net/viewvc/freeghost/[/url]

            851 is the latest.

            –astrouga

            1 Reply Last reply Reply Quote 0
            • R
              regad
              last edited by

              Thank you.
              I’m starting the installation.

              1 Reply Last reply Reply Quote 0
              • B
                Blackout Developer
                last edited by

                @astrouga

                I have committed the missing class files - sorry!

                #2 - this is by design, /images/ should be read-only.

                The dir it’s writing to should be /images/dev/ i.e. /images/dev/mac_address

                There must be a bug that is not adding the dev directory to the path.

                #3 - good to hear, ill look into the service scripts more.

                #4 - Web UI code is yet to be created

                #5 - was missing ‘task type id’ from the link - also fixed this problem in group manager

                #6 - not sure why the disk info fails - will look into this more when i look at the dashboard again

                Keep the bug reports coming! It helps knowing where i should focus my efforts.

                1 Reply Last reply Reply Quote 0
                • B
                  Blackout Developer
                  last edited by

                  853 is up

                  • Renamed GroupMembers Classes to GroupAssociation Classes
                  • schemaupdater: Unique field setup for ‘groups’ and ‘groupMembers’ tables
                  • FOGManagerController: buildSelectBox(): ID is now listed after the object name
                  • Lots of ‘State ID’ changes for Tasks and Service Scripts - needs testing by imaging
                  • HostManagementPage: Action box to assign hosts to groups now works again
                  • HostManagementPage: Checkbox toggle works again
                  1 Reply Last reply Reply Quote 0
                  • B
                    Blackout Developer
                    last edited by

                    854

                    • FOGBase: Cleaned up logging functions - made more readable and less scary looking 🙂
                    • Group: Deploy: Hostnames now link to edit page of Host
                    • Updated edit icon
                    • JavaScript: FOGAjaxSearch: Fixed template issue not showing zeros

                    855

                    • JavaScript: Clean up unused JavaScript & tidy HTML for JavaScript - FOG now finds the JavaScript it needs automatically
                    • JavaScript: Condensed JavaScript
                    • AJAX Files: Removed unused AJAX files - these are deprecated as FOGPage now handles these requests
                    • Logging tweaks
                    • SystemUptime() function moved to FOGCore
                    • Dashboard: Fixed disk usage, image history and bandwidth meter
                    1 Reply Last reply Reply Quote 0
                    • B
                      Blackout Developer
                      last edited by

                      Need some imaging tests if possible as I’ve made a bunch of State ID changes.

                      I’d like to know if you can deploy -> boot -> image and have the task removed automatically.

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

                        Blackout, I’ll wipe my server and do a new install this morning. I’ll let you know how it goes.

                        Thanks for all the hard work!

                        1 Reply Last reply Reply Quote 0
                        • R
                          regad
                          last edited by

                          I don’t manage to upload an image from a host. When I’m in the upload menu I have only the choice to press the blue button :
                          “Deploy to host”.
                          In the .32 release there is in “basic tasks / upload” a grey button named : “upload image”

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

                            I did a clean install of Ubuntu 12.04 with Fog 33b (trunk 856) today. I only had time for limited testing. These are the items I came across. Sorry if some are the same as reported earlier…I just didn’t have time to compare:

                            1. Same issue with writing to the images directory. On an image creation task (upload), I get an error it can’t create a folder in /images/macaddressofclient. Looks like the /dev is being left out of the path.
                              I made /images folder rw so I could continue testing.

                            2. When I click on “Hosts Tasks --> Upload”, the page is a little confusing. The top says “Deploy Task: Upload” and the button to start it says “Deploy to hostname” where hostname is your client name. When I click on that, The next page says “Deploy image to host”…that doesn’t sound like an upload to me, so that is confusing.

                            3. Image upload works with change in #1. The task finishes on the client. No error, just a single line repeats over and over:
                              " *

                            …
                            "

                            I had to manually reboot the client. The task was still in the Task Management view and was listed in the mysql tasks table.

                            The delete task button (red box with x) removes the task from the view, but it does not remove the task from the mysql tasks table. If you refresh the Task Management page in the browser, the task comes back. I had to go back into the mysql db and delete the task. (One note is that I was able to remove tasks from the Task Management page if they had not started on the client.)

                            Also, the image file lives in a folder that is based on the mac address of the client, and not the task name that I assigned when I created the task. So to deploy that image, I had to change the name of the directory or the “image path” in the image defintion.

                            1. Deploying an image finished and the computer rebooted. The task was not deleted though. Had to do it manually through mysql. Also, my image did not actually work, but I think that is my fault. The imaging process is still really slow for me. I can provide more info on this later if needed.

                            2. All of the links on the “Other Information” page produce a FOG DEBUG error involving missing Methods in classes.

                            3. A few tiny version-related things to note: When I run the installfog.sh installer script, it still says version 0.32. Also, in the init.gz file used to boot the client, the /usr/share/fog/lib/funcs.sh file has the 0.32 version in the “displayBanner()” function, so you see that version when the client boots up and is about to start the task.

                            Cheers, astrouga

                            1 Reply Last reply Reply Quote 0
                            • B
                              Blackout Developer
                              last edited by

                              857

                              • schemaupdater: Added table: taskLog
                              • Added Classes: TaskLog, TaskLogManager
                              • Host: createImagePackage(): If task is upload, add ‘dev/’ to end of ‘storage’ kernel arg - fixes bug reported
                              • Task: Added: removePXEFile() - Removes PXE File
                              • Task: Added: cancel() - Sets Task to ‘Cancelled’ status and removes PXE File
                              • Active Tasks: “red x” now Cancels Task instead of Destroying
                              • Host + Group Management: Added ‘Deploy’ icon to row results
                              • Host + Group Management: Renamed various links
                              • Deploy: Update titles and buttons to reflect Task Type and Target

                              #1 - Fixed
                              #2 - Fixed
                              #3 - Probably not fixed - please test again
                              #4 - Related to #3
                              #5 - These pages arent complete yet
                              #6 - Will be updated on final packaging, thank you for reminding

                              1 Reply Last reply Reply Quote 0
                              • falkoF
                                falko Moderator
                                last edited by

                                wow development is fast, even if it has been quite up until now. Hats of to Blackout and the other developers + those testing.

                                now ubuntu 12.04 Server is out i will give the 0.33 trunk a test

                                1 Reply Last reply Reply Quote 0
                                • B
                                  Blackout Developer
                                  last edited by

                                  859

                                  • Storage Management Web UI Pages completed
                                  • schemaupdater: Added unique fields for tables: nfsgroups & nfsgroupmembers
                                  • Updated remove icon
                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Blackout Developer
                                    last edited by

                                    860

                                    • Host: createImagePackage(): Now checks if a Storage Node was found before checking if it’s valid
                                    • Host: Updated layout, MAC now sits under Hostname
                                    • Tweaked icons on search results for Host, Group, Image and Snapins
                                    • Image: Now enforces OS requirement
                                    • Made ‘delete’ pages consistent between all Management Pages
                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      Blackout Developer
                                      last edited by

                                      861

                                      • Installer: TFTP: Removed ‘\n’ in pxelinux file
                                      • Installer: TFTP: Ubuntu: Installer now correctly detects /etc/default/tftpd-hpa file and installs if file found

                                      862

                                      • Task Status ID Updates in service script functions - image upload and download now work as intended - please verify
                                      • StorageGroup Class simplified
                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        Fernando Gietz Developer
                                        last edited by

                                        I try the fog 0.33b installer under Centos 5. I found a “bug”: the packages are not right under this distro.

                                        [CODE]lib/redhat/config.sh

                                        packages=“httpd php php-gd php-cli php-gettext mysql mysql-server php-mysql dhcp tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ htmldoc perl perl-Crypt-PasswdMD5 lftp clamav-update”;
                                        [/CODE]

                                        The php-gettext not exists in Centos nor RedHat. And the php packages install an old version of PHP, and this 0.33b version don’t works, you must install php53 packages.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          Blackout Developer
                                          last edited by

                                          Are there PHP 5.3 packages yet?

                                          Last time i looked you had to manually compile php 5.3 for CentOS. Booooo

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            Fernando Gietz Developer
                                            last edited by

                                            No problems found with Centos 5.
                                            [QUOTE][root@r800145 administrador]# yum search php53
                                            Loaded plugins: fastestmirror
                                            Loading mirror speeds from cached hostfile

                                            • base: ftp.cica.es
                                            • extras: ftp.cica.es
                                            • rpmforge: mir01.syntis.net
                                            • updates: ftp.cica.es
                                              ============================================================== Matched: php53 ===============================================================
                                              php53.i386 : PHP scripting language for creating dynamic web sites
                                              php53-bcmath.i386 : Un módulo para aplicaciones PHP para utilizar la biblioteca bcmath
                                              php53-cli.i386 : Interfase de línea de comando para PHP
                                              php53-common.i386 : Archivos comunes para PHP
                                              php53-dba.i386 : Un módulo de capas de abstracción de bases de datos para aplicaciones PHP
                                              php53-devel.i386 : Files needed for building PHP extensions
                                              php53-gd.i386 : Módulo para aplicaciones PHP para usar la biblioteca de gráficos gd.
                                              php53-imap.i386 : A module for PHP applications that use IMAP
                                              php53-intl.i386 : Internationalization extension for PHP applications
                                              php53-ldap.i386 : A module for PHP applications that use LDAP
                                              php53-mbstring.i386 : Módulo para aplicaciones PHP que necesitan manejar cadenas multi-byte
                                              php53-mysql.i386 : A module for PHP applications that use MySQL databases
                                              php53-odbc.i386 : A module for PHP applications that use ODBC databases
                                              php53-pdo.i386 : Un módulo de abstracción de acceso a bases de datos para aplicaciones PHP
                                              php53-pgsql.i386 : A PostgreSQL database module for PHP
                                              php53-process.i386 : Modules for PHP script using system process interfaces
                                              php53-pspell.i386 : A module for PHP applications for using pspell interfaces
                                              php53-snmp.i386 : A module for PHP applications that query SNMP-managed devices
                                              php53-soap.i386 : Un módulo para utilizar el protocolo SOAP en aplicaciones PHP
                                              php53-xml.i386 : Un módulo para aplicaciones PHP el cuál utiliza XML
                                              php53-xmlrpc.i386 : Módulo para aplicaciones PHP que usan el protocolo XML-RPC
                                              [/QUOTE]

                                            The installed packages
                                            php53.i386 5.3.3-5.el5 installed
                                            php53-cli.i386 5.3.3-5.el5 installed
                                            php53-common.i386 5.3.3-5.el5 installed
                                            php53-gd.i386 5.3.3-5.el5 installed
                                            php53-mysql.i386 5.3.3-5.el5 installed
                                            php53-pdo.i386 5.3.3-5.el5 installed

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 15
                                            • 16
                                            • 2 / 16
                                            • First post
                                              Last post

                                            196

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project