Comment 0 for bug 2006138

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

$ sudo pro status --format=json | jq | less

...
  "warnings": []

But

$ pro status --format=json | jq | less

  "warnings": [
    {
      "message": "Failed to check for change in machine contract. Reason: Unauthorized: [https://contracts.canonical.com/v1/contracts/<xxxxx>?architecture=amd64&kernel=5.15.0-56-generic&series=jammy], unauthorized",
      "message_code": null,
      "service": null,
      "type": "system"
    },
    {
      "message": "Trying to remove notice as non-root user",
      "message_code": null,
      "service": null,
      "type": "system"
    },
    {
      "message": "Trying to remove notice as non-root user",
      "message_code": null,
      "service": null,
      "type": "system"
    },
many of them