Closed
Bug 1437154
Opened 8 years ago
Closed 7 years ago
Lando API Deploy + Env Update
Categories
(Cloud Services :: Operations: LandoAPI, task)
Cloud Services
Operations: LandoAPI
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: smacleod, Assigned: ckolos)
References
Details
Attachments
(1 file)
Request to Deploy - No security sensitive items in this bug
Service: Lando API
Location: Dev
Image Tag from DockerHub:
https://hub.docker.com/r/mozilla/landoapi/tags/
6f1821268426d14dcaa2d734c500360ef636fa70
Migration Needed: Unsure - please run python landoapi/manage.py upgrade
New Environment Variables:
Dev:
See Bug 1435086 for details on the new environment required for the redis cache.
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ckolos
| Assignee | ||
Comment 1•8 years ago
|
||
deployed with bugs, waiting on fix.
| Assignee | ||
Comment 2•8 years ago
|
||
Migration fails as well:
Traceback (most recent call last):
File "landoapi/manage.py", line 12, in <module>
app = create_app(version_path)
File "/usr/local/lib/python3.5/site-packages/landoapi/app.py", line 26, in create_app
app.add_api('swagger.yml', resolver=RestyResolver('landoapi.api'))
File "/usr/local/lib/python3.5/site-packages/connexion/apps/flask_app.py", line 73, in add_api
resolver=resolver, resolver_error=resolver_error, pythonic_params=pythonic_params
File "/usr/local/lib/python3.5/site-packages/connexion/apps/abstract.py", line 168, in add_api
pythonic_params=pythonic_params)
File "/usr/local/lib/python3.5/site-packages/connexion/apis/flask_api.py", line 61, in __init__
pythonic_params=pythonic_params
File "/usr/local/lib/python3.5/site-packages/connexion/apis/abstract.py", line 152, in __init__
self.add_paths()
File "/usr/local/lib/python3.5/site-packages/connexion/apis/abstract.py", line 272, in add_paths
self._handle_add_operation_error(path, method, exc_info)
File "/usr/local/lib/python3.5/site-packages/connexion/apis/abstract.py", line 286, in _handle_add_operation_error
six.reraise(*exc_info)
File "/usr/local/lib/python3.5/site-packages/six.py", line 686, in reraise
raise value
File "/usr/local/lib/python3.5/site-packages/connexion/resolver.py", line 62, in resolve_function_from_operation_id
return self.function_resolver(operation_id)
File "/usr/local/lib/python3.5/site-packages/connexion/utils.py", line 39, in get_function_from_name
raise last_import_error
File "/usr/local/lib/python3.5/site-packages/connexion/utils.py", line 27, in get_function_from_name
module = importlib.import_module(module_name)
File "/usr/local/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 985, in _gcd_import
File "<frozen importlib._bootstrap>", line 968, in _find_and_load
File "<frozen importlib._bootstrap>", line 957, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 697, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/usr/local/lib/python3.5/site-packages/landoapi/api/landings.py", line 17, in <module>
from landoapi import auth
File "/usr/local/lib/python3.5/site-packages/landoapi/auth.py", line 18, in <module>
from landoapi.mocks.auth import MockAuth0
ImportError: No module named 'landoapi.mocks
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
The new image with the fix is: 9f9b30fabcde6005f809c39a9f059e61b7502d24
| Assignee | ||
Comment 5•7 years ago
|
||
this was done
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•