Katello 2.1 "you don't seem to have any hosts"

I have installed katello 2.1 and immediately after install am getting
errors.

The first problem is that when I try to run puppet agent --test on the
katello host to populate my hosts list I get the error :

Warning: Setting config_version is deprecated in puppet.conf. See
http://links.puppetlabs.com/env-settings-deprecations
(at /usr/share/ruby/vendor_ruby/puppet/settings.rb:1141:in
`issue_deprecation_warning')

If I go to the hosts -> all hosts page I get this :

You don't seem to have any Hosts, for more information see this page
<https://katello-sandbox-atdev-van/>

This page will self destruct once data comes in.

If I go to the dashboard I get the initial page that indicates that a host
has not checked in yet.

If I downgrade puppet to 3.7.4 it does not help.

If I manually delete the line containing "config_version" in the
/etc/puppet/puppet.conf It gives this when I run the agent

Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for katello-sandbox-atdev-van.dev-globalrelay.net
Info: Applying configuration version '1428596046'

However, going back to the katello web ui, the default dashboard page that
tells you nothing has checked in is still there.

When I go to the provisioning setup page, I get the following error :

Missing registered host katello.mydomain.net, please ensure it is checking
in

How do I get my katello host to successfully check in with itself?

> I have installed katello 2.1 and immediately after install am getting
> errors.
>
> The first problem is that when I try to run puppet agent --test on the
> katello host to populate my hosts list I get the error :
>
> Warning: Setting config_version is deprecated in puppet.conf. See
> http://links.puppetlabs.com/env-settings-deprecations
> (at /usr/share/ruby/vendor_ruby/puppet/settings.rb:1141:in
> `issue_deprecation_warning')
>
> If I go to the hosts -> all hosts page I get this :
>
> You don't seem to have any Hosts, for more information see this page
> <https://katello-sandbox-atdev-van/>
>
> This page will self destruct once data comes in.
>
>
> If I go to the dashboard I get the initial page that indicates that a
> host has not checked in yet.
>
> If I downgrade puppet to 3.7.4 it does not help.
>
> If I manually delete the line containing "config_version" in the
> /etc/puppet/puppet.conf It gives this when I run the agent
>
> Info: Retrieving pluginfacts
> Info: Retrieving plugin
> Info: Caching catalog for katello-sandbox-atdev-van.dev-globalrelay.net
> Info: Applying configuration version '1428596046'
>
> However, going back to the katello web ui, the default dashboard page
> that tells you nothing has checked in is still there.
>
> When I go to the provisioning setup page, I get the following error :
>
> Missing registered host katello.mydomain.net, please ensure it is
> checking in
>
>
> How do I get my katello host to successfully check in with itself?

By default when unknown hosts check in with puppet, they are not
assigned to an organization. If you switch to 'any context' in the
org/location selector in the upper left hand corner, and then go to the
hosts page, do they appear?

If so, you can assign them to an org and location by going to the
"Hosts" page, select the host via the check box, click the "select
action" button on the upper right and select 'assign organization'.
You'll want to then 'assign location'

-Justin

··· On 04/09/2015 12:39 PM, Nathan Peters wrote:


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

Appears you are right!

That might be a useful piece of information to have in the installation
guide.

As soon as I switched to any organization they showed up

Thanks