[chef] Re: Re: Re: Re: chef (solo?) explanation for: Attribute hotspot is not defined


Chronological Thread 
  • From: Seth Chisamore < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: chef (solo?) explanation for: Attribute hotspot is not defined
  • Date: Wed, 9 Feb 2011 05:52:27 -0500

Ohai!

This is a known bug with the Java cookbook and was reported in COOK-447 [0].  That ticket also contains a temporary fix towards the bottom.  Ohai basically fails to extract the java/languages/hotspot attribute on certain platforms [1] (CentOS I'm looking at you).  Use of the "hotspot" attribute was also fallback until languages/java/runtime [2] is properly extracted on all platforms.

Seth

--
Opscode, Inc.
Seth Chisamore, Technical Evangelist
T: (404) 348-0505 E: " target="_blank">
Twitter, IRC, Github: schisamo

[0] http://tickets.opscode.com/browse/COOK-447
[1] http://tickets.opscode.com/browse/OHAI-234
[2] http://tickets.opscode.com/browse/OHAI-227

On Wed, Feb 9, 2011 at 5:39 AM, Hedge Hog < "> > wrote:
On Wed, Feb 9, 2011 at 9:23 PM, Andrew Shafer < "> > wrote:
>
> what is the output from running 'ohai languages'?
>

https://gist.github.com/818280

For the minute, as a workaround, I've wrapped the offending code in:

if node.languages.java.attribute?('hotspot')
...
end

That feels like a hack.

Open to suggestions, and helping to debug the cause of this.

TIA

> On Wed, Feb 9, 2011 at 2:40 AM, Hedge Hog < "> > wrote:
>>
>> OK, so I managed to get Vagrant to set the log level to debug....
>>
>> On Wed, Feb 9, 2011 at 8:06 PM, Hedge Hog < "> >
>> wrote:
>> > Hi,
>> > I'm wrestling with starting a chef server under Vagrant 0.7, while
>> > things ran under Vagrant 0.6.8, I think the error I'm seeing here is
>> > related to chef (0.9.12):
>> > https://gist.github.com/818165
>> >
>>
>> The more informative log output is:
>> https://gist.github.com/818208
>>
>> The offending code is line 55:
>> https://github.com/cookbooks/java/blob/qa-latest/recipes/default.rb
>>
>> Is this a bug (how to report it) or misconfiguration?
>>
>> Appreciate any tips or suggestions.
>>
>> > Can anyone suggest what may be the cause, or how to debug this.
>> > The Cookbooks I grab are described here:
>> > https://gist.github.com/818174
>> >
>> > While I don't think this is a Vagrant file issue, the Vagrantfile is:
>> > https://gist.github.com/818177
>> >
>> > Appreciate any insight, or tips.
>> >
>> > TIA
>> >
>> > --
>> > πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
>> > [The fox knows many things, but the hedgehog knows one big thing.]
>> >   Archilochus, Greek poet (c. 680 BC – c. 645 BC)
>> > http://wiki.hedgehogshiatus.com
>> >
>>
>>
>>
>> --
>> πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
>> [The fox knows many things, but the hedgehog knows one big thing.]
>>   Archilochus, Greek poet (c. 680 BC – c. 645 BC)
>> http://wiki.hedgehogshiatus.com
>
>



--
πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
[The fox knows many things, but the hedgehog knows one big thing.]
  Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://wiki.hedgehogshiatus.com




Archive powered by MHonArc 2.6.16.

§