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!

    The "Execution Details" page is a hinderance to troubleshooting issues

    Scheduled Pinned Locked Moved Support
    otter
    11 Posts 4 Posters 14 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.
    • Jonathan.EngstromJ Offline
      Jonathan.Engstrom
      last edited by

      I am having issues troubleshooting executions of servers in Otter with this screen. It has 3 buttons that don't do anything. Why can't the information just be displayed? The "Set Execution Status" button does not do anything, and the other two buttons "View Log Text" and "Download Full Log" only open up another tab in Chrome to the same screen. This does nothing to assist with troubleshooting. Where or how can I troubleshoot these systems? Thanks!

      Product: Otter
      Version: 2.1.1

      1 Reply Last reply Reply Quote 0
      • T Offline
        thoven
        last edited by

        Are you actually on v2.1.1? This should have been fixed as part of OT-238 in 2.0.10

        1 Reply Last reply Reply Quote 0
        • Jonathan.EngstromJ Offline
          Jonathan.Engstrom
          last edited by

          Yes, I am on 2.1.1. I usually upgrade within 48 hours of new release and a backup of previous DB.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Sometimes there is a rendering problem on the page; I've seen this a while back for some executions that weren't dispatched, and the page didn't know how to handle it. Can't remember when it was fixed.

            That would be my guess; that it's crashing during rendering the page, and displaying bad data (empty buttons). In that case, try to gather more info about the state of the execution.

            1 Reply Last reply Reply Quote 0
            • Jonathan.EngstromJ Offline
              Jonathan.Engstrom
              last edited by

              George, thanks for the reply. My point was being this page prevents one from finding out what issues are going on as it displays no relevant information. I am not sure where else I am going to find this information without digging in the SQL database, which I really don't want to do/ have time to do.

              1 Reply Last reply Reply Quote 0
              • Jonathan.EngstromJ Offline
                Jonathan.Engstrom
                last edited by

                Is anyone else able to shed any insight as to why thins is doing this, or share with me an alternative method to finding these logs? I need to troubleshoot this issue, thanks!

                1 Reply Last reply Reply Quote 0
                • jraschJ Offline
                  jrasch inedo-engineer
                  last edited by

                  This will be resolved as part of: OT-274

                  The workaround is to browse to the URL directly, e.g .

                  http://{otter-host}/executions/logs?executionId={execId}&level=0&download={true/false}

                  1 Reply Last reply Reply Quote 0
                  • Jonathan.EngstromJ Offline
                    Jonathan.Engstrom
                    last edited by

                    John, thank you for that; that is very helpful. Is there a way to look up all of the executions that have happened for a server? I tried replacing the ExecutionID with a serverID, hoping it would list out all of the executions that have occurred for that server, but that didn't work :)

                    It would be awesome to have a tab on each server that listed out a complete history of all of the executions.

                    1 Reply Last reply Reply Quote 0
                    • jraschJ Offline
                      jrasch inedo-engineer
                      last edited by

                      Good idea, I thought we already had the ability to do that, but I was confusing it with Job History.

                      Here is the associated issue: OT-278

                      1 Reply Last reply Reply Quote 0
                      • Jonathan.EngstromJ Offline
                        Jonathan.Engstrom
                        last edited by

                        So I have noticed that there are 'empty' executions id's that are showing an error. When I use your url provided, after putting in some of the execution id's they show an empty page. If I populate it with another execution ID that has logs, it displays that normally, so I know I am doing it right. Ideas?

                        1 Reply Last reply Reply Quote 0
                        • Jonathan.EngstromJ Offline
                          Jonathan.Engstrom
                          last edited by

                          John, while on the subject of execution ID's and such, during the logging of a psensure, can we add the psensure key to the log so it always outputs what it is checking and validating? How it is now:

                          INFO : 2018-12-11 20:31:07Z - Configuration drift detected.
                          DEBUG: 2018-12-11 20:31:07Z - Adding to execution plan.
                          DEBUG: 2018-12-11 20:31:11Z - Collecting configuration...
                          DEBUG: 2018-12-11 20:31:11Z - Comparing configuration...
                          INFO : 2018-12-11 20:31:11Z - Configuration matches template.
                          DEBUG: 2018-12-11 20:31:14Z - Collecting configuration...
                          DEBUG: 2018-12-11 20:31:14Z - Comparing configuration...
                          INFO : 2018-12-11 20:31:14Z - Configuration matches template.

                          and so on. Maybe it could log something like "Collecting configuration <key>" and "<key> matches template". That way it would make each line meaningful and bring more value into keeping the logs. Eventually I would like to have a way to save a copy of the txt execution into servicenow so we have a record of it in change management system as well. The url you shared previously will help in doing that I think. This improvement would help as documentation for each change. 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