Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 918204 Details for
Bug 1119866
Installing Capsule Server cant find rhel-server-rhscl-6-rpms repo
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
my install notes
satellite_beta.txt (text/plain), 20.72 KB, created by
paul
on 2014-07-15 17:12:11 UTC
(
hide
)
Description:
my install notes
Filename:
MIME Type:
Creator:
paul
Created:
2014-07-15 17:12:11 UTC
Size:
20.72 KB
patch
obsolete
>http://www.redhat.com/mailman/listinfo/Satellite6-beta where is it? 'extmm@redhat.com' > > >vm default install > >subscription-manager register --username=pau113 --password=Blazer12 --type=system >The system has been registered with ID: 4343d9e4-e251-40ce-a922-79115e747330 > >subscription-manager list --available --all > >Subscription Name: Red Hat Satellite Capsule High Touch Beta >Provides: Red Hat Satellite Capsule 6 Beta >SKU: MCT3096 >Pool ID: 8a85f98146eb60a70146f31c359441e6 >Available: 5 >Suggested: 1 >Service Level: Self-Support >Service Type: L1-L3 >Multi-Entitlement: No >Ends: 09/28/2014 >System Type: Physical > >Subscription Name: Red Hat Satellite High Touch Beta >Provides: Red Hat Satellite Capsule 6 Beta > Red Hat Satellite 6 Beta >SKU: MCT1741 >Pool ID: 8a85f98146eb60a70146f31c366f41f7 >Available: 2 >Suggested: 1 >Service Level: Self-Support >Service Type: L1-L3 >Multi-Entitlement: No >Ends: 09/28/2014 >System Type: Physical > >Subscription Name: 90 Day Red Hat Enterprise Linux Server Supported Evaluation with Smart > Management, Monitoring Monitoring and all Add-Ons >Provides: Red Hat Enterprise Linux Scalable File System (for RHEL Server) > Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update > Support > Red Hat Software Collections (for RHEL Server) > Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update > Support > Red Hat Enterprise Linux Server - Extended Update Support > Red Hat Beta > Oracle Java (for RHEL Server) - Extended Update Support > Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended > Update Support > Red Hat Enterprise Linux Resilient Storage (for RHEL Server) > Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update > Support > Oracle Java (for RHEL Server) > Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update > Support > Red Hat Enterprise Linux Server > Red Hat Enterprise Linux High Availability (for RHEL Server) > Red Hat Software Collections Beta (for RHEL Server) > Red Hat Enterprise Linux Load Balancer (for RHEL Server) > Red Hat Enterprise Linux High Performance Networking (for RHEL Server) > Red Hat Developer Toolset (for RHEL Server) >SKU: RH00068 >Pool ID: 8a85f98146eb60a70146f31c36ac4209 >Available: 72 >Suggested: 1 >Service Level: Standard >Service Type: L1-L3 >Multi-Entitlement: Yes >Ends: 09/28/2014 >System Type: Physical > > >#Subscription Name: Red Hat Satellite High Touch Beta >subscription-manager subscribe --pool=8a85f98146eb60a70146f31c366f41f7 >Successfully attached a subscription for: Red Hat Satellite High Touch Beta > >#Subscription Name: 90 Day Red Hat Enterprise Linux Server Supported Evaluation with Smart > Management, Monitoring Monitoring and all Add-Ons >subscription-manager subscribe --pool=8a85f98146eb60a70146f31c36ac4209 >Successfully attached a subscription for: 90 Day Red Hat Enterprise Linux Server Supported Evaluation with Smart Management, Monitoring Monitoring and all Add-Ons > >yum check-update >yum update 7/2/14 >yum update 7/14/14 > > >service iptables stop >chkconfig iptables off > >vim /etc/selinux/config >SELINUX=disabled > >vim /boot/grub/grub.conf >remove-- rhgb quiet > >init 6 > >init 0 > >add 200G disk > >parted /dev/sdb --script mklabel gpt >parted -a minimal /dev/sdb --script -- mkpart primary ext3 0 -1 >parted /dev/sdb --script set 1 lvm on >pvcreate /dev/sdb1 >vgcreate vg_pulp /dev/sdb1 >lvcreate -l 51199 -n lv_pulp vg_pulp >mkfs.ext4 /dev/vg_pulp/lv_pulp >mkdir /var/lib/pulp > >-add to fstab > ># ># >/dev/mapper/vg_pulp-lv_pulp /var/lib/pulp ext4 defaults 1 2 > >mount -a > >init 0 > >add 1 vcpu (total 2) >add 6G ram (total 8) > >power on > >subscription-manager repos --disable "*" > >subscription-manager repos --enable rhel-6-server-rpms >subscription-manager repos --enable rhel-server-rhscl-6-rpms >subscription-manager repos --enable rhel-server-6-satellite-6-beta-rpms > >yum install katello > >cp /etc/katello-installer/answers.katello-installer.yaml . > >2.4. Configuring Red Hat Satellite with an Answer File *************** how is this added ??? > >Open the /etc/katello-installer/katello-installer.yaml file in your preferred text editor and edit the answer file entry to point to your custom answer file: >:answer_file: /root/answers.katello-installer.yaml > > >katello-installer > >[root@satellite6 ~]# katello-installer >Installing Done [100%] [...................................] > Success! > * Katello is running at https://satellite6.internal.priority-health.com > Default credentials are 'admin:changeme' > * Capsule is running at https://satellite6.internal.priority-health.com:9090 > * To install additional capsule on separate machine continue by running:" > > capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar" > > The full log is at /var/log/katello-installer/katello-installer.log >[root@satellite6 ~]# > >[root@satellite6 ~]# rpm -ql katello-installer | grep params.pp >/usr/share/katello-installer/modules/apache/manifests/params.pp >/usr/share/katello-installer/modules/apache/tests/mod_load_params.pp >/usr/share/katello-installer/modules/apt/manifests/params.pp >/usr/share/katello-installer/modules/apt/tests/params.pp >/usr/share/katello-installer/modules/candlepin/manifests/params.pp >/usr/share/katello-installer/modules/capsule/manifests/params.pp >/usr/share/katello-installer/modules/certs/manifests/params.pp >/usr/share/katello-installer/modules/dhcp/manifests/params.pp >/usr/share/katello-installer/modules/dns/manifests/params.pp >/usr/share/katello-installer/modules/elasticsearch/manifests/params.pp >/usr/share/katello-installer/modules/foreman/manifests/cli/params.pp >/usr/share/katello-installer/modules/foreman/manifests/params.pp >/usr/share/katello-installer/modules/foreman/manifests/plugin/discovery/params.pp >/usr/share/katello-installer/modules/foreman_proxy/manifests/params.pp >/usr/share/katello-installer/modules/git/manifests/params.pp >/usr/share/katello-installer/modules/katello/manifests/params.pp >/usr/share/katello-installer/modules/katello_devel/manifests/params.pp >/usr/share/katello-installer/modules/mongodb/manifests/params.pp >/usr/share/katello-installer/modules/mysql/manifests/params.pp >/usr/share/katello-installer/modules/postgresql/manifests/params.pp >/usr/share/katello-installer/modules/pulp/manifests/params.pp >/usr/share/katello-installer/modules/puppet/manifests/params.pp >/usr/share/katello-installer/modules/qpid/manifests/params.pp >/usr/share/katello-installer/modules/tftp/manifests/params.pp >/usr/share/katello-installer/modules/xinetd/manifests/params.pp >[root@satellite6 ~]# > >https://satellite6.internal.priority-health.com/ admin / changeme > > >https://access.redhat.com/home Click Subscriptions ? Subscriptions Management ? Subscriptions Management Applications and then click Satellite > Register a Satellite. >UUID: 312706e2-fcea-4c76-8c32-6d40662a5450 >Created: 07/02/2014 >Type: Satellite > > >Red Hat Satellite Capsule High Touch Beta 10483322 1 09/28/2014 >Red Hat Satellite High Touch Beta 10483322 1 09/28/2014 > >Request 1496316 created to open firewall ports >open PH firewall ports between 10.50.2.25 and 10.57.232.33 for Satellite 6 90 day test > >Name: satellite6.internal.priority-health.com >Address: 10.50.2.25 > >service iptables stop >chkconfig iptables off > >vim /etc/selinux/config >SELINUX=disabled > >vim /boot/grub/grub.conf >remove-- rhgb quiet > >init 0 > >add 1 vcpu (total 2) >add 6G ram (total 8) >add 200G disk > >power on > >parted /dev/sdb --script mklabel gpt >parted -a minimal /dev/sdb --script -- mkpart primary ext3 0 -1 >parted /dev/sdb --script set 1 lvm on >pvcreate /dev/sdb1 >vgcreate vg_pulp /dev/sdb1 >lvcreate -l 51199 -n lv_pulp vg_pulp >mkfs.ext4 /dev/vg_pulp/lv_pulp >mkdir /var/lib/pulp > >-add to fstab > ># ># >/dev/mapper/vg_pulp-lv_pulp /var/lib/pulp ext4 defaults 1 2 > >mount -a > > > > >parted /dev/sdc --script mklabel gpt >parted -a minimal /dev/sdc --script -- mkpart primary ext3 0 -1 >parted /dev/sdc --script set 1 lvm on >pvcreate /dev/sdc1 >vgextend vg_satellite6 /dev/sdc1 >lvextend -L +10G /dev/vg_satellite6/lv_root >resize2fs /dev/vg_satellite6/lv_root > > > > >vim /etc/ntp.conf >restrict sh_ntp.spectrum-health.org mask 255.255.255.0 nomodify notrap >restrict tis-ntp_vip.spectrum-health.org mask 255.255.255.0 nomodify notrap >server sh_ntp.spectrum-health.org burst iburst maxpoll 17 >server tis-ntp_vip.spectrum-health.org burst iburst maxpoll 17 >server ntp2.usno.navy.mil burst iburst maxpoll 17 >server ac-ntp0.net.cmu.edu burst iburst maxpoll 17 >server ntp-2.cso.uiuc.edu burst iburst maxpoll 17 >server ntp0.cornell.edu burst iburst maxpoll 17 > >chkconfig ntpd on >service ntpd start > > >Activation Key: Sat_cap_act_key >Activation Key: rhel65_act_key > > >Bridge Number: +1.800.451.8679 / International Phone List >Conference Id: 318 937 6643 >Web Cast Link: Click Here > > >subscription-manager register --org priority_health --activationkey=rhel65_act_key --serverurl=satellite6 >Error: CA certificate for subscription service has not been installed. > > >ok, install CA certificate for subscription service > > >yum install subscription-manager don't need to >yum update subscription-manager don't need to >yum update yum yum-rhn-plugin don't need to > >yum -y --nogpgcheck install http://satellite6.internal.priority-health.com/pub/katello-ca-consumer-satellite6.internal.priority-health.com-1.0-1.noarch.rpm > >############################################### >Bug 1117861 has been added to the database >http://satellite6/pub/candlepin-cert-consumer-latest.noarch.rpm wrong url >http://satellite6.internal.priority-health.com/pub/katello-ca-consumer-latest.noarch.rpm >http://satellite6.internal.priority-health.com/pub/katello-ca-consumer-satellite6.internal.priority-health.com-1.0-1.noarch.rpm ># yum -y --nogpgcheck install http://[hostname]/pub/candlepin-certconsumer-[hostname]-1.0-1.noarch.rpm wrong! ># yum -y --nogpgcheck install http://[hostname]/pub/katello-ca-consumer-[hostname]-1.0-1.noarch.rpm >############################################### > > > >subscription-manager clean >subscription-manager register --org priority_health --activationkey=rhel65_act_key >The system has been registered with ID: a53e9d89-ccf8-4e3c-854c-2105e2f7cb19 > >subscription-manager list --available --all > >subscription-manager subscribe --pool=8ab2829946f7a4e10146f83f150700f3 > >Successfully attached a subscription for: 90 Day Red Hat Enterprise Linux Server Supported Evaluation with Smart Management, Monitoring Monitoring and all Add-Ons >1 local certificate has been deleted. > >subscription-manager subscribe --pool=8ab2829946f7a4e10146f83875bf0064 > >Successfully attached a subscription for: Red Hat Satellite Capsule High Touch Beta > > > PV Name /dev/mapper/mpathb > PV UUID 2Mh6SG-kEfM-8gSn-FqCq-LpSl-p2nc-BoNX6V > >lvcreate -l 25599 -n lv_pulp vg_pulp >mkfs.ext4 /dev/vg_pulp/lv_pulp >mkdir /var/lib/pulp > >-add to fstab > ># ># >/dev/mapper/vg_pulp-lv_pulp /var/lib/pulp ext4 defaults 1 2 > >mount -a > > >############################################ >Case Number : 01137723 FIXED *** >Bug? I've install CA certificate for subscription service, registered, added subscription, >I have 6.0 and 6.5 content synced, > >Basic Information > >Name Red Hat Enterprise Linux 6 Server RPMs x86_64 6.5 >Label Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_5 >Type yum >URL >https://cdn.redhat.com/content/dist/rhel/server/6/6.5/x86_64/os >Publish via HTTPS true >Publish via HTTP >Published At https://satellite6.internal.priority-health.com/pulp/repos/priority_health/Library/content/dist/rhel/server/6/6.5/x86_64/os > >but, if I look at that published location - the directory structure does not exist. > >[root@satellite6 repos]# ls -l >total 76 >drwx------ 2 apache apache 4096 Jul 3 09:37 priority_health-Library-rhel6_5 >drwx------ 3 apache apache 4096 Jul 3 09:44 priority_health-Library-rhel6_5-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_5 >drwx------ 2 apache apache 4096 Jul 3 13:26 priority_health-Library-Sat_cap >drwx------ 3 apache apache 4096 Jul 3 13:27 priority_health-Library-Sat_cap-Red_Hat_Satellite_6_Beta-Red_Hat_Satellite_6_0_Beta_for_RHEL_6_Server_RPMs_x86_64 >drwx------ 3 apache apache 4096 Jul 3 13:27 priority_health-Library-Sat_cap-Red_Hat_Satellite_Capsule_6_Beta-Red_Hat_Satellite_Capsule_6_0_Beta_for_RHEL_6_Server_RPMs_x86_64 >drwx------ 3 apache apache 4096 Jul 8 15:40 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Extras_RPMs_x86_64 >drwx------ 3 apache apache 4096 Jul 8 15:39 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Fastrack_RPMs_x86_64 >drwx------ 3 apache apache 4096 Jul 8 15:39 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_5 >drwx------ 3 apache apache 4096 Jul 8 15:40 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6Server >drwx------ 3 apache apache 4096 Jul 8 15:42 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Optional_RPMs_x86_64_6_5 >drwx------ 3 apache apache 4096 Jul 8 15:44 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Optional_RPMs_x86_64_6Server >drwx------ 3 apache apache 4096 Jul 8 15:39 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_RH_Common_RPMs_x86_64_6_5 >drwx------ 3 apache apache 4096 Jul 8 15:40 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_RH_Common_RPMs_x86_64_6Server >drwx------ 3 apache apache 4096 Jul 8 15:36 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_5 >drwx------ 3 apache apache 4096 Jul 8 15:36 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server >drwx------ 3 apache apache 4096 Jul 8 15:40 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Supplementary_RPMs_x86_64_6_5 >drwx------ 3 apache apache 4096 Jul 8 15:39 priority_health-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Supplementary_RPMs_x86_64_6Server >drwx------ 3 apache apache 4096 Jul 3 09:55 priority_health-Red_Hat_Satellite_6_Beta-Red_Hat_Satellite_6_0_Beta_for_RHEL_6_Server_RPMs_x86_64 >drwx------ 3 apache apache 4096 Jul 3 09:55 priority_health-Red_Hat_Satellite_Capsule_6_Beta-Red_Hat_Satellite_Capsule_6_0_Beta_for_RHEL_6_Server_RPMs_x86_64 >[root@satellite6 repos]# pwd >/var/www/pulp/nodes/https/repos >[root@satellite6 repos]# > > >[root@satellite6-cap2 ~]# yum check-update >Loaded plugins: product-id, security, subscription-manager >This system is receiving updates from Red Hat Subscription Management. >https://satellite6.internal.priority-health.com/pulp/repos/priority_health/Library/rhel6_5/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" >Trying other mirror. >Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-rpms. Please verify its path and try again >[root@satellite6-cap2 ~]# > >https://satellite6.internal.priority-health.com/pulp/repos/priority_health/Library/content/dist/rhel/server/6/6.5/x86_64/os > >*** fixed *** > >subscription-manager unregister >subscription-manager register --org priority_health --activationkey=rhel65_act_key --release=6.5 >The system has been registered with ID: 17824916-8019-4e3f-a828-5761e7156b8f >subscription-manager subscribe --pool=8ab2829946f7a4e10146f83f150700f3 >Successfully attached a subscription for: 90 Day Red Hat Enterprise Linux Server Supported Evaluation with Smart Management, Monitoring Monitoring and all Add-Ons >1 local certificate has been deleted. >subscription-manager subscribe --pool=8ab2829946f7a4e10146f83875bf0064 >Successfully attached a subscription for: Red Hat Satellite Capsule High Touch Beta > >yum update >(successful) > >init 6 >********************************************* >********************************************* >** >** >** notes for new bug 5.2. Installing a Red Hat Satellite Capsule Server >** >********************************************* > > >subscription-manager subscribe --pool=8ab2829946f7a4e10146f83875150052 >Successfully attached a subscription for: Red Hat Satellite High Touch Beta > >subscription-manager repos --disable "*" >subscription-manager repos --enable rhel-6-server-rpms >subscription-manager repos --enable rhel-server-rhscl-6-rpms **invalid** <---------------------- >Error: rhel-server-rhscl-6-rpms is not a valid repo ID. Use --list option to see valid repos. > >subscription-manager repos --enable rhel-server-6-satellite-capsule-6-beta-rpms > >subscription-manager subscribe --pool=8ab2829946f7a4e10147202edeb20358 >Successfully attached a subscription for: Red Hat Satellite Capsule High Touch Beta > >subscription-manager register --org priority_health --activationkey=Sat_cap_act_key >This system is already registered. Use --force to override > >yum check-update fails... > >subscription-manager unregister >subscription-manager clean >subscription-manager register --org priority_health --activationkey=Sat_cap_act_key >subscription-manager list --available --all >subscription-manager subscribe --pool=8ab2829946f7a4e10146f83875150052 >subscription-manager subscribe --pool=8ab2829946f7a4e10146f83f150700f3 >1 local certificate has been deleted. (why?) > > >subscription-manager repos --enable rhel-server-6-satellite-capsule-6-beta-rpms >enabled > >WELL, ALMOST. > >[root@satellite6-cap2 ~]# yum check-update >Loaded plugins: product-id, security, subscription-manager >This system is receiving updates from Red Hat Subscription Management. >https://satellite6.internal.priority-health.com/pulp/repos/priority_health/Library/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden" >Trying other mirror. > > > >THIS WORKS on my capsule server: > >subscription-manager unregister >subscription-manager clean >subscription-manager register --org="priority_health" --environment="Library" --release=6.5 admin / changeme >subscription-manager repos --list >empty >subscription-manager subscribe --pool=8ab2829946f7a4e10146f83f150700f3 > >subscription-manager repos --list >ok, rhel available... >subscription-manager subscribe --pool=8ab2829946f7a4e10146f83875150052 >ok, capsule added... > >subscription-manager repos --enable rhel-server-rhscl-6-rpms >subscription-manager repos --enable rhel-server-6-satellite-6-beta-rpms >subscription-manager repos --enable rhel-server-6-satellite-capsule-6-beta-rpms > > >yum info katello-installer >yum install katello-installer >Complete! > >Generate a Satellite Capsule Server certificate > >capsule-certs-generate --capsule-fqdn capsule_satellite6-cap2.internal.priority-health.com --certs-tar ~/capsule.satellite6-cap2-certs.tar > > Could not set 'directory' on ensure: Could not find group foreman at 9:/usr/share/katello-installer/modules/certs/manifests/config.pp > Could not set 'directory' on ensure: Could not find group foreman at 9:/usr/share/katello-installer/modules/certs/manifests/config.pp > /Stage[main]/Certs::Config/File[/etc/pki/katello]/ensure: change from absent to directory failed: Could not set 'directory' on ensure: Could not find group foreman at 9:/usr/share/katello-installer/modules/certs/manifests/config.pp >Installing Done [100%] [............................................................] > Something went wrong! Check the log for ERROR-level output > The full log is at /var/log/katello-installer/capsule-certs-generate.log >[root@satellite6-cap2 ~]# > > > >ssh root@satellite6 >root@satellite6's password: >Last login: Mon Jul 14 08:15:34 2014 from phantom.internal.priority-health.com >[root@satellite6 ~]# grep for /etc/group >puppet:x:52:foreman,foreman-proxy >foreman:x:497:apache,tomcat >foreman-proxy:x:493: >[root@satellite6 ~]# > > > > > > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1119866
: 918204