Ok. The installation completed… but looks like it still fails. I
apologize for the long post, but I wanted to capture the output as follows:
[root@nw-katello-201 katello-deploy]# ./setup.rb rhel6 --version=2.0
setenforce: SELinux is disabled
error: package epel-release is not installed
error: package foreman-release is not installed
error: package katello-repos is not installed
error: package puppetlabs-release is not installed
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Error getting repository data for rhel-6-server-rpms, repository not found
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
repo id repo name
status
rhel-x86_64-server-6 Red Hat Enterprise Linux Server (v. 6
for 64-bit x86_64) 12,924
rpmforge RHEL 6Server - RPMforge.net - dag
4,718
scl_ruby193 Ruby 1.9.3 Dynamic Software Collection
241
repolist: 17,883
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
============================================ repo: PCLN-RHEL6-Custom
···
=============================================
[PCLN-RHEL6-Custom]
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/6Server
baseurl = https://nw-unix-201.prod.pcln.com/pclnrepo/rhel6
cache = 0
cachedir = /var/cache/yum/x86_64/6Server/PCLN-RHEL6-Custom
cost = 1000
enabled = False
enablegroups = True
exclude =
failovermethod = priority
gpgcadir = /var/lib/yum/repos/x86_64/6Server/PCLN-RHEL6-Custom/gpgcadir
gpgcakey =
gpgcheck = False
gpgdir = /var/lib/yum/repos/x86_64/6Server/PCLN-RHEL6-Custom/gpgdir
gpgkey =
hdrdir = /var/cache/yum/x86_64/6Server/PCLN-RHEL6-Custom/headers
http_caching = all
includepkgs =
keepalive = True
mdpolicy = group:primary
mediaid =
metadata_expire = 21600
metalink =
mirrorlist =
mirrorlist_expire = 86400
name = PCLN RHEL6 Custom Repo
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/6Server/PCLN-RHEL6-Custom
pkgdir = /var/cache/yum/x86_64/6Server/PCLN-RHEL6-Custom/packages
proxy =
proxy_dict =
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert = /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
username =
============================================= repo: PCLN-RHEL6-Unix
[PCLN-RHEL6-Unix]
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/6Server
baseurl = https://nw-unix-201.prod.pcln.com/pcln/unix/6
cache = 0
cachedir = /var/cache/yum/x86_64/6Server/PCLN-RHEL6-Unix
cost = 1000
enabled = False
enablegroups = True
exclude =
failovermethod = priority
gpgcadir = /var/lib/yum/repos/x86_64/6Server/PCLN-RHEL6-Unix/gpgcadir
gpgcakey =
gpgcheck = False
gpgdir = /var/lib/yum/repos/x86_64/6Server/PCLN-RHEL6-Unix/gpgdir
gpgkey =
hdrdir = /var/cache/yum/x86_64/6Server/PCLN-RHEL6-Unix/headers
http_caching = all
includepkgs =
keepalive = True
mdpolicy = group:primary
mediaid =
metadata_expire = 21600
metalink =
mirrorlist =
mirrorlist_expire = 86400
name = PCLN RHEL6 Unix
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/6Server/PCLN-RHEL6-Unix
pkgdir = /var/cache/yum/x86_64/6Server/PCLN-RHEL6-Unix/packages
proxy =
proxy_dict =
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert = /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
username =
============================================= repo: foreman_nightly
[foreman_nightly]
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/6Server
baseurl = http://yum.theforeman.org/nightly/el6/x86_64/
cache = 0
cachedir = /var/cache/yum/x86_64/6Server/foreman_nightly
cost = 1000
enabled = False
enablegroups = True
exclude =
failovermethod = priority
gpgcadir = /var/lib/yum/repos/x86_64/6Server/foreman_nightly/gpgcadir
gpgcakey =
gpgcheck = False
gpgdir = /var/lib/yum/repos/x86_64/6Server/foreman_nightly/gpgdir
gpgkey =
hdrdir = /var/cache/yum/x86_64/6Server/foreman_nightly/headers
http_caching = all
includepkgs =
keepalive = True
mdpolicy = group:primary
mediaid =
metadata_expire = 21600
metalink =
mirrorlist =
mirrorlist_expire = 86400
name = Forman 1.7.0 Software Collection
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/6Server/foreman_nightly
pkgdir = /var/cache/yum/x86_64/6Server/foreman_nightly/packages
proxy = http://nw-iwsva.corp.pcln.com:8080
proxy_dict = {‘ftp’: ‘http://nw-iwsva.corp.pcln.com:8080’, ‘http’:
‘http://nw-iwsva.corp.pcln.com:8080’, ‘https’:
‘http://nw-iwsva.corp.pcln.com:8080’}
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
username =
=============================================== repo: rhel-source
[rhel-source]
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/6Server
baseurl =
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/
cache = 0
cachedir = /var/cache/yum/x86_64/6Server/rhel-source
cost = 1000
enabled = False
enablegroups = True
exclude =
failovermethod = priority
gpgcadir = /var/lib/yum/repos/x86_64/6Server/rhel-source/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/6Server/rhel-source/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
hdrdir = /var/cache/yum/x86_64/6Server/rhel-source/headers
http_caching = all
includepkgs =
keepalive = True
mdpolicy = group:primary
mediaid =
metadata_expire = 21600
metalink =
mirrorlist =
mirrorlist_expire = 86400
name = Red Hat Enterprise Linux 6Server - x86_64 - Source
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/6Server/rhel-source
pkgdir = /var/cache/yum/x86_64/6Server/rhel-source/packages
proxy = http://nw-iwsva.corp.pcln.com:8080
proxy_dict = {‘ftp’: ‘http://nw-iwsva.corp.pcln.com:8080’, ‘http’:
‘http://nw-iwsva.corp.pcln.com:8080’, ‘https’:
‘http://nw-iwsva.corp.pcln.com:8080’}
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
username =
============================================= repo: rhel-source-beta
[rhel-source-beta]
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/6Server
baseurl = ftp://ftp.redhat.com/pub/redhat/linux/beta/6Server/en/os/SRPMS/
cache = 0
cachedir = /var/cache/yum/x86_64/6Server/rhel-source-beta
cost = 1000
enabled = False
enablegroups = True
exclude =
failovermethod = priority
gpgcadir = /var/lib/yum/repos/x86_64/6Server/rhel-source-beta/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/6Server/rhel-source-beta/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
hdrdir = /var/cache/yum/x86_64/6Server/rhel-source-beta/headers
http_caching = all
includepkgs =
keepalive = True
mdpolicy = group:primary
mediaid =
metadata_expire = 21600
metalink =
mirrorlist =
mirrorlist_expire = 86400
name = Red Hat Enterprise Linux 6Server Beta - x86_64 - Source
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/6Server/rhel-source-beta
pkgdir = /var/cache/yum/x86_64/6Server/rhel-source-beta/packages
proxy =
proxy_dict =
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
username =
=========================================== repo: rhel-x86_64-server-6
[rhel-x86_64-server-6]
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/6Server
baseurl = https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-6
cache = 0
cachedir = /var/cache/yum/x86_64/6Server/rhel-x86_64-server-6
cost = 1000
enabled = 0
enablegroups = True
exclude =
failovermethod = priority
gpgcadir = /var/lib/yum/repos/x86_64/6Server/rhel-x86_64-server-6/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/6Server/rhel-x86_64-server-6/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
hdrdir = /var/cache/yum/x86_64/6Server/rhel-x86_64-server-6/headers
http_caching = True
includepkgs =
keepalive = 0
label = rhel-x86_64-server-6
mdpolicy = group:primary
mediaid =
metadata_expire = 21600
metalink =
mirrorlist =
mirrorlist_expire = 86400
name = Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
password =
persistdir = /var/lib/yum/repos/x86_64/6Server/rhel-x86_64-server-6
pkgdir = /var/cache/yum/x86_64/6Server/rhel-x86_64-server-6/packages
proxy = https://nw-iwsva.corp.pcln.com:8080
proxy_dict = {‘ftp’: ‘https://nw-iwsva.corp.pcln.com:8080’, ‘http’:
‘https://nw-iwsva.corp.pcln.com:8080’, ‘https’:
‘https://nw-iwsva.corp.pcln.com:8080’}
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 1
rhn_needed_headers = X-RHN-Server-Id,
X-RHN-Auth-User-Id,
X-RHN-Auth,
X-RHN-Auth-Server-Time,
X-RHN-Auth-Expire-Offset
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert = /usr/share/rhn/RHNS-CA-CERT
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 60.0
up2date_cfg = <up2date_client.config.Config instance at 0x21f4560>
username =
Traceback (most recent call last):
File “/usr/bin/yum-config-manager”, line 179, in
repo.cfg.options, repo.iteritems, repo.optionobj,
AttributeError: ‘RhnRepo’ object has no attribute ‘cfg’
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Cannot open:
http://mirror.pnl.gov/epel/6/x86_64/epel-release-6-8.noarch.rpm. Skipping.
Nothing to do
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Cannot open: http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm.
Skipping.
Nothing to do
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Cannot open:
http://fedorapeople.org/groups/katello/releases/yum/2.0/katello/RHEL/6Server/x86_64/katello-repos-latest.rpm.
Skipping.
Nothing to do
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Cannot open:
http://yum.theforeman.org/releases/1.6/el6/x86_64/foreman-release.rpm.
Skipping.
Nothing to do
sh: gem: command not found
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
http://mirror.centos.org/centos/6/SCL/x86_64/repodata/repomd.xml: [Errno
12] Timeout on
http://mirror.centos.org/centos/6/SCL/x86_64/repodata/repomd.xml: (28,
‘connect() timed out!’)
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
SCL. Please verify its path and try again
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
http://mirror.centos.org/centos/6/SCL/x86_64/repodata/repomd.xml: [Errno
12] Timeout on
http://mirror.centos.org/centos/6/SCL/x86_64/repodata/repomd.xml: (28,
‘connect() timed out!’)
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
SCL. Please verify its path and try again
Launching installer with command: katello-installer
On Wednesday, September 24, 2014 2:02:36 PM UTC-4, marc....@priceline.com wrote:
The link to enabling the proxy server did the trick! Thank you.
Now I was able to execute the katello-deploy method of installation… it
is currently running.
I’ll post again when it is complete with the results.
Thanks for all your help, so far (I’m sure I’ll need more :-)).
On Wednesday, September 24, 2014 12:58:20 PM UTC-4, Stephen Benjamin wrote:
On Wed, Sep 24, 2014 at 09:47:34AM -0700, marc....@priceline.com wrote:
This is what happens when I attempt the katello-deploy method of
installation:
[root@nw-katello-201 yum.repos.d]# git clone
GitHub - theforeman/forklift: Helpful deployment scripts for Foreman and Katello
Initialized empty Git repository in
/etc/yum.repos.d/katello-deploy/.git/
error: Failed connect to github.com:443; Operation now in progress
while
accessing https://github.com/Katello/katello-deploy.git/info/refs
Don’t do this in /etc/yum.repos.d, it should be your home directory.
fatal: HTTP request failed
Is there a config file that I could supply a proxy server?
version control - Getting Git to work with a proxy server - fails with "Request timed out" - Stack Overflow
On Wednesday, September 24, 2014 12:34:41 PM UTC-4, > marc....@priceline.com > > wrote:
You wrote… “You basically check out the git repo and run ./setup.rb centos6 --version=2.0
”
I’m running on a RHEL6 VM, will that command still work?
On Wednesday, September 24, 2014 11:19:06 AM UTC-4, Stephen Benjamin > wrote:
On Wed, Sep 24, 2014 at 07:45:26AM -0700, marc....@priceline.com > wrote:
Is there some more detailed instructions to installing Katello??
Maybe
there is an order of installation, some prerequisites, that are not
obvious
in the current installation instruction of “yum -y install katello”
which
obviously doesn’t work. This is very frustrating!! I’m hoping that
it
will be worth all the aggravation at the end of this - if I can even
install it?? Am I the only one having this much trouble?
On Wednesday, September 24, 2014 10:03:34 AM UTC-4, > > > marc....@priceline.com > > > > wrote:
No. The package that is there is:
ruby193-rubygem-rake-compiler-doc-0.8.3-5.el6.noarch.rpm <
Weiterleitungshinweis>
The package that is missing is:
ruby193-rubygem-rake-compiler-doc.noarch
This is the list of ruby packages installed:
[root@nw-katello-201 yum.repos.d]# rpm -qa |grep ruby
ruby-1.8.7.352-13.el6.x86_64
ruby193-libyaml-0.1.4-4.el6.x86_64
ruby193-rubygem-json-1.7.3-4.el6.x86_64
ruby193-rubygem-rdoc-3.12-9.el6.x86_64
ruby-libs-1.8.7.352-13.el6.x86_64
ruby193-runtime-1-6.el6.x86_64
ruby193-ruby-libs-1.9.3.327-27.el6.x86_64
ruby193-rubygem-io-console-0.3-27.el6.x86_64
ruby193-rubygems-1.8.24-2.el6.noarch
ruby193-ruby-irb-1.9.3.327-27.el6.noarch
ruby193-rubygem-bigdecimal-1.1.0-27.el6.x86_64
ruby193-ruby-1.9.3.327-27.el6.x86_64
Is there any missing that is needed causing my problems?
Maybe check out katello-deploy instead, where we’ll setup the required
repos for you.
Foreman :: Plugin documentation index
You basically check out the git repo and run ./setup.rb centos6 --version=2.0
Thanks.
On Wednesday, September 24, 2014 8:55:20 AM UTC-4, Eric Helms > wrote:
On Wed, Sep 24, 2014 at 8:49 AM, marc....@priceline.com wrote:
Hi Eric,
Thanks for the help… I ran the clean all command
successfully.
This
still didn’t solve my problem.
I looked into the repo link you provided, but still don’t see
the
ruby193-rubygem-rake-compiler-doc.noarch package in there:
ruby193-rubygem-rails_warden-0.5.2-6.el6.noarch.rpm
24-Sep-2014 06:49 97K
ruby193-rubygem-rake-compiler-0.8.3-5.el6.noarch.rpm
24-Sep-2014 06:49 65K
ruby193-rubygem-rake-compiler-doc-0.8.3-5.el6.noarch.rpm
24-Sep-2014 06:49 95K
^ Isn’t that the package r