Multiples nodes with same fqdn

Hi,

Someone knows if foreman can be reconfigured to permit several nodes
with same fqdn. We have an environment with several administers and some of
there use same names for different server. Foreman mess up this nodes even
if it has different certname or node_name. Anyone knows how to fix it?

> Hi,
>
> Someone knows if foreman can be reconfigured to permit several nodes
> with same fqdn. We have an environment with several administers and some of
> there use same names for different server. Foreman mess up this nodes even
> if it has different certname or node_name. Anyone knows how to fix it?

I don't think this is supported, sorry. Any guesses or contributions to
support this scenario are welcome.

··· On 06/13, Raul Gonzalez 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.
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.


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

> > Hi,
> >
> > Someone knows if foreman can be reconfigured to permit several nodes
> > with same fqdn. We have an environment with several administers and some
> of
> > there use same names for different server. Foreman mess up this nodes
> even
> > if it has different certname or node_name. Anyone knows how to fix it?
>
> I don't think this is supported, sorry. Any guesses or contributions to
> support this scenario are welcome.
>

I think Daniel is right but there is a Puppet setting in the foreman UI
"use_uuid_for_certificates" which may help?

··· On Tue, Jun 14, 2016 at 11:20 AM, Daniel Lobato Garcia wrote: > On 06/13, Raul Gonzalez 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.
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.


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

the only think than worked is remake fqdn fact with my own:

Facter.add(:fqdn) do
has_weight 100
setcode do
host = Facter.value(:hostname)
vcloud = Facter.value(:vcloudid)
domain = Facter.value(:domain)
if ! vcloud.empty?
[vcloud, 'vcloud'].join('.')
elsif host and domain
[host, domain].join(".")
elsif host
host
else
nil
end
end
end

vcloudid is a fact from vmware environment variable:

uuid fact doesn't change when a virtual machine is cloned.

··· On Tuesday, June 14, 2016 at 12:56:52 PM UTC+2, Sean O'Keeffe wrote: > > > > On Tue, Jun 14, 2016 at 11:20 AM, Daniel Lobato Garcia > wrote: > >> On 06/13, Raul Gonzalez wrote: >> > Hi, >> > >> > Someone knows if foreman can be reconfigured to permit several nodes >> > with same fqdn. We have an environment with several administers and >> some of >> > there use same names for different server. Foreman mess up this nodes >> even >> > if it has different certname or node_name. Anyone knows how to fix it? >> >> I don't think this is supported, sorry. Any guesses or contributions to >> support this scenario are welcome. >> > > I think Daniel is right but there is a Puppet setting in the foreman UI > "use_uuid_for_certificates" which may help? > > >> >> > >> > -- >> > 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. >> >> >> -- >> 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 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. >> > >