Katello: attempting to rename katello/foreman server... tips?

Hello,

I need to change the hostname of my katello server and would like tips on
how to be successful at this.

My first run-through will be as such:

  1. rename all FQDN references in the
    katello-installer/answers.katello-installer.yaml to the new FQDN
  2. change /etc/hosts to new hostname and FQDN
  3. hostnamectl set-hostname new.fqdn
  4. reboot
  5. run katello-installer

Will this be enough?

I can't speak to katello but you might also investigate re-running the
foreman-installer to get things rebranded there as well. I wish I could
upload the script I created for all this for my operations group but it's
covered under "Restricted Intellectual Property" agreements. :frowning:

··· On Fri, Jun 19, 2015 at 12:17 PM lawre wrote:

Hello,

I need to change the hostname of my katello server and would like tips on
how to be successful at this.

My first run-through will be as such:

  1. rename all FQDN references in the
    katello-installer/answers.katello-installer.yaml to the new FQDN
  2. change /etc/hosts to new hostname and FQDN
  3. hostnamectl set-hostname new.fqdn
  4. reboot
  5. run katello-installer

Will this be enough?


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.

Howdy,

You will also want to run:

certutil -D -d '/etc/pki/katello/nssdb' -n 'amqp-client'

And then run the installer with:

katello-installer --certs-update-all

··· On Fri, Jun 19, 2015 at 12:20 PM, Peter Berghold wrote:

I can’t speak to katello but you might also investigate re-running the
foreman-installer to get things rebranded there as well. I wish I could
upload the script I created for all this for my operations group but it’s
covered under “Restricted Intellectual Property” agreements. :frowning:

On Fri, Jun 19, 2015 at 12:17 PM lawre allbad@gmail.com wrote:

Hello,

I need to change the hostname of my katello server and would like tips on
how to be successful at this.

My first run-through will be as such:

  1. rename all FQDN references in the
    katello-installer/answers.katello-installer.yaml to the new FQDN
  2. change /etc/hosts to new hostname and FQDN
  3. hostnamectl set-hostname new.fqdn
  4. reboot
  5. run katello-installer

Will this be enough?


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.


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

> I'm getting this error message:
> "–certs-update-all" is not a boolean. It looks to be a String at /usr/
> share/katello-installer/modules/foreman_proxy/manifests/init.pp:384 on node
> foreman.xxxxxx.xxxxx.com
>
>
>
>
>
> My installation string:
> katello-installer --certs-update-all --enable-foreman-plugin-discovery –
> enable-foreman-plugin-hooks --capsule-tftp

Are you sure it was that order? It looks like --capsule-tftp is missing
a value there, it needs to be --capsule-tftp=true.

··· On Mon, Jun 22, 2015 at 02:18:08PM -0700, lawre wrote:

On Sunday, June 21, 2015 at 1:55:06 PM UTC-5, Eric Helms wrote:

Howdy,

You will also want to run:

certutil -D -d ‘/etc/pki/katello/nssdb’ -n ‘amqp-client’

And then run the installer with:

katello-installer --certs-update-all

On Fri, Jun 19, 2015 at 12:20 PM, Peter Berghold <salty....@gmail.com > > <javascript:>> wrote:

I can’t speak to katello but you might also investigate re-running the
foreman-installer to get things rebranded there as well. I wish I could
upload the script I created for all this for my operations group but it’s
covered under “Restricted Intellectual Property” agreements. :frowning:

On Fri, Jun 19, 2015 at 12:17 PM lawre <all...@gmail.com <javascript:>> > >> wrote:

Hello,

I need to change the hostname of my katello server and would like tips
on how to be successful at this.

My first run-through will be as such:

  1. rename all FQDN references in the
    katello-installer/answers.katello-installer.yaml to the new FQDN
  2. change /etc/hosts to new hostname and FQDN
  3. hostnamectl set-hostname new.fqdn
  4. reboot
  5. run katello-installer

Will this be enough?


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 <javascript:>.
To post to this group, send email to forema...@googlegroups.com
<javascript:>.
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-user...@googlegroups.com <javascript:>.
To post to this group, send email to forema...@googlegroups.com
<javascript:>.
Visit this group at http://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


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.


Best Regards,

Stephen Benjamin
Red Hat Engineering

Hi sorry, I did indeed type it in the wrong order once like this:
"–capsule-tftp --certs-update-all" and it saved "–certs-update-all" as
the value for tftp true/false in the answer file. I got this sorted out
with your help.

··· On Monday, June 22, 2015 at 8:07:11 PM UTC-5, stephen wrote: > > On Mon, Jun 22, 2015 at 02:18:08PM -0700, lawre wrote: > > I'm getting this error message: > > "--certs-update-all" is not a boolean. It looks to be a String at /usr/ > > share/katello-installer/modules/foreman_proxy/manifests/init.pp:384 on > node > > foreman.xxxxxx.xxxxx.com > > > > > > > > > > >

My installation string:
katello-installer --certs-update-all --enable-foreman-plugin-discovery

enable-foreman-plugin-hooks --capsule-tftp

Are you sure it was that order? It looks like --capsule-tftp is missing
a value there, it needs to be --capsule-tftp=true.

On Sunday, June 21, 2015 at 1:55:06 PM UTC-5, Eric Helms wrote:

Howdy,

You will also want to run:

certutil -D -d ‘/etc/pki/katello/nssdb’ -n ‘amqp-client’

And then run the installer with:

katello-installer --certs-update-all