@ngompa did the work in the past to package up the cloud agent tools for GCP:
https://src.fedoraproject.org/rpms/google-compute-engine-tools
Since then the tools have been re-written in golang. As part of https://pagure.io/cloud-sig/issue/310 we should look at getting the new version of the tools packaged so we can include the agent when shipping a GCP image.
As a starting point, here's what we currently have in EL8:
Five packages comprise the guest environment. Below shows the package name, along with its source repo. The READMEs give an overview of each package.
Packages: # google-guest-agent: * Repo: https://github.com/GoogleCloudPlatform/guest-agent * Spec: https://github.com/GoogleCloudPlatform/guest-agent/blob/master/packaging/google-guest-agent.spec
# google-compute-engine-oslogin: * Repo: https://github.com/GoogleCloudPlatform/guest-oslogin * Spec: https://github.com/GoogleCloudPlatform/guest-oslogin/blob/master/packaging/google-compute-engine-oslogin.spec
# google-compute-engine: * Repo: https://github.com/GoogleCloudPlatform/guest-configs * Spec: https://github.com/GoogleCloudPlatform/guest-configs/blob/master/packaging/google-compute-engine.spec
# gce-disk-expand: * Repo: https://github.com/GoogleCloudPlatform/guest-diskexpand * Spec: https://github.com/GoogleCloudPlatform/guest-diskexpand/blob/master/packaging/gce-disk-expand.spec
# google-osconfig-agent: * Repo: https://github.com/GoogleCloudPlatform/osconfig * Spec: https://github.com/GoogleCloudPlatform/osconfig/blob/master/packaging/google-osconfig-agent.spec
This shows the dependency structure: https://packages.cloud.google.com/yum/repos/google-compute-engine-el8-x86_64-stable/repodata/primary.xml
Metadata Update from @ngompa: - Issue tagged with: GCP
logging package request: https://bugzilla.redhat.com/show_bug.cgi?id=1920606
Update: - Common logging package is done: https://src.fedoraproject.org/rpms/golang-github-googlecloudplatform-guest-logging - In-review: - systemd presets: https://bugzilla.redhat.com/show_bug.cgi?id=1926331 - google-guest-agent: https://bugzilla.redhat.com/show_bug.cgi?id=1925322 - google-compute-engine: https://bugzilla.redhat.com/show_bug.cgi?id=1925323
This is the MVP. After this, we have the opportunity for: 1. Updating oslogin: https://src.fedoraproject.org/fork/ericedens/rpms/google-compute-engine-oslogin 2. Upstreaming osconfig and disk-expand
All done with the core agents! I'm good to close this.
@ericedens - next step to get it into the built image - should we wait on that before we close?
sounds good; here's the PR for putting the agents in the GCP kickstart: https://pagure.io/fedora-kickstarts/pull-request/812
This is basically done now, with Rawhide images now using them.
Metadata Update from @ngompa: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.