• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

DHCP problems on storage nodes

Scheduled Pinned Locked Moved Solved
FOG Problems
4
62
15.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    Greg Plamondon Testers @george1421
    last edited by Jan 17, 2018, 3:33 PM

    @george1421

    ok, I have the S40network modiefied and the init repacked. do I need to run the same command for testing?

    1 Reply Last reply Reply Quote 0
    • G
      Greg Plamondon Testers @george1421
      last edited by Jan 17, 2018, 3:50 PM

      @george1421

      I am getting an error in the S40network file.
      alt text

      G 1 Reply Last reply Jan 17, 2018, 4:06 PM Reply Quote 0
      • G
        george1421 Moderator @Greg Plamondon
        last edited by george1421 Jan 17, 2018, 10:17 AM Jan 17, 2018, 4:06 PM

        @greg-plamondon Whelp, that’s why I’m not a programmer 😉

        Here is what needs to be fixed, sorry.

        This is the bad line

        if [ $ustat -eq 0 && $cstat -eq 0 ]; then
        

        This is what it should have been

        if [[ $ustat -eq 0 && $cstat -eq 0 ]]; then
        

        Awe, crud and then the next errors you will find are a few lines down.

        		if [ $ustat -eq 1 ]; then
        			echo "## DHCP failed on $iface ##"
        		fi
        		if [ $cstat -eq 1 ]; then
        			echo "## The Master FOG server failed responded to our query ##"
        		fi
        

        need to have the brackets too

        		if [[ $ustat -eq 1 ]]; then
        			echo "## DHCP failed on $iface ##"
        		fi
        		if [[ $cstat -eq 1 ]]; then
        			echo "## The Master FOG server failed responded to our query ##"
        		fi
        

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        G 3 Replies Last reply Jan 17, 2018, 4:37 PM Reply Quote 1
        • G
          Greg Plamondon Testers @george1421
          last edited by Greg Plamondon Jan 17, 2018, 10:40 AM Jan 17, 2018, 4:37 PM

          @george1421

          alt text

          alt text

          alt text

          1 Reply Last reply Reply Quote 0
          • G
            Greg Plamondon Testers @george1421
            last edited by Jan 17, 2018, 4:48 PM

            @george1421

            My question is if the connection is good “## We have an IP address on eth0 and the Master FOG server responded to our query ##” Why does it then disconnect the eth0 interface and attempt to obtain an IP when it already has one that is working?

            1 Reply Last reply Reply Quote 0
            • G
              Greg Plamondon Testers @george1421
              last edited by Jan 17, 2018, 4:51 PM

              @george1421

              now if I issue a: /etc/init.d/S40network restart
              I get this:
              alt text

              G 1 Reply Last reply Jan 17, 2018, 4:57 PM Reply Quote 0
              • G
                george1421 Moderator @Greg Plamondon
                last edited by george1421 Jan 17, 2018, 10:58 AM Jan 17, 2018, 4:57 PM

                @greg-plamondon That looks perfect. If you now key in fog you can single step through deployment. Or just cancel the task on the fog server and then pxe boot this again, the vm should image. At least from a networking point everything is golden.

                Is there any chance to do this on one of the broken systems?

                You will see if there is an error, it will loop through this code 3 times then give up. IN this case it only when through once because it worked.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                G 2 Replies Last reply Jan 17, 2018, 5:12 PM Reply Quote 0
                • G
                  Greg Plamondon Testers @george1421
                  last edited by Jan 17, 2018, 5:12 PM

                  @george1421

                  hmmm
                  alt text

                  1 Reply Last reply Reply Quote 0
                  • G
                    Greg Plamondon Testers @george1421
                    last edited by Greg Plamondon Jan 17, 2018, 11:39 AM Jan 17, 2018, 5:39 PM

                    @george1421
                    here is a video:
                    Youtube FOG

                    G 1 Reply Last reply Jan 17, 2018, 5:40 PM Reply Quote 0
                    • G
                      george1421 Moderator @Greg Plamondon
                      last edited by Jan 17, 2018, 5:40 PM

                      @greg-plamondon just for clarity is this on the VM or a physical host?

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                      G 1 Reply Last reply Jan 17, 2018, 5:41 PM Reply Quote 0
                      • G
                        Greg Plamondon Testers @george1421
                        last edited by Greg Plamondon Jan 17, 2018, 11:42 AM Jan 17, 2018, 5:41 PM

                        @george1421

                        this is a VM on the same host as the fogserver.
                        the physical PC’s do the same thing I just can’t get screen-caps of them.

                        G 1 Reply Last reply Jan 17, 2018, 6:07 PM Reply Quote 0
                        • G
                          george1421 Moderator @Greg Plamondon
                          last edited by Jan 17, 2018, 6:07 PM

                          @greg-plamondon looking at your video, it almost appears that there are 2 scripts running to start the networking. We see clearly that the S40network is executing because it has our ## messages. But the second “unknown script at this time” doesn’t print out our ## messages. That tells me there is some other code running not in S40Network that is trying to reinit the network adapter. I guess I need to do a bit more digging here.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                          G 2 Replies Last reply Jan 17, 2018, 6:20 PM Reply Quote 0
                          • G
                            Greg Plamondon Testers @george1421
                            last edited by Jan 17, 2018, 6:20 PM

                            @george1421

                            oops, lol I copied the moved the S40network to S40network.old

                            1 Reply Last reply Reply Quote 0
                            • G
                              Greg Plamondon Testers @george1421
                              last edited by Jan 17, 2018, 6:29 PM

                              @george1421
                              ok removed the S40network.old, new video

                              G 1 Reply Last reply Jan 17, 2018, 6:32 PM Reply Quote 0
                              • G
                                george1421 Moderator @Greg Plamondon
                                last edited by george1421 Jan 17, 2018, 12:32 PM Jan 17, 2018, 6:32 PM

                                @greg-plamondon Its the same issue again, a second set of dhcp functions are being called. Did you take the S40network.old out of the init.d directory? Actually you can delete it since you saved the original init.xz image anyway.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                G 2 Replies Last reply Jan 17, 2018, 6:39 PM Reply Quote 0
                                • G
                                  Greg Plamondon Testers @george1421
                                  last edited by Jan 17, 2018, 6:39 PM

                                  @george1421
                                  yes its removed.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    Greg Plamondon Testers @george1421
                                    last edited by Greg Plamondon Jan 17, 2018, 2:50 PM Jan 17, 2018, 8:49 PM

                                    @george1421

                                    I dont know what the difference is from the init.xz that is on the main fogserver and the one that is on the storage node but I copied the init.xz from the main fogserver to the storage node and it works now? what gives?

                                    G 1 Reply Last reply Jan 17, 2018, 9:06 PM Reply Quote 0
                                    • G
                                      george1421 Moderator @Greg Plamondon
                                      last edited by george1421 Jan 17, 2018, 3:07 PM Jan 17, 2018, 9:06 PM

                                      @greg-plamondon There is/was a change in the init.xz files between FOG 1.4.4 and 1.5.0RCx The 1.5.0RCx now supports both http and https transactions throughout, where 1.4.4 kind of - sort of - supported https transactions, but not always.

                                      When you upgraded to 1.5.0 on your main server, did you upgrade all of the storage nodes in your fleet? The fog kernel (bzImage and init.xz) need to be matched to the version of FOG that is installed.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                      G 1 Reply Last reply Jan 17, 2018, 9:07 PM Reply Quote 0
                                      • G
                                        Greg Plamondon Testers @george1421
                                        last edited by Jan 17, 2018, 9:07 PM

                                        @george1421

                                        yes the fogserver and all nodes are on the same build.

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          Greg Plamondon Testers
                                          last edited by Greg Plamondon Jan 17, 2018, 3:09 PM Jan 17, 2018, 9:08 PM

                                          Running Version 1.5.0-RC-10
                                          SVN Revision: 6080
                                          Jan 17, 2018 16:07 pm

                                          hmmm i am not sure now.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 3 / 4
                                          3 / 4
                                          • First post
                                            49/62
                                            Last post

                                          190

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project