This bug was fixed in the package ubuntu-advantage-tools - 20.3
---
ubuntu-advantage-tools (20.3) focal; urgency=medium
* New upstream release 20.3:
- ubuntu-pro: automatically reattach across instance id delta
(LP: #1867573)
- integration testing:
+ add behave
An upstream fix has landed for this issue.
https://github.com/CanonicalLtd/ubuntu-advantage-client/commit/5881e7760c89a7ef64439b97ec44b45aea290a55
We are starting the publishing process for new AWS Ubuntu Pro images.
--
You received this bug notification because you are a member of Ubuntu
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867573
Title:
crash in log of cloned Pro instance:
A pull request has been submitted to address this issue
https://github.com/CanonicalLtd/ubuntu-advantage-client/pull/1016
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867573
Title:
crash in log
** Changed in: ubuntu-advantage-tools (Ubuntu)
Assignee: (unassigned) => Chad Smith (chad.smith)
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: In Progress => Triaged
** Changed in: ubuntu-advantage-tools (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Since `ua auto-attach` runs on boot, it needs to be improved to detect
changes in instance-id. If the instance-id changes, all prior tokens
should be deleted prior (or as part of) `ua auto-attach`.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
Updated the description based on the comment above; it's just one bug
now.
** Description changed:
I used Packer to create my own version of an Ubuntu Pro instance. When
it comes up, it's not associated with a subscription (based on the
output of ua status) and the log reports a crash,
Actually, the packer copy does seem to preserve product codes:
ubuntu@ip-172-31-29-146:~$ curl -s
http://169.254.169.254/latest/dynamic/instance-identity/document
[...]
"marketplaceProductCodes" : [ "ex9l8qw4x21426rsfg7am8gym" ],
[...]
}
So we have two bugs; I'll file the other one if we