Awesome :)
I will close this bug then, but if anything else comes up, please let us know
** 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.launch
Hi Lucas,
Thanks, I was able to activate it this time. Problem solved.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1950433
Title:
Enabling service results in error
To manage notifications about
Hi c-kras, we have invalidated that token for you. You can now go to:
https://ubuntu.com/advantage
And get a new token for you.
Also, please verify if you have other machines using the old token as
well, just so you can update them to the new one
--
You received this bug notification because yo
Hi Lucas,
I've just run ua detach and removed the non-working apt repo links. Will
try again when I have a new key.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1950433
Title:
Enabling service res
Hi c-kras, to invalidate the token please:
1. Run ua detach on the machine
2. Inform us that the machine is detached
Once that is done, we will invalidate the token for you and we will let
you know when a new token will be available for you.
Now, regarding the error you posted, can you confirm i
Hi Lucas,
Oops, that was not intended! Yes, I'd like to get some help with that.
I've attached the full logfile. I've redacted the domainname with the
SSL mismatch.
** Attachment added: "ubuntu-advantage.log"
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1950433/+atta
Sorry c-kras, you have accidentally leaked your resource token in this thread.
You will need to invalidate your current token and generate a new one.
Let me know if you need any help with that.
And about the issue, can you send the full error that you see when you
run ua enable
--
You received t
I can attach, but enabling a service still fails. I get some errors
about apt sources (old Docker repo) that doesn't have a release file.
But that shouldn't be an issue. The following does pop-up in the error
log though.
2021-11-12 16:21:45,050 - contract.py:(308) [ERROR]: Failed to process contra
Awesome, so let's recreate that machine-id now:
1. Delete the /etc/machine-id file
2. Run systemd-machine-id-setup
Hopefully this will create a machine-id without any special characters on it.
If that is true, you can just attach again and enable esm-infra
--
You received this bug notification
Works like a charm...?
# ua detach
Are you sure? (y/N) y
This machine is now detached.
2021-11-11 16:58:25,059 - cli.py:(1456) [DEBUG]: Executed with sys.argv:
['/usr/bin/ua', 'detach']
2021-11-11 16:58:25,061 - util.py:(425) [DEBUG]: Reading file:
/var/lib/ubuntu-advantage/private/machine-tok
Fair enough, my mistake. I was running this directly on the interpreter.
But let me try something here, can you run this command without errors:
ua detach
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs
That script doesn't output anything, but I added a print() statement
(I'm not familiar with Python). Still includes the newline.
# python3 test.py
1ec59c1328c24dc88642e5ba37159708
f81
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
ht
Yeah, that's a really odd problem. I tried using the same machine-id you
provided on a Xenial container but was unable to reproduce any of the
problems here. The enable operation was successful even using the
machine-id with a newline character.
Can you run the following python script and append t
The ubuntu-advantage.log starting from the attach command.
** Attachment added: "The ubuntu-advantage.log starting from the attach
command."
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1950433/+attachment/5539952/+files/ubuntu-advantage.log
--
You received this bug
Hi Htbaa,
This is weird because I think this type of special character should not be
allowed on the machine-id.
Also, it seems that you are already attached to an UA subscription. To attach
we also use the machine-id so it is weird that attach worked and enable does
not.
Can you attach /var/lo
Hi Lucas,
Yes, it's exactly the same id:
$ cat /etc/machine-id
1ec59c1328c24dc88642e5ba37159708
f81
No clue why this machine-id has a newline in it though. So it's probably
not a bug with ubuntu-advantage-tools perse I guess, though a more
specific error message in the CLI would be nice.
Up unt
Hi Htbaa, I think that's exactly the problem we are facing.
Just to be clear, can you confirm if the id in /etc/machine-id is the
one reported in this issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/b
Looks to me the cause of the error is the inclusion of a newline (\n) in
the machineId. But how did it get there and how to change it?
"machineId": "1ec59c1328c24dc88642e5ba37159708\nf81"
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu
18 matches
Mail list logo