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

New upstream guest agent project #118

Open
olivierlambert opened this issue Sep 3, 2021 · 8 comments
Open

New upstream guest agent project #118

olivierlambert opened this issue Sep 3, 2021 · 8 comments

Comments

@olivierlambert
Copy link

Hello there!

We are organizing with the Xen project to rewrite guest agent from scratch, under the Xen Project umbrella directly (and not only XCP or XenServer).

Goals are:

  • providing a unified upstream source repo for distro maintainers
  • writing it from scratch to make it simple as possible (no daemon if possible)
  • building it with an incremental approach (Linux support first)
  • being community driven
  • splitting clearly the agent from libs (xenstore-read/write…)
  • reducing the burden to package it for distro's

https://gitlab.com/xen-project/xen-guest-agent

We might put someone dedicated to that, but before doing actual coding, we should probably set up a workgroup between Xen actors interested, to be able to agree on a minimal set of features.

@xihuan-citrix
Copy link
Collaborator

Hi @olivierlambert , good idea that we can put the guest agent upstream into xen-project. But why do we need to recreate a new instead of moving the existing one to xen-project?

@xihuan-citrix
Copy link
Collaborator

Hi @olivierlambert , there is another question, after putting the guest agent into xen-project, what would benefit for the customer to install the guest agent?

@xihuan-citrix
Copy link
Collaborator

Hi @gangj , as the group member, hope you're also aware of this issue.
CC @minli1

@olivierlambert
Copy link
Author

Hello @xihuan-citrix

  1. We'd like to write something from scratch for multiple reasons. Some are to simplify it (maybe no daemon, udev might be enough) while raising the overall code quality. Another reason is to be sure we gather specs for everyone needing those tools and implementing it the right way. It's explained in the README file.
  2. The goal is to reduce the burden for distro maintainers. But there's a big consequence for the end user: it means the guest agent will be available directly in every major Linux distro, so for instance a simple apt get install xen-guest-agent will do the trick.

All in all, this is not an "issue" but a great opportunity to do it the right way (ie Open Source for the code, but also easier to contribute for everyone).

@Zhengchai
Copy link
Contributor

Zhengchai commented Sep 15, 2021

This is a good proposal to improve the guest tools. especially the 6 points listed above as goals.
We also need to consider the regression ensuring of no / less breaks to any existing commerical products to the customers.
Ideally, could we propose and submit PRs to address these goals (on the list) one by one?
(i.e. instead of fork, merge a big PR and/or start a new project completely?).

@olivierlambert
Copy link
Author

olivierlambert commented Sep 15, 2021

Hi @Zhengchai
The goal is to obviously build something that would fit everyone's requirements :)

So the first step that can be done is to write exactly what do you need on your side, then we'll gather requirements from AWS and others. In the end, we'll decide about the best way to achieve it.

I suggest to start creating an issue here: https://gitlab.com/xen-project/xen-guest-agent/-/issues explaining the features needed from the agent on the behalf of Citrix (ie your product point of view). That will be a great starting point!

edit: the goal is not to create a fork, we want to focus first on what people need to decide what's the best course of action next 👍

@olivierlambert
Copy link
Author

Here there!

I forgot to keep you posted, but we are now entering into a final test phase for the new Xen Guest agents: https://gitlab.com/xen-project/xen-guest-agent

We have now dozens and dozens of users giving their feedback, and globally, it works pretty well 👍

There's many improvements vs the Go version (functionally and technically speaking), we'll be happy to have your contributions and feedback in there 🙂 (plus it's directly inside the Xen Project repo).

If you have any questions or if you want to have more details, let me know!

@olivierlambert
Copy link
Author

olivierlambert commented Jan 22, 2024

Since there's no reaction, I'm sending a small friendly reminder :) You are very welcome to participate to https://gitlab.com/xen-project/xen-guest-agent

It's working pretty well since few months. We are working on getting things integrated in upstream distro, removing the need for a manual installation on a regular Linux distro. We also started to work on a Windows version.

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

3 participants