Skip to content

Adding knife-vcenter to the knife hab pkg - #198

Open
ashiqueps wants to merge 3 commits into
mainfrom
CHEF-32143-integrate-knife-vcenter
Open

Adding knife-vcenter to the knife hab pkg#198
ashiqueps wants to merge 3 commits into
mainfrom
CHEF-32143-integrate-knife-vcenter

Conversation

@ashiqueps

Copy link
Copy Markdown
Contributor

Description

Adding the knife-vcenter gem to the knife habitat package with tests checking the loadability

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

@ashiqueps
ashiqueps requested review from a team and jaymzh as code owners August 18, 2026 13:54
Signed-off-by: Ashique Saidalavi <ashique.saidalavi@progress.com>
@ashiqueps
ashiqueps force-pushed the CHEF-32143-integrate-knife-vcenter branch from 69b35d2 to 72aba4d Compare August 18, 2026 13:55
ashiqueps and others added 2 commits August 18, 2026 19:35
The verify pipeline installs the full Gemfile, including the 'habitat'
group (knife-ec2, knife-google, knife-windows, knife-vcenter), before
running 'rake spec'. Those gems are only needed for Habitat packaging,
which is validated by a separate pipeline that never invokes this
script; 'rake spec' does not exercise them.

Installing knife-vcenter pulls in rbvmomi -> nokogiri, and nokogiri's
precompiled native gem requires a newer glibc than Rocky Linux 8 / RHEL
8 (glibc 2.28) provides, causing:

  /lib64/libm.so.6: version `GLIBC_2.29' not found (required by
  .../nokogiri.so)

Excluding the 'habitat' bundler group for spec runs avoids installing
nokogiri altogether, fixing the failure without needing to compile
native extensions from source.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Ashique Saidalavi <ashique.saidalavi@progress.com>
@ashiqueps
ashiqueps requested a review from a team as a code owner August 18, 2026 14:43
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.

1 participant