[Bug 1936702] Re: patch_status_json.py crashed with KeyError in patch_status_json_schema_0_1(): 'configStatus'
Oh, its 27.2.1 vs 27.2. I'll close this. ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1936702 Title: patch_status_json.py crashed with KeyError in patch_status_json_schema_0_1(): 'configStatus' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1936702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1936702] Re: patch_status_json.py crashed with KeyError in patch_status_json_schema_0_1(): 'configStatus'
Looking more closely this actually happened during the distribution upgrade when installing the new version of the package. Setting up ubuntu-advantage-tools (27.2~21.10.1) ...^M Installing new version of config file /etc/apt/apt.conf.d/20apt-esm-hook.conf ...^M Installing new version of config file /etc/ubuntu-advantage/uaclient.conf ...^M Traceback (most recent call last):^M File "/usr/lib/ubuntu-advantage/patch_status_json.py", line 66, in ^M patch_status_json_schema_0_1(^M File "/usr/lib/ubuntu-advantage/patch_status_json.py", line 50, in patch_status_json_schema_0_1^M new_status["execution_status"] = new_status.pop("configStatus")^M KeyError: 'configStatus'^M Have you tested that specific scenario? ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: Fix Released => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1936702 Title: patch_status_json.py crashed with KeyError in patch_status_json_schema_0_1(): 'configStatus' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1936702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1936702] Re: patch_status_json.py crashed with KeyError in patch_status_json_schema_0_1(): 'configStatus'
Hi Brian, thanks for reporting this issue. We have already released a fix for it on impish (27.2.1~21.10.1) Let us know if that does not solve the issue here ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1936702 Title: patch_status_json.py crashed with KeyError in patch_status_json_schema_0_1(): 'configStatus' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1936702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1936702] Re: patch_status_json.py crashed with KeyError in patch_status_json_schema_0_1(): 'configStatus'
** Information type changed from Private to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1936702 Title: patch_status_json.py crashed with KeyError in patch_status_json_schema_0_1(): 'configStatus' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1936702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs