FOG Compatibility Test Failed
-
@Sebastian-Roth said:
See what you have in your apache error log when wget fails. Try google to find out where the apache error log is on your system (by the way, is it Debian/CentOS/Fedora/Arch??). Post the error message here if you can’t find a solution yourself.
I am re-upgrading the server. I was not able to find any logs anywhere in the system when upgrade failed last time. I will check the apache logs (after running the wget command) once upgrade is finished (till error).
I am installing FOG on Cent OS 6.7.
-
Not sure what happened but now it is not even reaching to the point where it reached earlier.
It stucks here-
Downloading inits, kernels, and the fog client…Failed!
I found the logs in “error_logs” directory, which shows below:
Stopping FOGMulticastManager: [FAILED]
Stopping FOGImageReplicator: [FAILED]
…/lib/common/functions.sh: line 717: /etc/rc.d/init.d/FOGSnapinReplicator: No such file or directory
Stopping FOGTaskScheduler: [FAILED]
…/lib/common/functions.sh: line 717: /etc/rc.d/init.d/FOGPingHosts: No such file or directory
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
mysqld (pid 6886) is running…
Stopping httpd: [ OK ]
Stopping php-fpm: [ OK ] -
I have re-installed and re-setup the FOG 1.2.0 again. I have the GUI and mysql working.
I have been trying to find out if I have all necessary RPMs, configurations etc. before I upgrade to Trunk.
I have followed the installation.txt file and updated my server. I did it last time as well. Should there be something else which I should take care before re-attempting the upgrade to Trunk?
-
@techlover28 said:
Downloading inits, kernels, and the fog client…Failed!
Are you behind a proxy server or connected directly to the internet?
-
@Sebastian-Roth said:
Are you behind a proxy server or connected directly to the internet?
As per feedback from network team, I am connected directly to the internet.
I passed the below section in my first attempt and did not get this error.
Downloading inits, kernels, and the fog client…Failed!
In the first attempt I got below error:
Backing up database…Failed!
https://forums.fogproject.org/topic/6551/fog-compatibility-test-failed/14 -
I agree here, if your fog server is behind a proxy server (i.e. you require to use a proxy server for internet access) there are some changes you need to make to allow this.
-
@george1421 said:
I agree here, if your fog server is behind a proxy server (i.e. you require to use a proxy server for internet access) there are some changes you need to make to allow this.
I am connected to the internet directly.
-
@techlover28 Sorry I should have refreshed before I posted. It almost appears that your fog server can’t resolve IP addresses according to the error. Did your network team just directly connect you or has it alway been this way? It appears that dns resolution is not setup??
-
Well then try (test-)downloading the kernel by hand and see what happens:
curl -ko "/tmp/bzImage" https://fogproject.org/kernels/bzImage
-
@Sebastian-Roth said:
Well then try (test-)downloading the kernel by hand and see what happens:
curl -ko "/tmp/bzImage" https://fogproject.org/kernels/bzImage
Actually this is what I was going to have the OP do to update the kernel without having to upgrade to the trunk (even though the trunk is a good choice)
-
@george1421 said:
@techlover28 Sorry I should have refreshed before I posted. It almost appears that your fog server can’t resolve IP addresses according to the error. Did your network team just directly connect you or has it alway been this way? It appears that dns resolution is not setup??
No worries. I have an internal IP assigned to the server with a default gateway IP. It has always been this way. I can directly download/install the RPMs from atomic yum repositories. I am able to get the IP when I try to ping google or fogproject.org.
ping google.com
PING google.com (216.58.197.78) 56(84) bytes of data.
64 bytes from maa03s21-in-f14.1e100.net (216.58.197.78): icmp_seq=1 ttl=57 time=42.3 ms
^C
— google.com ping statistics —
1 packets transmitted, 1 received, 0% packet loss, time 976ms
rtt min/avg/max/mdev = 42.327/42.327/42.327/0.000 msping forums.fogproject.org
PING fogproject.org (162.213.199.177) 56(84) bytes of data.
^C
— fogproject.org ping statistics —
7 packets transmitted, 0 received, 100% packet loss, time 6051ms -
@techlover28 from the command prompt on the fog server can you successfully execute the curl command Sebastian posted below? That will test the innerworkings of the download processes. Its possible that pings are allowed but not downloads in your company firewall. The curl command will test how well the downloads work.
BTW: The target of that curl download command IS the latest 64 bit kernel. All you need to do is rename your current kernel and then move this one into place to upgrade to the latest kernel without upgrading FOG.
-
@george1421 said:
Actually this is what I was going to have the OP do to update the kernel without having to upgrade to the trunk (even though the trunk is a good choice)
@Sebastian-Roth said:
Well then try (test-)downloading the kernel by hand and see what happens:
curl -ko "/tmp/bzImage" https://fogproject.org/kernels/bzImage
Does above mean similar to below post?
@george1421 said:
@techlover28 OK then, If you navigate to your web servers base directory (usually /var/www/html or /var/html) and then go to <www_base_dir>/fog/service/ipxe/ and rename bzImage and bzImage32 to bzImage.old and bzImage32.old
Then run the following commands to download the latest kernels
wget https://fogproject.org/kernels/bzImage
wget https://fogproject.org/kernels/bzImage32From there reboot your target device to load in the newest kernels. If something breaks with this target or any other ones, just roll back the changes you made to load the old kernels.
If yes, then it didn’t work last time when I tried. I can try again though.
@techlover28 said:
I have tried it (newer version of kernel) today. It says “Network - Fail” along with “Disk - Fail”. Older version of bzImage works with Network therefore as you mentioned, I did the rollback.
-
@techlover28 Yes that is the same. That is sad the newer kernels work not good. Maybe if you make a nice donation to the @Developers they would add your network driver and raid card to the FOG boot kernels
It looks like you may have to build your own kernel to get these specific drivers to work
-
[[modules:composer.user_said_in, @george1421, FOG Compatibility Test Failed]]
@techlover28 Yes that is the same. That is sad the newer kernels work not good.
Ah! yes, that is sad.
Maybe if you make a nice donation to the @Developers they would add your network driver and raid card to the FOG boot kernels
I earn $12000 (minus income tax) an year, not ashamed to tell it . Giving the fact that developers are so much helping and friendly, I was already thinking about giving a donation (not a nice amount but good percentage of my monthly income). Not that I am generous, but thankful for the help and support I have been getting instantly.
It looks like you may have to build your own kernel to get these specific drivers to work
I will try it and hope it goes well. If it doesn’t work, I may have to move to some other solution as I am under pressure to finish this task soon.
-
@techlover28 Right now unless the @Developers are willing to add them to the official build, then yes building your own kernel version is the only option. Its not that hard it just take some time to setup the environment. You can get the drivers right from the intel site and then just build them in.
-
Well wget and curl do kind of the same thing but they are still different tools. Have you tried using the command I posted? Because curl is used in the installer script. And I thought it would be a good idea to test exactly what is going on when you run the installer (which failed when downloading kernel/init/fog client).
Adding RAID drivers which are not included in the official kernel source is kind of a huge effort. We would need to keep those updated and tested. How are we going to do this not having that hardware at home.
On the other hand you can just try following the kernel compile wiki articles to build your own custom kernel. We are more than happy to help if you run into a problem with this.The NIC is a bit of a mystery to me. Should be I350-AM4 (quad port) if I got this correct from the mainboard manual. Those should be supported by driver ‘igb’ in old and new kernels! http://cateee.net/lkddb/web-lkddb/IGB.html
-
@Sebastian-Roth said:
Well wget and curl do kind of the same thing but they are still different tools. Have you tried using the command I posted? Because curl is used in the installer script. And I thought it would be a good idea to test exactly what is going on when you run the installer (which failed when downloading kernel/init/fog client).
Yes, I tried the command. It successfully downloaded a bzImage file under /tmp directory with size 6883968 bytes.
The download kernel part failed on the 2nd attempt, first attempt was successful which later got stuck at “Backing up database”.Adding RAID drivers which are not included in the official kernel source is kind of a huge effort. We would need to keep those updated and tested. How are we going to do this not having that hardware at home.
On the other hand you can just try following the kernel compile wiki articles to build your own custom kernel. We are more than happy to help if you run into a problem with this.I will surely give it a try, starting Monday.
The NIC is a bit of a mystery to me. Should be I350-AM4 (quad port) if I got this correct from the mainboard manual. Those should be supported by driver ‘igb’ in old and new kernels! http://cateee.net/lkddb/web-lkddb/IGB.html
Yes, you are correct. Please find more information below:
– ethtool -i eth0
driver: igb
version: 3.2.10-k
firmware-version: 1.4-8
bus-info: 0000:04:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes -
I had a problem with an older raid controller not being recognized by the centos/RHEL 7 kernel just yesterday. Would this happen to be an older hp smart array controller? Like 2008 or older?
You could try adding these host kernel arguments (in the gui for the host, register it manually if you haven’t already)hpsa.hpsa_allow_any=1 hpsa.hpsa_simple_mode=1
That might do the trick. These older array controllers are no longer supported by the RHEL kernels, this is where I got that info…
http://serverfault.com/questions/611182/centos-7-x64-and-hp-proliant-dl360-g5-scsi-controller-compatibility -
hi,
I rebuild the FOG server today and was able to move further on upgrade. This time it got stuck here:
====================================================================================
Downloading inits, kernels, and the fog client…OK
Comparing checksums of kernels and inits…Done
Enabling apache and fpm services on boot…OK
Creating SSL CA…OK
Creating SSL Private Key…OK
Creating SSL Certificate…OK
Creating auth pub key and cert…OK
Resetting SSL Permissions…OK
Setting up SSL FOG Server…OK
Restarting Apache2 for fog vhost…OK
Changing permissions on apache log files…OK
Backing up database…OKYou still need to install/update your database schema.
This can be done by opening a web browser and going to:http://192.168.1.1/fog/management
Press [Enter] key when database is updated/installed.
Setting up storage…OK
Setting up and starting DHCP Server…Failed!So I reconfigured the DHCP server and restarted its service manually with success.
Then I commented entire “installfog.sh” script for Trunk except last few lines where it executes all the functions like “configureDHCP” etc.
I executed “installfog.sh” again and it shows me below (everytime below is shown now with the commented “installfog.sh” script):
====================================================================================
- Setting up storage…OK
- Setting up and starting DHCP Server…Skipped
- Setting up and starting TFTP and PXE Servers…/lib/common/functions.sh: line 432: : No such file or directory
OK - Setting up and starting VSFTP Server…/lib/common/functions.sh: line 373: : No such file or directory
OK - Setting up FOG Snapins…OK
- Setting up UDPCast…OK
- Configuring UDPCast…OK
- Building UDPCast…OK
- Installing UDPCast…OK
- Installing FOG System Scripts…Failed!
====================================================================================