Bug 1442147
Summary: | anamon does not work on Fedora 26 because it only has python3 not python | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Anthony Gialluca <agialluc> |
Component: | general | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dan Callaghan <dcallagh> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 24 | CC: | amsharma, bpeck, dcallagh, dgilmore, jbieren, jpazdziora, mjia, rjoost |
Target Milestone: | 24.3 | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-05-30 07:07:59 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: |
Comment 1
Bill Peck
2017-04-17 14:50:58 UTC
Could the fix be productized so that Fedora 26 gets usable in beaker? As an aside, Fedora rawhide provisions just fine -- why is Fedora 26 harder to get deployed? This bug doesn't cause provisioning to fail, only the logs not to be uploaded. I haven't tested rawhide recently but I imagine it does suffer the same problem. Jon Masters pointed out that this patch is not actually sufficent so there is more fixing needed here. Ah, good to know. I confirm that it's not a blocker for provisioning, adding no_updates_repos to workaround bug 1442146 makes Fedora 26 install and boot. Added the anamon3 alias in httpd but the new script still fails, like this: ... File "/tmp/anamon", line 76, in uploadWrapper contents = str.encode(fo.read(blocksize)) File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 104603: ordinal not in range(128) Python also prints this warning on startup: https://www.python.org/dev/peps/pep-0538/#legacy-c-locale-warning-during-runtime-initialization which means Anaconda is still running with LC_CTYPE=C. That's probably something that should be fixed in Anaconda though... I should probably also add a test case into workflow-selftest which checks that Anaconda logs are properly uploaded, hmm. https://gerrit.beaker-project.org/5694 add httpd alias for anamon3 https://gerrit.beaker-project.org/5695 anamon3: read files in binary mode Beaker 24.3 has been released. |