Katello 3.0RC3 subscription manager error

Hi all,

when trying to register a host using subscription-manager, I get the
following error:

NoMethodError: undefined method `refresh_global_status!' for #<Host::Managed:0x007f5018cf0e58>

I see this is logged as a bug
already, Bug #14759: Katello 3.0 RC3 depends on Foreman 1.12 - Katello - Foreman

Is there a way to work around this with the release candidate? I don't want
to go to nightly builds as I would assume Katello 3.0 is aiming for release
with foreman 1.11 and not 1.12, is that right?

Thanks :slight_smile:
Dylan

I'm getting a similar error, but in RC2, every time I register a new host.

Actions::Katello::Host::GenerateApplicability

Exception: NoMethodError: undefined method `refresh_global_status!' for #<Host::Managed:0x00000006e445e8>

Input:

{"services_checked"=>["pulp", "pulp_auth"],
"host_ids"=>[413],
"current_user_id"=>1,
"locale"=>"en"}

Trace: http://pastie.org/10810245

-salman

A commit was accidentally included that relied on functionality not
included in Foreman 1.11, this change will be reverted for RC4 today or
tomorrow.

Eric

··· On Sat, Apr 23, 2016 at 9:39 PM, salman b wrote:

I’m getting a similar error, but in RC2, every time I register a new host.

Actions::Katello::Host::GenerateApplicability

Exception: NoMethodError: undefined method `refresh_global_status!’ for #Host::Managed:0x00000006e445e8

Input:

{“services_checked”=>[“pulp”, “pulp_auth”],
“host_ids”=>[413],
“current_user_id”=>1,
“locale”=>“en”}

Trace: http://pastie.org/10810245

-salman


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University

This has indeed been fixed with 3.0RC4 :slight_smile: Thanks!

··· On Monday, April 25, 2016 at 10:57:46 AM UTC+12, Eric Helms wrote: > > A commit was accidentally included that relied on functionality not > included in Foreman 1.11, this change will be reverted for RC4 today or > tomorrow. > > Eric > > On Sat, Apr 23, 2016 at 9:39 PM, salman b <nam...@gmail.com > > wrote: > >> I'm getting a similar error, but in RC2, every time I register a new host. >> >> Actions::Katello::Host::GenerateApplicability >> >> Exception: NoMethodError: undefined method `refresh_global_status!' for # >> >> >> Input: >> >> {"services_checked"=>["pulp", "pulp_auth"], >> "host_ids"=>[413], >> "current_user_id"=>1, >> "locale"=>"en"} >> >> >> Trace: http://pastie.org/10810245 >> >> -salman >> >> -- >> 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 foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Eric D. Helms > Red Hat Engineering > Ph.D. Student - North Carolina State University >