If the Origin is stated as a URL, if the final slash is present, it will fail the Origin Pull.

Bug #1432660 reported by Obulapathi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppy
Fix Released
High
Unassigned

Bug Description

Found a bug/issue.

   If the Origin is stated as a URL, if the final slash is present, it will fail the Origin Pull.

[page]
Service Unavailable - DNS failure
The server is temporarily unable to service your request. Please try again later.
Reference #11.56084a17.1426366097.7997cad

[/page]

I have attached the Reference details as result.txt.

Note that when we pass the Origin URL as 'http://IPADDRESS/', it will use the extra back-slash as
"Forward Hostname: 104.239.140.241/". This is what Akamai uses for DNS lookups.

By removing the trailing "/" on the Origin URL, it fixed it.

We should add extra checking, or at least strip the final "/" on any input for the Origin IP Address or URL.

Obulapathi (obulpathi)
Changed in poppy:
status: New → Confirmed
Obulapathi (obulpathi)
Changed in poppy:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to poppy (master)

Reviewed: https://review.openstack.org/165106
Committed: https://git.openstack.org/cgit/stackforge/poppy/commit/?id=1582264655c73e8ac09d021c39202f411207da22
Submitter: Jenkins
Branch: master

commit 1582264655c73e8ac09d021c39202f411207da22
Author: Obulpathi <email address hidden>
Date: Tue Mar 17 11:25:37 2015 -0400

    Removes trailing / from origin name, if any

    Closes-Bug: 1432660
    Change-Id: I007fd41831307ebb9a1feccbc361fe8a764e2bf5

Changed in poppy:
status: In Progress → Fix Committed
Changed in poppy:
milestone: none → kilo-3
importance: Undecided → High
Changed in poppy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.