Bug 846701

Summary: Kickstart double "//" slash bug in url
Product: [Community] Spacewalk Reporter: Paul <pbedorf>
Component: ServerAssignee: Jan Pazdziora <jpazdziora>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7CC: jpazdziora, mmello
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-08 15:12:45 UTC Type: Bug
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: 1484117    
Attachments:
Description Flags
Depicts the "//" double slash problem in URL none

Description Paul 2012-08-08 13:15:07 UTC
Created attachment 603030 [details]
Depicts the "//" double slash problem in URL

Description of problem:
When trying to boot a virtual machine using a cobbler generated.iso file, I encounter the following message: " Unable to retrive http://10.99.30.61//ks/dist/rhel5_64bit_dist/images/stage2.img " notice the "//" forward slashes. When I hit on ok, i get the chance to change the full path. See the attached picture that depicts this scenario.

So even after removing the "/" in front of the ks/dist/.... on the second line the problem re-occurs. So i can never get by this step as the URL is not valid because of the "//" double slashes bug.


Version-Release number of selected component (if applicable):
spacewalk 1.7
cobbler.noarch 2.2.3-2.el5

How reproducible:

Always

Steps to Reproduce:
1.Create a Kickstart Profile
2.In /etc/rhn/rhn.conf change the value of the parameter cobbler.host to the ip address of the spacewalk server.
In /etc/cobbler/settings change the value of the parameters server and redhat_management_server to the ip-address of the spacewalk server.
3. run:
   cobbler get-loaders
   cobbler buildiso
4. boot the vm using the buildiso.iso file
  
Actual results:

you get the: http://yourip//... (double slash problem)

Expected results:

You should get the: http://yourip/ks/dist/rhel5_64bit_dist/images/stage2.img

Additional info:

Comment 1 Jan Pazdziora 2012-12-07 19:59:07 UTC
If you provision directly from Spacewalk, do you see the same problem? In other words, is this related to buildiso or to the kickstart generated by Spacewalk? What does the kickstart file look like in either situation?

Comment 2 Jan Pazdziora 2013-03-08 15:12:45 UTC
Waiting for needinfo too long, closing.

Comment 3 Eric Herget 2017-09-28 17:56:11 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.