[Bug 1977633] [NEW] iotop raises "UnboundLocalError: local variable 'pgpgin' referenced before assignment" in a ProxMox KVM
Public bug reported: Hello. iotop just does not work in my ProxMox KVM boxes: $ iotop Traceback (most recent call last): File "/usr/sbin/iotop", line 10, in from iotop.ui import main File "/usr/lib/python3/dist-packages/iotop/ui.py", line 46, in from iotop.data import find_uids, TaskStatsNetlink, ProcessList, Stats File "/usr/lib/python3/dist-packages/iotop/data.py", line 51, in vmstat_f = VmStat() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 23, in __init__ self.vmstat = self.read() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 40, in read return pgpgin, pgpgout UnboundLocalError: local variable 'pgpgin' referenced before assignment PVE Version: $ pveversion proxmox-ve: 6.4-1 (running kernel: 5.4.143-1-pve) Ubuntu version: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 20.04.4 LTS Release:20.04 Codename: focal Kernel version: $ uname -a Linux prd1frm201 5.4.0-1065-kvm #68-Ubuntu SMP Wed May 18 23:28:33 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux iotop version: $ sudo iotop -h Traceback (most recent call last): File "/usr/sbin/iotop", line 10, in from iotop.ui import main File "/usr/lib/python3/dist-packages/iotop/ui.py", line 46, in from iotop.data import find_uids, TaskStatsNetlink, ProcessList, Stats File "/usr/lib/python3/dist-packages/iotop/data.py", line 51, in vmstat_f = VmStat() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 23, in __init__ self.vmstat = self.read() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 40, in read return pgpgin, pgpgout UnboundLocalError: local variable 'pgpgin' referenced before assignment $ sudo apt show iotop |& grep -i version Version: 0.6-24-g733f3f8-1 ** Affects: iotop (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1977633 Title: iotop raises "UnboundLocalError: local variable 'pgpgin' referenced before assignment" in a ProxMox KVM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iotop/+bug/1977633/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861360] Re: conjure-up crashes with Charmed Kubernetes
** Changed in: conjure-up (Ubuntu) Status: New => 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/1861360 Title: conjure-up crashes with Charmed Kubernetes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/conjure-up/+bug/1861360/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861360] [NEW] conjure-up crashes with Charmed Kubernetes
Public bug reported: start "conjure-up" 1 - select "Charmed Kubernetes" 2 - don't select any additional components, and select "CONTINUE" 3 - select "localhost" as the "New Cloud" 4 - select lxdbr0 as the "Network Bridge" and the only LXD storage pool I have 5 - select "conjure-up-localhost-afa (localhost)" as "Existing Self-Hosted Controllers" 6 - Select "flannel" as "the type of network plugin you wish to use for your cluster" and enter sudo password 7 - Make no change to any of the "7 Applications in charmed-kubernetes" and select "DEPLOY" Here are the "7 Applications in charmed-kubernetes" shown: containerd Units:- easyrsa Units:1 etcdUnits:3 flannel Units:- kubeapi-load-balancer Units:1 kubernetes-master Units:2 kubernetes-worker Units:3 Then the following error screen is presented: Oops, there was a problem with your install: Reason: addCharm() takes 3 positional arguments but 4 were given Review log messages at /home/stant/.cache/conjure-up/conjure-up.log If appropriate, please submit a bug here: https://github.com/conjure-up/conjure-up/issues/new Here is the last lines of "/home/stant/.cache/conjure-up/conjure-up.log" 2020-01-29 20:32:15,174 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Setting ModelConnected at conjureup/juju.py:196 in task run at conjureup/controllers/juju/bootstrap/common.py:19 2020-01-29 20:32:15,175 [DEBUG] conjure-up/charmed-kubernetes - telemetry.py:32 - Juju Add Model: Done localhost/localhost 2020-01-29 20:32:15,175 [INFO] conjure-up/charmed-kubernetes - common.py:74 - Juju model created. 2020-01-29 20:32:15,178 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Setting Bootstrapped at conjureup/controllers/juju/bootstrap/common.py:42 in task run at conjureup/controllers/juju/bootstrap/common.py:19 2020-01-29 20:32:15,179 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Received Bootstrapped at conjureup/controllers/juju/bootstrap/gui.py:43 2020-01-29 20:32:15,185 [DEBUG] conjure-up/charmed-kubernetes - telemetry.py:17 - Showing screen: Deploy Status 2020-01-29 20:32:15,194 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Awaiting ModelConnected at conjureup/controllers/juju/deploy/common.py:12 2020-01-29 20:32:15,195 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Received ModelConnected at conjureup/controllers/juju/deploy/common.py:12 2020-01-29 20:32:15,196 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Setting PreDeployComplete at conjureup/controllers/juju/deploy/common.py:16 2020-01-29 20:32:15,196 [INFO] conjure-up/charmed-kubernetes - common.py:19 - Deploying Applications. 2020-01-29 20:32:15,222 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Awaiting ModelConnected at conjureup/controllers/juju/deploy/gui.py:25 2020-01-29 20:32:15,223 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Received ModelConnected at conjureup/controllers/juju/deploy/gui.py:25 2020-01-29 20:32:15,225 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Awaiting DeploymentComplete at conjureup/controllers/juju/deploy/common.py:41 in task _wait_for_applications at conjureup/controllers/juju/deploy/gui.py:82 2020-01-29 20:32:15,233 [DEBUG] conjure-up/charmed-kubernetes - events.py:52 - Setting Error at conjureup/events.py:149 2020-01-29 20:32:15,233 [ERROR] conjure-up/charmed-kubernetes - events.py:161 - Unhandled exception in exception=TypeError('addCharm() takes 3 positional arguments but 4 were given',)> Traceback (most recent call last): File "/snap/conjure-up/1058/lib/python3.6/site-packages/conjureup/controllers/juju/deploy/common.py", line 30, in do_deploy await app.juju.client.deploy(fn) File "/snap/conjure-up/1058/lib/python3.6/site-packages/juju/model.py", line 1308, in deploy await handler.execute_plan() File "/snap/conjure-up/1058/lib/python3.6/site-packages/juju/model.py", line 1991, in execute_plan result = await method(*step.args) TypeError: addCharm() takes 3 positional arguments but 4 were given 2020-01-29 20:32:15,239 [DEBUG] conjure-up/charmed-kubernetes - __init__.py:27 - Showing dialog for exception: addCharm() takes 3 positional arguments but 4 were given Extra information: $ sudo snap refresh All snaps up to date. 1) The release of Ubuntu you are using, via 'lsb_release -rd' $ lsb_release -rd Description:Ubuntu 18.04.3 LTS Release:18.04 2) The version of the package you are using: $ snap info conjure-up name: conjure-up summary: Package runtime for conjure-up spells publisher: Canonical✓ contact: https://github.com/conjure-up/conjure-up license: unset descr