Organization Name: IUT de Bordeaux
Location : Bordeaux, France
Approximate Number of systems: ~50 for now. Will increase to 1000
Since 2016/11
Best posts made by marcolefo
-
RE: Organizations Using FOG
-
RE: Multicast error : Get Fog Host data
@sebastian-roth thanks
Perhaps we have a problem with our database. I have activated MySQL log and I can see a lot of theses warnings even il no task is active.
171204 17:16:13 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe Statement: INSERT INTO `hosts` (`hostID`,`hostName`,`hostDesc`,`hostIP`,`hostImage`,`hostBuilding`,`hostCreateDate`,`hostLastDeploy`,`hostCreateBy`,`hostUseAD`,`hostADDomain`,`hostADOU`,`hostADUser`,`hostADPass`,`hostADPassLegacy`,`hostProductKey`,`hostPrinterLevel`,`hostKernelArgs`,`hostKernel`,`hostDevice`,`hostInit`,`hostPending`,`hostPubKey`,`hostSecToken`,`hostSecTime`,`hostPingCode`,`hostExitBios`,`hostExitEfi`,`hostEnforce`) VALUES ('613','GMP-ONEWAY','Created by FOG Reg on November 23, 2017, 6:01 pm','','12','0','2017-11-23 18:01:46','2017-11-27 14:44:04',...
And this one exactly when FOG fails to get host data
71204 17:22:44 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe Statement: INSERT INTO `imageGroupAssoc` (`igaImageID`,`igaStorageGroupID`,`igaPrimary`) VALUES ('','1','') ON DUPLICATE KEY UPDATE `igaImageID`=VALUES(`igaImageID`),`igaStorageGroupID`=VALUES(`igaStorageGroupID`),`igaPrimary`=VALUES(`igaPrimary`)
Latest posts made by marcolefo
-
RE: FOGTaskScheduler 100% CPU
So I have deleted the entry with no data
DELETE FROM powerManagement WHERE pmMin = '' OR pmHour = '';
The problem is resolved.
I have backed up the table before -
RE: FOGTaskScheduler 100% CPU
Maybe it’s a problem ?
MariaDB [fog]> SELECT * FROM powerManagement WHERE pmAction LIKE '%wol%'; +-------+----------+-------+--------+-------+---------+-------+----------+------------+ | pmID | pmHostID | pmMin | pmHour | pmDom | pmMonth | pmDow | pmAction | pmOndemand | +-------+----------+-------+--------+-------+---------+-------+----------+------------+ | 15414 | 3756 | | 6 | | | | wol | 0 | | 15392 | 3464 | | | | | | wol | 0 | | 15422 | 3749 | | 6 | | | | wol | 0 | | 15405 | 3751 | 0 | | * | * | * | wol | 0 | | 15406 | 3750 | 0 | | * | * | * | wol | 0 | | 15402 | 3754 | 0 | | * | * | * | wol | 0 | | 15403 | 3753 | 0 | | * | * | * | wol | 0 | | 15376 | 3451 | | | | | | wol | 0 | | 15412 | 3758 | 0 | | * | * | * | wol | 0 | | 15411 | 3757 | 0 | | * | * | * | wol | 0 | | 15423 | 3747 | | 6 | | | | wol | 0 | | 15371 | 3598 | | | | | | wol | 0 | | 15361 | 3594 | | | | | | wol | 0 | | 15362 | 3586 | | | | | | wol | 0 | | 15358 | 3587 | | | | | | wol | 0 | | 15359 | 3585 | | | | | | wol | 0 | | 15394 | 3475 | | | | | | wol | 0 | | 15395 | 3471 | | | | | | wol | 0 | | 15380 | 3474 | | | | | | wol | 0 | | 15408 | 3749 | 0 | | * | * | * | wol | 0 | | 15409 | 3747 | 0 | | * | * | * | wol | 0 | | 15373 | 3454 | | | | | | wol | 0 | | 15427 | 3759 | | 6 | | | | wol | 0 | | 15417 | 3753 | | 6 | | | | wol | 0 | | 15418 | 3752 | | 6 | | | | wol | 0 | | 15360 | 3584 | | | | | | wol | 0 | | 15421 | 3748 | | 6 | | | | wol | 0 | | 15391 | 3463 | | | | | | wol | 0 | | 15370 | 3596 | | | | | | wol | 0 | | 15419 | 3751 | | 6 | | | | wol | 0 | | 15377 | 3450 | | | | | | wol | 0 | | 15385 | 3455 | | | | | | wol | 0 | | 15386 | 3460 | | | | | | wol | 0 | | 15387 | 3465 | | | | | | wol | 0 | | 15388 | 3461 | | | | | | wol | 0 | | 15389 | 3473 | | | | | | wol | 0 | | 15390 | 3462 | | | | | | wol | 0 | | 15396 | 3472 | | | | | | wol | 0 | | 15397 | 3468 | | | | | | wol | 0 | | 15410 | 3746 | 0 | | * | * | * | wol | 0 | | 15407 | 3748 | 0 | | * | * | * | wol | 0 | | 15416 | 3754 | | 6 | | | | wol | 0 | | 15398 | 3469 | | | | | | wol | 0 | | 15399 | 3467 | | | | | | wol | 0 | | 15400 | 3756 | 0 | | * | * | * | wol | 0 | | 15375 | 3453 | | | | | | wol | 0 | | 15357 | 3593 | | | | | | wol | 0 | | 15413 | 3759 | 0 | | * | * | * | wol | 0 | | 15393 | 3470 | | | | | | wol | 0 | | 15401 | 3755 | 0 | | * | * | * | wol | 0 | | 15374 | 3449 | | | | | | wol | 0 | | 15364 | 3588 | | | | | | wol | 0 | | 15365 | 3595 | | | | | | wol | 0 | | 15366 | 3591 | | | | | | wol | 0 | | 15367 | 3590 | | | | | | wol | 0 | | 15368 | 3583 | | | | | | wol | 0 | | 15369 | 3592 | | | | | | wol | 0 | | 15404 | 3752 | 0 | | * | * | * | wol | 0 | | 15424 | 3746 | | 6 | | | | wol | 0 | | 15425 | 3757 | | 6 | | | | wol | 0 | | 15420 | 3750 | | 6 | | | | wol | 0 | | 15415 | 3755 | | 6 | | | | wol | 0 | | 15382 | 3466 | | | | | | wol | 0 | | 15383 | 3457 | | | | | | wol | 0 | | 15384 | 3456 | | | | | | wol | 0 | | 15378 | 3452 | | | | | | wol | 0 | | 15379 | 3459 | | | | | | wol | 0 | | 15426 | 3758 | | 6 | | | | wol | 0 | | 15381 | 3458 | | | | | | wol | 0 | | 15363 | 3589 | | | | | | wol | 0 | +-------+----------+-------+--------+-------+---------+-------+----------+------------+ 70 rows in set (0,001 sec)
-
FOGTaskScheduler 100% CPU
Hi
When my FOG do nothing (no task scheduled, no task active) I have a CPU at 100% with FOGTaskScheduler.
I have read this forum, it seems it’s not normal
But I didnot find a way to repair this.The fogscheduler.log :
cat /var/log/fog/fogscheduler.log [04-03-25 10:31:46 am] ================================== === ==== ===== ==== === ========= == === == === === ======== ==== == ==== === === ======== ==== == ========= === ==== ==== == ========= === ======== ==== == === === === ======== ==== == ==== === === ========= == === == === === ========== ===== ==== ================================== ===== Free Opensource Ghost ====== ================================== ============ Credits ============= = https://fogproject.org/Credits = ================================== == Released under GPL Version 3 == ================================== [04-03-25 10:31:46 am] Interface Ready with IP Address: 127.0.0.1 [04-03-25 10:31:46 am] Interface Ready with IP Address: 127.0.1.1 [04-03-25 10:31:46 am] Interface Ready with IP Address: X.X.X.X [04-03-25 10:31:46 am] Interface Ready with IP Address: fog.local [04-03-25 10:31:46 am] * Starting TaskScheduler Service [04-03-25 10:31:46 am] * Checking for new items every 60 seconds [04-03-25 10:31:46 am] * Starting service loop [04-03-25 10:31:46 am] * 70 tasks found. [04-03-25 10:31:46 am] * 0 scheduled task(s) to run. [04-03-25 10:31:46 am] * 70 power management task(s) to run.
I don’t understant where are these 70 tasks.
Do you see the problem ?
-
1.5.6 : Small local disk and the rest unallocated
Hi
Following this post : https://forums.fogproject.org/topic/13260/small-local-disk-and-the-rest-unallocated/6
Since FOG upgrade 1.5.4 to 1.5.6 the partitions are randomly often badly resized.
We have test with the new init.xz and init_32.xz and the FOG settings (FTP Server and increase KERNEL RAMDISK SIZE from 127000 to 275000) with no change.
We have rollback to 1.5.4, it’s working.
d1.partitions
label: gpt label-id: 342E0E46-FCE0-493B-B86B-CCD863B21A14 device: /dev/sda unit: sectors first-lba: 34 last-lba: 134217694 /dev/sda1 : start= 2048, size= 1021952, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=5219620A-6815-455F-B2AC-90053839B61B, name="Basic data partition", attrs="RequiredPartition GUID:63" /dev/sda2 : start= 1024000, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=CCB33AC5-D395-4B86-9429-FC1DF03DA6DF, name="EFI system partition", attrs="GUID:63" /dev/sda3 : start= 1228800, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=E12B2745-C17B-4AFD-AF85-EC7B8024826E, name="Microsoft reserved partition", attrs="GUID:63" /dev/sda4 : start= 1261568, size= 132954112, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=51D443EE-8D96-4A4C-99A1-36F5B34FD10E, name="Basic data partition"
d1.minimum.partitions
label: gpt label-id: 342E0E46-FCE0-493B-B86B-CCD863B21A14 device: /dev/sda unit: sectors first-lba: 34 last-lba: 134217694 /dev/sda1 : start= 2048, size= 26234, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=5219620A-6815-455F-B2AC-90053839B61B, name="Basic data partition", attrs="RequiredPartition GUID:63" /dev/sda2 : start= 1024000, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=CCB33AC5-D395-4B86-9429-FC1DF03DA6DF, name="EFI system partition", attrs="GUID:63" /dev/sda3 : start= 1228800, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=E12B2745-C17B-4AFD-AF85-EC7B8024826E, name="Microsoft reserved partition", attrs="GUID:63" /dev/sda4 : start= 1261568, size= 50129436, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=51D443EE-8D96-4A4C-99A1-36F5B34FD10E, name="Basic data partition"
d1.fixed_size_partitions
:2:3
-
RE: Small local disk and the rest unallocated
Hi
We face the same problem.
I have installed the new init files and modified the ramdisk size but nothing change.Here is Gparted after cloning
-
RE: Issues after upgrading from 1.4.3 to 1.4.4
@kagashe I had the same issue but the patch worked in my case.
Just I have uninstalled the plugin before applying the patch.
Just to be sure that you have the good file in place, can you do this ?
cd ~ wget https://raw.githubusercontent.com/FOGProject/fogproject/6717f382177e714c1bd22eb11627133cfd4e0ebe/packages/web/lib/fog/plugin.class.php diff ~/plugin.class.php /var/www/fog/lib/fog/plugin.class.php
-
RE: Multicast error : Get Fog Host data
@sebastian-roth No problem
We have tested with 3 clients and then 1 client. All client were booted.
But today, it’s working… I think it’s not a FOG problem but our router and IGMP proxy.
I will look to it.
Thanks for your help
-
RE: Multicast error : Get Fog Host data
I have :
- followed this docs https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL and done all the Database Maintenance Commands
- relaunched foginstaller.sh
And now it hangs on partclone
I have also given a password to mysql root user. It’s a clue ?
Thanks
-
RE: Multicast error : Get Fog Host data
@sebastian-roth here it is :
mysql> desc hosts; +------------------+---------------+------+-----+---------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+---------------+------+-----+---------------------+----------------+ | hostID | int(11) | NO | PRI | NULL | auto_increment | | hostName | varchar(16) | NO | UNI | NULL | | | hostDesc | longtext | NO | | NULL | | | hostIP | varchar(25) | NO | MUL | NULL | | | hostImage | int(11) | NO | | NULL | | | hostBuilding | int(11) | NO | | NULL | | | hostCreateDate | timestamp | NO | | CURRENT_TIMESTAMP | | | hostLastDeploy | datetime | NO | | NULL | | | hostCreateBy | varchar(50) | NO | | NULL | | | hostUseAD | char(1) | NO | MUL | NULL | | | hostADDomain | varchar(250) | NO | | NULL | | | hostADOU | longtext | NO | | NULL | | | hostADUser | varchar(250) | NO | | NULL | | | hostADPass | varchar(250) | NO | | NULL | | | hostADPassLegacy | longtext | NO | | NULL | | | hostProductKey | longtext | YES | | NULL | | | hostPrinterLevel | varchar(2) | NO | | NULL | | | hostKernelArgs | varchar(250) | NO | | NULL | | | hostKernel | varchar(250) | NO | | NULL | | | hostDevice | varchar(250) | NO | | NULL | | | hostInit | longtext | YES | | NULL | | | hostPending | enum('0','1') | NO | | NULL | | | hostPubKey | longtext | NO | | NULL | | | hostSecToken | longtext | NO | | NULL | | | hostSecTime | timestamp | NO | | 0000-00-00 00:00:00 | | | hostPingCode | varchar(20) | YES | | NULL | | | hostExitBios | longtext | YES | | NULL | | | hostExitEfi | longtext | YES | | NULL | | | hostEnforce | enum('0','1') | NO | | 1 | | +------------------+---------------+------+-----+---------------------+----------------+ 29 rows in set (0.00 sec) mysql> desc imageGroupAssoc; +-------------------+---------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------------+---------------+------+-----+---------+----------------+ | igaID | mediumint(9) | NO | PRI | NULL | auto_increment | | igaImageID | mediumint(9) | NO | MUL | NULL | | | igaStorageGroupID | mediumint(9) | NO | | NULL | | | igaPrimary | enum('0','1') | NO | | NULL | | +-------------------+---------------+------+-----+---------+----------------+ 4 rows in set (0.00 sec)