MAAS Version: 2.9.3
- Issue: Unable to upload Ubuntu 24.04 image
All time status - Selected for download
MAAS Version: 2.9.3
Issue resolved.
Problem with posgress.
2024-06-15 12:20:46 stderr: [error] Traceback (most recent call last):
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2024-06-15 12:20:46 stderr: [error] self.run()
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3.8/threading.py", line 870, in run
2024-06-15 12:20:46 stderr: [error] self._target(*self._args, **self._kwargs)
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/bootresources.py", line 797, in write_content_thread
2024-06-15 12:20:46 stderr: [error] if write_chunk():
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 737, in call_within_transaction
2024-06-15 12:20:46 stderr: [error] return func_outside_txn(*args, **kwargs)
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 540, in retrier
2024-06-15 12:20:46 stderr: [error] return func(*args, **kwargs)
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3.8/contextlib.py", line 75, in inner
2024-06-15 12:20:46 stderr: [error] return func(*args, **kwds)
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/bootresources.py", line 793, in write_chunk
2024-06-15 12:20:46 stderr: [error] return False
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/fields.py", line 394, in exit
2024-06-15 12:20:46 stderr: [error] self.close()
2024-06-15 12:20:46 stderr: [error] psycopg2.OperationalError: ERROR: current transaction is aborted, commands ignored until end of transaction block
2024-06-15 12:20:46 stderr: [error]
2024-06-15 12:20:46 stderr: [error] Exception in thread Thread-29:
2024-06-15 12:20:46 stderr: [error] Traceback (most recent call last):
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/bootresources.py", line 785, in write_chunk
2024-06-15 12:20:46 stderr: [error] stream.write(buf)
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/fields.py", line 405, in write
2024-06-15 12:20:46 stderr: [error] self._lobject.write(data)
2024-06-15 12:20:46 stderr: [error] psycopg2.OperationalError: ERROR: invalid page in block 2529076 of relation base/16402/2613
2024-06-15 12:20:46 stderr: [error]
2024-06-15 12:20:46 stderr: [error]
2024-06-15 12:20:46 stderr: [error] During handling of the above exception, another exception occurred:
2024-06-15 12:20:46 stderr: [error]
2024-06-15 12:20:46 stderr: [error] Traceback (most recent call last):
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2024-06-15 12:20:46 stderr: [error] self.run()
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3.8/threading.py", line 870, in run
2024-06-15 12:20:46 stderr: [error] self._target(*self._args, **self._kwargs)
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/bootresources.py", line 797, in write_content_thread
2024-06-15 12:20:46 stderr: [error] if write_chunk():
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 737, in call_within_transaction
2024-06-15 12:20:46 stderr: [error] return func_outside_txn(*args, **kwargs)
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 540, in retrier
2024-06-15 12:20:46 stderr: [error] return func(*args, **kwargs)
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3.8/contextlib.py", line 75, in inner
2024-06-15 12:20:46 stderr: [error] return func(*args, **kwds)
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/bootresources.py", line 793, in write_chunk
2024-06-15 12:20:46 stderr: [error] return False
2024-06-15 12:20:46 stderr: [error] File "/usr/lib/python3/dist-packages/maasserver/fields.py", line 394, in exit
2024-06-15 12:20:46 stderr: [error] self.close()
2024-06-15 12:20:46 stderr: [error] psycopg2.OperationalError: ERROR: current transaction is aborted, commands ignored until end of transaction block
SET zero_damaged_pages = on;
VACUUM FULL pg_catalog.pg_largeobject;