Hey, testing with 1.6 I have found that I’m having trouble creating tasks for hosts. When trying to create any task you get a toast notification in the top right saying ‘Internal Server Error.’
I saw a number of other posts advising to check the apache logs however it doesn’t appear to create an entry when the task creation fails.
Is there other log files I could check for more information?
Im running Centos 7.5 with mysql Ver 15.1 Distrib 5.5.60-MariaDB.
@vincitytaymodaimo said in I have some questions !!!!:
Is there a way to make multiple tasks run one after another for the same host, except using scheduling or crone-style?
What I am trying to understand if I’m able to accomplish a php form with a few checkbox that will make the host do 1 task after another (with reboots in between). I didn’t look yet in the database structure but is there any option right now for, for example, "task1, status (queued, completed, running), task2, status etc.
If there isn’t any, I guess it won’t be very hard to accomplish it unless there are any failed trials I’m not aware of as a user.
I guess you could do something like this using the API.
I noticed there is an auto OS detection code, is it working yet? When does it trying to detect the installed OS, and can it detect a crashed/unbootable OS?
Not sure what you’re referring to here. Where does the OS get auto detected? (this one is problematic anyway, since you can install multiple OS per disk)
Is there a way to pass fog variables from FOG’s PXELinux (such as $mac, $ip, $hostname) to a dos application running from a memdisk image?
Not that I’m aware of. A memdisk image would have no way to access iPXE variables.
Also is there any way to update the database from DOS after the application is over - for example, running a diagnostic dos app and when it returns to dos, make fog server know whether it completed or failed?
Anything scheduled as a task can. Others do not, by default.
I thought of making network drivers load after exiting the application and upload a file to the tftp server named "<mac-address>-completed, then make a line in the init phase checking if the task completed successfully and changing it’s state, or else is there another way to access mysql server from DOS?
There are some driver scripts floating about (postdownloadscripts) that will install drivers after deployment. They don’t report to the database itself, but they do output info to the screen.
Clients never access the database itself, at best they contact the web server which may or may not access the database.
@plegrand Well it IS a different issue. Basically, a chain loading error is roughly equivalent to a blue screen in windows. Where refind not identifying the proper boot partition is a problem. The end result is that it doesn’t boot, but for different reasons.
If you change the default boot order in the firmware to the hard drive first does it boot as expected?
Well, I have tested the installer og FOG 1.5.4 and works fine but first you need something.
Add the remi-php70 repository
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm (I had installed it)
yum-config-manager --enable remi-php70
yum -y update
The last command update the php70 to the remi-php70 version (in my case php 7.0.32) and desinstalled the php70w version (I installed the php 7.0 version from webtonic repository)
I run the installer and works fine. I will test it again in the production server, if it is success, please, close the ticket