[KATELLO] Capsule-installer on puppet master

Heya,

I am trialling Katello for my new virtual environment. The master node was
easy to install and use, many thanks! I am now trying to get
capsule-install to work on my puppet master node. I did the following on my
Katello box:

  • capsule-certs-generate --capsule-fqdn "puppet-01.core" --certs-tar
    "~/puppet-01.core.tar"
  • then scp'd the file over to my puppet-master

I then installed the ca-consumer packages and subscribed the puppet box to
Katello. I then proceeded to run the capsule-installer command as per the
instructions.

I however am having issues in regards to httpd 2.4. The issue relates to
the misconfiguration of the httpd daemon by the capsule-installer. I am
using CentOS 7.

I will use pastebin for the error messages so this email stays readable.

Here is the install error(I have removed the secret strings from the
output):

http://pastebin.com/fwZUYFax

Here is the journal output:

http://pastebin.com/iqbkkjNa

Looking into the issue more, the mod_alias httpd module is loaded via
/etc/httpd/conf.modules.d, but capsule-installer does not configure this
dir to be loaded in httpd.conf, only conf.d. When I included the
conf.modules.d dir into httpd, then it loads, but then there is a
duplication warning with 00-mpm.conf in conf.modules.d for loading
"mod_mpm_prefork.so".

I wouldn't be the first person trying to do this on CentOS 7, so I think
the issue is related to something I'm doing. Any pointers as to what
exactly would be greatly appreciated.

Regards,

Julian

Can you paste what /etc/pulp/vhosts80/puppet.conf shows on line 1 since it
seems to be complaining.

··· On Nov 20, 2015 2:45 AM, wrote:

Heya,

I am trialling Katello for my new virtual environment. The master node was
easy to install and use, many thanks! I am now trying to get
capsule-install to work on my puppet master node. I did the following on my
Katello box:

  • capsule-certs-generate --capsule-fqdn “puppet-01.core” --certs-tar
    "~/puppet-01.core.tar"
  • then scp’d the file over to my puppet-master

I then installed the ca-consumer packages and subscribed the puppet box to
Katello. I then proceeded to run the capsule-installer command as per the
instructions.

I however am having issues in regards to httpd 2.4. The issue relates to
the misconfiguration of the httpd daemon by the capsule-installer. I am
using CentOS 7.

I will use pastebin for the error messages so this email stays readable.

Here is the install error(I have removed the secret strings from the
output):

http://pastebin.com/fwZUYFax

Here is the journal output:

http://pastebin.com/iqbkkjNa

Looking into the issue more, the mod_alias httpd module is loaded via
/etc/httpd/conf.modules.d, but capsule-installer does not configure this
dir to be loaded in httpd.conf, only conf.d. When I included the
conf.modules.d dir into httpd, then it loads, but then there is a
duplication warning with 00-mpm.conf in conf.modules.d for loading
"mod_mpm_prefork.so".

I wouldn’t be the first person trying to do this on CentOS 7, so I think
the issue is related to something I’m doing. Any pointers as to what
exactly would be greatly appreciated.

Regards,

Julian


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.

[root@puppet-01 vhosts80]# cat puppet.conf
Alias /pulp/puppet /var/www/pub/puppet/http/repos

However as I described below as it is not including the dir
/etc/httpd/conf.modules.d in httpd.conf, it doesn't load the alias module
for httpd.24.

Thanks.

··· On Saturday, 21 November 2015 09:14:20 UTC+10, Eric Helms wrote: > > Can you paste what /etc/pulp/vhosts80/puppet.conf shows on line 1 since it > seems to be complaining. > On Nov 20, 2015 2:45 AM, <jdem...@pivit.com.au > wrote: > >> Heya, >> >> I am trialling Katello for my new virtual environment. The master node >> was easy to install and use, many thanks! I am now trying to get >> capsule-install to work on my puppet master node. I did the following on my >> Katello box: >> >> - capsule-certs-generate --capsule-fqdn "puppet-01.core" --certs-tar >> "~/puppet-01.core.tar" >> - then scp'd the file over to my puppet-master >> >> I then installed the ca-consumer packages and subscribed the puppet box >> to Katello. I then proceeded to run the capsule-installer command as per >> the instructions. >> >> I however am having issues in regards to httpd 2.4. The issue relates to >> the misconfiguration of the httpd daemon by the capsule-installer. I am >> using CentOS 7. >> >> I will use pastebin for the error messages so this email stays readable. >> >> Here is the install error(I have removed the secret strings from the >> output): >> >> http://pastebin.com/fwZUYFax >> >> Here is the journal output: >> >> http://pastebin.com/iqbkkjNa >> >> Looking into the issue more, the mod_alias httpd module is loaded via >> /etc/httpd/conf.modules.d, but capsule-installer does not configure this >> dir to be loaded in httpd.conf, only conf.d. When I included the >> conf.modules.d dir into httpd, then it loads, but then there is a >> duplication warning with 00-mpm.conf in conf.modules.d for loading >> "mod_mpm_prefork.so". >> >> I wouldn't be the first person trying to do this on CentOS 7, so I think >> the issue is related to something I'm doing. Any pointers as to what >> exactly would be greatly appreciated. >> >> Regards, >> >> Julian >> >> -- >> 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 http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> >