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

Restore process merge cookbook version diring fix of failed restore #175

Open
sosiskin2000 opened this issue Apr 25, 2023 · 0 comments
Open
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected.

Comments

@sosiskin2000
Copy link

Version:

v3.0.1
[Version of the project installed]

Environment:

Prod/Dev
[Details about the environment such as the Operating System, cookbook details, etc...]
Oracle Linux 7.9

Scenario:

During Backup restore process according to instruction if exist metadata.rb file and metadata.json, where metadata.rb version is lower than metadata.json, restore process somehow use metadata.rb version content instead of metadata.json. Chef server shows that latest version is same which in metadata.json, but clients downloading old version to cache.
After regular knife cookbook upload cookbook $name, everything fixed.
[What you are trying to achieve and you can't?]

Steps to Reproduce:

  1. Create cookbook which have 2 different version in metadata
  2. Backup
  3. Start restore but fail
  4. Start process again, and ask to fix failed restore.
  5. Check content on hosts

Expected Result:

Versions content must be used from metadata.json, as most preferred

Actual Result:

Version from metadata.rb used for clients

@sosiskin2000 sosiskin2000 added Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected. labels Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

1 participant