chef plugin does not work properly

Bug #845161 reported by Mike Moulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Undecided
Avishai Ish-Shalom

Bug Description

The chef plugin developed by 'avishai' located in the branch 'lp:~avishai-ish-shalom/cloud-init/chef' has some issues as it stands in the Beta 1 release of oneiric.

Per the discussion here: https://code.launchpad.net/~avishai-ish-shalom/cloud-init/chef/+merge/66528 I have produced a patch to the head of the branch that resolves some syntactical issues. This patch applied to the 'lp:~avishai-ish-shalom/cloud-init/chef' branch produces a working version of the chef plugin.

Related branches

Revision history for this message
Mike Moulton (mmoulton) wrote :
Revision history for this message
Mike Moulton (mmoulton) wrote :
Revision history for this message
Avishai Ish-Shalom (avishai-ish-shalom) wrote :

398 fixed runlist format in the initial json file. The attached patch is unusable, perhaps our versions differ. did you test the version from my branch?

Revision history for this message
Scott Moser (smoser) wrote :

Could you please quickly test the deb attached?
I believe I've fixed this in trunk, but before releasing an updated ubuntu i want to be sure.

Changed in cloud-init:
status: New → Fix Committed
Revision history for this message
Scott Moser (smoser) wrote :
Changed in cloud-init:
assignee: nobody → avishai (avishai-ish-shalom)
Revision history for this message
Avishai Ish-Shalom (avishai-ish-shalom) wrote :

Merged main branch into my branch, the patch was already applied there. Fixed another minor issue with multiple runlist items not being written in the correct format.

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 845161] Re: chef plugin does not work properly

On Thu, 8 Sep 2011, avishai wrote:

> Merged main branch into my branch, the patch was already applied there.
> Fixed another minor issue with multiple runlist items not being written
> in the correct format.

Please test trunk at revision 443, and report in bug.

Thank you.

Revision history for this message
Mike Moulton (mmoulton) wrote :

I have introduces a merge request found at: https://code.launchpad.net/~mmoulton/cloud-init/chef/+merge/74900

This merge request fully supports the Chef plugin within the Beta 1 of Oneiric for both the 'gems' and 'packages' install types.

Revision history for this message
Scott Moser (smoser) wrote :

I want 11.04 chef support to work, and ideally to be sane such that its configuration will be the same as we ship for 12.04. However, We're well past Feature Freeze in Ubuntu for 11.10. I'm OK to pull changes into cloud-init trunk, which will then be brought in early to 12.04.

The 'environment' and 'node_name' changes in addition to the general re-formating don't really qualify as bug fixes.

I've believe the chef plugin should now be functional for what it was originally proposed in the archive with version 0.6.1-0ubuntu17 . If that is not the case, please open a bug describing what is wrong, and a merge proposal to fix those things.

Revision history for this message
Scott Moser (smoser) wrote :

To be clear, the window is shrinking quickly, so lets please focus on getting a functional chef *right now*., if we don't have one.

Revision history for this message
Avishai Ish-Shalom (avishai-ish-shalom) wrote :

This "feature" is critical for proper chef support. When I initially wrote the plugin chef was at branch 0.9.x which did not require environments to be defined. Current and future chef versions (0.10.x) do require that. I'm tracking this under https://bugs.launchpad.net/cloud-init/+bug/798844

Revision history for this message
Avishai Ish-Shalom (avishai-ish-shalom) wrote :
Scott Moser (smoser)
Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.