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 604978 Details for
Bug 842859
RHUI 2.0.3 -> 2.1 migration, doc to add ssl_ca_cert option in /etc/rhui-tools.conf [rhua]
[?]
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.
Verifying screen log
log (text/plain), 69.33 KB, created by
mkovacik
on 2012-08-16 16:46:01 UTC
(
hide
)
Description:
Verifying screen log
Filename:
MIME Type:
Creator:
mkovacik
Created:
2012-08-16 16:46:01 UTC
Size:
69.33 KB
patch
obsolete
>[root@rhua ~]# rhui-manager answers.cfg >An entitlement signing CA certificate is required to use RHUI Tools >but was not found. > >Full path to the new signing CA certificate: >^CTraceback (most recent call last): > File "/usr/bin/rhui-manager", line 16, in <module> > rhui.tools.launcher.main() > File "/usr/lib/python2.6/site-packages/rhui/tools/launcher.py", line 326, in main > _ensure_ca_certificate(config, prompt) > File "/usr/lib/python2.6/site-packages/rhui/tools/launcher.py", line 201, in _ensure_ca_certificate > cert_filename = prompt.prompt_file(q, interruptable=True) > File "/usr/lib/python2.6/site-packages/rhui/common/prompt.py", line 63, in prompt_file > if (f is None or f.strip() == '') and allow_empty: >AttributeError: 'object' object has no attribute 'strip' >[root@rhua ~]# rhui-installer answers.cfg >Generating RHUA configuration RPM >RHUA RPM can be found at [/tmp/rhui] >Generating CDS bundle for CDS [cds1.example.com] >CDS RPM can be found at [/tmp/rhui] >Generating CDS bundle for CDS [cds2.example.com] >CDS RPM can be found at [/tmp/rhui] >[root@rhua ~]# rpm -Uvh /tmp/rhui/rh-rhua-config-2.0-2.el6.noarch.rpm >Preparing... ########################################### [100%] > 1:rh-rhua-config ########################################### [100%] >Updating RHUA Server Configuration >Updating RHUA Repository Authentication Configuration >Updating Apache SSL Configuration >Starting mongod: [ OK ] >removing persisted tasks >database migration to version 40 complete >Stopping httpd: [FAILED] >Stopping Qpid AMQP daemon: [ OK ] >Stopping mongod: [ OK ] >Starting mongod: [ OK ] >Starting Qpid AMQP daemon: [ OK ] >Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using rhua.example.com for ServerName >[ OK ] >[root@rhua ~]# cat /etc/rhui/rhui-tools.conf >[rhua] >hostname: localhost > >[security] > ># CA certificate that is used to sign and verify client entitlement certificates >entitlement_ca: /etc/pki/rhui/entitlement-ca.crt >entitlement_ca_key: /etc/pki/rhui/entitlement-ca-key.pem > >identity_cert: /etc/pki/rhui/identity.crt >identity_key: /etc/pki/rhui/identity.key > >[redhat] >content_ca: /etc/rhui/cdn.redhat.com-chain.crt >server_url: https://cdn.redhat.com > ># Uncomment and set the following attributes to use a proxy to connect to Red Hat. ># proxy_url: ># proxy_port: ># proxy_user: ># proxy_pass: > >[rhui] >config_rpm_files: /etc/rhui >cert_dir: /etc/pki/rhui/redhat > ># Time, in hours, between recurring syncs >repo_sync_frequency: 6 >cds_sync_frequency: 6 > ># Time, in seconds, between CDS/repo screen refresh >sync_status_refresh: 5 > ># Warnings will be issued if certificates expire within the set number of ># days >expiration_warning: 30 >You have mail in /var/spool/mail/root >[root@rhua ~]# cat /etc/pulp/pulp.conf ># Server options ># ># server_name: server hostname(protocol defaults to https) ># relative_url: the relative url at which repos are exposed to the clients ># key_url: the relative url at which gpg keys are exposed to clients ># default_login: default admin username for your pulp server ># default_password: default password for admin ># Highly recommend changing the default_password with "pulp-admin user update" ># >[server] >server_name: rhua.example.com >relative_url: /pulp/repos >key_url: /pulp/gpg >ks_url: /pulp/ks >default_login: admin >default_password: admin > ># Messaging options. ># ># url: the broker url. ># cacert: path to PEM encoded CA certificate file ># clientcert: path to PEM encoded file containing both ># the private key and certificate. ># ># The url has form: <transport>://<host>:<port> where ># transport can be (tcp|ssl). When ssl is specified, ># cacert and clientcert must be specified. > >[messaging] >url: ssl://rhua.example.com:5674 >cacert: /etc/pki/rhua/qpid-ca.crt >clientcert: /etc/pki/rhua/qpid-client.crt > ># ># AMQP event processing ># >[events] >send_enabled: false >recv_enabled: false > ># Configures aspects of the pulp web server security. ># ># cacert: full path to the CA certificate that will be used to sign ># consumer and admin identification certificates. This MUST match ># the value of SSLCACertificateFile in /etc/httpd/conf.d/pulp.conf. ># cakey: full path to the private key for the CA certificate ># user_cert_expiration: number of days a user certificate is valid ># consumer_cert_expiration: number of days a consumer certificate is valid > >[security] >cacert: /etc/pki/rhua/user-ca-cert.crt >cakey: /etc/pki/rhua/user-ca-key.pem >user_cert_expiration: 7 >consumer_cert_expiration: 3650 >ssl_ca_certificate = /etc/pki/rhua/rhua-ssl-ca-cert.crt > ># Full path to the CA certificate used to sign the Pulp server's SSL certificate. ># Consumers and CDS instances will use this to verify the Pulp server's SSL ># certificate during the SSL handshake. ># ssl_ca_certificate: > ># oauth_key: string key to enable OAuth style authentication ># oauth_secret: string shared secret that can be used for OAuth style authentication ># For more info see: https://fedorahosted.org/pulp/wiki/Authentication > >[auditing] >audit_events: false >events_file: /var/log/pulp/events.log >lifetime: 90 >backups: 4 > ># Configuration for storage of consumer history ># ># lifetime: length in days - consumer history entries older than this ># will be purged; setting this to -1 will disable history purging >[consumer_history] >lifetime: 180 > >[logs] >config: /etc/pulp/logging/basic.cfg > >[yum] >threads: 4 ># True/False to flag if we should remove older rpms >remove_old_versions: false ># Integer to specify how many old packages to keep. ># Only used if 'removeold' is set to True >num_old_pkgs_keep: 2 ># Uncomment below to set a bandwidth limit in KB/sec for downloading ># 0 represents unlimited ># limit_in_KB: 500 ># Uncomment the below section with appropriate values for proxy configuration ># proxy_url: ># proxy_port: ># proxy_user: ># proxy_pass: ># Verify existing package options >verify_checksum: false >verify_size: false > >[repos] >content_url: https://cdn.redhat.com/ >use_entitlement_certs = false >default_to_published: true > >[database] ># automatically upgrade the database when the data model changes >name: pulp_database ># comma separated list of URIs to pass to pymongo >seeds: localhost > ># Uncomment the below section with appropriate values, to use an ># external ldap for user authentication instead of pulp. >#[ldap] >#uri: ldap://localhost >#base: dc=localhost >#tls: no >#default_role: consumer-users ># Uncomment the "filter" directive to set a more restrictive LDAP ># filter to limit the LDAP users who can authenticate to pulp. >#filter: (gidNumber=200) > >[cds] ># messaging timeout for sync. <initial>:<duration> >sync_timeout = 10:7200 >[root@rhua ~]# vim /etc/rhui/rhui-tools.conf ^C >[root@rhua ~]# vim /etc/rhui/rhui-tools.conf >[root@rhua ~]# rhui-manager >An entitlement signing CA certificate is required to use RHUI Tools >but was not found. > >Full path to the new signing CA certificate: >/root/pem/ca.crt > >Full path to the new signing CA certificate private key: >/root/pem/ca.key > >Generating entitlement certificate serial number database file /etc/pki/rhui/entitlement-ca.srl >A RHUI identity certificate is required to use RHUI Tools but was not found. >A new identity certificate will be generated now using the CA certificate >found at /etc/pki/rhui/entitlement-ca.crt. > >Enter the number of days the RHUI identity certificate will be valid. >If the identity certificate ever expires, it will need to be >regenerated using rhui-manager [Default: 3650]: >......................................................+++ >..................................................+++ >Enter pass phrase for /etc/pki/rhui/entitlement-ca-key.pem: >Previous authentication credentials could not be found. Logging into >the RHUI. > >If this is the first time using the RHUI, it is recommended to change >the user's password in the User Management section of RHUI Tools. > >RHUI Username: admin >RHUI Password: > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > logout > removes stored authentication credentials and exits > > < move to the previous screen > ^, home > move to the home screen > /, clear > clears the screen > ?, help > display help > q, quit, exit > exit > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => a >Invalid menu item; type "?" for a list of available commands >rhui (home) => c > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Content Delivery Server (CDS) Management =- > > l list all CDS instances registered to the RHUI > a register (add) a new CDS instance > d unregister (delete) a CDS instance from the RHUI > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (cds) => q >[root@rhua ~]# scp /etc/rhui/rhui >rhui_configurator.py rhui_configurator.pyc rhui_configurator.pyo rhui-tools.conf >[root@rhua ~]# scp /tmp/rhui/rh-cds1-config-2.0-2.el6.noarch.rpm root@10.34.30.217:/tmp >The authenticity of host '10.34.30.217 (10.34.30.217)' can't be established. >RSA key fingerprint is 6d:5b:6e:26:95:c1:31:48:d0:cb:fa:af:24:ba:48:9a. >Are you sure you want to continue connecting (yes/no)? yes >Warning: Permanently added '10.34.30.217' (RSA) to the list of known hosts. >root@10.34.30.217's password: >rh-cds1-config-2.0-2.el6.noarch.rpm 100% 8146 8.0KB/s 00:00 >[root@rhua ~]# scp /tmp/rhui/rh-cds2-config-2.0-2.el6.noarch.rpm root@10.34.31.35:/tmp >The authenticity of host '10.34.31.35 (10.34.31.35)' can't be established. >RSA key fingerprint is 51:fc:e6:ad:8e:e1:bd:7f:7a:23:70:ec:46:89:4e:a3. >Are you sure you want to continue connecting (yes/no)? yes >Warning: Permanently added '10.34.31.35' (RSA) to the list of known hosts. >root@10.34.31.35's password: >rh-cds2-config-2.0-2.el6.noarch.rpm 100% 8143 8.0KB/s 00:00 >[root@rhua ~]# rhui-manager > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > logout > removes stored authentication credentials and exits > > < move to the previous screen > ^, home > move to the home screen > /, clear > clears the screen > ?, help > display help > q, quit, exit > exit > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => r > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Repository Management =- > > l list repositories currently managed by the RHUI > i display detailed information on a repository > a add a new Red Hat content repository > c create a new custom repository > d delete a repository from the RHUI > u upload content to a custom repository > p list packages in a repository > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (repo) => c > >Unique ID for the custom repository (alphanumerics, _, and - only): >custom-1-x86_64 > >Display name for the custom repository [custom-1-x86_64]: > > >Path at which the repository will be served [custom-1-x86_64]: >custom-1/x86_64 > >Algorithm to use when calculating the checksum values for repository metadata: > 1 - sha256 > 2 - sha1 >Enter value (1-2) or 'b' to abort: 2 > >Should the repository require an entitlement certificate to access? (y/n) >y > >Based on the repository's relative path, the suggested entitlement path is: > custom-1/$basearch > >Path that should be used when granting an entitlement for this repository. This >may use yum variable substitutions (e.g. $basearch) to group this together with >other repositories that share the entitlement [custom-1/$basearch]: > > >The following repository will be created: > ID: custom-1-x86_64 > Name: custom-1-x86_64 > Path: custom-1/x86_64 > Entitlement: custom-1/$basearch >Proceed? (y/n) y > >Successfully created repository custom-1-x86_64 > >------------------------------------------------------------------------------ >rhui (repo) => u > >Select the repositories to upload the package into: > - 1 : custom-1-x86_64 >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 > >Select the repositories to upload the package into: > x 1 : custom-1-x86_64 >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >Enter the location of the packages to upload. If the location is an RPM, >the file will be uploaded. If the location is a directory, all RPMs in that >directory will be uploaded: >^Z >[1]+ Stopped rhui-manager >[root@rhua ~]# ls /tmp/gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm >/tmp/gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm >[root@rhua ~]# fg >rhui-manager >/tmp/gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm > >The following RPMs will be uploaded: > gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm >Proceed? (y/n) y >\ > >Uploading /tmp/gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm... > >------------------------------------------------------------------------------ >rhui (repo) => i >Invalid menu item; type "?" for a list of available commands >rhui (repo) => ? > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Repository Management =- > > l list repositories currently managed by the RHUI > i display detailed information on a repository > a add a new Red Hat content repository > c create a new custom repository > d delete a repository from the RHUI > u upload content to a custom repository > p list packages in a repository > > logout > removes stored authentication credentials and exits > > < move to the previous screen > ^, home > move to the home screen > /, clear > clears the screen > ?, help > display help > q, quit, exit > exit > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (repo) => i > >Select one or more repositories: > > Custom Repositories > - 1 : custom-1-x86_64 > > Red Hat Repositories > >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 > >Select one or more repositories: > > Custom Repositories > x 1 : custom-1-x86_64 > > Red Hat Repositories > >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >Name: custom-1-x86_64 >Type: Custom >Relative Path: custom-1/x86_64 >Entitlement Path: custom-1/$basearch >Package Count: 1 > > >------------------------------------------------------------------------------ >rhui (repo) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => s > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Synchronization Status =- > > dr display repo sync summary > vr view the details of the last repository sync > sr sync an individual repository immediately > dc display CDS sync summary > vc view the details of the last CDS sync > sc sync an individual CDS immediately > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (sync) => sc > >Select one or more CDS instances to schedule to be synchronized before its scheduled time. >The sync will happen as soon as possible depending on other tasks that may be executing >in the RHUI. Only CDS instances that are not currently synchronizing are displayed. > > Last Result Next Sync CDS > ------------------------------------------ >Enter value (1-0) to toggle selection, 'c' to confirm selections, or '?' for more commands: b > > > >------------------------------------------------------------------------------ >rhui (sync) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => c > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Content Delivery Server (CDS) Management =- > > l list all CDS instances registered to the RHUI > a register (add) a new CDS instance > d unregister (delete) a CDS instance from the RHUI > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (cds) => a > >Prior to registering a CDS, the CDS must be configured and running. > >Hostname of the CDS to register: >cds1.example.com > >Display name for the CDS [cds1.example.com]: > > > >The following CDS instance will be registered: > Hostname: cds1.example.com > Name: cds1.example.com >Proceed? (y/n) y > > >Successfully registered cds1.example.com > >------------------------------------------------------------------------------ >rhui (cds) => cds2.example.com >Invalid menu item; type "?" for a list of available commands >rhui (cds) => a > >Prior to registering a CDS, the CDS must be configured and running. > >Hostname of the CDS to register: >cds2.example.com > >Display name for the CDS [cds2.example.com]: > > > >The following CDS instance will be registered: > Hostname: cds2.example.com > Name: cds2.example.com >Proceed? (y/n) y > > >Successfully registered cds2.example.com > >------------------------------------------------------------------------------ >rhui (cds) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => s > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Synchronization Status =- > > dr display repo sync summary > vr view the details of the last repository sync > sr sync an individual repository immediately > dc display CDS sync summary > vc view the details of the last CDS sync > sc sync an individual CDS immediately > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (sync) => sc > >Select one or more CDS instances to schedule to be synchronized before its scheduled time. >The sync will happen as soon as possible depending on other tasks that may be executing >in the RHUI. Only CDS instances that are not currently synchronizing are displayed. > > Last Result Next Sync CDS > ------------------------------------------ > - 1 : Never 08-16-2012 23:56 cds1.example.com > - 2 : Never 08-16-2012 23:56 cds2.example.com >Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1-2 > >Select one or more CDS instances to schedule to be synchronized before its scheduled time. >The sync will happen as soon as possible depending on other tasks that may be executing >in the RHUI. Only CDS instances that are not currently synchronizing are displayed. > > Last Result Next Sync CDS > ------------------------------------------ > x 1 : Never 08-16-2012 23:56 cds1.example.com > x 2 : Never 08-16-2012 23:56 cds2.example.com >Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >The following CDS instances will be scheduled for synchronization: > cds1.example.com > cds2.example.com >Proceed? (y/n) y > > >Scheduling sync for cds1.example.com... >... successfully scheduled for the next available timeslot. >Scheduling sync for cds2.example.com... >... successfully scheduled for the next available timeslot. > >------------------------------------------------------------------------------ >rhui (sync) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => e > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Client Entitlement Management =- > > e generate an entitlement certificate > c create a client configuration RPM from an entitlement certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (client) => e > >Select one or more repositories to include in the entitlement certificate: >(an * next to a Red Hat repository indicates it is deployed in the RHUI) > > Custom Repositories > - 1 : custom-1/$basearch > custom-1-x86_64 > > > Red Hat Repositories > >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 > >Select one or more repositories to include in the entitlement certificate: >(an * next to a Red Hat repository indicates it is deployed in the RHUI) > > Custom Repositories > x 1 : custom-1/$basearch > custom-1-x86_64 > > > Red Hat Repositories > >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >Name of the certificate. This will be used as the name of the certificate file >(name.crt) and its associated private key (name.key). Choose something that will >help identify the products contained with it: >abc > >Local directory in which to save the generated certificate [current directory]: >/tmp/abc > >Number of days the certificate should be valid [365]: > > >Repositories to be included in the entitlement certificate: > > Custom Entitlements > custom-1/$basearch > >Proceed? (y/n) y > >...............................+++ >..............................................................+++ >Enter pass phrase for /etc/pki/rhui/entitlement-ca-key.pem: >Entitlement certificate created at /tmp/abc/abc.crt > >------------------------------------------------------------------------------ >rhui (client) => c > >Full path to local directory in which the client configuration files generated by this tool >should be stored (if this directory does not exist, it will be created): >/tmp/abc > >Name of the RPM: >abc > >Version of the configuration RPM [2.0]: > > >Full path to the entitlement certificate authorizing the client to access >specific channels: >/tmp/abc/abc.crt > >Full path to the private key for the above entitlement certificate: >/tmp/abc/abc.key > >Full path to the CA certificate or CA chain used to sign the CDS SSL certificate: >/root/pem/ca.crt > >Select the CDS instance that should be the primary load balancer for the >client. All other CDS instances will be listed as back up load balancers >in the client's mirror list: > > 1 - cds1.example.com > 2 - cds2.example.com >Enter value (1-2) or 'b' to abort: 1 > >Load Balancer Order: > cds1.example.com > cds2.example.com > >Successfully created client configuration RPM. >RPMs can be found at /tmp/abc > >------------------------------------------------------------------------------ >rhui (client) => q >[root@rhua ~]# ls /tmp/abc >abc-2.0 abc.crt abc.csr abc-extensions.txt abc.key >[root@rhua ~]# ls /tmp/abc-2.0/ >ls: cannot access /tmp/abc-2.0/: No such file or directory >[root@rhua ~]# scp /tmp/abc/abc-2.0/build/RPMS/noarch/abc-2.0-1.el6.noarch.rpm root@10.34.31.102:/tmp >The authenticity of host '10.34.31.102 (10.34.31.102)' can't be established. >RSA key fingerprint is a1:87:8e:6c:53:c6:9e:fe:62:bd:a7:3d:86:5d:b8:53. >Are you sure you want to continue connecting (yes/no)? yes >Warning: Permanently added '10.34.31.102' (RSA) to the list of known hosts. >root@10.34.31.102's password: >abc-2.0-1.el6.noarch.rpm 100% 7582 7.4KB/s 00:00 >[root@rhua ~]# umount /tmp/ >umount: /tmp/: not mounted >[root@rhua ~]# umount /tmp/mnt/ >[root@rhua ~]# mount -o loop -t iso9660 /tmp/RHEL-6.3-RHUI-2.1-20120815.0-Server-x86_64-DVD1.iso >RHEL-6.3-RHUI-2.1-20120815.0-Server-x86_64-DVD1.iso RHEL-6.3-RHUI-2.1-20120815.0-Server-x86_64-DVD1.iso.1 >[root@rhua ~]# mount -o loop -t iso9660 /tmp/RHEL-6.3-RHUI-2.1-20120815.0-Server-x86_64-DVD1.iso /tmp/mnt/ >[root@rhua ~]# ls -d /tmp/mnt/Packages/ >/tmp/mnt/Packages/ >[root@rhua ~]# fg >-bash: fg: current: no such job >[root@rhua ~]# vim /etc/yum.repos.d/rhel.repo >[root@rhua ~]# rhui-manager > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > logout > removes stored authentication credentials and exits > > < move to the previous screen > ^, home > move to the home screen > /, clear > clears the screen > ?, help > display help > q, quit, exit > exit > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => r > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Repository Management =- > > l list repositories currently managed by the RHUI > i display detailed information on a repository > a add a new Red Hat content repository > c create a new custom repository > d delete a repository from the RHUI > u upload content to a custom repository > p list packages in a repository > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (repo) => c > >Unique ID for the custom repository (alphanumerics, _, and - only): >rhui-21-x86_64 > >Display name for the custom repository [rhui-21-x86_64]: > > >Path at which the repository will be served [rhui-21-x86_64]: >rhui-21/x86_64 > >Algorithm to use when calculating the checksum values for repository metadata: > 1 - sha256 > 2 - sha1 >Enter value (1-2) or 'b' to abort: 2 > >Should the repository require an entitlement certificate to access? (y/n) >y > >Based on the repository's relative path, the suggested entitlement path is: > rhui-21/$basearch > >Path that should be used when granting an entitlement for this repository. This >may use yum variable substitutions (e.g. $basearch) to group this together with >other repositories that share the entitlement [rhui-21/$basearch]: > > >The following repository will be created: > ID: rhui-21-x86_64 > Name: rhui-21-x86_64 > Path: rhui-21/x86_64 > Entitlement: rhui-21/$basearch >Proceed? (y/n) y > >Successfully created repository rhui-21-x86_64 > >------------------------------------------------------------------------------ >rhui (repo) => u > >Select the repositories to upload the package into: > - 1 : custom-1-x86_64 > - 2 : rhui-21-x86_64 >Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 2 > >Select the repositories to upload the package into: > - 1 : custom-1-x86_64 > x 2 : rhui-21-x86_64 >Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >Enter the location of the packages to upload. If the location is an RPM, >the file will be uploaded. If the location is a directory, all RPMs in that >directory will be uploaded: >/tmp/mnt/Packages > >The following RPMs will be uploaded: > PyYAML-3.09-14.el6_1.x86_64.rpm > gofer-0.64-1.el6.noarch.rpm > gofer-package-0.64-1.el6.noarch.rpm > grinder-0.0.138-1.el6_3.rhui.noarch.rpm > js-1.70-12.el6_0.x86_64.rpm > libmongodb-1.8.2-2.el6.x86_64.rpm > libyaml-0.1.3-3.el6_1.x86_64.rpm > m2crypto-0.21.1.pulp-7.el6.x86_64.rpm > mod_wsgi-3.3-2.pulp.el6.x86_64.rpm > mongodb-1.8.2-2.el6.x86_64.rpm > mongodb-server-1.8.2-2.el6.x86_64.rpm > pulp-0.0.263-25.el6_3.noarch.rpm > pulp-admin-0.0.263-25.el6_3.noarch.rpm > pulp-cds-0.0.263-25.el6_3.noarch.rpm > pulp-client-lib-0.0.263-25.el6_3.noarch.rpm > pulp-common-0.0.263-25.el6_3.noarch.rpm > pulp-consumer-0.0.263-25.el6_3.noarch.rpm > pulp-selinux-server-0.0.263-25.el6_3.noarch.rpm > pymongo-1.9-8.el6_1.x86_64.rpm > python-BeautifulSoup-3.0.8.1-3.el6_1.noarch.rpm > python-bson-1.9-8.el6_1.x86_64.rpm > python-gofer-0.64-1.el6.noarch.rpm > python-httplib2-0.6.0-4.el6_0.noarch.rpm > python-isodate-0.4.4-4.pulp.el6.noarch.rpm > python-oauth2-1.5.170-2.pulp.el6.noarch.rpm > python-webpy-0.32-8.el6_0.noarch.rpm > rh-rhua-selinux-policy-0.0.6-1.el6.noarch.rpm > rh-rhui-tools-2.1.10-1.el6_3.noarch.rpm >Proceed? (y/n) y > > >Uploading /tmp/mnt/Packages/PyYAML-3.09-14.el6_1.x86_64.rpm... >Uploading /tmp/mnt/Packages/gofer-0.64-1.el6.noarch.rpm... >Uploading /tmp/mnt/Packages/gofer-package-0.64-1.el6.noarch.rpm... >Uploading /tmp/mnt/Packages/grinder-0.0.138-1.el6_3.rhui.noarch.rpm... >Uploading /tmp/mnt/Packages/js-1.70-12.el6_0.x86_64.rpm... >Uploading /tmp/mnt/Packages/libmongodb-1.8.2-2.el6.x86_64.rpm... >Uploading /tmp/mnt/Packages/libyaml-0.1.3-3.el6_1.x86_64.rpm... >Uploading /tmp/mnt/Packages/m2crypto-0.21.1.pulp-7.el6.x86_64.rpm... >Uploading /tmp/mnt/Packages/mod_wsgi-3.3-2.pulp.el6.x86_64.rpm... >Uploading /tmp/mnt/Packages/mongodb-1.8.2-2.el6.x86_64.rpm... >Uploading /tmp/mnt/Packages/mongodb-server-1.8.2-2.el6.x86_64.rpm... >Uploading /tmp/mnt/Packages/pulp-0.0.263-25.el6_3.noarch.rpm... >Uploading /tmp/mnt/Packages/pulp-admin-0.0.263-25.el6_3.noarch.rpm... >Uploading /tmp/mnt/Packages/pulp-cds-0.0.263-25.el6_3.noarch.rpm... >Uploading /tmp/mnt/Packages/pulp-client-lib-0.0.263-25.el6_3.noarch.rpm... >Uploading /tmp/mnt/Packages/pulp-common-0.0.263-25.el6_3.noarch.rpm... >Uploading /tmp/mnt/Packages/pulp-consumer-0.0.263-25.el6_3.noarch.rpm... >Uploading /tmp/mnt/Packages/pulp-selinux-server-0.0.263-25.el6_3.noarch.rpm... >Uploading /tmp/mnt/Packages/pymongo-1.9-8.el6_1.x86_64.rpm... >Uploading /tmp/mnt/Packages/python-BeautifulSoup-3.0.8.1-3.el6_1.noarch.rpm... >Uploading /tmp/mnt/Packages/python-bson-1.9-8.el6_1.x86_64.rpm... >Uploading /tmp/mnt/Packages/python-gofer-0.64-1.el6.noarch.rpm... >Uploading /tmp/mnt/Packages/python-httplib2-0.6.0-4.el6_0.noarch.rpm... >Uploading /tmp/mnt/Packages/python-isodate-0.4.4-4.pulp.el6.noarch.rpm... >Uploading /tmp/mnt/Packages/python-oauth2-1.5.170-2.pulp.el6.noarch.rpm... >Uploading /tmp/mnt/Packages/python-webpy-0.32-8.el6_0.noarch.rpm... >Uploading /tmp/mnt/Packages/rh-rhua-selinux-policy-0.0.6-1.el6.noarch.rpm... >Uploading /tmp/mnt/Packages/rh-rhui-tools-2.1.10-1.el6_3.noarch.rpm... > >------------------------------------------------------------------------------ >rhui (repo) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => s > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Synchronization Status =- > > dr display repo sync summary > vr view the details of the last repository sync > sr sync an individual repository immediately > dc display CDS sync summary > vc view the details of the last CDS sync > sc sync an individual CDS immediately > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (sync) => sc > >Select one or more CDS instances to schedule to be synchronized before its scheduled time. >The sync will happen as soon as possible depending on other tasks that may be executing >in the RHUI. Only CDS instances that are not currently synchronizing are displayed. > > Last Result Next Sync CDS > ------------------------------------------ > - 1 : Success 08-16-2012 23:56 cds1.example.com > - 2 : Success 08-16-2012 23:56 cds2.example.com >Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1-2 > >Select one or more CDS instances to schedule to be synchronized before its scheduled time. >The sync will happen as soon as possible depending on other tasks that may be executing >in the RHUI. Only CDS instances that are not currently synchronizing are displayed. > > Last Result Next Sync CDS > ------------------------------------------ > x 1 : Success 08-16-2012 23:56 cds1.example.com > x 2 : Success 08-16-2012 23:56 cds2.example.com >Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >The following CDS instances will be scheduled for synchronization: > cds1.example.com > cds2.example.com >Proceed? (y/n) y > > >Scheduling sync for cds1.example.com... >... successfully scheduled for the next available timeslot. >Scheduling sync for cds2.example.com... >... successfully scheduled for the next available timeslot. > >------------------------------------------------------------------------------ >rhui (sync) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => e > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Client Entitlement Management =- > > e generate an entitlement certificate > c create a client configuration RPM from an entitlement certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (client) => e > >Select one or more repositories to include in the entitlement certificate: >(an * next to a Red Hat repository indicates it is deployed in the RHUI) > > Custom Repositories > - 1 : rhui-21/$basearch > rhui-21-x86_64 > > - 2 : custom-1/$basearch > custom-1-x86_64 > > > Red Hat Repositories > >Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 > >Select one or more repositories to include in the entitlement certificate: >(an * next to a Red Hat repository indicates it is deployed in the RHUI) > > Custom Repositories > x 1 : rhui-21/$basearch > rhui-21-x86_64 > > - 2 : custom-1/$basearch > custom-1-x86_64 > > > Red Hat Repositories > >Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >Name of the certificate. This will be used as the name of the certificate file >(name.crt) and its associated private key (name.key). Choose something that will >help identify the products contained with it: >rhu-21 > >Local directory in which to save the generated certificate [current directory]: >/tmp/rhui-21 > >Number of days the certificate should be valid [365]: > > >Repositories to be included in the entitlement certificate: > > Custom Entitlements > rhui-21/$basearch > >Proceed? (y/n) y > >...+++ >............+++ >Enter pass phrase for /etc/pki/rhui/entitlement-ca-key.pem: >Entitlement certificate created at /tmp/rhui-21/rhu-21.crt > >------------------------------------------------------------------------------ >rhui (client) => c > >Full path to local directory in which the client configuration files generated by this tool >should be stored (if this directory does not exist, it will be created): >/tmp/rhui-21 > >Name of the RPM: >rhui-21 > >Version of the configuration RPM [2.0]: > > >Full path to the entitlement certificate authorizing the client to access >specific channels: >/tmp/rhui-21/rhui-21.rt >Cannot find file, please enter a valid path > >Full path to the entitlement certificate authorizing the client to access >specific channels: >/tmp/rhui-21/rhui-21.crt >Cannot find file, please enter a valid path > >Full path to the entitlement certificate authorizing the client to access >specific channels: >/tmp/rhui-21/rhu-21.crt > >Full path to the private key for the above entitlement certificate: >/tmp/rhui-21/rhu-21.key > >Full path to the CA certificate or CA chain used to sign the CDS SSL certificate: >/root/pem/ca.crt > >Select the CDS instance that should be the primary load balancer for the >client. All other CDS instances will be listed as back up load balancers >in the client's mirror list: > > 1 - cds1.example.com > 2 - cds2.example.com >Enter value (1-2) or 'b' to abort: 1 > >Load Balancer Order: > cds1.example.com > cds2.example.com > >Successfully created client configuration RPM. >RPMs can be found at /tmp/rhui-21 > >------------------------------------------------------------------------------ >rhui (client) => q >[root@rhua ~]# scp /tmp/rhui-21/rhui-21-2.0/build/RPMS/noarch/rhui-21-2.0-1.el6.noarch.rpm root@10.34.30.217:/tmp >root@10.34.30.217's password: >rhui-21-2.0-1.el6.noarch.rpm 100% 7602 7.4KB/s 00:00 >[root@rhua ~]# scp /tmp/rhui-21/rhui-21-2.0/build/RPMS/noarch/rhui-21-2.0-1.el6.noarch.rpm root@10.34.31.35:/tmp >root@10.34.31.35's password: >rhui-21-2.0-1.el6.noarch.rpm 100% 7602 7.4KB/s 00:00 >[root@rhua ~]# rpm -Uvh /tmp/rhui-21/rhui-21-2.0/build/RPMS/noarch/rhui-21-2.0-1.el6.noarch.rpm >Preparing... ########################################### [100%] > 1:rhui-21 ########################################### [100%] >[root@rhua ~]# cat /etc/yum.repos.d/rh-cloud.repo >[rhui-custom-10000] >name=Custom Repositories - 10000 >mirrorlist=https://cds1.example.com/pulp/mirror/rhui-21/$basearch >enabled=1 >gpgcheck=1 >gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release >sslverify=1 >sslcacert=/etc/pki/entitlement/ca.crt >sslclientcert=/etc/pki/entitlement/product/content.crt >sslclientkey=/etc/pki/entitlement/key.pem > >[root@rhua ~]# yum --disablrepo=* --enablerepo=rhui-custom-10000 update >Loaded plugins: product-id, pulp-profile-update, rhui-lb, security, subscription-manager >Updating certificate-based repositories. >Usage: yum [options] COMMAND > >List of Commands: > >check Check for problems in the rpmdb >check-update Check for available package updates >clean Remove cached data >deplist List a package's dependencies >distribution-synchronization Synchronize installed packages to the latest available versions >downgrade downgrade a package >erase Remove a package or packages from your system >groupinfo Display details about a package group >groupinstall Install the packages in a group on your system >grouplist List available package groups >groupremove Remove the packages in a group from your system >help Display a helpful usage message >history Display, or use, the transaction history >info Display details about a package or group of packages >install Install a package or packages on your system >list List a package or groups of packages >load-transaction load a saved transaction from filename >makecache Generate the metadata cache >provides Find what package provides the given value >reinstall reinstall a package >repolist Display the configured software repositories >resolvedep Determine which package provides the given dependency >search Search package details for the given string >shell Run an interactive yum shell >update Update a package or packages on your system >update-minimal Works like update, but goes to the 'newest' package match which fixes a problem that affects your system >updateinfo Acts on repository update information >upgrade Update packages taking obsoletes into account >version Display a version for the machine and/or available repos. > > >Command line error: no such option: --disablrepo >[root@rhua ~]# yum --disablerepo=* --enablerepo=rhui-custom-10000 update >Loaded plugins: product-id, pulp-profile-update, rhui-lb, security, subscription-manager >Updating certificate-based repositories. >rhui-custom-10000 | 2.3 kB 00:00 >rhui-custom-10000/primary_db | 19 kB 00:00 >Setting up Update Process >Resolving Dependencies >--> Running transaction check >---> Package grinder.noarch 0:0.0.136-1.el6 will be updated >---> Package grinder.noarch 0:0.0.138-1.el6_3.rhui will be an update >---> Package pulp.noarch 0:0.0.263-19.el6 will be updated >---> Package pulp.noarch 0:0.0.263-25.el6_3 will be an update >---> Package pulp-admin.noarch 0:0.0.263-19.el6 will be updated >---> Package pulp-admin.noarch 0:0.0.263-25.el6_3 will be an update >---> Package pulp-client-lib.noarch 0:0.0.263-19.el6 will be updated >---> Package pulp-client-lib.noarch 0:0.0.263-25.el6_3 will be an update >---> Package pulp-common.noarch 0:0.0.263-19.el6 will be updated >---> Package pulp-common.noarch 0:0.0.263-25.el6_3 will be an update >---> Package pulp-consumer.noarch 0:0.0.263-19.el6 will be updated >---> Package pulp-consumer.noarch 0:0.0.263-25.el6_3 will be an update >---> Package pulp-selinux-server.noarch 0:0.0.263-19.el6 will be updated >---> Package pulp-selinux-server.noarch 0:0.0.263-25.el6_3 will be an update >---> Package rh-rhui-tools.noarch 0:2.0.64-1.el6_2 will be updated >---> Package rh-rhui-tools.noarch 0:2.1.10-1.el6_3 will be an update >--> Finished Dependency Resolution > >Dependencies Resolved > >============================================================================================================================================================================================================================== > Package Arch Version Repository Size >============================================================================================================================================================================================================================== >Updating: > grinder noarch 0.0.138-1.el6_3.rhui rhui-custom-10000 141 k > pulp noarch 0.0.263-25.el6_3 rhui-custom-10000 751 k > pulp-admin noarch 0.0.263-25.el6_3 rhui-custom-10000 151 k > pulp-client-lib noarch 0.0.263-25.el6_3 rhui-custom-10000 127 k > pulp-common noarch 0.0.263-25.el6_3 rhui-custom-10000 56 k > pulp-consumer noarch 0.0.263-25.el6_3 rhui-custom-10000 72 k > pulp-selinux-server noarch 0.0.263-25.el6_3 rhui-custom-10000 53 k > rh-rhui-tools noarch 2.1.10-1.el6_3 rhui-custom-10000 214 k > >Transaction Summary >============================================================================================================================================================================================================================== >Upgrade 8 Package(s) > >Total download size: 1.5 M >Is this ok [y/N]: y >Downloading Packages: >(1/8): grinder-0.0.138-1.el6_3.rhui.noarch.rpm | 141 kB 00:00 >(2/8): pulp-0.0.263-25.el6_3.noarch.rpm | 751 kB 00:00 >(3/8): pulp-admin-0.0.263-25.el6_3.noarch.rpm | 151 kB 00:00 >(4/8): pulp-client-lib-0.0.263-25.el6_3.noarch.rpm | 127 kB 00:00 >(5/8): pulp-common-0.0.263-25.el6_3.noarch.rpm | 56 kB 00:00 >(6/8): pulp-consumer-0.0.263-25.el6_3.noarch.rpm | 72 kB 00:00 >(7/8): pulp-selinux-server-0.0.263-25.el6_3.noarch.rpm | 53 kB 00:00 >(8/8): rh-rhui-tools-2.1.10-1.el6_3.noarch.rpm | 214 kB 00:00 >------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ >Total 2.7 MB/s | 1.5 MB 00:00 >warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY >Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release >Importing GPG key 0xFD431D51: > Userid : Red Hat, Inc. (release key 2) <security@redhat.com> > Package: redhat-release-server-6Server-6.2.0.3.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2) > From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release >Is this ok [y/N]: y >Importing GPG key 0x2FA658E0: > Userid : Red Hat, Inc. (auxiliary key) <security@redhat.com> > Package: redhat-release-server-6Server-6.2.0.3.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2) > From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release >Is this ok [y/N]: y >Running rpm_check_debug >Running Transaction Test >Transaction Test Succeeded >Running Transaction >Warning: RPMDB altered outside of yum. > Updating : pulp-common-0.0.263-25.el6_3.noarch 1/16 > Updating : pulp-client-lib-0.0.263-25.el6_3.noarch 2/16 > Updating : pulp-consumer-0.0.263-25.el6_3.noarch 3/16 > Updating : grinder-0.0.138-1.el6_3.rhui.noarch 4/16 > Updating : pulp-selinux-server-0.0.263-25.el6_3.noarch 5/16 > Updating : pulp-0.0.263-25.el6_3.noarch 6/16 > Updating : rh-rhui-tools-2.1.10-1.el6_3.noarch 7/16 >warning: /etc/rhui/rhui-tools.conf created as /etc/rhui/rhui-tools.conf.rpmnew > Updating : pulp-admin-0.0.263-25.el6_3.noarch 8/16 > Cleanup : pulp-0.0.263-19.el6.noarch 9/16 > Cleanup : pulp-admin-0.0.263-19.el6.noarch 10/16 > Cleanup : rh-rhui-tools-2.0.64-1.el6_2.noarch 11/16 > Cleanup : pulp-consumer-0.0.263-19.el6.noarch 12/16 > Cleanup : pulp-client-lib-0.0.263-19.el6.noarch 13/16 > Cleanup : pulp-common-0.0.263-19.el6.noarch 14/16 > Cleanup : grinder-0.0.136-1.el6.noarch 15/16 > Cleanup : pulp-selinux-server-0.0.263-19.el6.noarch 16/16 >Installed products updated. >Consumer Id could not be found. Cannot update consumer profile. > >Updated: > grinder.noarch 0:0.0.138-1.el6_3.rhui pulp.noarch 0:0.0.263-25.el6_3 pulp-admin.noarch 0:0.0.263-25.el6_3 pulp-client-lib.noarch 0:0.0.263-25.el6_3 pulp-common.noarch 0:0.0.263-25.el6_3 > pulp-consumer.noarch 0:0.0.263-25.el6_3 pulp-selinux-server.noarch 0:0.0.263-25.el6_3 rh-rhui-tools.noarch 0:2.1.10-1.el6_3 > >Complete! >[root@rhua ~]# rpm -qa gpg-key >[root@rhua ~]# rpm -qa gpg-key* >[root@rhua ~]# rpm -q gpg-pubkey >gpg-pubkey-fd431d51-4ae0493b >gpg-pubkey-2fa658e0-45700c69 >[root@rhua ~]# rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n' >gpg-pubkey-fd431d51-4ae0493b --> gpg(Red Hat, Inc. (release key 2) <security@redhat.com>) >gpg-pubkey-2fa658e0-45700c69 --> gpg(Red Hat, Inc. (auxiliary key) <security@redhat.com>) >[root@rhua ~]# cat /etc/redhat-release >Red Hat Enterprise Linux Server release 6.2 (Santiago) >[root@rhua ~]# pulp-migrate >removing persisted tasks >database migration to version 41 complete >[root@rhua ~]# service pulp-server restart >Stopping httpd: [ OK ] >Stopping Qpid AMQP daemon: [ OK ] >Stopping mongod: [ OK ] >Starting mongod: [ OK ] >Starting Qpid AMQP daemon: [ OK ] >Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using rhua.example.com for ServerName > [ OK ] >[root@rhua ~]# rhui-manager > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > logout > removes stored authentication credentials and exits > > < move to the previous screen > ^, home > move to the home screen > /, clear > clears the screen > ?, help > display help > q, quit, exit > exit > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => c > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Content Delivery Server (CDS) Management =- > > l list all CDS clusters and instances managed by the RHUI > i display detailed information on a CDS cluster > a register (add) a new CDS instance > m move CDS(s) to a different cluster > d unregister (delete) a CDS instance from the RHUI > s associate a repository with a CDS cluster > u unassociate a repository from a CDS cluster > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (cds) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => r > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Repository Management =- > > l list repositories currently managed by the RHUI > i display detailed information on a repository > a add a new Red Hat content repository > c create a new custom repository > d delete a repository from the RHUI > u upload content to a custom repository > p list packages in a repository > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (repo) => c > >Unique ID for the custom repository (alphanumerics, _, and - only): >^C > >------------------------------------------------------------------------------ >rhui (repo) => l > >Custom Repositories > custom-1-x86_64 > rhui-21-x86_64 > > >------------------------------------------------------------------------------ >rhui (repo) => c > >Unique ID for the custom repository (alphanumerics, _, and - only): >gkrellm-x86_64 > >Display name for the custom repository [gkrellm-x86_64]: > > >Path at which the repository will be served [gkrellm-x86_64]: >gkrellm/x86_64 > >Algorithm to use when calculating the checksum values for repository metadata: >* Select "sha256" for RHEL6: >* Select "sha1" for either RHEL5 or RHEL6: > > 1 - sha256 > 2 - sha1 >Enter value (1-2) or 'b' to abort: 2 > >Should the repository require an entitlement certificate to access? (y/n) >y > >Based on the repository's relative path, the suggested entitlement path is: > gkrellm/$basearch > >Path that should be used when granting an entitlement for this repository. This >may use yum variable substitutions (e.g. $basearch) to group this together with >other repositories that share the entitlement [gkrellm/$basearch]: > > >Should the repository require clients to perform a GPG check and >verify packages are signed by a GPG key? (y/n) >n > >The following repository will be created: > ID: gkrellm-x86_64 > Name: gkrellm-x86_64 > Path: gkrellm/x86_64 > Entitlement: gkrellm/$basearch > GPG Check No > Red Hat GPG Key: No >Proceed? (y/n) y > >Successfully created repository gkrellm-x86_64 > >------------------------------------------------------------------------------ >rhui (repo) => u > >Select the repositories to upload the package into: > - 1 : custom-1-x86_64 > - 2 : gkrellm-x86_64 > - 3 : rhui-21-x86_64 >Enter value (1-3) to toggle selection, 'c' to confirm selections, or '?' for more commands: 2 > >Select the repositories to upload the package into: > - 1 : custom-1-x86_64 > x 2 : gkrellm-x86_64 > - 3 : rhui-21-x86_64 >Enter value (1-3) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >Enter the location of the packages to upload. If the location is an RPM, >the file will be uploaded. If the location is a directory, all RPMs in that >directory will be uploaded: >^Z >[1]+ Stopped rhui-manager >[root@rhua ~]# ls /tmp/gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm >/tmp/gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm >[root@rhua ~]# fg >rhui-manager >/tmp/gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm > >The following RPMs will be uploaded: > gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm >Proceed? (y/n) y > > >Uploading /tmp/gkrellm-daemon-2.3.5-5.fc16.x86_64.rpm... > >------------------------------------------------------------------------------ >rhui (repo) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => e > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Client Entitlement Management =- > > e generate an entitlement certificate > c create a client configuration RPM from an entitlement certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (client) => e > >Select the CDS cluster that clients using this entitlement certificate will use to download content: > > 1 - rhui-cds-cluster >Enter value (1-1) or 'b' to abort: 1 > >Select one or more repositories to include in the entitlement certificate: > > Custom Repositories > - 1 : custom-1/$basearch > custom-1-x86_64 > > - 2 : rhui-21/$basearch > rhui-21-x86_64 > > > Red Hat Repositories > >Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: b > > > >------------------------------------------------------------------------------ >rhui (client) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => c > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Content Delivery Server (CDS) Management =- > > l list all CDS clusters and instances managed by the RHUI > i display detailed information on a CDS cluster > a register (add) a new CDS instance > m move CDS(s) to a different cluster > d unregister (delete) a CDS instance from the RHUI > s associate a repository with a CDS cluster > u unassociate a repository from a CDS cluster > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (cds) => s > >-= RHUI Content Delivery Server Clusters =- > >Select the CDS Cluster for repo association: > 1 - rhui-cds-cluster >Enter value (1-1) or 'b' to abort: 1 >Select one or more repositories to associate with the rhui-cds-cluster cluster: > > Custom Repositories > - 1 : gkrellm-x86_64 > > Red Hat Repositories > >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 > >Select one or more repositories to associate with the rhui-cds-cluster cluster: > > Custom Repositories > x 1 : gkrellm-x86_64 > > Red Hat Repositories > >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >The following repositories will be associated with the rhui-cds-cluster cluster: > >Custom Repositories > gkrellm-x86_64 > >Proceed? (y/n) y > >Associating repository gkrellm-x86_64... > ... successfully associated repository > >Content will not be downloaded to the cluster until the next cluster sync is run. > >------------------------------------------------------------------------------ >rhui (cds) => < > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (home) => e > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Client Entitlement Management =- > > e generate an entitlement certificate > c create a client configuration RPM from an entitlement certificate > > Connected: rhua.example.com >------------------------------------------------------------------------------ >rhui (client) => e > >Select the CDS cluster that clients using this entitlement certificate will use to download content: > > 1 - rhui-cds-cluster >Enter value (1-1) or 'b' to abort: 1 > >Select one or more repositories to include in the entitlement certificate: > > Custom Repositories > - 1 : gkrellm/$basearch > gkrellm-x86_64 > > - 2 : custom-1/$basearch > custom-1-x86_64 > > - 3 : rhui-21/$basearch > rhui-21-x86_64 > > > Red Hat Repositories > >Enter value (1-3) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 > >Select one or more repositories to include in the entitlement certificate: > > Custom Repositories > x 1 : gkrellm/$basearch > gkrellm-x86_64 > > - 2 : custom-1/$basearch > custom-1-x86_64 > > - 3 : rhui-21/$basearch > rhui-21-x86_64 > > > Red Hat Repositories > >Enter value (1-3) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > > >Name of the certificate. This will be used as the name of the certificate file >(name.crt) and its associated private key (name.key). Choose something that will >help identify the products contained with it: >gkrellm > >Local directory in which to save the generated certificate [current directory]: >/tmp/gkrellm > >Number of days the certificate should be valid [365]: > > >Repositories to be included in the entitlement certificate: > > Custom Entitlements > gkrellm/$basearch > >Proceed? (y/n) y > >............+++ >...+++ >Enter pass phrase for /etc/pki/rhui/entitlement-ca-key.pem: >Entitlement certificate created at /tmp/gkrellm/gkrellm.crt > >------------------------------------------------------------------------------ >rhui (client) => c > >Full path to local directory in which the client configuration files generated by this tool >should be stored (if this directory does not exist, it will be created): >/tmp/gkrellm > >Name of the RPM: >gkrellm > >Version of the configuration RPM [2.0]: > > >Full path to the entitlement certificate authorizing the client to access >specific channels: >/tmp/gkrellm/gkrellm.crt > >Full path to the private key for the above entitlement certificate: >/tmp/gkrellm/gkrellm.key > > >Select the CDS cluster that clients will use to download content: > > 1 - rhui-cds-cluster >Enter value (1-1) or 'b' to abort: 1 > >Select the CDS instance (client hostnames are shown) >that should be the primary load balancer for the >client. All other CDS instances will be listed as >back up load balancers in the client's mirror list: > > 1 - cds1.example.com > 2 - cds2.example.com >Enter value (1-2) or 'b' to abort: 1 > >Load Balancer Order: > cds1.example.com > cds2.example.com > >Successfully created client configuration RPM. >RPMs can be found at /tmp/gkrellm > >------------------------------------------------------------------------------ >rhui (client) => q >[root@rhua ~]#
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 842859
:
603581
| 604978