[Katello 2.2.x] Can´t delete hosts from Foreman

Hi there,

I´m running into an strange issue. I´ve registered few hosts against foreman and puppet and am not trying to delete some of them, as the names of the servers have changed. Each time I´m trying to delete a host I receive the following error.

Could not deactivate host on PuppetDB: getaddrinfo: Name or service not known

I´ve search the net for some answers and found out that I´ve to disable the foreman_plugin_puppetdb. I´ve disabled this plugin and even uninstalled the rpm but get the same error each time I´m trying to delete a host.

Can someone maybe help me out with this matter?

Cheers,

Markus

PGP.sig (476 Bytes)

Can you clarify registration? Did you use puppet or subscription-manager?

··· On Jul 24, 2015 7:58 AM, wrote:

Hi there,

I´m running into an strange issue. I´ve registered few hosts against
foreman and puppet and am not trying to delete some of them, as the names
of the servers have changed. Each time I´m trying to delete a host I
receive the following error.

‘Could not deactivate host on PuppetDB: getaddrinfo: Name or service not known’

I´ve search the net for some answers and found out that I´ve to disable
the foreman_plugin_puppetdb. I´ve disabled this plugin and even uninstalled
the rpm but get the same error each time I´m trying to delete a host.

Can someone maybe help me out with this matter?

Cheers,

Markus


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 http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Hi Eric,

I´ve run puppet agent –test and registered the system with subscription-manager to receive updates and so on.

Cheers,

Markus

PGP.sig (476 Bytes)

··· Von: foreman-users@googlegroups.com [mailto:foreman-users@googlegroups.com] Im Auftrag von Eric D Helms Gesendet: Freitag, 24. Juli 2015 14:48 An: foreman-users@googlegroups.com Betreff: Re: [foreman-users] [Katello 2.2.x] Can´t delete hosts from Foreman

Can you clarify registration? Did you use puppet or subscription-manager?

On Jul 24, 2015 7:58 AM, Markus.Moj@mc.ingenico.com wrote:

Hi there,

I´m running into an strange issue. I´ve registered few hosts against foreman and puppet and am not trying to delete some of them, as the names of the servers have changed. Each time I´m trying to delete a host I receive the following error.

‘Could not deactivate host on PuppetDB: getaddrinfo: Name or service not known’

I´ve search the net for some answers and found out that I´ve to disable the foreman_plugin_puppetdb. I´ve disabled this plugin and even uninstalled the rpm but get the same error each time I´m trying to delete a host.

Can someone maybe help me out with this matter?

Cheers,

Markus


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 http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


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 http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Hi Eric,

I´ve found the issue. Kafo installer was not able to turn of the plugin properly, even though it showed the plugin to be turned off. After a run with ‘katello-installer --no-enable-foreman-plugin-puppetdb‘ I´m able to delete hosts and register under the new hostname.

PGP.sig (476 Bytes)

··· Von: foreman-users@googlegroups.com [mailto:foreman-users@googlegroups.com] Im Auftrag von Moj, Markus Gesendet: Freitag, 24. Juli 2015 15:23 An: foreman-users@googlegroups.com Betreff: AW: [foreman-users] [Katello 2.2.x] Can´t delete hosts from Foreman
  • PGP Bad Signature, Signed: 24.07.2015 at 15:23:26

Hi Eric,

I´ve run puppet agent –test and registered the system with subscription-manager to receive updates and so on.

Cheers,

Markus

Von: foreman-users@googlegroups.com [mailto:foreman-users@googlegroups.com] Im Auftrag von Eric D Helms
Gesendet: Freitag, 24. Juli 2015 14:48
An: foreman-users@googlegroups.com
Betreff: Re: [foreman-users] [Katello 2.2.x] Can´t delete hosts from Foreman

Can you clarify registration? Did you use puppet or subscription-manager?

On Jul 24, 2015 7:58 AM, Markus.Moj@mc.ingenico.com wrote:

Hi there,

I´m running into an strange issue. I´ve registered few hosts against foreman and puppet and am not trying to delete some of them, as the names of the servers have changed. Each time I´m trying to delete a host I receive the following error.

‘Could not deactivate host on PuppetDB: getaddrinfo: Name or service not known’

I´ve search the net for some answers and found out that I´ve to disable the foreman_plugin_puppetdb. I´ve disabled this plugin and even uninstalled the rpm but get the same error each time I´m trying to delete a host.

Can someone maybe help me out with this matter?

Cheers,

Markus


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 http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


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 http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


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 http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.