Bug 818140
Summary: | rhui-installer /opt/rhua/my-answers giving IOError | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | IBM Bug Proxy <bugproxy> | ||||||
Component: | Documentation | Assignee: | Shikha <snansi> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | mkovacik | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 2.0 | CC: | belong, cmorgan, jkachuck, jslagle, kbidarka, ovasik, sghai, wgomerin | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-07-02 23:19:49 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 711169 | ||||||||
Attachments: |
|
Description
IBM Bug Proxy
2012-05-02 10:30:48 UTC
Basesystem is definitely wrong component. Product is also imho wrong... Moved to RHUI product and CDS component (I don't know which component is correct, please reassign it, sorry for that). Are you sure the answers file you pasted is the one you used that resulted in the traceback? The path (/root/rhui-ssl/certs/server.crt) that caused the IOError exception isn't even referenced in the answers file shown. Verify the path to the ssl_cert for the CDS is correct. Do you intend it to be /root/rhui-ssl/certs/server.crt or /tmp/tarunk-RHUI-CDS/rhui-ssl/certs/server.crt? Please attach the answers file actually used to this bugzilla. Also, what version of rh-rhui-tools do you have? ------- Comment From srinivasa.tn.com 2012-05-07 06:14 EDT------- It was hit and trial method experiment. Initially I placed all SSL certificates under /root/rhui-ssl/certs/ and executing rhui-installer considering this directory as SSL certificates location. Later I copied all SSL certificates to a temporary location (/tmp/tarunk-RHUI-CDS/rhui-ssl/certs/) thinking that /root directory might be having some access permission problem and tried to execute rhui-installer. But in both cases it's giving IOError. To inform you more, I tried with different permission level(744, 777) for all those SSL certificates but to no avail. Comments were added already in this regard. I am happy to clear your confusion on whether I am using different directory location in my-answers file whereas SSL certificates are placed in some other directory. I verified all those parameter values in my-answers file prior executing rhui-installer command. It is latest RHUI installer( RHEL-6.1-RHUI-2.0-LATEST-Server-x86_64-DVD.iso ). Assuming your certs are under /root/rhui-ssl/certs/, can you run the following as root, capture the screen output exactly, and provide that screen capture: ls -Z -l -d /root/rhui-ssl/certs/ ls -Z -l /root/rhui-ssl/certs/ Then please do a screen capture of the execution of rhui-installer with the answers file and provide that output. Also, please provide the information I asked for earlier: Please attach the answers file actually used to this bugzilla. Also, what version of rh-rhui-tools do you have? Created attachment 582860 [details]
my-answers file
------- Comment (attachment only) From tarunk.com 2012-05-08 06:18 EDT-------
Created attachment 582861 [details]
screen shots of specified command o/p
------- Comment (attachment only) From tarunk.com 2012-05-08 06:19 EDT-------
I see from the screen capture that you have the CDS certs (/root/rhui/ssl-certs/server.*) on a different machine. Everything needs to be on the same machine when you run rhui-installer so that it has access to the files to build the needed rpm's. Move these files from your CDS to the RHUA, where you're running rhui-installer. Make sure your answers files is correct and then run the command again. ------- Comment From tarunk.com 2012-05-09 07:46 EDT------- Thank you. This step(rhui-installer) has successfully completed now. But may I know where to get the complete RHUI installation guide ? For instance I was looking for /etc/pulp/client.conf and which is actually replaced by /etc/pulp/admin/admin.conf and many others as well. ------- Comment From tpnoonan.com 2012-05-15 22:20 EDT------- (In reply to comment #28) > Yeah, I check RedHat RHUI installation guide as : > http://docs.redhat.com/docs/en-US/Red_Hat_Update_Infrastructure/2.0/html/ > Installation_Guide/index.html And found some information are not present. > For instance, /etc/pulp/client.conf has been replaced to > /etc/pulp/admin/admin.conf etc. All related information are available in my > previous comment. Thanks. hi red hat, can this doc be updated? thanks ------- Comment From tarunk.com 2012-05-21 06:48 EDT------- Here is output of CDS instance registration : Below if for CDS Instance hostname as FQDN: -= 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: v52540beadca.hsltv3prod.cloud9.ibm.com ------------------------------------------------------------------------------ rhui (cds) => a Prior to registering a CDS, the CDS must be configured and running. Hostname of the CDS to register: v52540b24a4.hsltv3prod.cloud9.ibm.com Display name for the CDS [v52540b24a4.hsltv3prod.cloud9.ibm.com]: The following CDS instance will be registered: Hostname: v52540b24a4.hsltv3prod.cloud9.ibm.com Name: v52540b24a4.hsltv3prod.cloud9.ibm.com Proceed? (y/n) y Error registering v52540b24a4.hsltv3prod.cloud9.ibm.com, check the log file for more information ------------------------------------------------------------------------------ rhui (cds) => The error message is already posted in my previous comment. Following is for CDS instance hostname as short hostname -= 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: v52540beadca.hsltv3prod.cloud9.ibm.com ------------------------------------------------------------------------------ rhui (cds) => l -= RHUI Content Delivery Servers =- No CDS instances are registered. ------------------------------------------------------------------------------ rhui (cds) => a Prior to registering a CDS, the CDS must be configured and running. Hostname of the CDS to register: v52540b24a4 Display name for the CDS [v52540b24a4]: cds-mytest-v52540b24a4 The following CDS instance will be registered: Hostname: v52540b24a4 Name: cds-mytest-v52540b24a4 Proceed? (y/n) y Successfully registered cds-mytest-v52540b24a4 ------------------------------------------------------------------------------ rhui (cds) => We can see from the above that their is some disparity in host name during CDS instance registration and also throughout the post installation of RHUI. In some places it's mentioned what to be provided as host name like FQDN or as such. But most places it's not clear. For instance, the following is from RHUI Installation guidelines : [ Also on the RHUA server, edit the /etc/rhui/rhui-tools.conf configuration file using your preferred text editor, and add the fully qualified domain name (FQDN) to be used to connect to the RHUA: hostname: rhua.example.com ] Here is prominent information between the clash of hostnames : [root@v52540beadca etc]# pulp-admin cds list ERROR: The server hostname you have configured in /etc/pulp/admin/admin.conf doe hostname returned from the Pulp server you are connecting to. You have: [v52540beadca] configured but got: [v52540beadca.hsltv3prod.cloud9.ibm Please correct the host in the /etc/pulp/admin/admin.conf file From all of the above, I do not see any uniformity in hostname input. So, is it possible to maintain the uniqueness of hostname throughout the post installation configuration of RHUI ? Else please update RHUI installation guidelines about where to provide which hostname value. If RedHat can clarify in this regard that will be a big help. As this is a support issue and not a bug issue please use the Red Hat support process. If you have questions, then contact your IBM RHUI interface, Matt Lobbes: Matthew Lobbes <lobbes.com> ------- Comment From tpnoonan.com 2012-05-29 21:21 EDT------- (In reply to comment #31) As > this is a support issue and not a bug issue please use the Red Hat support > process. If you have questions, then contact your IBM RHUI interface, Matt > Lobbes: Matthew Lobbes <lobbes.com> hi red hat, for clarity can you do a doc update? thanks *** This bug has been marked as a duplicate of bug 789994 *** |