Comment 15 for bug 1820892

Revision history for this message
Matt Riedemann (mriedem) wrote :

(8:46:52 AM) fungi: mriedem: running that script locally on the mirror.dfw.rax.o.o server (out of convenience) it consistently reports "Found package in pypi supports py3"

(8:48:08 AM) fungi: mriedem: so what would be the behavior of the code in devstack if https://pypi.python.org/pypi/libvirt-python/json occasionally came back truncated?
(8:48:18 AM) fungi: (or empty)
(8:48:25 AM) mriedem: we'd fallback to py2
(8:49:16 AM) fungi: mriedem: so just to confirm, if we got incomplete data from that pypi json metadata api query on occasion, that could explain the behavior exhibited in that bug?
(8:49:26 AM) mriedem: fungi: i think so yeah
(8:49:30 AM) mriedem: b/c we're just doing a grep
(8:49:52 AM) fungi: mriedem: rather than actually trying to parse the json
(8:50:09 AM) mriedem: fungi: correct
(8:50:18 AM) mriedem: https://github.com/openstack-dev/devstack/blob/master/inc/python#L103
(8:52:03 AM) mriedem: fungi: so you're thinking maybe curl is failing on some network error?
(8:52:13 AM) mriedem: it is using -s so any error would be surpressed
(8:52:40 AM) fungi: mriedem: or one of the nearby fastly cdn endpoints is responding with an incomplete payload