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

orch checks endpoints before start #358

Open
AlvaroVega opened this issue Apr 12, 2024 · 1 comment
Open

orch checks endpoints before start #358

AlvaroVega opened this issue Apr 12, 2024 · 1 comment

Comments

@AlvaroVega
Copy link
Member

orch is waiting for perseo-fe is up
Maybe orch sould be start if perseo-fe is not started

@AlvaroVega
Copy link
Member Author

According with this

# Perseo: optional
PERSEO_HOST = settings.PERSEO['host']
PERSEO_PORT = settings.PERSEO['port']
PERSEO_PROTOCOL = settings.PERSEO['protocol']
orion = PerseoOperations(PERSEO_PROTOCOL, PERSEO_HOST, PERSEO_PORT)
try:
orion.checkPERSEO()
logger.info("PERSEO endpoint OK")
except Exception as ex:
logger.warn("PERSEO endpoint not found: %s" % ex)

if perseo is not ready just a warn log about that is repoted, but orchestrator starts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant