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

Comments

@yixingjia
Copy link
Contributor

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

This comment has been minimized.

Copy link
Contributor

commented Jan 7, 2018

@yixingjia Can be try session-sticky solution?

@steven-zou steven-zou added area/API area/HA and removed area/API labels Jan 7, 2018

@yixingjia

This comment has been minimized.

Copy link
Contributor Author

commented Jan 11, 2018

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

This comment has been minimized.

Copy link
Contributor Author

commented Mar 27, 2018

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.

@yixingjia yixingjia removed the target/1.5.0 label Mar 27, 2018

@Freakin

This comment has been minimized.

Copy link

commented Jul 17, 2018

Was this implemented in 1.5.0?

@ghost

This comment has been minimized.

Copy link

commented Jul 19, 2018

@reasonerjt

This comment has been minimized.

Copy link
Contributor

commented Jul 20, 2018

@Freakin no it's not.

@stale

This comment has been minimized.

Copy link

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 staled label Sep 18, 2018

@stale stale bot closed this Sep 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.