It's working! Thank you Lukas! :)

In case anyone wondering - at this moment it's enough to install
1.15.0 + *comment
out line 8* in file:
*/usr/share/foreman/vendor/ruby/2.3.0/gems/foreman_discovery-9.0.0/app/services/foreman_discovery/host_converter.rb*

(that's for Debian, not sure about other OSes)

Will keep an eye on this in 1.15.1+. Thanks!

On Tue, May 23, 2017 at 1:53 PM, Lukas Zapletal <[email protected]> wrote:

> Hey Jacek,
>
> the patch has been tested and merged, what exactly does not work for you?
>
> Do not use whole file that will unlikely work with the older version, just
> comment out the one line in the 1.15 version of the file:
>
> #host.clear_association_cache
>
> https://github.com/theforeman/foreman_discovery/pull/346/files#diff-
> d165f1f7d8058930cfef75cad203b33eL8
>
>
>
> On Mon, May 22, 2017 at 3:33 PM, Jacek Mierzwa <[email protected]> wrote:
>
>> Sorry I took few days off.
>>
>> Anyway, just tested. Using the most recent version of
>> discovered_extensions.rb: https://github.com/lzap/foreman_di
>> scovery/blob/375d10bb42a9b9d2f010f7f64c0f8ed2bd4a91fc/app/
>> controllers/concerns/foreman/controller/discovered_extensions.rb .
>> The result is negative -- still need the same old procedure.
>>
>>
>> On Wed, May 17, 2017 at 10:53 AM, Lukas Zapletal <[email protected]> wrote:
>>
>>> I also found that my patch does not work well. Still trying to find
>>> nice solution, but we at least found the regression which caused this.
>>> Try to comment out this line:
>>>
>>> https://github.com/theforeman/foreman_discovery/pull/346/fil
>>> es#diff-d165f1f7d8058930cfef75cad203b33eR8
>>>
>>> This should help now.
>>>
>>> On Mon, May 15, 2017 at 4:52 PM, Jacek Mierzwa <[email protected]>
>>> wrote:
>>> > /usr/share/foreman/vendor/ruby/2.3.0/gems/foreman_discovery-
>>> 9.0.0/app/controllers/concerns/foreman/controller/discovered
>>> _extensions.rb
>>> >
>>> > That's the file I have modified. Content:
>>> > https://github.com/lzap/foreman_discovery/blob/d25c931e64274
>>> 05cad16c01ebe7163d24e764eb2/app/controllers/concerns/foreman
>>> /controller/discovered_extensions.rb
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups
>>> > "Foreman users" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>> > email to [email protected].
>>> > To post to this group, send email to [email protected].
>>> > Visit this group at https://groups.google.com/group/foreman-users.
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>> --
>>> Later,
>>>   Lukas @lzap Zapletal
>>>
>>
>>
>>
>> --
>>
>> *Jacek Mierzwa* | Systems Integration Engineer
>>
>> Platform Management Division
>>
>>
>>
>>
>
>
> --
> Later,
>   Lukas @lzap Zapletal
>



-- 

*Jacek Mierzwa* | Systems Integration Engineer

Platform Management Division

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to