[Bug 1950576] Re: UA cli / Exception on launch

2021-11-24 Thread Lucas Albuquerque Medeiros de Moura
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1950576 Title: UA cli / Exception on launch To manage notifications about

[Bug 1950576] Re: UA cli / Exception on launch

2021-11-17 Thread Nicolas Zagulajew
Here are the two files in a zip Tokens and personnal infos have been sanitized.. ** Attachment added: "machine-tokens-for-comparison.zip" https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1950576/+attachment/5541506/+files/machine-tokens-for-comparison.zip -- You

[Bug 1950576] Re: UA cli / Exception on launch

2021-11-17 Thread Nicolas Zagulajew
Ok I assumed my machine-token,json was corrupted I did : apt remove ubuntu-advantage-tools --purge apt install ubuntu-advantage-tools ua attach And it worked.. (sorry but I had to update my server) I can now use the ESM.. I will compare the 2 files and post them there for bug analysis --

[Bug 1950576] Re: UA cli / Exception on launch

2021-11-15 Thread Grant Orndorff
Hi freeflyer, Thanks for taking the time to submit the bug! Is the resourceToken you copied here exactly as it appears in the machine-token.json file? I ask because it is surprising that "Token" and "Type" are capitalized. I believe they should be all lower case like "token" and "type". You may

[Bug 1950576] Re: UA cli / Exception on launch

2021-11-12 Thread Nicolas Zagulajew
As resourceToken, it seems I only have this one: { "resourceTokens": [ { "Token": "", "Type": "esm-infra" } ], and it has a type field.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1950576] Re: UA cli / Exception on launch

2021-11-12 Thread Lucas Albuquerque Medeiros de Moura
Hi freeeflyer, Can you take a look into /var/lib/ubuntu-advantage/private/machine- token.json and confirm if there any resourceTokens entry there without a "type" key ? One easy way to read that file is by installing the jq package. You can run the following command: cat