chef / chef/knife-ec-backup

installation fails on chef-server 11.1 due to ohai dependency

Open
#73 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
32
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Repro steps:
Download knife-ec-backup from git (v 2.0.6)
Extract, build
install via /opt/chef-server/embedded/bin/gem install knife-ec-backup-2.0.6.gem --no-ri --no-rdoc -V

Error:
ERROR:  While executing gem ... (Gem::DependencyError)
   Unable to resolve dependencies: chef-zero requires ffi-yajl (> 2.2); chef-config requires mixlib-shellout (> 2.0)
/opt/chef-server/embedded/bin/gem install knife-ec-backup
ERROR:  While executing gem ... (Gem::DependencyError)
   Unable to resolve dependencies: ohai requires chef-config (< 13, >= 12.5.0.alpha.1)'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the documented gem installation command with Chef Server 11.1 and review the reported chef-zero, chef-config, mixlib-shellout, ffi-yajl, and ohai dependency constraints. Done means the knife-ec-backup gem installs successfully in that environment without dependency resolution errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.