On a CentOS 7 server I'm currently trying to install Katello using the 3.4
guide found
here: Foreman :: Plugin Manuals,
but seem to be running into some errors. I had previously installed 3.2
(without realising I wasn't installing the latest version) but due to some
non-katello issues had to uninstall, so now I have gone to 3.4.
But when I get to the foreman-installer --scenario katello
–disable-system-checks the install fails and a whole lot of error
messages appear, and the lines that stand out the most are:
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]:
Failed to call refresh: /usr/sbin/foreman-rake db:migrate returned 1
instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]:
/usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
and
/Stage[main]/Katello::Config::Pulp_client/Foreman_config_entry[pulp_client_cert]/value:
change from to /etc/pki/katello/certs/pulp-client.crt failed: Execution of
'/usr/sbin/foreman-rake – config -k 'pulp_client_cert' -v
'/etc/pki/katello/certs/pulp-client.crt'' returned 1: rake aborted!
Foreman::PluginRequirementError: ERF72-1622
[Foreman::PluginRequirementError]: bastion plugin requires Foreman >= 1.16
but current is 1.15.3
/usr/share/foreman/app/services/foreman/plugin.rb:143:in requires_foreman' /opt/theforeman/tfm/root/usr/share/gems/gems/bastion-5.0.9/lib/bastion/engine.rb:48:inblock (2 levels) in <class:Engine>'
I'm new to Katello and foreman, and don't have much more experience with
Linux but I've been given this task and trying to work my way through it
all.
I have not been able to locate too much info about the bastion dependency
error so if anyone has any ideas, that would be greatly appreciated!
That should be fixed now, yum clean all to be safe and then yum upgrade to
ensure you have tfm-rubygem-bastion 5 .0.10.
···
On Aug 26, 2017 3:57 PM, "Jasper Connery" wrote:
On a CentOS 7 server I’m currently trying to install Katello using the 3.4
guide found here: Foreman :: Plugin Manuals
installation/index.html, but seem to be running into some errors. I had
previously installed 3.2 (without realising I wasn’t installing the latest
version) but due to some non-katello issues had to uninstall, so now I have
gone to 3.4.
But when I get to the foreman-installer --scenario katello
–disable-system-checks the install fails and a whole lot of error
messages appear, and the lines that stand out the most are:
/Stage[main]/Foreman::Database/Foreman::Rake[db:
migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh:
/usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:
migrate]/Exec[foreman-rake-db:migrate]: /usr/sbin/foreman-rake db:migrate
returned 1 instead of one of [0]
and
/Stage[main]/Katello::Config::Pulp_client/Foreman_config_entry[pulp_client_cert]/value:
change from to /etc/pki/katello/certs/pulp-client.crt failed: Execution
of ‘/usr/sbin/foreman-rake – config -k ‘pulp_client_cert’ -v
’/etc/pki/katello/certs/pulp-client.crt’’ returned 1: rake aborted!
Foreman::PluginRequirementError: ERF72-1622 [Foreman::PluginRequirementError]:
bastion plugin requires Foreman >= 1.16 but current is 1.15.3
/usr/share/foreman/app/services/foreman/plugin.rb:143:in requires_foreman' /opt/theforeman/tfm/root/usr/share/gems/gems/bastion-5.0.9/lib/bastion/engine.rb:48:inblock (2 levels) in class:Engine’
I’m new to Katello and foreman, and don’t have much more experience with
Linux but I’ve been given this task and trying to work my way through it
all.
I have not been able to locate too much info about the bastion dependency
error so if anyone has any ideas, that would be greatly appreciated!
Ahh yup not 5 minutes after posting this I spotted your earlier post.
Thanks for providing the fix!
···
On Sunday, August 27, 2017 at 9:46:59 AM UTC+12, Eric Helms wrote:
>
> That should be fixed now, yum clean all to be safe and then yum upgrade to
> ensure you have tfm-rubygem-bastion 5 .0.10.
>
>
>
> On Aug 26, 2017 3:57 PM, "Jasper Connery" <jcon...@gmail.com > > wrote:
>
>> On a CentOS 7 server I'm currently trying to install Katello using the
>> 3.4 guide found here:
>> https://theforeman.org/plugins/katello/3.4/installation/index.html, but
>> seem to be running into some errors. I had previously installed 3.2
>> (without realising I wasn't installing the latest version) but due to some
>> non-katello issues had to uninstall, so now I have gone to 3.4.
>>
>> But when I get to the *foreman-installer --scenario katello
>> --disable-system-checks* the install fails and a whole lot of error
>> messages appear, and the lines that stand out the most are:
>>
>> /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]:
>> Failed to call refresh: /usr/sbin/foreman-rake db:migrate returned 1
>> instead of one of [0]
>> /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]:
>> /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
>>
>> and
>>
>> /Stage[main]/Katello::Config::Pulp_client/Foreman_config_entry[pulp_client_cert]/value:
>> change from to /etc/pki/katello/certs/pulp-client.crt failed: Execution of
>> '/usr/sbin/foreman-rake -- config -k 'pulp_client_cert' -v
>> '/etc/pki/katello/certs/pulp-client.crt'' returned 1: rake aborted!
>> Foreman::PluginRequirementError: ERF72-1622
>> [Foreman::PluginRequirementError]: bastion plugin requires Foreman >= 1.16
>> but current is 1.15.3
>> /usr/share/foreman/app/services/foreman/plugin.rb:143:in
>> `requires_foreman'
>> /opt/theforeman/tfm/root/usr/share/gems/gems/bastion-5.0.9/lib/bastion/engine.rb:48:in
>> `block (2 levels) in '
>>
>> I'm new to Katello and foreman, and don't have much more experience with
>> Linux but I've been given this task and trying to work my way through it
>> all.
>>
>> I have not been able to locate too much info about the bastion dependency
>> error so if anyone has any ideas, that would be greatly appreciated!
>>
>> --
>> 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.
>>
>