On 07/27, Loren Nozot wrote:
> Trying to delete discovered hosts in Foreman 1.14.3 ends in error that
> Foreman cannot connect to PuppetDB on 8081.
>
> *Error: *Failed to deactiate node <hostname> in PuppetDB: Permission denied
> - connect(2) for "localhost" port 8081
>
> I cleared out the actual hostname in the error above.  Also, note there is
> a typo in the response.  It should be deactivate.  I can file a bug report
> on the typo unless that has already been fixed in a newer release.
>
> PuppetDB is not installed on the system and from all the docs I have seen;
> Foreman does not 'work' with PuppetDB.  However when I go through the menus
> I find two options under the Monitor menu.
>
> PuppetDB dashboard
> PuppetDB nodes

You have the puppetdb_foreman plugin. If you want to connect some actions in
Foreman to PuppetDB, you need to configure the endpoint as per
https://github.com/theforeman/puppetdb_foreman#usage

Alternatively, if you do not use it, simply look for puppetdb_enabled in
the PuppetDB settings (Administer > Settings > PuppetDB tab) and disable
it.

The reason why this happens is because the PuppetDB integration is enabled,
and Foreman is trying to delete the host from PuppetDB too but obviously
it can't

>
> Loren
>
> --
> 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.


--
Daniel Lobato Garcia

@dLobatog
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

-- 
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.

Attachment: signature.asc
Description: PGP signature

Reply via email to