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

Disable TPM gathering from vSphere temporarily #694

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented Jan 2, 2024

The addition of the property "summary.config.tpmPresent" breaks compatibility with vSphere 6.5 ("InvalidProperty" error is returned when building the inventory). This patch reverts this part temporarily until we change this to work also with older versions of vSphere.

Related to #665

The addition of the property "summary.config.tpmPresent" breaks
compatibility with vSphere 6.5 ("InvalidProperty" error is returned when
building the inventory). This patch reverts this part temporarily until
we change this to work also with older versions of vSphere.

Signed-off-by: Arik Hadas <[email protected]>
Copy link

sonarqubecloud bot commented Jan 2, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.2% Duplication on New Code

See analysis details on SonarCloud

Copy link
Member

@liranr23 liranr23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's unfortunate..

@ahadas
Copy link
Member Author

ahadas commented Jan 2, 2024

that's unfortunate..

there's still enough time to fix this ;)

@ahadas ahadas merged commit 3b1deb9 into kubev2v:main Jan 2, 2024
11 checks passed
liranr23 added a commit to liranr23/forklift that referenced this pull request Jan 4, 2024
Since kubev2v#694, which discovered vSphere validates the API endpoint
requested, we disabled the TPM gathering to avoid "InvalidProperty"
error.
vSphere started supporting TPM API in 6.7, based on that version we will
gather the TPM on supported versions.

Signed-off-by: Liran Rotenberg <[email protected]>
liranr23 added a commit to liranr23/forklift that referenced this pull request Jan 4, 2024
Since kubev2v#694, we disabled the TPM gathering to avoid "InvalidProperty"
error.
vSphere started supporting TPM API in 6.7, based on that version we will
gather the TPM on supported versions.

Signed-off-by: Liran Rotenberg <[email protected]>
ahadas pushed a commit that referenced this pull request Jan 4, 2024
Since #694, we disabled the TPM gathering to avoid "InvalidProperty"
error.
vSphere started supporting TPM API in 6.7, based on that version we will
gather the TPM on supported versions.

Signed-off-by: Liran Rotenberg <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants