Failed updating from 3.3 to 3.4/beta
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
High
|
Alberto Donato | ||
3.4 |
Fix Committed
|
High
|
Alberto Donato |
Bug Description
ubuntu@foo:/root$ sudo snap install maas-test-db && sudo snap install maas
maas-test-db (3.3/stable) 14.2-29-g.ed8d7f2 from Canonical✓ installed
maas (3.3/stable) 3.3.4-13189-
ubuntu@foo:/root$ sudo maas init region+rack
>>>
maasdb=# \d maasserver_
Type | Start | Minimum | Maximum | Increment | Cycles? | Cache
-------
integer | 1 | 1 | 2147483647 | 1 | no | 1
Owned by: public.
maasdb=# select * from maasserver_fabric;
id | created | updated | name | class_type | description
----+--
0 | 2023-09-27 09:48:09.865126+00 | 2023-09-27 09:48:09.865126+00 | fabric-0 | |
(1 row)
>>>
ubuntu@foo:/root$ sudo snap refresh maas --channel=3.4/beta
Handling re-refresh of "maas" as needed -
Applying maasserver.
Applying maasserver.
Applying maasserver.
Applying maasserver.
Applying maasserver.
Applying metadataserver.
Applying metadataserver.
Applying maasserver.
Applying maasserver.
Applying maasserver.
Applying maasserver.
Applying maasserver.
Applying maasserver.
Applying maasserver.
File "/snap/
return self.cursor.
psycopg2.
More detailed stacktrace:
[|] Performing database migrations
File "/snap/
utility.
File "/snap/
self.
File "/snap/
self.
File "/snap/
output = self.handle(*args, **options)
File "/snap/
call_command(
File "/snap/
return command.
File "/snap/
output = self.handle(*args, **options)
File "/snap/
res = handle_func(*args, **kwargs)
File "/snap/
post_
File "/snap/
state = self._migrate_
File "/snap/
state = self.apply_
File "/snap/
state = migration.
File "/snap/
operation.
File "/snap/
schema_
File "/snap/
self.
File "/snap/
super(
File "/snap/
self.
File "/snap/
cursor.
File "/snap/
return self._execute_
File "/snap/
return executor(sql, params, many, context)
File "/snap/
with self.db.
File "/snap/
raise dj_exc_
File "/snap/
return self.cursor.
django.
Related branches
- MAAS Lander: Needs Fixing
- Alberto Donato: Approve
-
Diff: 138 lines (+20/-35)5 files modifiedsrc/maasserver/migrations/maasserver/0302_big_auto_field.py (+0/-25)
src/maasserver/models/domain.py (+5/-3)
src/maasserver/models/fabric.py (+6/-1)
src/maasserver/models/globaldefault.py (+4/-3)
src/maasserver/models/resourcepool.py (+5/-3)
- Alberto Donato: Approve
-
Diff: 138 lines (+20/-35)5 files modifiedsrc/maasserver/migrations/maasserver/0302_big_auto_field.py (+0/-25)
src/maasserver/models/domain.py (+5/-3)
src/maasserver/models/fabric.py (+6/-1)
src/maasserver/models/globaldefault.py (+4/-3)
src/maasserver/models/resourcepool.py (+5/-3)
- MAAS Lander: Approve
- Anton Troyanov: Approve
-
Diff: 138 lines (+20/-35)5 files modifiedsrc/maasserver/migrations/maasserver/0302_big_auto_field.py (+0/-25)
src/maasserver/models/domain.py (+5/-3)
src/maasserver/models/fabric.py (+6/-1)
src/maasserver/models/globaldefault.py (+4/-3)
src/maasserver/models/resourcepool.py (+5/-3)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Alberto Donato (ack) |
milestone: | none → 3.4.0 |
description: | updated |
Changed in maas: | |
milestone: | 3.4.0 → none |
Changed in maas: | |
milestone: | none → 3.5.0 |
status: | In Progress → Fix Committed |