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

Fog on Proxmox ?

Scheduled Pinned Locked Moved
General Problems
proxmox virtual machine
5
15
5.2k
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
    Bristow 0
    last edited by Bristow 0 Dec 10, 2020, 4:04 AM Dec 10, 2020, 10:04 AM

    Hi !

    I did not find a recent answer to my question.

    It’s quite simple, I wanted to know if Fog was fully compatible with the Proxmox 6.3 virtualization solution?
    It would make maintenance easier for me.

    Thank you for your answers.

    G 1 Reply Last reply Dec 10, 2020, 10:37 AM Reply Quote 0
    • G
      george1421 Moderator @Bristow 0
      last edited by Dec 10, 2020, 10:37 AM

      @bristow-0 I can say I have several instances of FOG running on my home virtual lab that is based on proxmox. I don’t recall needing to do anything special when I setup the proxmox server to support FOG other than making sure the network adapter was bridged so NAT wasn’t used.

      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!

      B 1 Reply Last reply Dec 10, 2020, 11:14 AM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Dec 10, 2020, 11:01 AM

        @Bristow-0 @george1421 Does Proxmox still provide lightweight Linux container as well? I remember setting FOG up in a container years ago and it needed some adjustments with NFS kernel module as far as I remember.

        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

        G S 2 Replies Last reply Dec 10, 2020, 11:05 AM Reply Quote 0
        • G
          george1421 Moderator @Sebastian Roth
          last edited by george1421 Dec 10, 2020, 5:06 AM Dec 10, 2020, 11:05 AM

          @sebastian-roth Does it still support containers, yes. I have not used them. I’ve used the traditional VM approach (what I’m most familiar with coming from the vSphere world). The modern proxmox is very robust. I haven’t needed to go “under the hood” at all to make things work. It works right out of the box.

          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!

          1 Reply Last reply Reply Quote 0
          • B
            Bristow 0 @george1421
            last edited by Dec 10, 2020, 11:14 AM

            @george1421 Fine, thanks for your quick response !

            FOG is a fabulous project 👍

            1 Reply Last reply Reply Quote 0
            • S
              Smoblikat @Sebastian Roth
              last edited by Smoblikat Dec 10, 2020, 12:28 PM Dec 10, 2020, 6:27 PM

              @sebastian-roth I have fog containers running in proxmox, IIRC the issues are mostly related to apparmor profiles and ubuntu. I need to allow specifically allow NFS permissions on a per VM (container) basis in the config file, ive tested with Ubuntu 16.04, 18.04, and currently running 20.04. I think most of this is documented in my internal wiki, I can provide more information if needed.

              B 1 Reply Last reply Dec 18, 2020, 3:49 PM Reply Quote 1
              • B
                Bristow 0 @Smoblikat
                last edited by Dec 18, 2020, 3:49 PM

                Hello @smoblikat

                I couldn’t get FOG to work in an LXC container, I’m still coming across a server NFS problem.
                Here is the error in the FOG install logs:

                 * Setting up and starting NFS Server..........................Failed!
                
                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                !! The installer was not able to run all the way to the end as   !!
                !! something has caused it to fail. The following few lines are  !!
                !! from the error log file which might help us figure out what's !!
                !! wrong. Please add this information when reporting an error.   !!
                !! As well you might want to take a look at the full error log   !!
                !! in /root/fogproject-1.5.9/bin/error_logs/fog_error_1.5.9.log !!
                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                
                Dec 18 15:35:31 fogserver systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
                Failed to enable unit: Unit file nfs.service does not exist.
                Failed to stop nfs.service: Unit nfs.service not loaded.
                Failed to start nfs.service: Unit nfs.service not found.
                Unit nfs.service could not be found.
                
                

                I found a few tips on the forums but none of them worked. I’m trying to install FOG 1.5.9 on Proxmox 6.3-2 and Debian 10.

                What do you recommend? I’m a bit disappointed 😞
                Thanks for your answers and happy holidays.

                H 1 Reply Last reply Jan 16, 2021, 11:30 PM Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Dec 19, 2020, 8:21 AM

                  @bristow-0 said in Fog on Proxmox ?:

                  I found a few tips on the forums but none of them worked.

                  Please tell us more about what exactly you have tried so far. It’s way easier for us to help you when we know what you tried so far and what outcome it had.

                  Not sure why you say you are disappointed. This is an open forum where people try to help in their free time and nothing to count on like a paid support (which is usually not as responsive as we are but anyway).

                  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

                  B 1 Reply Last reply Dec 19, 2020, 10:58 AM Reply Quote 0
                  • B
                    Bristow 0 @Sebastian Roth
                    last edited by Dec 19, 2020, 10:58 AM

                    @sebastian-roth

                    No problem regarding my disappointment. I am especially sorry that I didn’t succeed like a great one 🙂

                    I know many open source projects and I contribute to some of them: PeerTube, OpenStreetMap. I’m very happy to have discovered Fog and to have been able to quickly clone posts and 1 classe. I work in a French school with limited IT resources.

                    So, to answer your question, I followed a tutorial from the forum.

                    I started to disable apparmor on my container with :

                     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.
                    

                    and I restarted container and the script but not better.

                    Then I did step 2 of this page: https://wiki.fogproject.org/wiki/index.php?title=Installation#LXC but no better.

                    I also tried to enable NFS in the options. Anyway, I think I did everything but I wonder if I did some things wrong.

                    So, what do you advise me for FOG on Proxmox 6.3-2? Maybe I’ll have to start from scratch… and focus on one action, but which one? and how do you know if the NFS server is running without having to restart the script?

                    Thanks for your help!

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth Dec 19, 2020, 6:00 AM Dec 19, 2020, 11:51 AM

                      @Bristow-0 What I get from a search on the web (don’t use Proxmox myself currently) the changes to apparmor were needed in Proxmox version 5 but version 6 seems to be a different story again.

                      The very last post on this topic in the Proxmox forums says that you can create the container a different way and it should work: https://forum.proxmox.com/threads/is-it-possible-to-run-a-nfs-server-within-a-lxc.24403/page-2 (I have not tested this and have no idea if it’s correct or not)
                      Similar information here: https://forum.proxmox.com/threads/proxmox-6-privileged-lxc-container-all-processes-are-inactive.67337/

                      @Smoblikat Which version of Porxmox do you use?

                      @jburleson Are you still around and using Proxmox? Maybe there is an update to your topic: https://forums.fogproject.org/topic/7978/fog-in-lxc-container-how-to-configure-nfs-server

                      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

                      B 1 Reply Last reply Jan 9, 2021, 11:04 AM Reply Quote 1
                      • B
                        Bristow 0 @Sebastian Roth
                        last edited by Jan 9, 2021, 11:04 AM

                        @sebastian-roth

                        Finally, I dropped LXC in Proxmox 6 and used a KVM-based VM to virtualize my Fog server.

                        It works perfectly as it is.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Jan 11, 2021, 4:23 PM

                          @Bristow-0 We just had someone report that it might be possible to do using LXC container using certain options: https://forums.fogproject.org/post/140339

                          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

                          B 1 Reply Last reply Jan 15, 2021, 6:53 PM Reply Quote 0
                          • B
                            Bristow 0 @Sebastian Roth
                            last edited by Jan 15, 2021, 6:53 PM

                            @sebastian-roth Too late 😞 it doesn’t matter 🙂

                            1 Reply Last reply Reply Quote 0
                            • H
                              Huecuva @Bristow 0
                              last edited by Jan 16, 2021, 11:30 PM

                              @bristow-0 I’m running FOG 1.5.9 in a Buster 10 VM on Proxmox 6.1-3 and it’s mostly working fine. I imagine a significantly newer version of Proxmox wouldn’t have any issues. I was able to register and capture an imagine from a Ryzen 7 3700X machine. I’m just having issues booting my HTPC from ipxe for some reason I can’t figure out.

                              G 1 Reply Last reply Jan 16, 2021, 11:31 PM Reply Quote 0
                              • G
                                george1421 Moderator @Huecuva
                                last edited by Jan 16, 2021, 11:31 PM

                                @huecuva said in Fog on Proxmox ?:

                                I’m just having issues booting my HTPC from ipxe for some reason I can’t figure out.

                                Please start a new thread so we can discuss

                                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!

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post

                                246

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project