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

guestFullName value pushed to hypervisor longer can be longer than 128 bytes #717

Open
2 tasks
jepio opened this issue Mar 27, 2024 · 0 comments
Open
2 tasks
Labels

Comments

@jepio
Copy link

jepio commented Mar 27, 2024

Describe the bug

Users have reported that when running a Flatcar Container Linux VM on VMware, the "guestFullName" property pushed to the hypervisor can be longer than 128 bytes which results in hitting this bug: https://kb.vmware.com/s/article/95714?lang=en_US&queryTerm=%20KB%2095714.

Here's an example of what is pushed:

guestFullName = "Linux 6.1.77-flatcar Flatcar Container Linux by Kinvolk 3815.2.0 3815.2.0 2024-02-12-2039 Flatcar Container Linux by Kinvolk 3815.2.0 (Oklo) cpe:2.3:o:flatcar-linux:flatcar_linux:3815.2.0:::::::*"

A lot of the information being pushed is redundant, eg. PRETTY_NAME contains NAME+VERSION+VERSION_ID, CPE_NAME is not immediately interesting to see in the Web UI, etc.

Reproduction steps

  1. Deploy a Flatcar VM https://www.flatcar.org/docs/latest/installing/cloud/vmware/
  2. Query metadata about the guest from the hypervisor: vim-cmd vmsvc/get.guest 1

...

Expected behavior

guestFullName is <128 bytes and does not contain redundant data.

Additional context

Related issues:

Would you be able to add proper detection of Flatcar to open-vm-tools, and shorten the pushed string? "Flatcar Container Linux" would be nice.

@jepio jepio added the bug label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant