Bug 846701 - Kickstart double "//" slash bug in url
Summary: Kickstart double "//" slash bug in url
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2012-08-08 13:15 UTC by Paul
Modified: 2017-09-28 17:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-08 15:12:45 UTC
Embargoed:


Attachments (Terms of Use)
Depicts the "//" double slash problem in URL (62.69 KB, image/pjpeg)
2012-08-08 13:15 UTC, Paul
no flags Details

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 (Red Hat) 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 (Red Hat) 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.


Note You need to log in before you can comment on or make changes to this bug.