-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat: add tensorboards-web-app
rock for CKF 1.9
#87
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NohaIhab
changed the title
feat: add
feat: add Aug 28, 2024
tensorboards-web-app
rock for CKF 1.8tensorboards-web-app
rock for CKF 1.9
orfeas-k
reviewed
Sep 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works, small comment
EDIT:
Just integrating in the charm, I got the errors:
2024-09-02T08:15:11.187Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [14] [INFO] Starting gunicorn 23.0.0
2024-09-02T08:15:11.187Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [14] [INFO] Listening at: http://0.0.0.0:5000 (14)
2024-09-02T08:15:11.188Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [14] [INFO] Using worker: sync
2024-09-02T08:15:11.189Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [16] [INFO] Booting worker with pid: 16
2024-09-02T08:15:11.191Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [16] [ERROR] Exception in worker process
2024-09-02T08:15:11.191Z [tensorboards-web-app] Traceback (most recent call last):
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker
2024-09-02T08:15:11.191Z [tensorboards-web-app] worker.init_process()
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/workers/base.py", line 135, in init_process
2024-09-02T08:15:11.191Z [tensorboards-web-app] self.load_wsgi()
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/workers/base.py", line 147, in load_wsgi
2024-09-02T08:15:11.191Z [tensorboards-web-app] self.wsgi = self.app.wsgi()
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/app/base.py", line 66, in wsgi
2024-09-02T08:15:11.191Z [tensorboards-web-app] self.callable = self.load()
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 57, in load
2024-09-02T08:15:11.191Z [tensorboards-web-app] return self.load_wsgiapp()
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp
2024-09-02T08:15:11.191Z [tensorboards-web-app] return util.import_app(self.app_uri)
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/util.py", line 370, in import_app
2024-09-02T08:15:11.191Z [tensorboards-web-app] mod = importlib.import_module(module)
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
2024-09-02T08:15:11.191Z [tensorboards-web-app] return _bootstrap._gcd_import(name[level:], package, level)
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
2024-09-02T08:15:11.191Z [tensorboards-web-app] File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
2024-09-02T08:15:11.191Z [tensorboards-web-app] ModuleNotFoundError: No module named 'entrypoint'
2024-09-02T08:15:11.191Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [16] [INFO] Worker exiting (pid: 16)
2024-09-02T08:15:11.191Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [17] [INFO] Booting worker with pid: 17
2024-09-02T08:15:11.193Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [17] [ERROR] Exception in worker process
2024-09-02T08:15:11.193Z [tensorboards-web-app] Traceback (most recent call last):
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker
2024-09-02T08:15:11.193Z [tensorboards-web-app] worker.init_process()
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/workers/base.py", line 135, in init_process
2024-09-02T08:15:11.193Z [tensorboards-web-app] self.load_wsgi()
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/workers/base.py", line 147, in load_wsgi
2024-09-02T08:15:11.193Z [tensorboards-web-app] self.wsgi = self.app.wsgi()
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/app/base.py", line 66, in wsgi
2024-09-02T08:15:11.193Z [tensorboards-web-app] self.callable = self.load()
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 57, in load
2024-09-02T08:15:11.193Z [tensorboards-web-app] return self.load_wsgiapp()
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp
2024-09-02T08:15:11.193Z [tensorboards-web-app] return util.import_app(self.app_uri)
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/util.py", line 370, in import_app
2024-09-02T08:15:11.193Z [tensorboards-web-app] mod = importlib.import_module(module)
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
2024-09-02T08:15:11.193Z [tensorboards-web-app] return _bootstrap._gcd_import(name[level:], package, level)
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
2024-09-02T08:15:11.193Z [tensorboards-web-app] File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
2024-09-02T08:15:11.193Z [tensorboards-web-app] ModuleNotFoundError: No module named 'entrypoint'
2024-09-02T08:15:11.193Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [17] [INFO] Worker exiting (pid: 17)
2024-09-02T08:15:11.193Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [18] [INFO] Booting worker with pid: 18
2024-09-02T08:15:11.194Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [18] [ERROR] Exception in worker process
2024-09-02T08:15:11.194Z [tensorboards-web-app] Traceback (most recent call last):
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker
2024-09-02T08:15:11.194Z [tensorboards-web-app] worker.init_process()
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/workers/base.py", line 135, in init_process
2024-09-02T08:15:11.194Z [tensorboards-web-app] self.load_wsgi()
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/workers/base.py", line 147, in load_wsgi
2024-09-02T08:15:11.194Z [tensorboards-web-app] self.wsgi = self.app.wsgi()
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/app/base.py", line 66, in wsgi
2024-09-02T08:15:11.194Z [tensorboards-web-app] self.callable = self.load()
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 57, in load
2024-09-02T08:15:11.194Z [tensorboards-web-app] return self.load_wsgiapp()
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp
2024-09-02T08:15:11.194Z [tensorboards-web-app] return util.import_app(self.app_uri)
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "/lib/python3.10/site-packages/gunicorn/util.py", line 370, in import_app
2024-09-02T08:15:11.194Z [tensorboards-web-app] mod = importlib.import_module(module)
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
2024-09-02T08:15:11.194Z [tensorboards-web-app] return _bootstrap._gcd_import(name[level:], package, level)
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
2024-09-02T08:15:11.194Z [tensorboards-web-app] File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
2024-09-02T08:15:11.194Z [tensorboards-web-app] ModuleNotFoundError: No module named 'entrypoint'
2024-09-02T08:15:11.194Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [18] [INFO] Worker exiting (pid: 18)
2024-09-02T08:15:11.206Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [14] [ERROR] Worker (pid:16) exited with code 3
2024-09-02T08:15:11.208Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [14] [ERROR] Worker (pid:17) was sent SIGTERM!
2024-09-02T08:15:11.208Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [14] [ERROR] Worker (pid:18) was sent SIGTERM!
2024-09-02T08:15:11.307Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [14] [ERROR] Shutting down: Master
2024-09-02T08:15:11.307Z [tensorboards-web-app] [2024-09-02 08:15:11 +0000] [14] [ERROR] Reason: Worker failed to boot.
In order to overcome this, as also described here, I had to edit the pebble layer's override
field from replace
to merge
. This worked then.
orfeas-k
approved these changes
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #86
Summary
Testing
/src
Expected output:
Because the container image needs kubeconfig and proper expose of a the serving port, the expected output will be followed by the following errors:
Another test you can do is run the upstream image and compare the output, it should be the same: