Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1913

Aurora Client Job Update Diff output is erroneous

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.18.0
    • Client
    • None

    Description

      The TaskConfig diff shown by Aurora Client is not sorting the individual entities (which are sets) which results in a confusing output. We need to sort the individual fields inside the config to return a more meaningful output.

      Although the host and rack limit constraints have not changed, the diff still outputs the below,

      <   'constraints': set([ Constraint(name='rack', constraint=TaskConstraint(limit=LimitConstraint(limit=1), value=None)),
      ---
      >   'constraints': set([ Constraint(name='host', constraint=TaskConstraint(limit=LimitConstraint(limit=1), value=None)),
      4,5c4,5
      <                        Constraint(name='host', constraint=TaskConstraint(limit=LimitConstraint(limit=1), value=None))]),
      ---
      >                        Constraint(name='rack', constraint=TaskConstraint(limit=LimitConstraint(limit=1), value=None)),
      

      Attachments

        Activity

          People

            santhk Santhosh Kumar Shanmugham
            santhk Santhosh Kumar Shanmugham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: