py3: 404 when fetching script attachment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Medium
|
Simon Poirier |
Bug Description
For some reason, after I upgrade a working artful client registered machine, which was using landscape-client 16.04 from the archive and python2, to the ppa:landscape/trunk version that is using py3, script attachments stop working.
I send a dummy script to the machine via landscape and a dummy attachment. The py2 client fetches it from the server via GET as usual:
Sep 21 17:58:19 message-server-1 INFO 127.0.0.1 - - [21/Sep/
And the script succeeds.
I then upgrade landscape-client to 17.04+bzr1002~
Sep 21 17:58:19 message-server-1 INFO 127.0.0.1 - - [21/Sep/
An entirely new script fails the same way:
Sep 21 18:08:58 message-server-1 INFO 127.0.0.1 - - [21/Sep/
NOTE: this also happens on a fresh new py3 client, not just in an upgrade.
description: | updated |
Changed in landscape-client: | |
milestone: | none → 18.01 |
Changed in landscape-client: | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
Changed in landscape-client: | |
importance: | High → Medium |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/CanonicalLt d/landscape- client/ pull/29