Public bug reported: I got MAAS in snap maas 2.9.2-9165-g.c3e7848d1 12555 2.9/stable canonical✓ -
PostgreSQL was upgraded # tail -f /var/log/apt/term.log Log started: 2021-08-13 06:50:57 (Reading database ... 163957 files and directories currently installed.) Preparing to unpack .../postgresql-12_12.8-0ubuntu0.20.04.1_amd64.deb ... Unpacking postgresql-12 (12.8-0ubuntu0.20.04.1) over (12.7-0ubuntu0.20.04.1) ... Setting up postgresql-12 (12.8-0ubuntu0.20.04.1) ... Processing triggers for postgresql-common (214ubuntu0.1) ... Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: Log ended: 2021-08-13 06:50:59 Now MAAS won't start $ tail -f /var/snap/maas/common/log/regiond.log ... 2021-08-13 15:21:16 regiond: [info] 10.198.0.16 GET /MAAS/rpc/ HTTP/1.1 --> 500 INTERNAL_SERVER_ERROR (referrer: -; agent: provisioningserver.rpc.clusterservice.ClusterClientService) 2021-08-13 15:21:16 maasserver: [error] ################################ Exception: could not load library "/usr/lib/postgresql/12/lib/plpgsql.so": /usr/lib/postgresql/12/lib/plpgsql.so: undefined symbol: EnsurePortalSnapshotExists ################################ 2021-08-13 15:21:16 maasserver: [error] Traceback (most recent call last): File "/snap/maas/12555/lib/python3.8/site-packages/maasserver/components.py", line 42, in register_persistent_error notification = Notification.objects.get(ident=component) File "/snap/maas/12555/usr/lib/python3/dist-packages/django/db/models/manager.py", line 82, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/snap/maas/12555/usr/lib/python3/dist-packages/django/db/models/query.py", line 406, in get raise self.model.DoesNotExist( maasserver.models.notification.Notification.DoesNotExist: Notification matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/snap/maas/12555/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) psycopg2.errors.UndefinedFile: could not load library "/usr/lib/postgresql/12/lib/plpgsql.so": /usr/lib/postgresql/12/lib/plpgsql.so: undefined symbol: EnsurePortalSnapshotExists ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: postgresql-12 12.8-0ubuntu0.20.04.1 ProcVersionSignature: Ubuntu 5.4.0-73.82-generic 5.4.106 Uname: Linux 5.4.0-73-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.18 Architecture: amd64 CasperMD5CheckResult: pass Date: Fri Aug 13 15:14:38 2021 InstallationDate: Installed on 2021-05-13 (92 days ago) InstallationMedia: Ubuntu-Server 20.04.2 LTS "Focal Fossa" - Release amd64 (20210201.2) SourcePackage: postgresql-12 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: postgresql-12 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal uec-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1939898 Title: Unnatended postgresql-12 upgrade caused MAAS internal error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgresql-12/+bug/1939898/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs