Latest FOG 0.33b
-
3.0.2-1ubuntu2
-
vsftpd: version 3.0.2 ubuntu 14.04
-
Running Ubuntu server 14.04 LTS with the latest SVN 0.33B
when trying to boot from network get tftp error file not found.removed apache error log, it was because mysql did not start on boot, had to manually start it.
-
Just attempted an upgrade from fog 0.32 to fog-rc. Followed the instructions on wiki [url]http://fogproject.org/wiki/index.php?title=Upgrade_to_0.33[/url]
Ran into an issue when updating the schema see image below. When trying to list all images to modify the OS, we get another error as in the other image below.
[ATTACH=full]696[/ATTACH]
[ATTACH=full]697[/ATTACH]We have 5400 Hosts in our database.
[url=“/_imported_xf_attachments/0/696_1.jpg?:”]1.jpg[/url][url=“/_imported_xf_attachments/0/697_2.jpg?:”]2.jpg[/url]
-
Just an update on the above issues.
Seems to happen if Images table Field imageNFSGroupID is set to a storage Node that no longer exists.
Also we had a issue when listing all hosts. If the host table field hostImage has a value of -1 we get an error, may also error for the value 0.
-
This is part of why it is Highly recommended to do a fresh install over an upgrade. While I realize the reasons for wanting to “upgrade” there are quite a few changes, additions, and removals on the database side of it.
-
at the bottom of the FOG web page you may want to add more of a space between FOG Project: and FOG Client:
-
FOG Quick Registration within FOG System Settings.
Is it possible to get an AD check box in there like there is for Image_ID?
(so when you quick reg a new machine it is auto assigned to join AD)
-
r1547 released.
Doesn’t add the AD checkbox quite yet But it fixes a few minor issues I found with service settings and Groups.
-
I hope this isn’t something too trivial (like the last time), but here goes:
I installed Windows 8.1, installed .net 3.5, fog service, sysprep-ed (simple generalize), imaged the disk (NTFS, resizable). When I tried to deploy, I got this (see pic) and it stucks here. Any hint on what I might be doing wrong?Second question: is there any compression when uploading the image? PartClone said the image has over 8GB when uploading, but on the server I got
[CODE]root@gen8:/images# du -ch testW1/
5.1G testW1/
5.1G total[/CODE][url=“/_imported_xf_attachments/0/698_2014-05-02 16.27.04.jpg?:”]2014-05-02 16.27.04.jpg[/url]
-
[quote=“Mr.Myagy, post: 26451, member: 23824”]I hope this isn’t something too trivial (like the last time), but here goes:
I installed Windows 8.1, installed .net 3.5, fog service, sysprep-ed (simple generalize), imaged the disk (NTFS, resizable). When I tried to deploy, I got this (see pic) and it stucks here. Any hint on what I might be doing wrong?[/quote]
When you “deployed” the image, did you do a unicast or multicast job? It multicast, check that the FOGMulticastManager service is running.
[quote=“Mr.Myagy, post: 26451, member: 23824”]Second question: is there any compression when uploading the image? PartClone said the image has over 8GB when uploading, but on the server I got
[CODE]root@gen8:/images# du -ch testW1/
5.1G testW1/
5.1G total[/CODE][/quote]There is compression. The default is set to 9, but you can change the compression rating on the FOG GUI under FOG Boot Settings tab in FOG Settings. 9 is best compression, slowest upload, 0 is worst compression, fastest upload.
-
[quote=“Tom Elliott, post: 26453, member: 7271”]When you “deployed” the image, did you do a unicast or multicast job? It multicast, check that the FOGMulticastManager service is running.
There is compression. The default is set to 9, but you can change the compression rating on the FOG GUI under FOG Boot Settings tab in FOG Settings. 9 is best compression, slowest upload, 0 is worst compression, fastest upload.[/quote]
I was trying to do a multicast deploy (is this the difference between the deploy and download buttons ?), so I investigated on the FOGMulticastManager.
[CODE]root@gen8:~# /etc/init.d/FOGMulticastManager start
- Starting FOG Computer Imaging Solution: FOGMulticastManager [fail]
[/CODE]
and since I couldn’t find any logs, I also tried the bash debug (-x). I got this:
[CODE]root@gen8:/etc/init.d# /etc/init.d/FOGMulticastManager start- PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/bin:/usr/sbin
- DAEMON=/opt/fog/service/FOGMulticastManager/FOGMulticastManager
- NAME=FOGMulticastManager
- PIDFILE=/var/run/fog/FOGMulticastManager.pid
- DESC=‘FOG Computer Imaging Solution’
- test -f /opt/fog/service/FOGMulticastManager/FOGMulticastManager
- . /lib/lsb/init-functions
+++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
++ for hook in ‘$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)’
++ ‘[’ -r /lib/lsb/init-functions.d/20-left-info-blocks ‘]’
++ . /lib/lsb/init-functions.d/20-left-info-blocks
++ for hook in ‘$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)’
++ ‘[’ -r /lib/lsb/init-functions.d/50-ubuntu-logging ‘]’
++ . /lib/lsb/init-functions.d/50-ubuntu-logging
+++ LOG_DAEMON_MSG=
++ FANCYTTY=
++ ‘[’ -e /etc/lsb-base-logging.sh ‘]’
++ true - case “$1” in
- log_begin_msg ‘Starting FOG Computer Imaging Solution: FOGMulticastManager’
- log_daemon_msg ‘Starting FOG Computer Imaging Solution: FOGMulticastManager’
- ‘[’ -z ‘Starting FOG Computer Imaging Solution: FOGMulticastManager’ ‘]’
- log_use_fancy_output
- TPUT=/usr/bin/tput
- EXPR=/usr/bin/expr
- ‘[’ -t 1 ‘]’
- ‘[’ xxterm ‘!=’ x ‘]’
- ‘[’ xxterm ‘!=’ xdumb ‘]’
- ‘[’ -x /usr/bin/tput ‘]’
- ‘[’ -x /usr/bin/expr ‘]’
- /usr/bin/tput hpa 60
- /usr/bin/tput setaf 1
- ‘[’ -z ‘]’
- FANCYTTY=1
- case “$FANCYTTY” in
- true
- /usr/bin/tput xenl
++ /usr/bin/tput cols - COLS=237
- ‘[’ 237 ‘]’
- ‘[’ 237 -gt 6 ‘]’
++ /usr/bin/expr 237 - 7 - COL=230
- log_use_plymouth
- ‘[’ n = y ‘]’
- plymouth --ping
- printf ’ * Starting FOG Computer Imaging Solution: FOGMulticastManager ’
- Starting FOG Computer Imaging Solution: FOGMulticastManager ++ /usr/bin/expr 237 - 1
- /usr/bin/tput hpa 236
+ printf ’ ’
++ dirname /var/run/fog/FOGMulticastManager.pid - mkdir -p /var/run/fog
- ‘[’ ‘!’ -f /var/run/fog/FOGMulticastManager.pid ‘]’
- log_end_msg 1
- ‘[’ -z 1 ‘]’
- ‘[’ 230 ‘]’
- ‘[’ -x /usr/bin/tput ‘]’
- log_use_plymouth
- ‘[’ n = y ‘]’
- plymouth --ping
- printf ‘\r’
- /usr/bin/tput hpa 230
+ ‘[’ 1 -eq 0 ‘]’ - printf ‘[’
[+ /usr/bin/tput setaf 1 - printf fail
fail+ /usr/bin/tput op - echo ‘]’
] - return 1
- exit 0
[/CODE]
As an alternative, I also tried the download button (this is probably unicast). After some minor successes, one line said:
[CODE]* Performing Clean up (Stage 1)…Done- Performing Clean up (Stage 2)…error: /dev/sda2: No such file or directory
[/CODE]
Isn’t fog creating the partitions before deployment? I must be missing something here, because it deployed fine on /dev/sda1 (windows boot partition).
And I now checked the apache error log. Nothing appears when Partclone hangs.
- Starting FOG Computer Imaging Solution: FOGMulticastManager [fail]
-
[quote=“Raff, post: 26446, member: 298”]Just an update on the above issues.
Seems to happen if Images table Field imageNFSGroupID is set to a storage Node that no longer exists.
Also we had a issue when listing all hosts. If the host table field hostImage has a value of -1 we get an error, may also error for the value 0.[/quote]
I had this issue too, but its an easy fix. The hosts that have a negative value are the hosts that did not have an image assigned. You can either assign an image, or select the “Please select an option” option at the top of the drop down and hit ‘Update’. What you select doesn’t seem to matter, just so long as that setting gets touched. I did this manually since I have a relatively small hosts list still, but for larger lists I imagine someone with decent MySQL skills could make a quick query.
EDIT: Tom you glorious man thank you so much for adding the changelog…
-
Maybe this code?
[code]update hosts set hostImage=‘0’ where hostImage=‘-1’;[/code] -
I updated to r1556, and now [FONT=Consolas]FOGMulticastManager[/FONT] works. However, I still cannot deploy because of:
[CODE]* Performing Clean up (Stage 1)…Done
- Performing Clean up (Stage 2)…error: /dev/sda2: No such file or directory[/CODE]
Any help please?
-
[quote=“Tom Elliott, post: 26467, member: 7271”]Maybe this code?
[code]update hosts set hostImage=‘0’ where hostImage=‘-1’;[/code][/quote]Yes, that code. Amazing what at least basic MySQL skills can do for you. I need to buck up and force myself to learn it.
[quote=“Mr.Myagy, post: 26468, member: 23824”]I updated to r1556, and now [FONT=Consolas]FOGMulticastManager[/FONT] works. However, I still cannot deploy because of:
[CODE]* Performing Clean up (Stage 1)…Done
- Performing Clean up (Stage 2)…error: /dev/sda2: No such file or directory[/CODE]
Any help please?[/quote]
Is this a clean install or an OEM install?
-
When you uploaded the image, did all of the data get copied properly?
Image location is:
/images/<IMAGENAME>It sounds like, to me, the image uploaded, but didn’t create/copy the proper MBR file.
-
[quote=“Tom Elliott, post: 26470, member: 7271”]When you uploaded the image, did all of the data get copied properly?
Image location is:
/images/<IMAGENAME>It sounds like, to me, the image uploaded, but didn’t create/copy the proper MBR file.[/quote]
need2, this is a clean 0.33b install, but I updated it several times. I can do a fresh install if that is the issue.
Tom, this is what I have:
[CODE]:~$ ls -lah /images/testW1/
total 5.1G
drwxrwxrwx 2 root root 4.0K May 2 16:07 .
drwxrwxrwx 6 root root 4.0K May 2 16:23 …
-rwxrwxrwx 1 root root 512 Apr 26 15:45 d1.mbr
-rwxrwxrwx 1 root root 222M Apr 26 15:46 d1p1.img
-rwxrwxrwx 1 root root 1.5G Apr 26 15:54 d1p2.img
-rwxrwxrwx 1 root root 13M May 2 16:07 rec.img.000
-rwxrwxrwx 1 root root 3.4G May 2 16:22 sys.img.000
[/CODE] -
What’s worrying me is the fact that you have d1p1.img d1p2.img AND rec.img.000 and sys.img.000
What type of image is this? Multi-Part Single Disk, or Single Disk Resizable?
-
[quote=“Tom Elliott, post: 26480, member: 7271”]What’s worrying me is the fact that you have d1p1.img d1p2.img AND rec.img.000 and sys.img.000
What type of image is this? Multi-Part Single Disk, or Single Disk Resizable?[/quote]
“NTFS Only, Resizable” and Windows 8 for OS.