• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jburleson
    3. Posts
    J
    • Profile
    • Following 0
    • Followers 1
    • Topics 8
    • Posts 48
    • Best 11
    • Controversial 0
    • Groups 0

    Posts made by jburleson

    • RE: Migration from 0.32 to 1.3.0

      As I mentioned in the original post, I already fixed my issues.

      My original question still remains, does something need to be mentioned on the migration wiki page about this or was it just a one off issue. If it is not an isolated issue, I think it is appropriate to let people know that they will need to setup their groups again as well as the host service settings.

      posted in FOG Problems
      J
      jburleson
    • RE: Migration from 0.32 to 1.3.0

      @george1421 About 500 hosts. I am not sure what you are suggesting here is on topic since the post is about the Host Service Settings and Group Membership and not the images.

      posted in FOG Problems
      J
      jburleson
    • RE: Creating Group from Host Management Page

      Sweet. Ran the delete statement and it fixed the issue. I will pull the latest version down in the morning and rerun the installer.

      Thanks for the quick response everyone!

      posted in Bug Reports
      J
      jburleson
    • RE: Creating Group from Host Management Page

      Here is what I found from the database tables. Here is the list of members from a group that I create with just two hosts.

      mysql> select * from groupMembers where gmGroupID=68;
      +------+----------+-----------+
      | gmID | gmHostID | gmGroupID |
      +------+----------+-----------+
      | 1911 |      880 |        68 |
      | 1910 |        0 |        68 |
      | 1912 |      879 |        68 |
      +------+----------+-----------+
      3 rows in set (0.00 sec)
      

      HostIDs 880 and 879 real host. It is the second entry (HostID 0) that is for a fake host.

      mysql> select * from hosts where hostID = 0;
      Empty set (0.00 sec)
      

      Might be a loop iteration issue.

      posted in Bug Reports
      J
      jburleson
    • RE: Migration from 0.32 to 1.3.0

      I do have the sql backup from the old server. Whom should I email it to?

      posted in FOG Problems
      J
      jburleson
    • Creating Group from Host Management Page

      FOG:
      Running Version 8355
      SVN Revision: 5805

      Creating groups from the Host Management page adds a phantom Group Member.

      Steps to reproduce:

      1. Go to the Hosts Management Page
      2. Search for a host or hosts
      3. Select the host
      4. Scroll to the bottom and Create a new group
      5. Switch to the Group Management Page and take a look at the group you just created. The numbers of members listed in the bottom left will be 1 more than the actual numbers of members listed on the Membership page.

      This only occurs if you create the group from the Host Management page. If you create the group from the Group Management page and then add hosts from either the Group page or the Host Management page, the member number is correct.

      posted in Bug Reports
      J
      jburleson
    • Migration from 0.32 to 1.3.0

      Server Information:

      OS: Ubunu 16.04
      Apache2 - PHP 7.0
      Fog:
      Running Version 8355
      SVN Revision: 5805

      I followed the instructions for migration from 0.32 to 1.x.x from the wiki (https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_1.x.x#Migration_Upgrade) and for the most part it was successful. I did run into the following issues though.

      1. All Service Settings for all host were lost.
      2. Group Membership was 99% lost. I say 99% since some of the hosts still showed up under the group.

      The first two items, were not really a big deal for me. Inconvenient, but not too bad to recreate. Plus, it was a major upgrade so one should expect to have to recreate some settings. For me I just re-added the hosts to the appropriate groups and then used the group to set the service settings.

      Has any one else experienced these issues? Is it something that should be added to the wiki page on migration?

      posted in FOG Problems
      J
      jburleson
    • FOG in LXC Container - How to configure NFS Server

      I am currently working on converting my FOG server from OpenVZ to LXC. I am no expert, but here is what I did to get the NFS Server running inside the container.

      I run Proxmox 4.x but this should work for LXC in general. These instructions are from a post on the Proxmox Forum (https://forum.proxmox.com/threads/advice-for-file-sharing-between-containers.25704/#post-129006) and tweaked just a little.

      LXC OS: Ubuntu 16.04
      FOG Version: 1.3.0 (pulled from git)

      By default LXC has Apparmor enabled. There are two choices here, disable Apparmor or create a profile to allow NFS. I do not recommend disabling Apparmor, but it can be helpful for testing purposes.

      Option 1 - Disable Apparmor:

      • Edit the container configuration file and add the line lxc.aa_profile: unconfined.
        On Proxmox the configuration file is located at /etc/pve/lxc/CTID.conf, where CTID is the ID number of the container.

      Option 2 - Create an Apparmor profile that allows NFS:

      • Create the file /etc/apparmor.d/lxc/lxc-default-with-nfs with the following content.
      # Do not load this file.  Rather, load /etc/apparmor.d/lxc-containers, which
      # will source all profiles under /etc/apparmor.d/lxc
      
      profile lxc-container-default-with-nfs flags=(attach_disconnected,mediate_deleted) {  #include <abstractions/lxc/container-base>
      
      # allow NFS (nfs/nfs4) mounts.
        mount fstype=nfs*,
        mount fstype=rpc_pipefs,
      }
      
      • Reload Apparmor: apparmor_parser -r /etc/apparmor.d/lxc-containers
      • Edit the container configuration file and add the line lxc.aa_profile: lxc-container-default-with-nfs.
        On Proxmox the configuration file is located at /etc/pve/lxc/CTID.conf, where CTID is the ID number of the container.

      Make sure to restart your container after you make any changes to the configuration file.

      Hope this helps!

      posted in Tutorials
      J
      jburleson
    • 1
    • 2
    • 3
    • 3 / 3