Bugs in FOG 0.33



  • I am using fog0.33b latest build as far as I know ( not sure how to check through) I have manged to upload a windows 8 image , using legacy boot devices, and have then deployed that image to another pc, worked ok. however each time I deploy an image after the partclone bit the the pc updates database , get cat:co.txt:no such file or directory…followed repeatedly by no active task found for host…( attached image) also I dont believe multicast is working with 0.33b , any update or help with any of these issues would be appriciated , thanks everyone !!

    [url="/_imported_xf_attachments/0/475_20140110_131704_resized.jpg?:"]20140110_131704_resized.jpg[/url]


  • Senior Developer

    I’ve not, fully, tested Windows 8 and imaging yet, but I would venture to guess you’re saying the drive has never been initialized quite yet. What revision of FOG are you working with? Is it a partimage or partclone setup?

    I ask because I’ve had to make a few changes to how the partitions are created, and it sounds like it’s failing in creating the partitions when it needs to.

    Everything I’ve tested with many of the latest changes seems to have worked well, but I have not quite yet gotten to test Windows 8, which I’m sorry.



  • Hi!

    This may not be a bug as such, but more of a request for help on a Windows 8 deployment issue I’m having in fog 0.33 during testing. Hope that’s ok!

    I have successfully uploaded an image of a Windows 8 laptop (disabled secure boot and changed to legacy BIOS before upload), however I swap out the hard drive for a brand new blank disk, but when i deploy the image (again, secure boot disabled and legacy BIOS) the task completes instantly following the ‘Checking Hard Disks’ section of the deploy process. It passes the ‘Restoring MBR’ section, then passes the ‘Checking Hard Disks’ section and comes back with ‘Task Completed’ instantly, no image progress screen.

    I’m guessing this is because the new disk is not pre formatted/partitioned, but i assumed FOG would take care of that from the existing image that i uploaded?

    Can anyone please confirm for me?

    Many Thanks
    LA



  • [quote=“pmonstad, post: 18432, member: 17422”]Chinese language?? After installing (testing user interface) most menues seams to appear in Chinese language? Why, I have not entered any setting about this?[/quote]

    You can choose the locale to use on the login screen, maybe it has the wrong one selected? ;)


  • Senior Developer

    for htmldoc, install rpmforge repo. I installed on clean install of centos 6.4 and had no issue.



  • [quote=“Tom Elliott, post: 18435, member: 7271”]I’ve uploaded a new revision to try addressing these issues. I don’t know if it’s all fixed, but the rpcbind/nfs issue should be now![/quote]

    Thanks, works now except one: line 288 setupFreshClam: command not found on Centos 6.4 and elrepo defined.


  • Senior Developer

    I’ve uploaded a new revision to try addressing these issues. I don’t know if it’s all fixed, but the rpcbind/nfs issue should be now!


  • Senior Developer

    dag’s repo typically install clamav and freshclam in different locations that the elrepo packages. At least when I’ve had to play with my mailserver clamav setup!



  • [quote=“Tom Elliott, post: 18431, member: 7271”]Not sure about the confirmPackageInstallation error, I’ve seen that issue, though it’s cause no real problems. It seems like, for some reason, it’s not calling sourcing the right file. This is fine by itself, though as it’s only the process that confirms if a package has installed.

    NFS Server issues shouldn’t be an issue, though it’s probable because of when I had to fix the database issue. Centos checks if the packages mysql, mysql-server, and php-mysql are installed and if they’re not, it checks for mariadb, mariadb-server, and php-mysqlnd, I think it’s here that we’re seeing the confirmPackageInstall error.

    To fix the NFS issue, perform:
    [code]service rpcbind restart; service nfs restart[/code]
    Then try again. It should be fine.

    I’ve not tested 6.5, but for clamav to install properly, it needs the elrepo packages, not the dag packages, verify that this is the case![/quote]

    Hm, I wrote dag but I think I installed elrepo as epel-release-6-8.noarch.rmp Right?



  • Chinese language?? After installing (testing user interface) most menues seams to appear in Chinese language? Why, I have not entered any setting about this?


  • Senior Developer

    Not sure about the confirmPackageInstallation error, I’ve seen that issue, though it’s cause no real problems. It seems like, for some reason, it’s not calling sourcing the right file. This is fine by itself, though as it’s only the process that confirms if a package has installed.

    NFS Server issues shouldn’t be an issue, though it’s probable because of when I had to fix the database issue. Centos checks if the packages mysql, mysql-server, and php-mysql are installed and if they’re not, it checks for mariadb, mariadb-server, and php-mysqlnd, I think it’s here that we’re seeing the confirmPackageInstall error.

    To fix the NFS issue, perform:
    [code]service rpcbind restart; service nfs restart[/code]
    Then try again. It should be fine.

    I’ve not tested 6.5, but for clamav to install properly, it needs the elrepo packages, not the dag packages, verify that this is the case!



  • Error in installation script (CentOS 6.5). When installing on a brand new setup I get an error at line 239: confirmPackageInstallation: command not found. Also error Failed to start NFS Server and setupFreshClam (had to manually install DAG repository to install htmldoc and clamav, but clamav seams to fail on Centos.


  • Senior Developer

    r977 release,

    Should address wrong image type setting for capone if using that plugin.


  • Senior Developer

    Should be fixed with r976 build, both of these things.


  • Senior Developer

    I will look into that, sorry!, it’s more for if the name is being changed.



  • Yeah, lib/pages/HostManagementPage.class.php checks if the hostname already exist… But obviously, if I’m editing it, it obviously exists hehe… too tired to fix, but that’s not cool, it requires a name change every time I update a host ;)



  • Hi,
    I spotted a bug on the Image edit page, here’s a diff, but it’s just the path not being displayed (it tries to get $_POST[‘file’] which probably comes from a bad copy/paste). Also, the heading was wrong (add, instead of edit image definition).

    I have a feeling the host edit page has some inconsistency as well…

    [CODE]Index: ImageManagementPage.class.php

    — ImageManagementPage.class.php (révision 975)
    +++ ImageManagementPage.class.php (copie de travail)
    @@ -240,7 +240,7 @@

                // TODO: Put table rows into variables -> Add hooking
                ?>
    
    •          <h2><?php print _("Add new image definition"); ?></h2>
      
    •          <h2><?php print _("Edit image definition"); ?></h2>
                <form method="POST" action="<?php print $this->formAction; ?>">
                <input type="hidden" name="add" value="1" />
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
      

    @@ -248,7 +248,7 @@
    <tr><td><?php print _(“Image Description”); ?></td><td><textarea name=“description” rows=“5” cols=“65”><?php print $Image->get(‘description’); ?></textarea></td></tr>
    <tr><td><?php print _(“Storage Group”); ?></td><td><?php print $this->FOGCore->getClass(‘StorageGroupManager’)->buildSelectBox($Image->get(‘storageGroupID’)); ?></td></tr>
    <tr><td><?php print _(“Operating System”); ?></td><td><?php print $this->FOGCore->getClass(‘OSManager’)->buildSelectBox($Image->get(‘osID’)); ?></td></tr>

    •                  <tr><td><?php print _("Image Path"); ?></td><td><?php foreach($this->FOGCore->getClass('StorageNodeManager')->find() AS $StorageNode){if($StorageNode->isMaster()){print $StorageNode->get('path');}} ?><input type="text" name="file" id="iFile" value="<?php print $_POST['file']; ?>" /></td></tr>
      
    •                  <tr><td><?php print _("Image Path"); ?></td><td><?php foreach($this->FOGCore->getClass('StorageNodeManager')->find() AS $StorageNode){if($StorageNode->isMaster()){print $StorageNode->get('path');}} ?><input type="text" name="file" id="iFile" value="<?php print $Image->get('path'); ?>" /></td></tr>
                        <tr><td><?php print _("Image Type"); ?></td><td><?php print $this->FOGCore->getClass('ImageTypeManager')->buildSelectBox($Image->get('imageTypeID')); ?></td></tr>
                        <tr><td colspan=2><center><input type="submit" value="<?php print _("Update"); ?>" /></center></td></tr>                     
                </table>
      

    [/CODE]

    Cheers
    GIlou


  • Senior Developer

    Capone should now be, sort of, operational. Plugins are back from what I can tell. Again, as I’ve never used them, I haven’t really got a clue. I got it functioning within the DB, but I can’t tell if it’s functioning after that point.

    r927 out.

    Hopefully it’s all good.

    EDIT: Had to create a class, but forgot to initially add it to the last commit action. It’s up now. r928


  • Moderator

    I think the only “plug-in” for FOG right now is Capone.



  • yeah sure no worries, thank you! :)

    Thanks/Br
    LA


Log in to reply
 

282
Online

7.0k
Users

14.2k
Topics

134.3k
Posts