py3: incorrect url when fetching hash-id-databases, yields 404

Bug #1680827 reported by Andreas Hasenack on 2017-04-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
High
Eric Snow

Bug Description

client r1007

package-reporter log was complaining that the server didn't have a xenial hash-id-database, which is odd.

Looking at the server logs (haproxy in this case), I can see why:

Apr 7 06:40:24 juju-41d47e-stg-cdo-landscape-0 haproxy[14811]: 91.189.91.131:35300 [07/Apr/2017:06:40:23.757] haproxy-0-443~ landscape-https/landscape-appserver-landscape-server-0-0 317/0/2/2/321 404 296 - - ---- 1/1/0/1/0 0/0 "GET /hash-id-databases/b'7c6efe47-12fb-11de-91bb-0016353c8658'_xenial_amd64 HTTP/1.1"

The URL shows that the hash-id uuid is encapsulated in b'...'

Related branches

Changed in landscape-client:
status: New → In Progress
assignee: nobody → Eric Snow (ericsnowcurrently)
Changed in landscape-client:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers