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

Job log should be saved to a centralized place #3919

Closed
yixingjia opened this issue Jan 4, 2018 · 7 comments
Closed

Job log should be saved to a centralized place #3919

yixingjia opened this issue Jan 4, 2018 · 7 comments
Assignees

Comments

@yixingjia
Copy link
Contributor

yixingjia commented Jan 4, 2018

Job log should be saved to a centralized place

Issue

Replication/Scan job logs are stored in local filesystem.
In multiple instances scenario user will not be able to view replication/scan logs when a request redirect to the jobservices that don’t have the log file

Requirement

All the replication/scan job logs should be saved to a centralized place. All the jobservice instances should be able to access the job logs

Effort estimate

2 week/p
Currently, job logs are stored on local file system.

Scope:
•1>Support save to redis( Prefered P0)
•2>Import a log system/library (need to investigation) P1
•3>Support save to NFS(Already support)

@steven-zou
Copy link
Contributor

@yixingjia Can be try session-sticky solution?

@yixingjia
Copy link
Contributor Author

It's not related with session-sticky.

User can logout and login after somtime.

@yixingjia yixingjia changed the title Support view Job logs in HA installtion Job log should be saved to a centralized place Jan 11, 2018
@yixingjia yixingjia self-assigned this Feb 7, 2018
@yixingjia
Copy link
Contributor Author

Per the discussion. In harbor 1.5 the Job history will saved to a shared storage. This will not need any extra works but only some environment preparations.

Move this issue to post Harbor1.5

Save to DB and Redis will not an option according to the discussion.

@Freakin
Copy link

Freakin commented Jul 17, 2018

Was this implemented in 1.5.0?

@ghost
Copy link

ghost commented Jul 19, 2018

/cc @reasonerjt

@reasonerjt
Copy link
Contributor

@Freakin no it's not.

@stale
Copy link

stale bot commented Sep 18, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Sep 18, 2018
@stale stale bot closed this as completed Sep 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants