sous-chefs / jenkins

Development repository for the jenkins cookbook
https://supermarket.chef.io/cookbooks/jenkins
Apache License 2.0
424 stars 635 forks source link

Jenkins View Creation Fails On 6.2.[0-1] #720

Closed byronic closed 4 years ago

byronic commented 5 years ago

Cookbook version

6.2.0 and 6.2.1

Chef-client version

13.12.14

Platform Details

Ubuntu 16.04 on AWS

Scenario:

Create a jenkins_view

Steps to Reproduce:

Declare any jenkins_view using 6.2.0 or 6.2.1 of the Jenkins cookbook; even a minimal example fails.

Expected Result:

It should create the Jenkins view.

Actual Result:

The run fails; the specific error caused is: ERROR: jenkins_view[Infra] ([redacted recipe name]::create_views line 14) had an error: Chef::Exceptions::ProviderNotFound: Cannot find a provider for jenkins_view[Infra] on ubuntu version 16.04

welcomebot commented 5 years ago

Hey There It looks like this is the first issue you've filed against the chef-cookbooks project. I'm here to offer you a bit of extra help to make sure we can quickly get back to you. Make sure you've filled out all the fields in our issue template. Make sure you've provided us with the version of chef-client you're running, your operating system and the version of the cookbook. If you're not using the most up to date version of the cookbook then please make sure to update first. Lots of things change between versions even if you're issue isn't listed in the changelog. Finally please give us a detailed description of the issue you're having. The more we know about what you're trying to do, what actually happens, and how you can reproduce the problem, the better.

If you're looking for more immediate troubleshooting help make sure to check out #general on the Chef Community Slack. There's plenty of folks there willing to lend a helping hand. Thanks for the first issue. We hope we can get back to you soon with a solution.

byronic commented 5 years ago

I have a fix viewable here -- https://github.com/byronic/jenkins/blob/hotfix/6.2.1-provide-jenkins-views/libraries/view.rb#L72 ; it's a single line of code allowing the provider to register jenkins_view; it's fixed in 7.0.0 but we are precluded from upgrading to that at this time.

I'm reaching out via the Chef Slack to determine what options, if any, exist to help us get this in as a hot fix to 6.2.x.

byronic commented 5 years ago

Mentioning @Stromweld per request.

github-actions[bot] commented 4 years ago

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

github-actions[bot] commented 4 years ago

Closing due to inactivity. If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.