Repository scan failing for +oci repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Cristian Gonzalez |
Bug Description
We are seeing scan jobs failing on this +oci repository:
https:/
After checking some logs, we can see the scan jobs failing and triggering OOPs, like the following one: https:/
Traceback:
InternalError: current transaction is aborted, commands ignored until end of transaction block
Traceback (most recent call last):
Module lazr.jobrunner.
self.
Module lp.services.
super(
Module lazr.jobrunner.
job.run()
Module lp.code.
self.
Module contextlib, line 35, in __exit__
self.
Module lp.services.
store.
Module storm.store, line 118, in execute
return self._connectio
Module storm.databases
return Connection.
Module storm.database, line 323, in execute
raw_cursor = self.raw_
Module storm.database, line 457, in raw_execute
self.
Module storm.database, line 471, in _run_execution
self.
Module storm.database, line 537, in _check_disconnect
return function(*args, **kwargs)
Module storm.database, line 187, in wrapper
return attr(*args, **kwargs)
Module contextlib, line 35, in __exit__
self.
Module storm.exceptions, line 182, in wrap_exceptions
six.
Module storm.exceptions, line 165, in wrap_exceptions
yield
Module storm.database, line 187, in wrapper
return attr(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
It could potentially be a DB permissions problem as the user that runs the GitRefScanJob does not seem to have permissions for OCI.
Related branches
- Colin Watson (community): Approve
-
Diff: 66 lines (+44/-0)2 files modifieddatabase/schema/security.cfg (+2/-0)
lib/lp/code/model/tests/test_gitjob.py (+42/-0)
Changed in launchpad: | |
status: | New → Triaged |
status: | Triaged → In Progress |
tags: | added: git lp-code oops |
Changed in launchpad: | |
importance: | Undecided → High |
assignee: | nobody → Cristian Gonzalez (cristiangsp) |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |