Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 629360

Summary: Package install failing as agent is creating repo paths incorrectly
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: whayutin
Target Milestone: ---Keywords: QA-Closed
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-20 16:11:35 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: 618781    
Attachments:
Description Flags
package install error none

Description Preethi Thomas 2010-09-01 18:53:17 UTC
Created attachment 442472 [details]
package install error

Description of problem:

Installing packages on a client is failing

Pasting my conversation with prad for better understanding
 
prad 1. register your client to the server..

prad 2. come back to the server and using pulp-admin consumer list.. see if you can see that consumer
prad 3. then bind the consumer to one or more repos
prad 4. schedule a pkg install via pulp-admin
preethi k.
preethi I will follow the sequence
preethi k, I followed the steps
preethi here is what i am getting when I try to install
preethi 
prad f12_x86_64 synced?
preethi yes
preethi i did the binding from pulp-admin on the server
preethi if that makes a difference
prad sorry had to hop on call..hmm
prad shouldnt matter
preethi k
prad did you try binding from client?
preethi yeah but got the ssl error M2Crypto.SSL.Checker.WrongHost: Peer certificate commonName does not match host, expected preethi.usersys.redhat.com, got preethi
prad https://fedorahosted.org/pulp/wiki/FAQs
prad preethi can you pastebin me your /etc/httpd/conf.d/pulp.conf?
prad and also /etc/yum.repos.dpulp.repo on your client
preethi ok
prad /etc/yum.repos.d/pulp.repo
preethi http://wwwapps.rdu.redhat.com/w3xpastebin/pastebin.php?show=20938
prad change your baseurl = https://localhost/pub/f12_x86_64
prad to 
prad baseurl = https://localhost/pulp/pub/f12_x86_64
prad and lemme know if it works
preethi ok
prad if this works open a bug against agent as its creating repo paths incorrectly and block this bug to it and say cannot verify until that bug is fixed
prad paste this conversation in the bug so they know what they're dealing with
preethi ok :)
preethi i am slowly following the steps :)
prad :)
preethi yup it worked when I changed the base url
prad yea looks like our apache config is pointing the path to one location but agent is assuming a different one
preethi ok

Comment 2 Preethi Thomas 2010-09-10 18:07:20 UTC
[root@preethi ~]#  pulp-admin -uadmin -padmin package install -n zsh --consumerid=preethi.usersys.redhat.com
Successfully Installed Packages [u'zsh-4.3.10-5.fc13.x86_64', u'zsh-4.3.10-5.fc13.x86_64'] on consumer [preethi.usersys.redhat.com]
[root@preethi ~]# rpm -q zsh
zsh-4.3.10-5.fc13.x86_64
[root@preethi ~]# rpm -qa |grep pulp
pulp-client-0.0.60-1.fc13.noarch
pulp-0.0.60-1.fc13.noarch
pulp-common-0.0.60-1.fc13.noarch

Comment 3 Preethi Thomas 2010-10-20 16:11:35 UTC
Closed after review.