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

IP Address origin always remain unset for linux guests. #694

Open
namra98 opened this issue Oct 17, 2023 · 2 comments
Open

IP Address origin always remain unset for linux guests. #694

namra98 opened this issue Oct 17, 2023 · 2 comments
Labels

Comments

@namra98
Copy link

namra98 commented Oct 17, 2023

Describe the bug

After installing open-vm-tools on a guest os, it is expected that all the guest properties will be populated in vm object on VCenter.
Specifically, properties under guest.net which is of type GuestNicInfo[].

However, for linux vms, the IPAddress origin property always remains unset and this leads to no information regarding if guest is using dhcp or static ip address.

image

For windows VMs with vmware tools installed, this property gets populated correctly.

image

Reproduction steps

  1. Install open-vm-tools on VSphere VM with any linux distribution.
  2. Expected property is not populated.

Expected behavior

IP address origin should be populated for linux VMs.

Additional context

Same behaviour of empty or unset property is observed from PowerCLI and APIs.

@namra98 namra98 added the bug label Oct 17, 2023
@pengzhencao
Copy link

@PaTHml
Copy link

PaTHml commented Oct 24, 2023

I filed an enhancement PR to collect the optional 'origin' and 'state' fields if available from the Linux guest.

These two fields are optional information as pointed out by @pengzhencao; there is no expectations the information needs to be consistent across guest OSes.

No guarantee when or if it is possible to implement.

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

3 participants