Giter Club home page Giter Club logo

Comments (12)

MarkGibbons avatar MarkGibbons commented on July 24, 2024

@EugenMayer

Could you tell me for sure what fails? Your comments above are a little confusing. I'm running chefdk 2.4.17 and have had other problems trying to use chefdk 2.5. Using 2.4.17, everything I can think to try from above has worked.

"chef exec berks vendor cookbooks" works for me using chefdk 2.5.3 but I had to be careful with the install of 2.5.3.
Regards,
Mark

from vagrant.

EugenMayer avatar EugenMayer commented on July 24, 2024

All i can say you, with the current chefDK you cannot use berks to get vargant 0.7.2, but it works with 0.7.1 - i cannot provide more then above, sorry (i do not have anything more)

Obviously changes for 0.7.2 seems have cause that

from vagrant.

cheeseplus avatar cheeseplus commented on July 24, 2024

This looks like a berkshelf problem, not one with the cookbook itself.

from vagrant.

EugenMayer avatar EugenMayer commented on July 24, 2024

You mean without any berks update done, and 0.7.1 working with the current "updated" berks - and every single other cookbook working with the current berk ( about 60 ) you really consider this being a bug in berks? I mean, at least one other would fail too, wouldnt it?

Without understanding the error, the implementation of vagrant or berks, this is extremely unlikely, isnt it?

from vagrant.

MarkGibbons avatar MarkGibbons commented on July 24, 2024

Hi @EugenMayer
I did install chefdk 2.5.3 and test the command you indicated had a problem. I vendored the 0.7.2 version without a problem. I needed two attempts to get 2.5.3 installed without leftovers from a previous chefdk install, I had to wipe out ~/.chefdk. But in that situation it failed for every cookbook when it failed for 0.7.2. I have some fixes coming up. We'll see what happens in the next version.

Mark

from vagrant.

EugenMayer avatar EugenMayer commented on July 24, 2024

@MarkGibbons are you directing into an issue with the upgrade of chefdk ( so i have an unclean upgrade state ) and thats the root of the cause or could you reproduce that actual issue with the vagrant cookbook? thanks for looking at this one

from vagrant.

cheeseplus avatar cheeseplus commented on July 24, 2024

The root cause is almost definitely related to the ChefDK install or state of ~/.chefdk, that's what I was hinting at earlier as it would be extremely unlikely for the cookbook or it's constituent code to cause the error seen above.

And I've found where this is - it's a RubyGems issue: berkshelf/berkshelf#1744

from vagrant.

EugenMayer avatar EugenMayer commented on July 24, 2024

Do you want to fix the root of the cause or want me to just flush ~/.chefdk / clean state install chefdk and ignore the issue.

I could do both, but if you would like to fix it, i keep the current state for reproduction / analysis to help you guys find the cause.

from vagrant.

cheeseplus avatar cheeseplus commented on July 24, 2024

There is nothing to fix in the cookbook for this problem - the root cause is a RubyGems bug upstream rubygems/rubygems#2213. The fix is either Berks can try to catch this itself or RubyGems will get an updated.

from vagrant.

MarkGibbons avatar MarkGibbons commented on July 24, 2024

@EugenMayer

Berkshelf has a discussion of the problem and possibly a link to a fix. I'm going to close this issue as its cause is not related to the vagrant cookbook. I've seen this a handful of times now on a variety of other cookbooks. I hope this link might help you.

berkshelf/berkshelf#1744

Regards,
Mark

from vagrant.

EugenMayer avatar EugenMayer commented on July 24, 2024

thank you mark

from vagrant.

lock avatar lock commented on July 24, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from vagrant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.