Activity log for bug #1939732

Date Who What changed Old value New value Message
2021-08-12 17:40:15 Chad Smith bug added bug
2021-11-02 18:48:39 Chad Smith description Release: bionic/focal Version: 0.96.24.32 (bionic) Issue: Software & Updates GTK UI doesn't report availability of UBuntu Advantage ESM Infra or ESM Apps services on unattached machines Steps to repropduce: Launch software-properties-gtk from the commandline. See unexpected errors on the terminal No ua status file written: [Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json' Navigation to the "Updates" tab See only: Basic Security Maintenance 04/26/2023 Expected results: See no error messages on terminal See a link to the right of Basic Security Maintenance on the "Updates" tab that points to ESM info Basic Security Maintenance Extend...(links to ubuntu.com/security/esm) [Impact] * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status` * This logic results in multiple `ua status` calls which each result in a network-egress to https://contracts.canonical.com on unattached machines which could result in delays in rendering the GTK dialogs while awaiting a response. [Test Case] 1. Install latest version of Ubuntu advantage from -proposed cat > setup_proposed.sh <<EOF #/bin/bash mirror=http://archive.ubuntu.com/ubuntu echo deb \$mirror \$(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy software-properties-gtk EOF IP=`uvt-kvm ip ${DESKTOP_VM}` scp setup_proposed.sh ubuntu@$IP:. ssh ubuntu@$IP -- sudo bash ./setup_proposed.sh 2. run software-properties-gtk on the commandline ssh ubuntu@$IP -- software-properties-gtk # Validate no error messages on launch 3. Click Updates tab and validate Basic Security Maintenance "<link>Extend..." opens a browser to ESM 4. Click Cancel button 5. Attach to a UA contract and re-run Software and updates UX ssh ubuntu@$IP -- sudo ua attach $MY_TOKEN ssh ubuntu@$IP -- software-properties-gtk # validate no error messages 6. Click Updates tab and validate: Extended Security Maintenance Active until 12/31/1999 [Where problems could occur] * invalid parsing of UA contract information or missing /var/lib/ubuntu-advantage/status.json will print messages to the console in the event of errors or warnings. * failures and tracebacks in this code will result in invalid representation of system defaults in the Updates tab about whether or not a machine is attached to a contract or whether the contract is expired. * Other than user-facing documentation about the state of the UA subscription this does not prevent the dialogs from functioning. * limited network environments could have a delay of UX rendering due to `ua status` calls timing out on attempts to reach contracts.canonical.com [Original Description] Release: bionic/focal Version: 0.96.24.32 (bionic) Issue: Software & Updates GTK UI doesn't report availability of Ubuntu Advantage ESM Infra or ESM Apps services on unattached machines Steps to repropduce: Launch software-properties-gtk from the commandline. See unexpected errors on the terminal  No ua status file written: [Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json' Navigation to the "Updates" tab See only: Basic Security Maintenance 04/26/2023 Expected results: See no error messages on terminal See a link to the right of Basic Security Maintenance on the "Updates" tab that points to ESM info Basic Security Maintenance Extend...(links to ubuntu.com/security/esm)
2021-11-02 21:07:21 Brian Murray software-properties (Ubuntu): status New Fix Committed
2021-11-02 21:13:21 Brian Murray software-properties (Ubuntu Impish): status New Fix Committed
2021-11-02 21:13:23 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2021-11-02 21:13:25 Brian Murray bug added subscriber SRU Verification
2021-11-02 21:13:29 Brian Murray tags verification-needed verification-needed-impish
2021-11-02 21:17:18 Chad Smith description [Impact] * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status` * This logic results in multiple `ua status` calls which each result in a network-egress to https://contracts.canonical.com on unattached machines which could result in delays in rendering the GTK dialogs while awaiting a response. [Test Case] 1. Install latest version of Ubuntu advantage from -proposed cat > setup_proposed.sh <<EOF #/bin/bash mirror=http://archive.ubuntu.com/ubuntu echo deb \$mirror \$(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy software-properties-gtk EOF IP=`uvt-kvm ip ${DESKTOP_VM}` scp setup_proposed.sh ubuntu@$IP:. ssh ubuntu@$IP -- sudo bash ./setup_proposed.sh 2. run software-properties-gtk on the commandline ssh ubuntu@$IP -- software-properties-gtk # Validate no error messages on launch 3. Click Updates tab and validate Basic Security Maintenance "<link>Extend..." opens a browser to ESM 4. Click Cancel button 5. Attach to a UA contract and re-run Software and updates UX ssh ubuntu@$IP -- sudo ua attach $MY_TOKEN ssh ubuntu@$IP -- software-properties-gtk # validate no error messages 6. Click Updates tab and validate: Extended Security Maintenance Active until 12/31/1999 [Where problems could occur] * invalid parsing of UA contract information or missing /var/lib/ubuntu-advantage/status.json will print messages to the console in the event of errors or warnings. * failures and tracebacks in this code will result in invalid representation of system defaults in the Updates tab about whether or not a machine is attached to a contract or whether the contract is expired. * Other than user-facing documentation about the state of the UA subscription this does not prevent the dialogs from functioning. * limited network environments could have a delay of UX rendering due to `ua status` calls timing out on attempts to reach contracts.canonical.com [Original Description] Release: bionic/focal Version: 0.96.24.32 (bionic) Issue: Software & Updates GTK UI doesn't report availability of Ubuntu Advantage ESM Infra or ESM Apps services on unattached machines Steps to repropduce: Launch software-properties-gtk from the commandline. See unexpected errors on the terminal  No ua status file written: [Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json' Navigation to the "Updates" tab See only: Basic Security Maintenance 04/26/2023 Expected results: See no error messages on terminal See a link to the right of Basic Security Maintenance on the "Updates" tab that points to ESM info Basic Security Maintenance Extend...(links to ubuntu.com/security/esm) [Impact]   * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status`   * This logic results in multiple `ua status` calls which each result in a network-egress to https://contracts.canonical.com on unattached machines which could result in delays in rendering the GTK dialogs while awaiting a response. [Test Case] 1. Install latest version of software-properties-gtk from -proposed cat > setup_proposed.sh <<EOF #/bin/bash mirror=http://archive.ubuntu.com/ubuntu echo deb \$mirror \$(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy software-properties-gtk EOF IP=`uvt-kvm ip ${DESKTOP_VM}` scp setup_proposed.sh ubuntu@$IP:. ssh ubuntu@$IP -- sudo bash ./setup_proposed.sh 2. run software-properties-gtk on the commandline ssh ubuntu@$IP -- software-properties-gtk # Validate no error messages on launch 3. Click Updates tab and validate Basic Security Maintenance "Extend..." Active until 04/23/2025 (Extend.. is a link that will spawn a browser to ubuntu.com/security/esm) 4. Click Cancel button 5. Attach to a UA contract and re-run Software and updates UX ssh ubuntu@$IP -- sudo ua attach $MY_TOKEN ssh ubuntu@$IP -- software-properties-gtk # validate no error messages 6. Click Updates tab and validate: Extended Security Maintenance Active until 12/31/1999 # Note no "Extend..." text or link [Where problems could occur]  * invalid parsing of UA contract information or missing /var/lib/ubuntu-advantage/status.json will print messages to the console in the event of errors or warnings.  * failures and tracebacks in this code will result in invalid representation of system defaults in the Updates tab about whether or not a machine is attached to a contract or whether the contract is expired.  * Other than user-facing documentation about the state of the UA subscription this does not prevent the dialogs from functioning.  * limited network environments could have a delay of UX rendering due to `ua status` calls timing out on attempts to reach contracts.canonical.com [Original Description] Release: bionic/focal Version: 0.96.24.32 (bionic) Issue: Software & Updates GTK UI doesn't report availability of Ubuntu Advantage ESM Infra or ESM Apps services on unattached machines Steps to repropduce: Launch software-properties-gtk from the commandline. See unexpected errors on the terminal  No ua status file written: [Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json' Navigation to the "Updates" tab See only: Basic Security Maintenance 04/26/2023 Expected results: See no error messages on terminal See a link to the right of Basic Security Maintenance on the "Updates" tab that points to ESM info Basic Security Maintenance Extend...(links to ubuntu.com/security/esm)
2021-11-02 21:21:44 Brian Murray software-properties (Ubuntu Hirsute): status New Fix Committed
2021-11-02 21:21:50 Brian Murray tags verification-needed verification-needed-impish verification-needed verification-needed-hirsute verification-needed-impish
2021-11-02 21:34:36 Brian Murray software-properties (Ubuntu Focal): status New Fix Committed
2021-11-02 21:34:42 Brian Murray tags verification-needed verification-needed-hirsute verification-needed-impish verification-needed verification-needed-focal verification-needed-hirsute verification-needed-impish
2021-11-02 22:59:32 Chad Smith description [Impact]   * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status`   * This logic results in multiple `ua status` calls which each result in a network-egress to https://contracts.canonical.com on unattached machines which could result in delays in rendering the GTK dialogs while awaiting a response. [Test Case] 1. Install latest version of software-properties-gtk from -proposed cat > setup_proposed.sh <<EOF #/bin/bash mirror=http://archive.ubuntu.com/ubuntu echo deb \$mirror \$(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy software-properties-gtk EOF IP=`uvt-kvm ip ${DESKTOP_VM}` scp setup_proposed.sh ubuntu@$IP:. ssh ubuntu@$IP -- sudo bash ./setup_proposed.sh 2. run software-properties-gtk on the commandline ssh ubuntu@$IP -- software-properties-gtk # Validate no error messages on launch 3. Click Updates tab and validate Basic Security Maintenance "Extend..." Active until 04/23/2025 (Extend.. is a link that will spawn a browser to ubuntu.com/security/esm) 4. Click Cancel button 5. Attach to a UA contract and re-run Software and updates UX ssh ubuntu@$IP -- sudo ua attach $MY_TOKEN ssh ubuntu@$IP -- software-properties-gtk # validate no error messages 6. Click Updates tab and validate: Extended Security Maintenance Active until 12/31/1999 # Note no "Extend..." text or link [Where problems could occur]  * invalid parsing of UA contract information or missing /var/lib/ubuntu-advantage/status.json will print messages to the console in the event of errors or warnings.  * failures and tracebacks in this code will result in invalid representation of system defaults in the Updates tab about whether or not a machine is attached to a contract or whether the contract is expired.  * Other than user-facing documentation about the state of the UA subscription this does not prevent the dialogs from functioning.  * limited network environments could have a delay of UX rendering due to `ua status` calls timing out on attempts to reach contracts.canonical.com [Original Description] Release: bionic/focal Version: 0.96.24.32 (bionic) Issue: Software & Updates GTK UI doesn't report availability of Ubuntu Advantage ESM Infra or ESM Apps services on unattached machines Steps to repropduce: Launch software-properties-gtk from the commandline. See unexpected errors on the terminal  No ua status file written: [Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json' Navigation to the "Updates" tab See only: Basic Security Maintenance 04/26/2023 Expected results: See no error messages on terminal See a link to the right of Basic Security Maintenance on the "Updates" tab that points to ESM info Basic Security Maintenance Extend...(links to ubuntu.com/security/esm) [Impact]   * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status`   * This logic results in multiple `ua status` calls which each result in a network-egress to https://contracts.canonical.com on unattached machines which could result in delays in rendering the GTK dialogs while awaiting a response. [Test Case] 1. Install latest version of software-properties-gtk from -proposed cat > setup_proposed.sh <<EOF #!/bin/bash mirror=http://archive.ubuntu.com/ubuntu echo deb \$mirror \$(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy software-properties-gtk EOF IP=`uvt-kvm ip ${DESKTOP_VM}` scp setup_proposed.sh ubuntu@$IP:. ssh ubuntu@$IP -- sudo bash ./setup_proposed.sh 2. run software-properties-gtk on the commandline ssh ubuntu@$IP -- software-properties-gtk # Validate no error messages on launch 3. Click Updates tab and validate Basic Security Maintenance "Extend..." Active until 04/23/2025 (Extend.. is a link that will spawn a browser to ubuntu.com/security/esm) 4. Click Cancel button 5. Attach to a UA contract and re-run Software and updates UX ssh ubuntu@$IP -- sudo ua attach $MY_TOKEN ssh ubuntu@$IP -- software-properties-gtk # validate no error messages 6. Click Updates tab and validate: Extended Security Maintenance Active until 12/31/1999 # Note no "Extend..." text or link [Where problems could occur]  * invalid parsing of UA contract information or missing /var/lib/ubuntu-advantage/status.json will print messages to the console in the event of errors or warnings.  * failures and tracebacks in this code will result in invalid representation of system defaults in the Updates tab about whether or not a machine is attached to a contract or whether the contract is expired.  * Other than user-facing documentation about the state of the UA subscription this does not prevent the dialogs from functioning.  * limited network environments could have a delay of UX rendering due to `ua status` calls timing out on attempts to reach contracts.canonical.com [Original Description] Release: bionic/focal Version: 0.96.24.32 (bionic) Issue: Software & Updates GTK UI doesn't report availability of Ubuntu Advantage ESM Infra or ESM Apps services on unattached machines Steps to repropduce: Launch software-properties-gtk from the commandline. See unexpected errors on the terminal  No ua status file written: [Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json' Navigation to the "Updates" tab See only: Basic Security Maintenance 04/26/2023 Expected results: See no error messages on terminal See a link to the right of Basic Security Maintenance on the "Updates" tab that points to ESM info Basic Security Maintenance Extend...(links to ubuntu.com/security/esm)
2021-11-02 23:09:11 Chad Smith description [Impact]   * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status`   * This logic results in multiple `ua status` calls which each result in a network-egress to https://contracts.canonical.com on unattached machines which could result in delays in rendering the GTK dialogs while awaiting a response. [Test Case] 1. Install latest version of software-properties-gtk from -proposed cat > setup_proposed.sh <<EOF #!/bin/bash mirror=http://archive.ubuntu.com/ubuntu echo deb \$mirror \$(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy software-properties-gtk EOF IP=`uvt-kvm ip ${DESKTOP_VM}` scp setup_proposed.sh ubuntu@$IP:. ssh ubuntu@$IP -- sudo bash ./setup_proposed.sh 2. run software-properties-gtk on the commandline ssh ubuntu@$IP -- software-properties-gtk # Validate no error messages on launch 3. Click Updates tab and validate Basic Security Maintenance "Extend..." Active until 04/23/2025 (Extend.. is a link that will spawn a browser to ubuntu.com/security/esm) 4. Click Cancel button 5. Attach to a UA contract and re-run Software and updates UX ssh ubuntu@$IP -- sudo ua attach $MY_TOKEN ssh ubuntu@$IP -- software-properties-gtk # validate no error messages 6. Click Updates tab and validate: Extended Security Maintenance Active until 12/31/1999 # Note no "Extend..." text or link [Where problems could occur]  * invalid parsing of UA contract information or missing /var/lib/ubuntu-advantage/status.json will print messages to the console in the event of errors or warnings.  * failures and tracebacks in this code will result in invalid representation of system defaults in the Updates tab about whether or not a machine is attached to a contract or whether the contract is expired.  * Other than user-facing documentation about the state of the UA subscription this does not prevent the dialogs from functioning.  * limited network environments could have a delay of UX rendering due to `ua status` calls timing out on attempts to reach contracts.canonical.com [Original Description] Release: bionic/focal Version: 0.96.24.32 (bionic) Issue: Software & Updates GTK UI doesn't report availability of Ubuntu Advantage ESM Infra or ESM Apps services on unattached machines Steps to repropduce: Launch software-properties-gtk from the commandline. See unexpected errors on the terminal  No ua status file written: [Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json' Navigation to the "Updates" tab See only: Basic Security Maintenance 04/26/2023 Expected results: See no error messages on terminal See a link to the right of Basic Security Maintenance on the "Updates" tab that points to ESM info Basic Security Maintenance Extend...(links to ubuntu.com/security/esm) [Impact]   * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status`   * This logic results in multiple `ua status` calls which each result in a network-egress to https://contracts.canonical.com on unattached machines which could result in delays in rendering the GTK dialogs while awaiting a response. [Test Case] 1. Install latest version of software-properties-gtk from -proposed cat > setup_proposed.sh <<EOF #!/bin/bash mirror=http://archive.ubuntu.com/ubuntu echo deb \$mirror \$(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy software-properties-gtk software-properties-common python3-software-properties EOF IP=`uvt-kvm ip ${DESKTOP_VM}` scp setup_proposed.sh ubuntu@$IP:. ssh ubuntu@$IP -- sudo bash ./setup_proposed.sh 2. run software-properties-gtk on the commandline ssh ubuntu@$IP -- software-properties-gtk # Validate no error messages on launch 3. Click Updates tab and validate Basic Security Maintenance "Extend..." Active until 04/23/2025 (Extend.. is a link that will spawn a browser to ubuntu.com/security/esm) 4. Click Cancel button 5. Attach to a UA contract and re-run Software and updates UX ssh ubuntu@$IP -- sudo ua attach $MY_TOKEN ssh ubuntu@$IP -- software-properties-gtk # validate no error messages 6. Click Updates tab and validate: Extended Security Maintenance Active until 12/31/1999 # Note no "Extend..." text or link [Where problems could occur]  * invalid parsing of UA contract information or missing /var/lib/ubuntu-advantage/status.json will print messages to the console in the event of errors or warnings.  * failures and tracebacks in this code will result in invalid representation of system defaults in the Updates tab about whether or not a machine is attached to a contract or whether the contract is expired.  * Other than user-facing documentation about the state of the UA subscription this does not prevent the dialogs from functioning.  * limited network environments could have a delay of UX rendering due to `ua status` calls timing out on attempts to reach contracts.canonical.com [Original Description] Release: bionic/focal Version: 0.96.24.32 (bionic) Issue: Software & Updates GTK UI doesn't report availability of Ubuntu Advantage ESM Infra or ESM Apps services on unattached machines Steps to repropduce: Launch software-properties-gtk from the commandline. See unexpected errors on the terminal  No ua status file written: [Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json' Navigation to the "Updates" tab See only: Basic Security Maintenance 04/26/2023 Expected results: See no error messages on terminal See a link to the right of Basic Security Maintenance on the "Updates" tab that points to ESM info Basic Security Maintenance Extend...(links to ubuntu.com/security/esm)
2021-11-02 23:33:38 Chad Smith tags verification-needed verification-needed-focal verification-needed-hirsute verification-needed-impish verification-done-focal verification-needed verification-needed-hirsute verification-needed-impish
2021-11-04 04:43:37 Chad Smith tags verification-done-focal verification-needed verification-needed-hirsute verification-needed-impish verification-done-focal verification-done-impish verification-needed verification-needed-hirsute
2021-11-04 05:22:50 Chad Smith tags verification-done-focal verification-done-impish verification-needed verification-needed-hirsute verification-done-focal verification-done-hirsute verification-done-impish verification-needed
2021-11-04 05:22:58 Chad Smith tags verification-done-focal verification-done-hirsute verification-done-impish verification-needed verification-done verification-done-focal verification-done-hirsute verification-done-impish
2021-11-05 04:23:39 Chad Smith nominated for series Ubuntu Bionic
2021-11-05 04:23:39 Chad Smith bug task added software-properties (Ubuntu Bionic)
2021-11-05 12:24:39 Launchpad Janitor software-properties (Ubuntu): status Fix Committed Fix Released
2021-11-05 20:03:22 Chad Smith software-properties (Ubuntu Bionic): status New Fix Committed
2021-11-10 18:25:25 Brian Murray tags verification-done verification-done-focal verification-done-hirsute verification-done-impish verification-done-focal verification-done-hirsute verification-done-impish verification-needed verification-needed-bionic
2021-11-10 18:48:18 Launchpad Janitor software-properties (Ubuntu Impish): status Fix Committed Fix Released
2021-11-10 18:48:22 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2021-11-10 18:55:31 Launchpad Janitor software-properties (Ubuntu Hirsute): status Fix Committed Fix Released
2021-11-10 19:05:47 Launchpad Janitor software-properties (Ubuntu Focal): status Fix Committed Fix Released
2021-11-18 22:30:06 Chad Smith tags verification-done-focal verification-done-hirsute verification-done-impish verification-needed verification-needed-bionic verification-done verification-done-bionic verification-done-focal verification-done-hirsute verification-done-impish
2021-11-22 12:35:35 Launchpad Janitor software-properties (Ubuntu Bionic): status Fix Committed Fix Released