Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-20901

Fix v2 PATCH /builds/<id> route's edition creation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The new v2 route for LTD Keeper's PATCH /builds/<build> isn't properly generating new editions on-demand. This is the error message from the logs:

      "Edition 'https://keeper.lsst.codes/editions/1020' has an unknown trackingmode"   
      

        Attachments

          Issue Links

            Activity

            Hide
            jsick Jonathan Sick added a comment -

            Search filter to see all the "unknown trackingmode" errors

            resource.type="container"
            resource.labels.cluster_name="lsst-docs"
            resource.labels.namespace_id="ltd-prod"
            jsonPayload.path:"/build"
            jsonPayload.method="PATCH"
            

            I think this is a red herring, though, because this error happens only because an edition doesn't have a tracking mode set in the DB (it predates tracking modes) and therefore is happening only because Keeper is iterating over all editions and getting their data (presumably to check for existing editions?).

            Show
            jsick Jonathan Sick added a comment - Search filter to see all the "unknown trackingmode" errors resource.type="container" resource.labels.cluster_name="lsst-docs" resource.labels.namespace_id="ltd-prod" jsonPayload.path:"/build" jsonPayload.method="PATCH" I think this is a red herring, though, because this error happens only because an edition doesn't have a tracking mode set in the DB (it predates tracking modes) and therefore is happening only because Keeper is iterating over all editions and getting their data (presumably to check for existing editions?).
            Hide
            jsick Jonathan Sick added a comment -

            Released as LDT Keeper 1.15.1

            Show
            jsick Jonathan Sick added a comment - Released as LDT Keeper 1.15.1

              People

              Assignee:
              jsick Jonathan Sick
              Reporter:
              jsick Jonathan Sick
              Watchers:
              Jonathan Sick
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.