Activity log for bug #2048519

Date Who What changed Old value New value Message
2024-01-08 10:59:21 Jacopo Rota bug added bug
2024-01-08 10:59:34 Jacopo Rota nominated for series maas/3.4
2024-01-08 10:59:34 Jacopo Rota bug task added maas/3.4
2024-01-08 10:59:34 Jacopo Rota nominated for series maas/3.5
2024-01-08 10:59:34 Jacopo Rota bug task added maas/3.5
2024-01-08 10:59:40 Jacopo Rota maas/3.4: status New Triaged
2024-01-08 10:59:48 Jacopo Rota maas/3.4: importance Undecided Critical
2024-01-08 10:59:52 Jacopo Rota maas/3.4: milestone 3.4.x
2024-01-08 10:59:54 Jacopo Rota maas/3.5: milestone 3.5.0
2024-01-08 15:23:40 Jacopo Rota maas/3.4: importance Critical High
2024-01-08 20:47:15 Jacopo Rota summary Migration during the upgrade to 3.4 stable is failing - default for column "extra" cannot be cast automatically to type jsonb Migration during the upgrade to 3.4 stable is failing for MAAS instances that were originally installed with 1.x
2024-01-08 20:48:03 Jacopo Rota description As per discourse post https://discourse.maas.io/t/upgrade-to-3-4-fails/7761 I tried to upgrade my maas install to 3.4 (from 3.2). So I upgraded PostgreSQL to 14 first (worked perfect). After I upgraded to maas 3.3 with snap refresh --channel=3.3 maas which worked without problem. but snap refresh --channel=3.4 maas results in SQL error: Operations to perform: Apply all migrations: auth, contenttypes, maasserver, metadataserver, piston3, sessions, sites Running migrations: Applying metadataserver.0034_use_builtin_json_field... OK Applying maasserver.0291_rdns_hostnames_as_array... OK Applying maasserver.0292_use_builtin_json_field...Traceback (most recent call last): File "/snap/maas/32469/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) psycopg2.errors.DatatypeMismatch: default for column "extra" cannot be cast automatically to type jsonb As per discourse post https://discourse.maas.io/t/upgrade-to-3-4-fails/7761 snap refresh --channel=3.4 maas results in SQL error: Operations to perform:   Apply all migrations: auth, contenttypes, maasserver, metadataserver, piston3, sessions, sites Running migrations:   Applying metadataserver.0034_use_builtin_json_field... OK   Applying maasserver.0291_rdns_hostnames_as_array... OK   Applying maasserver.0292_use_builtin_json_field...Traceback (most recent call last):   File "/snap/maas/32469/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute     return self.cursor.execute(sql, params) psycopg2.errors.DatatypeMismatch: default for column "extra" cannot be cast automatically to type jsonb
2024-01-09 10:02:39 Jacopo Rota description As per discourse post https://discourse.maas.io/t/upgrade-to-3-4-fails/7761 snap refresh --channel=3.4 maas results in SQL error: Operations to perform:   Apply all migrations: auth, contenttypes, maasserver, metadataserver, piston3, sessions, sites Running migrations:   Applying metadataserver.0034_use_builtin_json_field... OK   Applying maasserver.0291_rdns_hostnames_as_array... OK   Applying maasserver.0292_use_builtin_json_field...Traceback (most recent call last):   File "/snap/maas/32469/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute     return self.cursor.execute(sql, params) psycopg2.errors.DatatypeMismatch: default for column "extra" cannot be cast automatically to type jsonb As per discourse post https://discourse.maas.io/t/upgrade-to-3-4-fails/7761 snap refresh --channel=3.4 maas results in SQL error: Operations to perform:   Apply all migrations: auth, contenttypes, maasserver, metadataserver, piston3, sessions, sites Running migrations:   Applying metadataserver.0034_use_builtin_json_field... OK   Applying maasserver.0291_rdns_hostnames_as_array... OK   Applying maasserver.0292_use_builtin_json_field...Traceback (most recent call last):   File "/snap/maas/32469/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute     return self.cursor.execute(sql, params) psycopg2.errors.DatatypeMismatch: default for column "extra" cannot be cast automatically to type jsonb and Applying maasserver.0302_big_auto_field...Traceback (most recent call last): File "/snap/maas/32469/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) psycopg2.errors.NumericValueOutOfRange: setval: value 0 is out of bounds for sequence "maasserver_vlan_id_seq" (1..9223372036854775807)
2024-01-09 11:05:36 Jacopo Rota merge proposal linked https://code.launchpad.net/~r00ta/maas/+git/maas/+merge/458239
2024-01-09 12:20:26 Alberto Donato bug added subscriber Alberto Donato
2024-01-09 14:51:49 MAAS Lander maas/3.5: status Triaged Fix Committed
2024-01-09 16:41:59 Jacopo Rota merge proposal linked https://code.launchpad.net/~r00ta/maas/+git/maas/+merge/458257
2024-01-09 17:16:34 Alberto Donato removed subscriber Alberto Donato
2024-01-11 19:49:05 Jacopo Rota maas/3.4: status Triaged Fix Committed
2024-03-05 12:20:41 Anton Troyanov maas: milestone 3.5.0 3.5.0-beta1
2024-03-05 12:25:31 Anton Troyanov maas: status Fix Committed Fix Released
2024-03-18 13:32:04 Alexsander de Souza maas/3.4: milestone 3.4.x 3.4.1
2024-03-18 13:36:55 Alexsander de Souza maas/3.4: status Fix Committed Fix Released
2024-06-04 11:06:58 Jacopo Rota maas/3.5: assignee Jacopo Rota (r00ta)
2024-06-04 11:07:03 Jacopo Rota maas: assignee Jacopo Rota (r00ta)
2024-06-04 11:07:05 Jacopo Rota maas/3.4: assignee Jacopo Rota (r00ta)