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)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 104603: ordinal not in range(128)
Python also prints this warning on startup:
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.