Activity log for bug #2060277

Date Who What changed Old value New value Message
2024-04-05 08:06:11 Jacopo Rota bug added bug
2024-04-05 08:06:18 Jacopo Rota nominated for series maas/3.5
2024-04-05 08:06:18 Jacopo Rota bug task added maas/3.5
2024-04-05 08:06:30 Jacopo Rota maas/3.5: importance Undecided High
2024-04-05 08:06:32 Jacopo Rota maas/3.5: milestone 3.5.0
2024-04-05 08:06:35 Jacopo Rota maas/3.5: status New Triaged
2024-04-05 10:18:01 Jacopo Rota summary Files under /run/lock are not removed when maas is uninstalled Files under /etc/maas are not removed when maas is uninstalled
2024-04-05 10:18:11 Jacopo Rota description on maas 3.5 deb we are missing to delete some files under `/run/lock` when we uninstall maas. If maas is reinstalled later, the same uid/gid of the old maas user might be assigned to another user (`avahi` for example) Apr 05 07:50:07 leafeon regiond[1095879]: temporalio.activity: [warn] Completing activity as failed ({'activity_id': '1', 'activity_type': 'download-bootresourcefile', > Apr 05 07:50:07 leafeon regiond[1095879]: Traceback (most recent call last): Apr 05 07:50:07 leafeon regiond[1095879]: File "/usr/lib/python3/dist-packages/temporalio/worker/_activity.py", line 439, in _run_activity Apr 05 07:50:07 leafeon regiond[1095879]: result = await impl.execute_activity(input) Apr 05 07:50:07 leafeon regiond[1095879]: File "/usr/lib/python3/dist-packages/temporalio/worker/_activity.py", line 694, in execute_activity Apr 05 07:50:07 leafeon regiond[1095879]: return await input.fn(*input.args) Apr 05 07:50:07 leafeon regiond[1095879]: File "/usr/lib/python3/dist-packages/maasserver/workflow/bootresource.py", line 183, in download_bootresourcefile Apr 05 07:50:07 leafeon regiond[1095879]: raise ApplicationError( Apr 05 07:50:07 leafeon regiond[1095879]: temporalio.exceptions.ApplicationError: PermissionError: [Errno 13] Permission denied: '/run/lock/bootres_aa5451f206226d944e8e> ubuntu@leafeon:~$ ls -la /run/lock/ total 0 drwxrwxrwt 6 root root 920 Apr 5 07:57 . drwxr-xr-x 40 root root 1300 Apr 5 08:00 .. -rwxr-xr-x 1 121 130 0 Apr 4 14:45 bootres_042b19af47d2e29fbe0e7fa560a7c6f522af0b091586f01f357821a3c2da86db.lock -rwxr-xr-x 1 121 130 0 Apr 4 14:54 bootres_07ede8bfca7d5a15158fafa93db0238be100d8bde60c2f3726af7de702d775fa.lock -rwxr-xr-x 1 121 130 0 Apr 4 14:54 bootres_1f5e7b623c9bb9c39ac7ae41398c25c47cd730ee416325872867660afdb4ffcf.lock -rwxr-xr-x 1 121 130 0 Apr 4 14:54 bootres_21c6238467940a2ff302dc3c25876595e7dc71e00f6391d880d09c7393bd646b.lock -rwxr-xr-x 1 121 130 0 Apr 4 14:45 bootres_2598fa4b7b97a5947c0efc861d793a4d5082c504e50de1b7ba5526ea532a41fd.lock -rwxr-xr-x 1 121 130 0 Apr 4 14:54 bootres_2fe31bb29015d104fc173350d18f428d1a2db72cf17a9e4a1528216c59e705f6.lock -rwxr-xr-x 1 121 130 0 Apr 4 14:52 bootres_317345e4fd943ecf4b0cc87dbe3253a87ef48471d542e4a9825c5fed92766b9d.lock -rwxr-xr-x 1 121 130 0 Apr 4 14:45 bootres_3f4b124e3905f7829ad05259c199c829bcdbec42c839c6bda78eb4682893d01a.lock on maas 3.5 deb we are missing to delete some files under `/run/lock` when we uninstall maas. If maas is reinstalled later, the same uid/gid of the old maas user might be assigned to another user (`avahi` for example) ubuntu@leafeon:~$ ls -al /etc/maas total 44 drwxr-xr-x 4 maas maas 4096 Apr 5 07:52 . drwxr-xr-x 131 root root 12288 Apr 5 07:20 .. -rw------- 1 avahi avahi 285 Apr 4 15:13 agent.yaml drwxr-xr-x 2 maas maas 4096 Apr 2 21:18 certificates -rw-r--r-- 1 root root 5204 Apr 2 21:18 drivers.yaml drwxr-xr-x 2 root root 4096 Apr 5 07:13 preseeds -rw-r----- 1 maas maas 40 Apr 5 07:16 rackd.conf -rw-r----- 1 maas maas 156 Apr 5 07:15 regiond.conf
2024-04-05 12:42:42 Alessandro Marcolini maas: assignee Alessandro Marcolini (alemar99)
2024-04-05 12:42:48 Alessandro Marcolini maas/3.5: assignee Alessandro Marcolini (alemar99)
2024-04-06 07:55:46 Anton Troyanov description on maas 3.5 deb we are missing to delete some files under `/run/lock` when we uninstall maas. If maas is reinstalled later, the same uid/gid of the old maas user might be assigned to another user (`avahi` for example) ubuntu@leafeon:~$ ls -al /etc/maas total 44 drwxr-xr-x 4 maas maas 4096 Apr 5 07:52 . drwxr-xr-x 131 root root 12288 Apr 5 07:20 .. -rw------- 1 avahi avahi 285 Apr 4 15:13 agent.yaml drwxr-xr-x 2 maas maas 4096 Apr 2 21:18 certificates -rw-r--r-- 1 root root 5204 Apr 2 21:18 drivers.yaml drwxr-xr-x 2 root root 4096 Apr 5 07:13 preseeds -rw-r----- 1 maas maas 40 Apr 5 07:16 rackd.conf -rw-r----- 1 maas maas 156 Apr 5 07:15 regiond.conf on maas 3.5 deb we are missing to delete some files under `/etc/maas` when we uninstall maas. If maas is reinstalled later, the same uid/gid of the old maas user might be assigned to another user (`avahi` for example) ubuntu@leafeon:~$ ls -al /etc/maas total 44 drwxr-xr-x 4 maas maas 4096 Apr 5 07:52 . drwxr-xr-x 131 root root 12288 Apr 5 07:20 .. -rw------- 1 avahi avahi 285 Apr 4 15:13 agent.yaml drwxr-xr-x 2 maas maas 4096 Apr 2 21:18 certificates -rw-r--r-- 1 root root 5204 Apr 2 21:18 drivers.yaml drwxr-xr-x 2 root root 4096 Apr 5 07:13 preseeds -rw-r----- 1 maas maas 40 Apr 5 07:16 rackd.conf -rw-r----- 1 maas maas 156 Apr 5 07:15 regiond.conf
2024-04-08 08:13:43 Björn Tillenius maas: status Triaged In Progress
2024-04-09 12:13:53 Alessandro Marcolini maas: status In Progress Fix Committed
2024-04-09 12:13:58 Alessandro Marcolini maas/3.5: status Triaged Fix Committed
2024-04-10 09:30:25 Jacopo Rota merge proposal linked https://code.launchpad.net/~alemar99/maas/+git/maas/+merge/463912
2024-04-10 10:50:26 Alessandro Marcolini maas: status Fix Committed Fix Released
2024-04-10 10:50:28 Alessandro Marcolini maas/3.5: status Fix Committed Fix Released
2024-04-10 11:09:39 Jacopo Rota merge proposal linked https://code.launchpad.net/~alemar99/maas/+git/maas/+merge/464001
2024-04-10 11:11:38 Jacopo Rota maas/3.5: status Fix Released Triaged
2024-04-10 11:11:40 Jacopo Rota maas/3.5: status Triaged Fix Committed
2024-04-10 11:11:42 Jacopo Rota maas: status Fix Released Fix Committed