I have no idea, because I’m not sure how to make that change permanent. I’m making the change on a boot P50 booted in debug mode in FOG.
Posts made by rbaldwin
-
RE: dmraid and mdadm?
-
dmraid and mdadm?
Server
- FOG Version: Running Version 1.3.0-RC-27 SVN Revision: 6023
- OS: Ubuntu 14.04
Client
- Service Version: ??
- OS: Windows 7 64bit
I’m attempting to image a Lenovo P50 with two HDD configured as a RAID0 array.
I tried setting “Host Kernel Argument” as I do on my Lenovo W530 to “mdraid=true”, but it doesn’t find the md array.
Booting into Debug.
I only have a empty container /dev/md0, I don’t get a /dev/md126 or md127 like I have on my W530.
/proc/mdstats shows no available devices.During my troubleshooting I booted the machine with an Ubuntu 16.04 Live CD and the was able to access the RAID array using dmraid, so I started looking at dmraid in FOG. It isn’t working, looking into the /etc/init.d/S20dmraid script I found It’s not starting because the init script stops at line:8
modprobe dm-mod >/dev/null 2>&1The dm-mod module isn’t install in /lib or /lib64 so it errors, I’m not sure why that stops the bash script.
As demonstrated below:
Here I’ve added an echo to the script after the modprobe and ran it, nothing was outputted
https://goo.gl/photos/CrTtpzBb4wZXURmSAThen I removed the modprobe line:
https://goo.gl/photos/tqSBoFqjv53dmZ318As you can see now the script runs and it finds my raid volume.
Is this a bug or is dmraid deliberately disabled?
-
RE: Invalid Multicast session
I was able to upgrade to RC19 and am able to multicast still. So this is resolved.
-
RE: Invalid Multicast session
Was anything changed in how FOG starts the udp-sender between RC15,16 and 17? You did a fresh install of RC17 on Ubuntu 14.04 and were able to create a Multicast task? And use that task to image a system?
-
RE: Invalid Multicast session
I’m hesitant to upgrade now that it’s working. Maybe Monday. I did try fresh installs of both 1.3.0-RC-15 and1.3.0-RC-16 during this process without any luck resolving the issue. Only a fresh install of RC13 resolved the issue.
-
RE: Invalid Multicast session
Okay, I’m able to multicast with FOG using the version of the FOG software(1.3 RC 13) a colleague who could multicast has.
All the following were done as root, by first using the command “sudo -i” to become root.
- I stopped all the FOG services.
Find the FOG services:
ls -lah /etc/init.d/FOG*Stop Them:
service FOGImageReplicator stop
service FOGMulticastManager stop
service FOGPingHosts stop
service FOGScheduler stop
service FOGSnapinReplicator stop- I deleted the fog user
deluser fog
Uninstalled FOG using these instructions:
https://wiki.fogproject.org/wiki/?title=Uninstall_FOG-
Finally I removed the /opt/fog folders and /etc/fog and /var/www/html/fog
rm -f -r /opt/fog
rm -f -r /etc/fog
rm -f -r /var/www/html/fog -
Then I went to my git checkout path, where I have FOG git repo and checked out the commit a college has that can multicast.
cd /root/fogproject
git checkout 249cda491927fff27967cf9c5b8cb371b49837d0 -
Finally I reinstalled FOG
cd /root/fogproject/bin
./installfog.sh
When installation finished I now had FOG 1.3 RC13, I was able to create a multicast task. When the task was started it showed up on the Task Scheduler> Active Mutlicast task screen and as a process.
ps -ef | grep udp-sender
Output:
root 21694 18671 0 11:04 ? 00:00:00 sh -c cat /images/baseW5xxwin764vmw12Aug2016/d1p1.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 600 --portbase 64654 --full-duplex --ttl 32 --nokbd --nopointopoint;
root 21696 21694 0 11:04 ? 00:00:00 /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 600 --portbase 64654 --full-duplex --ttl 32 --nokbd --nopointopointI then booted a host and the multicast session started without any issues.
-
RE: Invalid Multicast session
yes, as I said earlier. I can image just fine if I use the deploy button. The issue is FOG isn’t starting udp-sender.
#grep udp-sender * -R
lib/fog/config.class.php: define(‘UDPSENDERPATH’, ‘/usr/local/sbin/udp-sender’);#ls -lah /usr/local/sbin/udp-sender
-rwxr-xr-x 1 root root 65K Oct 27 12:14 /usr/local/sbin/udp-senderps -ef | grep udp-sender
root 28532 28390 0 13:11 pts/4 00:00:00 grep --color=auto udp-senderHere are some pictures of the process.
http://imgur.com/a/1ZuuO -
RE: Invalid Multicast session
I uninstalled FOG as described here:
https://wiki.fogproject.org/wiki/?title=Uninstall_FOGReinstalled a Fresh install of:
Running Version 1.3.0-RC-16
SVN Revision: 5983Still not Multicast task is created when I create a multicast task and when the host boot they complain: “Invalid Multicast session”
I can multicast in troubleshooting with udp-sender/udp-receiver as described in the “Testing Multicast” section of https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_Downloading_-_Multicast
-
RE: Invalid Multicast session
yes, if I put a tail on the log file I see new entries for “* No tasks found!”
-
RE: Invalid Multicast session
I don’t think it is starting a multicast session. That the issue I’m attempting to resolve.
-
RE: Invalid Multicast session
@Wayne-Workman
Thanks, I’ve looked at that, that’s what got me looking at the DB and what changes when I create a task. I assume when I create a multicast task, it should be added to the multicastSessions table and the task should show up in the WEB interface under Task Manager > “Active Multicast Tasks”@Tom-Elliott
Okay, I did that. Same result.So next I dropped the fog database entirly in mysql with “drop database fog;”
Removed the /var/www/html/fog folder with “rm -rf /var/www/{html/},fog”
and re-ran the installer.
Same result… When I create any multicast task, no multicast task is shown in Task Manager > Active Multicast task and if I boot the host it complains “Invalid Multicast session”
mysql> select * from multicastSessions
-> ;
Empty set (0.00 sec)mysql> select * from multicastSessionsAssoc
-> ;
±------±-----±----+
| msaID | msID | tID |
±------±-----±----+
| 1 | 0 | 1 |
±------±-----±----+
1 row in set (0.00 sec)mysql> select * from tasks;
±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
| taskID | taskName | taskCreateTime | taskCheckIn | taskHostID | taskImageID | taskStateID | taskIsDebug | taskCreateBy | taskForce | taskScheduledStartTime | taskTypeID | taskPCT | taskBPM | taskTimeElapsed | taskTimeRemaining | taskDataCopied | taskPercentText | taskDataTotal | taskNFSGroupID | taskNFSMemberID | taskNFSFailures | taskLastMemberID | taskWOL | taskPassreset | taskShutdown |
±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
| 1 | Multi-Cast Task | 2016-10-26 12:00:25 | 0000-00-00 00:00:00 | 1 | 1 | 1 | 0 | fog | 0 | 0000-00-00 00:00:00 | 8 | 0000000000 | | | | | | | 0 | 0 | | 0 | 1 | | |
±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
1 row in set (0.00 sec) -
RE: Invalid Multicast session
no, this is a single server installation.
Here is some information that you might find handy:
When I create a multi-cast task. I see a new entry added to multicastSessionsAssoc table in the DB
For example the below is me trying to create a single host multicast session(as a test)
select * from multicastSessionsAssoc;
±------±-----±----+
| msaID | msID | tID |
±------±-----±----+
| 43 | 0 | 70 |
±------±-----±----+
1 row in set (0.00 sec)I see an entry added to tasks table in the DB
mysql> select * from tasks where taskid=70;
±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
| taskID | taskName | taskCreateTime | taskCheckIn | taskHostID | taskImageID | taskStateID | taskIsDebug | taskCreateBy | taskForce | taskScheduledStartTime | taskTypeID | taskPCT | taskBPM | taskTimeElapsed | taskTimeRemaining | taskDataCopied | taskPercentText | taskDataTotal | taskNFSGroupID | taskNFSMemberID | taskNFSFailures | taskLastMemberID | taskWOL | taskPassreset | taskShutdown |
±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
| 70 | Multi-Cast Task | 2016-10-26 14:27:54 | 0000-00-00 00:00:00 | 5 | 3 | 1 | 0 | fog | 0 | 0000-00-00 00:00:00 | 8 | 0000000000 | | | | | | | 1 | 1 | | 0 | 1 | | |
±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
1 row in set (0.00 sec)Nothing is added to the multicastSessions table
select * from multicastSessions;
Empty set (0.00 sec) -
RE: Invalid Multicast session
[10-26-16 1:42:32 pm] Interface Ready with IP Address: 10.67.16.19
[10-26-16 1:42:32 pm] Interface Ready with IP Address: 10.67.55.10
[10-26-16 1:42:32 pm] * Starting MulticastManager Service
[10-26-16 1:42:32 pm] * Checking for new items every 10 seconds
[10-26-16 1:42:32 pm] * Starting service loop
[10-26-16 1:42:32 pm] * No tasks found!The last line repeating 156 times. repeating every 10 seconds
-
RE: Invalid Multicast session
No, just an ordinary multi-cast to a group. At least I don’t think so, it never prompts me for a name for the task.
I click Group Management, then I click click “List all Groups” then I click the Multi-cast button in the “Tasking” column.I can image the host individually with the Deploy button in the Tasking column, but Multi-cast fails.
-
Invalid Multicast session
Server
-
FOG Version: Running Version 1.3.0-RC-16
SVN Revision: 5981 -
OS: Ubuntu 14.04
Client
- Service Version:
- OS:
Description
Fresh install of Version 1.3.0-RC-15, upgraded to Version 1.3.0-RC-16. I was having the issues
https://forums.fogproject.org/topic/8833/can-image-individual-host-but-not-group-location-plugin/4Upgraded to 1.3.0-RC-16, and it does resolve the image issue. However a new multi-cast task issues is seen.
I click the multi-cast button on a group of 5. I confirm my selection. On the Active Task screen I see the multi-cast deploy task for all 5 of the hosts. If I click the “Active Multicast Task” link, there are no multi-cast task.
When I boot these host, they complain:
Invalid Multicast session -