apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.07k stars 1.1k forks source link

GSoC 2022 Idea: View Logs in the UI #6011

Closed davidjumani closed 1 year ago

davidjumani commented 2 years ago

Background

As of now, when an admin encounters an issue or error in CloudStack, the maximum information they can immediately get is the API failure response which provides a reason for the failure. At times this might not be sufficinet to diagnose the error and would require the admin to investiage the CloudStack logs. This would require the admin or the sysadmin to log into the VM running CloudStack and either view or export the logs, and then dive into identifying the issue. This idea aims to eiliminate that step.

The goal of this is to provide admins the ability to view the logs directly in the UI. This would make diagnosing failures and RCAs much quicker.

Requirement

Provide the ability display the logs in the UI

Add an API / WebSocket (and UI) support to :

This will require modifications in the :

Relevant Skills

Difficulty

Simple

Duration

175 hours

Potential Mentors

References

Future Enhancements

Damans227 commented 2 years ago

Nice one!

borisstoyanov commented 2 years ago

@davidjumani good idea, can you please add more details to the idea. One conflict that could potentially appear is that not always Cloudstack root admins have access to logs or even ssh on the management server, so it could be a point of conflict.

Can you also mark if this is a medium project 175hrrs or large one 350.

davidjumani commented 2 years ago

@borisstoyanov I agree that they might not have ssh access for obvious security reasons. But IMO, the admin (or at least root admin) has every right to view the logs since they do not disclose any information that the admin does not already know. This is no different than configuring the rsyslog to export the logs to a remote server If needed, a filter can be added in place to hide certain information

sahilsaini1107 commented 2 years ago

Hello, @borisstoyanov @davidjumani I'm Sahil Saini. I'm an open-source enthusiast and an undergraduate student at IIT BHU. Cloud computing and networking are two topics I'm currently researching. I'm new to open source, but I'm looking forward to working with the cloud stack and exploring it further.

I'd want to work on this issue and submit a proposal for the same. I have recently started exploring the cloud and cloud stack, therefore I'm looking forward for your help and valuable guidance.

I'm very inclined towards learning more about open source and cloud computing, and I believe, that cloud stack is the greatest place for me to start.

sahilsaini1107 commented 2 years ago

Also is it possible to connect with you personally like on slack/discord or anything, to discuss and take advice?

borisstoyanov commented 2 years ago

@sahilsaini110, you can reach me and David on the officual cloudstack slack.

sahilsaini1107 commented 2 years ago

@borisstoyanov Sorry for bothering you again, but I'm having difficulties finding/joining the cloudstack slack channel. Could you perhaps please send me a link or assist me with this?

davidjumani commented 2 years ago

Hi @sahilsaini110 Glad to see your interest! As Boris had mentioned, you can reach out to us on slack or send us an email, our email ids can be found on our GitHub profile

sahilsaini1107 commented 2 years ago

Thank you @davidjumani @borisstoyanov.

mehrdadmoradii commented 2 years ago

Hi @davidjumani @borisstoyanov, I'm Mehrdad, currently a Software Engineering student at Centennial College - focusing on Cloud and Machine Learning. I'm very passionate about open-source software and its fascinating impact. I have just found your program on GSoC and thought it would be an amazing chance to get started with open-source software development.

I'm looking forward to working with you on this issue, please let me know if it is possible.

davidjumani commented 2 years ago

Hi @mehrdadmoradii Good to see your interest in opensource and this project. You can send me an email or reach out on the official cloudstack slack channel and we can discuss this further

borisstoyanov commented 2 years ago

@mehrdadmoradii @sahilsaini110 This week is the deadline to submit proposals into the GSoC platform, to secure your GSoC participation please submit the proposal by Fri.

rohityadavcloud commented 1 year ago

Thanks for submitting the idea, GSoC2022 has ended. I'm closing this, you can resubmit this idea again for next year in case this wasn't selected or worked upon this year.