Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    OTTER / Long time for Linux server for first configuraiton collection

    Scheduled Pinned Locked Moved Support
    linuxotter
    11 Posts 2 Posters 16 Views
    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.
    • P Offline
      philippe.camelio_3885
      last edited by

      Hello

      When I register new linux server, first routine configuration does not work smoothly.
      It is stucked with this msg :

      DEBUG: 2023-08-29 07:16:37Z - Building OtterScript configuration for server "VM004070" to target 2 roles...
      

      e4abc623-62e7-4fad-9d51-03f48582d9d4-image.png

      I need to reset otter to run through and start the remediation

      Any thoughts ?

      The roles are very simple (just an ensure-directory and one ensure-file)

      OTTER 2022.12 / Docker

      Best Regards
      Philippe

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @philippe.camelio_3885
        last edited by

        Hi @philippe-camelio_3885 ,

        Sorry this must have fell through the cracks...

        Few questions.

        • How soon after you add the server do you run a configuration run?
        • When you say "reset otter", do you mean the Otter Service?
        • Are you able to cancel those executions? Like, if you navigate to them?
        • Does running the Server Checker task (on the Service Page, same page that shows Execution Dispatcher) cause them to kick off? What output do you see when you run that task, if not?

        Thanks,
        Alana

        1 Reply Last reply Reply Quote 0
        • P Offline
          philippe.camelio_3885
          last edited by

          @atripp said in OTTER / Long time for Linux server for first configuraiton collection:

          How soon after you add the server do you run a configuration run?

          YES

          When you say "reset otter", do you mean the Otter Service?

          I restart the docker stack -

          Are you able to cancel those executions? Like, if you navigate to them?

          No action (link) is available to stop them

          Does running the Server Checker task (on the Service Page, same page that shows Execution Dispatcher) cause them to kick off? What output do you see when you run that task, if not?

          Sometimes, when I restart the server checker, the configuration run thru

          I have to make more consistent tests, but the problem occurs when I register several servers in the same time.

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @philippe.camelio_3885
            last edited by

            @philippe-camelio_3885 thanks for clarifying.

            Next time, can you try running the Server Checker task and seeing if that clears the problem within a short time?

            A configuration execution will wait until a server is in a specific status (the Server Checker puts it in that status), so I wonder if it's not being triggered. I didn't look further but confirming it twould help us isolate the issue.

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              philippe.camelio_3885 @atripp
              last edited by

              @atripp
              I will make a test with few servers and check how long it takes .

              1 Reply Last reply Reply Quote 0
              • P Offline
                philippe.camelio_3885
                last edited by

                I created 4 servers (linux) and register to otter.
                Start Server checker.
                After few minutes, otter reports the server need to be remediated.

                It is looking good if I start server checker on" rather the runnig "check configuraiton" from the server itself

                Thanks for the tips

                atrippA 1 Reply Last reply Reply Quote 0
                • atrippA Offline
                  atripp inedo-engineer @philippe.camelio_3885
                  last edited by

                  Thanks for confirming @philippe-camelio_3885

                  The "Server Checker" and "Check Configuration" are two different functions, so that kind of makes sense. The "Server Checker" should be triggered immediately after adding or modifying agent details (like IP, etc), but it clearly isn't here.

                  One more question - are you adding these servers via the API?

                  I just want to make sure we can find/repro/fix this :)

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    philippe.camelio_3885 @atripp
                    last edited by

                    @atripp
                    Servers are registered using api

                    P atrippA 2 Replies Last reply Reply Quote 0
                    • P Offline
                      philippe.camelio_3885 @philippe.camelio_3885
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • atrippA Offline
                        atripp inedo-engineer @philippe.camelio_3885
                        last edited by

                        @philippe-camelio_3885 thanks! I've logged this as OT-495, and we'll try to get it fixed in the next mainteance release (scheduled Sept 15)

                        P 1 Reply Last reply Reply Quote 0
                        • P Offline
                          philippe.camelio_3885 @atripp
                          last edited by

                          @atripp
                          Good to know 😊
                          Thanks

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 1 / 1
                          • First post
                            Last post
                          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation