Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ Put less noise to RUT logging #5170

Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
db23f5e
listen to wallet events in payment system
matusdrobuliak66 Nov 10, 2023
5fe1d79
Merge branch 'master' into is922/auto-recharge-emit-msg
matusdrobuliak66 Nov 10, 2023
bd38e85
fix test
matusdrobuliak66 Nov 10, 2023
d5ae4c4
Merge branch 'is922/auto-recharge-emit-msg' of github.com:matusdrobul…
matusdrobuliak66 Nov 10, 2023
caefaf1
fix tests
matusdrobuliak66 Nov 10, 2023
caf251d
Merge branch 'master' into is922/auto-recharge-emit-msg
matusdrobuliak66 Nov 10, 2023
ee3d0ff
Merge branch 'master' into is922/auto-recharge-emit-msg
matusdrobuliak66 Nov 12, 2023
1967ea4
review @sanderegg
matusdrobuliak66 Nov 12, 2023
ff86c8c
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 13, 2023
99d879c
a
matusdrobuliak66 Nov 14, 2023
98238ef
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 15, 2023
6348a64
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 16, 2023
f91448a
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 16, 2023
4511242
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 17, 2023
7002724
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 20, 2023
2e8a8c5
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 22, 2023
861844a
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 23, 2023
a856d44
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 28, 2023
09e7c3e
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Nov 30, 2023
589f4e6
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 1, 2023
64abe63
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 4, 2023
b762a6b
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 4, 2023
c900653
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 5, 2023
73938a8
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 5, 2023
f5351cf
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 5, 2023
295b3e4
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 5, 2023
49d5a4e
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 6, 2023
0fe74c3
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 7, 2023
776c18c
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 8, 2023
39c0720
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 11, 2023
ce5965b
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 12, 2023
9cdb81a
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 12, 2023
6261cf9
Merge branch 'master' of github.com:ITISFoundation/osparc-simcore
matusdrobuliak66 Dec 13, 2023
a9ef7c7
putting less noise to error messages
matusdrobuliak66 Dec 13, 2023
9410724
putting less noise to error messages
matusdrobuliak66 Dec 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@

async def process_message(app: FastAPI, data: bytes) -> bool:
rabbit_message = parse_raw_as(RabbitResourceTrackingMessages, data)
_logger.info("Process msg service_run_id: %s", rabbit_message.service_run_id)
_logger.info(
"Process %s msg service_run_id: %s",
rabbit_message.message_type,
rabbit_message.service_run_id,
)
resource_tracker_repo: ResourceTrackerRepository = ResourceTrackerRepository(
db_engine=app.state.engine
)
Expand Down Expand Up @@ -220,8 +224,10 @@ async def _process_stop_event(
service_run_id=msg.service_run_id
)
if not service_run_db:
_logger.error(
"Recieved stop event for service_run_id: %s, but we do not have the started record in the DB, INVESTIGATE!",
# NOTE: ANE/MD discussed. When the RUT receives a stop event and has not received before any start or heartbeat event, it probably means that
# we failed to start container. https://github.com/ITISFoundation/osparc-simcore/issues/5169
_logger.warning(
"Recieved stop event for service_run_id: %s, but we do not have any record in the DB, therefore the service probably didn't start correctly.",
msg.service_run_id,
)
return
Expand Down
Loading