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 603581 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.
Disproving screen log
log (text/plain), 32.97 KB, created by
mkovacik
on 2012-08-10 16:21:12 UTC
(
hide
)
Description:
Disproving screen log
Filename:
MIME Type:
Creator:
mkovacik
Created:
2012-08-10 16:21:12 UTC
Size:
32.97 KB
patch
obsolete
>^Crhui (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.localdomain >------------------------------------------------------------------------------ >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.localdomain >------------------------------------------------------------------------------ >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-10-2012 22:37 cds1.localdomain > - 2 : Success 08-10-2012 22:38 cds2.localdomain >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-10-2012 22:37 cds1.localdomain > x 2 : Success 08-10-2012 22:38 cds2.localdomain >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.localdomain > cds2.localdomain >Proceed? (y/n) y > > >Scheduling sync for cds1.localdomain... >... successfully scheduled for the next available timeslot. >Scheduling sync for cds2.localdomain... >... successfully scheduled for the next available timeslot. > >------------------------------------------------------------------------------ >rhui (sync) => q >[root@rhua SRPMS]# cd ~ >[root@rhua ~]# yum clean all >Loaded plugins: product-id, pulp-profile-update, rhui-lb, security, subscription-manager >Updating certificate-based repositories. >Cleaning repos: rhui-bhello-x86_64 rhui-custom-10000 rhui-rhel-6-server-rhui-rpms >Cleaning up Everything >[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.6 kB 00:00 >rhui-custom-10000/primary_db | 24 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.7-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 140 k > pulp noarch 0.0.263-25.el6_3 rhui-custom-10000 750 k > pulp-admin noarch 0.0.263-25.el6_3 rhui-custom-10000 150 k > pulp-client-lib noarch 0.0.263-25.el6_3 rhui-custom-10000 126 k > pulp-common noarch 0.0.263-25.el6_3 rhui-custom-10000 55 k > pulp-consumer noarch 0.0.263-25.el6_3 rhui-custom-10000 71 k > pulp-selinux-server noarch 0.0.263-25.el6_3 rhui-custom-10000 52 k > rh-rhui-tools noarch 2.1.7-1.el6_3 rhui-custom-10000 212 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 | 140 kB 00:00 >(2/8): pulp-0.0.263-25.el6_3.noarch.rpm | 750 kB 00:00 >(3/8): pulp-admin-0.0.263-25.el6_3.noarch.rpm | 150 kB 00:00 >(4/8): pulp-client-lib-0.0.263-25.el6_3.noarch.rpm | 126 kB 00:00 >(5/8): pulp-common-0.0.263-25.el6_3.noarch.rpm | 55 kB 00:00 >(6/8): pulp-consumer-0.0.263-25.el6_3.noarch.rpm | 71 kB 00:00 >(7/8): pulp-selinux-server-0.0.263-25.el6_3.noarch.rpm | 52 kB 00:00 >(8/8): rh-rhui-tools-2.1.7-1.el6_3.noarch.rpm | 212 kB 00:00 >--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >Total 4.5 MB/s | 1.5 MB 00:00 > > >Package pulp-0.0.263-25.el6_3.noarch.rpm is not signed >[root@rhua ~]# vim /etc/yum.repos.d/rh-cloud.repo >[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.6 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.7-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 140 k > pulp noarch 0.0.263-25.el6_3 rhui-custom-10000 750 k > pulp-admin noarch 0.0.263-25.el6_3 rhui-custom-10000 150 k > pulp-client-lib noarch 0.0.263-25.el6_3 rhui-custom-10000 126 k > pulp-common noarch 0.0.263-25.el6_3 rhui-custom-10000 55 k > pulp-consumer noarch 0.0.263-25.el6_3 rhui-custom-10000 71 k > pulp-selinux-server noarch 0.0.263-25.el6_3 rhui-custom-10000 52 k > rh-rhui-tools noarch 2.1.7-1.el6_3 rhui-custom-10000 212 k > >Transaction Summary >=========================================================================================================================================================================================================================================================================== >Upgrade 8 Package(s) > >Total size: 1.5 M >Is this ok [y/N]: y >Downloading Packages: >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.7-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.7-1.el6_3 > >Complete! >[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.localdomain for ServerName > [ OK ] >[root@rhua ~]# rhui-manager status >cds1.localdomain ............................................ [ UP ] > >cds1.localdomain ............................................ [ SUCCESS ] >cds2.localdomain ............................................ [ UP ] > >cds2.localdomain ............................................ [ SUCCESS ] > >Red Hat Update Infrastructure 2.0 (RPMs) (6Server-i386) ............... [ SUCCESS ] > >Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) ............. [ SUCCESS ] > >Red Hat Enterprise Linux 6 Server from RHUI (RPMs) (6Server-i386) ..... [ SUCCESS ] > >Red Hat Enterprise Linux 6 Server from RHUI (RPMs) (6Server-x86_64) ... [ SUCCESS ] > >Identity certificate expiration date = 2022-08-07T14:37:10Z .......... [ OK ] > >Entitlement CA certificate expiration date = 2013-08-09T13:20:23Z .... [ OK ] >0 >[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.localdomain >------------------------------------------------------------------------------ >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.localdomain >------------------------------------------------------------------------------ >rhui (cds) => i > >Select one or more CDS clusters: > > - 1 : rhui-cds-cluster >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 > >Select one or more CDS clusters: > > x 1 : rhui-cds-cluster >Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c > >-= RHUI CDS Clusters =- > > rhui-cds-cluster > ---------------- > > CDS Instances > ------------- > cds1.localdomain > hostname: cds1.localdomain > client hostname: cds1.localdomain > cds2.localdomain > hostname: cds2.localdomain > client hostname: cds2.localdomain > > Repositories > ------------ > Red Hat Update Infrastructure 2.0 (RPMs) (6Server-i386) > Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) > Red Hat Enterprise Linux 6 Server from RHUI (RPMs) (6Server-x86_64) > Red Hat Enterprise Linux 6 Server from RHUI (RPMs) (6Server-i386) > bhello-x86_64 > rhui-x86_64 > > > > >------------------------------------------------------------------------------ >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.localdomain >------------------------------------------------------------------------------ >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.localdomain >------------------------------------------------------------------------------ >rhui (repo) => l > >Custom Repositories > bhello-x86_64 > rhui-x86_64 > >Red Hat Repositories > Red Hat Enterprise Linux 6 Server from RHUI (RPMs) (6Server-i386) > Red Hat Enterprise Linux 6 Server from RHUI (RPMs) (6Server-x86_64) > Red Hat Update Infrastructure 2.0 (RPMs) (6Server-i386) > Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) > > >------------------------------------------------------------------------------ >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.localdomain >------------------------------------------------------------------------------ >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.localdomain >------------------------------------------------------------------------------ >rhui (client) => r >Invalid menu item; type "?" for a list of available commands >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 : rhui/$basearch > rhui-x86_64 > > > Red Hat Repositories > - 2 : Red Hat Enterprise Linux 6 Server from RHUI (RPMs) > - 3 : Red Hat Update Infrastructure 2.0 (RPMs) > >Enter value (1-3) to toggle selection, 'c' to confirm selections, or '?' for more commands: 2 > >Select one or more repositories to include in the entitlement certificate: > > Custom Repositories > - 1 : rhui/$basearch > rhui-x86_64 > > > Red Hat Repositories > x 2 : Red Hat Enterprise Linux 6 Server from RHUI (RPMs) > - 3 : Red Hat Update Infrastructure 2.0 (RPMs) > >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: >def > >Local directory in which to save the generated certificate [current directory]: >/tmp/def > >Number of days the certificate should be valid [365]: > > >Repositories to be included in the entitlement certificate: > > Red Hat Repositories > Red Hat Enterprise Linux 6 Server from RHUI (RPMs) > >Proceed? (y/n) y > >........+++ >.........+++ >Enter pass phrase for /etc/pki/rhui/entitlement-ca-key.pem: >Entitlement certificate created at /tmp/def/def.crt > >------------------------------------------------------------------------------ >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.localdomain >------------------------------------------------------------------------------ >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.localdomain >------------------------------------------------------------------------------ >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/def > >Name of the RPM: >def > >Version of the configuration RPM [2.0]: > > >Full path to the entitlement certificate authorizing the client to access >specific channels: >/tmp/def/def.crt > >Full path to the private key for the above entitlement certificate: >/tmp/def/def.key > > >An unexpected error has occurred during the last operation. >More information can be found in /root/.rhui/rhui.log. > > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Client Entitlement Management =- > > e generate an entitlement certificate > c create a client configuration RPM from an entitlement 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.localdomain >------------------------------------------------------------------------------ >rhui (client) => q >[root@rhua ~]# tail -30 /root/.rhui/rhui.log >Successfully connected to [rhua.localdomain] >Connecting to RHUA [rhua.localdomain]... >Successfully connected to [rhua.localdomain] >Private key creation output >Exit Code: 0 > >writing RSA key > >Command [openssl x509 -req -days 365 -in /tmp/def/def.csr -CA /etc/pki/rhui/entitlement-ca.crt -CAkey /etc/pki/rhui/entitlement-ca-key.pem -CAserial /etc/pki/rhui/entitlement-ca.srl -out /tmp/def/def.crt -extfile /tmp/def/def-extensions.txt -extensions rhui] >Certificate creation output > >Signature ok >subject=/CN=Red Hat Update Infrastructure >Getting CA Private Key > >Unexpected error caught at the shell level >Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/rhui/tools/shell.py", line 86, in safe_listen > self.listen(clear=first_run) > File "/usr/lib/python2.6/site-packages/rhui/tools/shell.py", line 112, in listen > Shell.listen(self) > File "/usr/lib/python2.6/site-packages/rhui/common/shell.py", line 186, in listen > item.func(*args, **item.kwargs) > File "/usr/lib/python2.6/site-packages/rhui/tools/screens/client.py", line 203, in create_rpm > answers = self._collect_answers() > File "/usr/lib/python2.6/site-packages/rhui/tools/screens/client.py", line 269, in _collect_answers > answers['ca_cert'] = self.config.get("rhua", "ssl_ca_cert", '/etc/pki/rhua/rhua-ssl-ca-cert.crt') > File "/usr/lib64/python2.6/ConfigParser.py", line 541, in get > raise NoOptionError(option, section) >NoOptionError: No option 'ssl_ca_cert' in section: 'rhua' >[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