** Description changed: [Impact] This release sports both bug-fixes and new features and we would like to make sure all of our supported customers have access to these improvements. The notable ones are: * more robust error handling when determining the cloud we're on LP: #1940131 LP: #1938207 * disallows fips on focal aws/azure LP: #1939449 LP: #1939932 - * adds a couple recurring jobs: - - updates the contract details and status: every 12 hours - - updates the apt and motd esm update messaging: every 6 hours - - ONLY ON GCP: checks for license changes and auto-attaches if a pro license was added: every 5 minutes + * adds/changes to ua-related recurring jobs: + - change in frequency to existing job: updates the apt and motd esm update messaging: every 6 hours + - new job: updates the contract details and status: every 12 hours + - new job: ONLY ON GCP: checks for license changes and auto-attaches if a pro license was added: every 5 minutes - This also lays the foundations for enabling ros/ros-updates as well as - for metering pro subscriptions. However, both of these features are - disabled in this release. + + This also lays the foundations for enabling ros/ros-updates as well as for metering pro subscriptions. However, both of these features are disabled in this release. See the changelog entry below for a full list of changes and bugs. [Test Case] The following development and SRU process was followed: https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates The ubuntu-advantage-tools team will be in charge of attaching the artifacts and console output of the appropriate run to the bug. ubuntu-advantage-tools team members will not mark ‘verification-done’ until this has happened. <TODO After released to -proposed: attach integration test artifacts> [Regression Potential] In order to mitigate the regression potential, the results of the aforementioned integration tests are attached to this bug. - <TODO additional regression potential discussion> + We moved the trigger of the apt and motd messaging updates from a + dedicated systemd timer to a shared timer that conditionally calls the + messaging updates in our python code. This adds complexity. If we made a + mistake, then either the job won't get called frequently enough or will + get called too frequently. If the former, then some esm updates related + messaging will be out of date in apt and motd. If the latter, then cpu + cycles will be wasted in needlessly updating messages. + + We touched postinst to handle cloud-id failures more robustly. Touching + postinst is always scary because it is the most likely way for us to + break upgrades. In theory this change made upgrades less likely to fail, + but if we made a mistake, it could cause new unexpected failures. + + We added more recurring jobs in the service of new features. This + increases complexity and potential for mistakes. In particular, we have + strived to avoid excessive logging from these jobs. If we made a mistake + in our logging, we could inadvertently fill up disks with useless logs. + Additional recurring jobs will also use more cpu over time than previous + versions. This is at least partially addressed below. [Discussion] - <TODO: other background> + Our new timer runs every 5 minutes. This is necessary to support timely upgrades of gcp instances from standard ubuntu to ubuntu pro. We need to poll the metadata endpoint frequently to catch the license change in a timely manner. We exit as early as possible if there is nothing to be done for any given timer trigger. From our testing, this has minimal overall system performance impact. <TODO @chad.smith insert details and link to spreadsheet> [Changelog] <TODO: Paste in change log entry>
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942929 Title: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1942929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs