Commit 1f8bac27 authored by prakash.raguri's avatar prakash.raguri

fix-16-05-2023

parent 14f387aa
......@@ -6,3 +6,7 @@ HELM_REPO = https://gitlab-pm.knowledgelens.com/KnowledgeLens/Products/iLens-2.0
GIT_USERNAME = harshavardhan.c
GIT_TOKEN = FEMA6PnP63fJCs6DrtZJ
GLOBAL_VARIABLES_FILE=ilens-env-spec-variables.yml
......@@ -25,6 +25,10 @@ deployment:
limits:
memory: <{ limit_memory | default("750Mi") }>
cpu: <{ limit_cpu | default("500Mi") }>
environmentConfig:
envFrom:
- configMapRef:
name: ilens-global-variables
environmentVar:
- name: MONGO_URI
......
......@@ -22,6 +22,11 @@ HELM_STORE_PATH = "./helm-charts"
global_configmap = EnvironmentVariables.global_configmap
helm_repo = EnvironmentVariables.helm_repo
mapping_json = {
"visualization-4": "visualization4.0",
"metadata-service": "metadata-services"
}
class HelmVersionUpgrade:
def __init__(self, arguments: dict, git_user_name: str, git_access_token: str):
......@@ -75,6 +80,7 @@ class HelmVersionUpgrade:
if not os.path.exists(template_path):
os.makedirs(template_path)
for _module in _module_names:
updated_module_name = mapping_json.get(_module, _module)
if _module == "data":
continue
helm_out_file_path = os.path.join(output_path, f'{_module}.yml')
......@@ -88,7 +94,7 @@ class HelmVersionUpgrade:
logging.debug(f"Helm Deployment File found for selected the module {_module}")
continue
variables_file_path = os.path.join(module_path, variables_file)
git_info = self.git_handler_obj.get_git_url_by_module_name(module_name=_module)
git_info = self.git_handler_obj.get_git_url_by_module_name(module_name=updated_module_name)
if not git_info:
logging.debug("Failed to fetch module info!! Skipping Helm File Preparation")
continue
......@@ -107,7 +113,7 @@ class HelmVersionUpgrade:
template_file = os.path.join(template_path, f'{_module}.yml')
session_obj = get_db_for_func()
module_info = self.db_handler.get_module_versions(
input_data=GetRequest(module_name=_module, client='iLens', ilens_version=_ilens_version,
input_data=GetRequest(module_name=updated_module_name, client='iLens', ilens_version=_ilens_version,
release_version=_release_version), db=session_obj)
session_obj.close()
image_url = module_info.get("image_url", '') if module_info else ''
......
2022-09-21 23:25:42 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:25:43 - INFO - [MainThread:serve():75] - Started server process [15712]
2022-09-21 23:25:43 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:25:43 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:25:43 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-21 23:31:47 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-21 23:31:47 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-21 23:31:47 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-21 23:31:47 - INFO - [MainThread:serve():85] - Finished server process [15712]
2022-09-21 23:48:35 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:48:35 - INFO - [MainThread:serve():75] - Started server process [17736]
2022-09-21 23:48:35 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:48:43 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:48:43 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-21 23:51:33 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:51:49 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:52:07 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-21 23:52:08 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-21 23:52:08 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-21 23:52:08 - INFO - [MainThread:serve():85] - Finished server process [17736]
2022-09-21 23:52:15 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:52:15 - INFO - [MainThread:serve():75] - Started server process [7504]
2022-09-21 23:52:15 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:52:15 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:52:15 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-21 23:52:20 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:53:36 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:55:17 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-21 23:55:17 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-21 23:55:17 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-21 23:55:17 - INFO - [MainThread:serve():85] - Finished server process [7504]
2022-09-21 23:56:39 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:56:39 - INFO - [MainThread:serve():75] - Started server process [17264]
2022-09-21 23:56:39 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:56:39 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:56:39 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-21 23:57:04 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:58:37 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-21 23:58:37 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-21 23:58:37 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-21 23:58:37 - INFO - [MainThread:serve():85] - Finished server process [17264]
2022-09-21 23:58:43 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:58:44 - INFO - [MainThread:serve():75] - Started server process [17436]
2022-09-21 23:58:44 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:58:44 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:58:44 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:06:29 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:06:29 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 00:06:34 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:06:34 - INFO - [MainThread:serve():75] - Started server process [10096]
2022-09-22 00:06:34 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:06:34 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:06:34 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:07:05 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:07:05 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 00:07:12 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:07:12 - INFO - [MainThread:serve():75] - Started server process [18108]
2022-09-22 00:07:12 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:07:12 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:07:12 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:08:07 - ERROR - [AnyIO worker thread:read_data_from_db():45] - 'ILensVersionHandler' object has no attribute 'table'
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 33, in read_data_from_db
db.query(self.table).filter(
AttributeError: 'ILensVersionHandler' object has no attribute 'table'
2022-09-22 00:08:36 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:08:40 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:08:40 - INFO - [MainThread:serve():75] - Started server process [12188]
2022-09-22 00:08:40 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:08:40 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:08:40 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:12:06 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:12:06 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 00:12:11 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:12:11 - INFO - [MainThread:serve():75] - Started server process [1060]
2022-09-22 00:12:11 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:12:11 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:12:11 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:13:19 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:13:24 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:13:24 - INFO - [MainThread:serve():75] - Started server process [18216]
2022-09-22 00:13:24 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:13:24 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:13:24 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:19:00 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:19:00 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 00:19:06 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:19:06 - INFO - [MainThread:serve():75] - Started server process [17204]
2022-09-22 00:19:06 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:19:06 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:19:06 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:20:34 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:20:38 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:20:38 - INFO - [MainThread:serve():75] - Started server process [12280]
2022-09-22 00:20:38 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:20:38 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:20:38 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:20:44 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:20:48 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:20:48 - INFO - [MainThread:serve():75] - Started server process [17100]
2022-09-22 00:20:48 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:20:48 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:20:48 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:21:13 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:21:17 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:21:17 - INFO - [MainThread:serve():75] - Started server process [10472]
2022-09-22 00:21:17 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:21:17 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:21:17 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:22:24 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:22:24 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 00:22:24 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 00:22:24 - INFO - [MainThread:serve():85] - Finished server process [10472]
2022-09-22 00:22:26 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:22:26 - INFO - [MainThread:serve():75] - Started server process [17968]
2022-09-22 00:22:26 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:22:26 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:22:26 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 10:47:14 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 10:47:14 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 10:47:14 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 10:47:14 - INFO - [MainThread:serve():85] - Finished server process [17968]
2022-09-22 11:48:25 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 11:48:25 - INFO - [MainThread:serve():75] - Started server process [19860]
2022-09-22 11:48:25 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 11:48:25 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 11:48:25 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 11:50:48 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 11:50:48 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 11:50:57 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 11:50:57 - INFO - [MainThread:serve():75] - Started server process [7008]
2022-09-22 11:50:57 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 11:50:57 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 11:50:57 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 11:55:08 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 11:55:08 - INFO - [MainThread:serve():75] - Started server process [20896]
2022-09-22 11:55:08 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 11:55:08 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 11:55:08 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 11:56:41 - ERROR - [AnyIO worker thread:get_data_by_module_name():61] - Boolean value of this clause is not defined
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:41 - ERROR - [AnyIO worker thread:get_module_versions():42] - Exception Occurred while getting the record in db ('Boolean value of this clause is not defined',)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in get_module_versions
existing_data := ilens_version_db.get_data_by_module_name(
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:41 - ERROR - [AnyIO worker thread:get_increment_version_release():28] - Exception occurred while updating the tag version ('Boolean value of this clause is not defined',)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\services\__init__.py", line 26, in get_increment_version_release
return db_handler.get_module_versions(input_data, db)
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in get_module_versions
existing_data := ilens_version_db.get_data_by_module_name(
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:54 - ERROR - [AnyIO worker thread:get_data_by_module_name():61] - Boolean value of this clause is not defined
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:54 - ERROR - [AnyIO worker thread:get_module_versions():42] - Exception Occurred while getting the record in db ('Boolean value of this clause is not defined',)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in get_module_versions
existing_data := ilens_version_db.get_data_by_module_name(
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:54 - ERROR - [AnyIO worker thread:get_increment_version_release():28] - Exception occurred while updating the tag version ('Boolean value of this clause is not defined',)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\services\__init__.py", line 26, in get_increment_version_release
return db_handler.get_module_versions(input_data, db)
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in get_module_versions
existing_data := ilens_version_db.get_data_by_module_name(
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:57:29 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 11:57:29 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 11:57:29 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 11:57:29 - INFO - [MainThread:serve():85] - Finished server process [20896]
2022-09-22 11:57:33 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 11:57:33 - INFO - [MainThread:serve():75] - Started server process [21280]
2022-09-22 11:57:33 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 11:57:33 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 11:57:33 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 12:04:30 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 12:04:34 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 12:04:34 - INFO - [MainThread:serve():75] - Started server process [9344]
2022-09-22 12:04:34 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 12:04:34 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 12:04:34 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 12:28:41 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 12:28:41 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 12:28:46 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 12:28:46 - INFO - [MainThread:serve():75] - Started server process [4496]
2022-09-22 12:28:46 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 12:28:46 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 12:28:46 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 12:46:02 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 12:46:07 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 12:46:07 - INFO - [MainThread:serve():75] - Started server process [14656]
2022-09-22 12:46:07 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 12:46:07 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 12:46:07 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:45:05 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:45:10 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:45:10 - INFO - [MainThread:serve():75] - Started server process [5596]
2022-09-22 13:45:10 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:45:10 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:45:10 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:53:19 - ERROR - [AnyIO worker thread:update_module_versions():39] - Exception Occurred while updating the record in db ("'dict' object has no attribute 'dict'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in update_module_versions
return ilens_version_db.add_module_version_record(insert_record=TableInsertSchema(**existing_data.dict()))
AttributeError: 'dict' object has no attribute 'dict'
2022-09-22 13:53:19 - ERROR - [AnyIO worker thread:increment_version_release():18] - Exception occurred while updating the tag version ("'dict' object has no attribute 'dict'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\services\__init__.py", line 16, in increment_version_release
return db_handler.update_module_versions(input_data, db)
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in update_module_versions
return ilens_version_db.add_module_version_record(insert_record=TableInsertSchema(**existing_data.dict()))
AttributeError: 'dict' object has no attribute 'dict'
2022-09-22 13:56:25 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:56:31 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:56:31 - INFO - [MainThread:serve():75] - Started server process [11232]
2022-09-22 13:56:31 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:56:31 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:56:31 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:58:52 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:58:52 - INFO - [MainThread:serve():75] - Started server process [2744]
2022-09-22 13:58:52 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:58:52 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:58:52 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:58:57 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:59:00 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:59:00 - INFO - [MainThread:serve():75] - Started server process [15576]
2022-09-22 13:59:00 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:59:00 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:59:00 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:59:03 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:59:06 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:59:06 - INFO - [MainThread:serve():75] - Started server process [2004]
2022-09-22 13:59:06 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:59:06 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:59:06 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:59:35 - ERROR - [AnyIO worker thread:update_module_versions():43] - Exception Occurred while updating the record in db ("'dict' object has no attribute 'dict'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 40, in update_module_versions
return ilens_version_db.add_module_version_record(insert_record=TableInsertSchema(**existing_data.dict()))
AttributeError: 'dict' object has no attribute 'dict'
2022-09-22 13:59:35 - ERROR - [AnyIO worker thread:increment_version_release():18] - Exception occurred while updating the tag version ("'dict' object has no attribute 'dict'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\services\__init__.py", line 16, in increment_version_release
return db_handler.update_module_versions(input_data, db)
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 40, in update_module_versions
return ilens_version_db.add_module_version_record(insert_record=TableInsertSchema(**existing_data.dict()))
AttributeError: 'dict' object has no attribute 'dict'
2022-09-22 13:59:49 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:59:52 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:59:52 - INFO - [MainThread:serve():75] - Started server process [20144]
2022-09-22 13:59:52 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:59:52 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:59:52 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:01:58 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:02:01 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:02:01 - INFO - [MainThread:serve():75] - Started server process [18200]
2022-09-22 14:02:01 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:02:01 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:02:01 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:03:21 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:03:25 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:03:25 - INFO - [MainThread:serve():75] - Started server process [6920]
2022-09-22 14:03:25 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:03:25 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:03:25 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:03:53 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:03:57 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:03:57 - INFO - [MainThread:serve():75] - Started server process [19888]
2022-09-22 14:03:57 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:03:57 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:03:57 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:05:32 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:05:32 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 14:05:32 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 14:05:32 - INFO - [MainThread:serve():85] - Finished server process [19888]
2022-09-22 14:05:36 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:05:36 - INFO - [MainThread:serve():75] - Started server process [2112]
2022-09-22 14:05:36 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:05:36 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:05:36 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:12:57 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:13:01 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:13:01 - INFO - [MainThread:serve():75] - Started server process [20600]
2022-09-22 14:13:01 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:13:01 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:13:01 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:17:02 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:17:03 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 14:17:32 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:17:33 - INFO - [MainThread:serve():75] - Started server process [6876]
2022-09-22 14:17:33 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:17:33 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:17:33 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:18:56 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:18:59 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:19:00 - INFO - [MainThread:serve():75] - Started server process [12480]
2022-09-22 14:19:00 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:19:00 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:19:00 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 15:44:11 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 15:44:11 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 15:44:11 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 15:44:11 - INFO - [MainThread:serve():85] - Finished server process [12480]
2022-09-22 15:44:14 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 15:44:14 - INFO - [MainThread:serve():75] - Started server process [5352]
2022-09-22 15:44:14 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 15:44:14 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 15:44:14 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 16:52:09 - ERROR - [MainThread:read_data_from_db():42] - 'Depends' object has no attribute 'query'
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 29, in read_data_from_db
if data := (db.query(self.table).order_by(desc(self.table.ilens_version), desc(self.table.release_version),
AttributeError: 'Depends' object has no attribute 'query'
2022-09-22 16:52:20 - ERROR - [MainThread:get_module_versions():66] - Exception Occurred while getting the record in db ("'Depends' object has no attribute 'query'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 62, in get_module_versions
if existing_data := ilens_version_db.read_data_from_db(input_data=GetRequest(**input_data.dict()),
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 29, in read_data_from_db
if data := (db.query(self.table).order_by(desc(self.table.ilens_version), desc(self.table.release_version),
AttributeError: 'Depends' object has no attribute 'query'
2022-09-22 16:57:00 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 16:57:01 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 16:57:01 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 16:57:01 - INFO - [MainThread:serve():85] - Finished server process [5352]
2022-09-22 17:02:38 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 17:02:38 - INFO - [MainThread:serve():75] - Started server process [17400]
2022-09-22 17:02:38 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 17:02:38 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 17:02:38 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 17:04:29 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 17:04:29 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 17:04:29 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 17:04:29 - INFO - [MainThread:serve():85] - Finished server process [17400]
2022-09-22 17:04:34 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 17:04:34 - INFO - [MainThread:serve():75] - Started server process [14984]
2022-09-22 17:04:34 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 17:04:34 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 17:04:34 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 19:47:03 - ERROR - [MainThread:push_helm_deployments():120] - Exception while pushing helm deployments: ('Missing attributes: actions',)
Traceback (most recent call last):
File "D:\helm-script\helm_automate_script.py", line 118, in push_helm_deployments
commit = pl.commits.create(commit_data)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 293, in create
self._create_attrs.validate_attrs(data=data)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\types.py", line 24, in validate_attrs
raise AttributeError(f"Missing attributes: {', '.join(missing)}")
AttributeError: Missing attributes: actions
2022-09-22 19:48:11 - ERROR - [MainThread:push_helm_deployments():121] - Exception while pushing helm deployments: ('You can only create or edit files when you are on a branch',)
Traceback (most recent call last):
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 300, in create
server_data = self.gitlab.http_post(path, post_data=data, files=files, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 1015, in http_post
result = self.http_request(
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 798, in http_request
raise gitlab.exceptions.GitlabHttpError(
gitlab.exceptions.GitlabHttpError: 400: You can only create or edit files when you are on a branch
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\helm-script\helm_automate_script.py", line 119, in push_helm_deployments
pl.commits.create(commit_data)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 327, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabCreateError: 400: You can only create or edit files when you are on a branch
2022-09-22 19:51:53 - ERROR - [MainThread:push_helm_deployments():122] - Exception while pushing helm deployments: ('Missing attributes: ref',)
Traceback (most recent call last):
File "D:\helm-script\helm_automate_script.py", line 105, in push_helm_deployments
pl.branches.create({ 'branch': f"{client_name}_{ilens_version}.{release_version}"})
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 293, in create
self._create_attrs.validate_attrs(data=data)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\types.py", line 24, in validate_attrs
raise AttributeError(f"Missing attributes: {', '.join(missing)}")
AttributeError: Missing attributes: ref
2022-09-23 17:50:20 - ERROR - [MainThread:push_helm_deployments():122] - Exception while pushing helm deployments: ('Branch already exists',)
Traceback (most recent call last):
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 300, in create
server_data = self.gitlab.http_post(path, post_data=data, files=files, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 1015, in http_post
result = self.http_request(
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 798, in http_request
raise gitlab.exceptions.GitlabHttpError(
gitlab.exceptions.GitlabHttpError: 400: Branch already exists
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\GitRepos\helm-automation-script\helm_automate_script.py", line 105, in push_helm_deployments
pl.branches.create({ 'branch': f"{client_name}_{ilens_version}.{release_version}", 'ref': pl.default_branch})
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 327, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabCreateError: 400: Branch already exists
2022-09-27 15:19:53 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file workflow-management - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 15:19:53 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file ebpr-report-engine - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 15:19:53 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file ebpr-report-engine - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 15:22:15 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file workflow-management - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 15:26:15 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file workflow-management - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 16:37:45 - ERROR - [MainThread:push_helm_deployments():124] - Exception while pushing helm deployments: ('Branch already exists',)
Traceback (most recent call last):
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 300, in create
server_data = self.gitlab.http_post(path, post_data=data, files=files, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 1015, in http_post
result = self.http_request(
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 798, in http_request
raise gitlab.exceptions.GitlabHttpError(
gitlab.exceptions.GitlabHttpError: 400: Branch already exists
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "helm_automate_script.py", line 107, in push_helm_deployments
pl.branches.create({ 'branch': f"{client_name}_{ilens_version}.{release_version}", 'ref': pl.default_branch})
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 327, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabCreateError: 400: Branch already exists
......@@ -61,8 +61,10 @@ class EnvironmentVariables:
class _ModuleConstants(BaseSettings):
IOT_DATA_PROCESSOR: Optional[list] = ["mqtt-data-processor-worker", "iot-data-processor-worker"]
IOT_DATA_PROCESSOR: Optional[list] = ["mqtt-data-processor-worker", "iot-data-processor-worker", "data-processor-worker-iot-apollo", "data-processor-worker-iot-goodyear", "data-processor-worker-mqtt"]
IOT_DATA_PROCESSOR_MODULE: Optional[str] = "data-processor-worker"
# CORE_DATA_PROCESSOR: Optional[list] = ["", ""]
# CORE_DATA_PROCESSOR_MODULE: Optional[str] = "data-processor"
ModuleConstants = _ModuleConstants(_env_file=".env", _env_file_encoding="utf-8")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment