| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2018-07-25 | |||
| 23:19:00 | openstackgerrit | Eric Fried proposed openstack/nova master: Report client: _reshape helper, placement min bump https://review.openstack.org/585034 | |
| 23:19:01 | openstackgerrit | Eric Fried proposed openstack/nova master: Report client: update_from_provider_tree w/reshape https://review.openstack.org/585049 | |
| 23:19:02 | openstackgerrit | Eric Fried proposed openstack/nova master: WIP: Compute: Handle reshaped provider trees https://review.openstack.org/576236 | |
| #openstack-nova - 2018-07-26 | |||
| 00:19:46 | openstackgerrit | Takashi NATSUME proposed openstack/nova master: Making consistent used of GiB and MiB in API ref https://review.openstack.org/559985 | |
| 00:20:33 | openstackgerrit | Takashi NATSUME proposed openstack/nova master: Fix 500 error while passing 4-byte unicode data https://review.openstack.org/407514 | |
| 01:01:20 | openstackgerrit | Chris Dent proposed openstack/nova master: [placement] Extract base functional test case from test_direct https://review.openstack.org/585777 | |
| 01:01:21 | openstackgerrit | Chris Dent proposed openstack/nova master: [placement] Use base test in placement functional tests https://review.openstack.org/585778 | |
| 01:11:34 | openstackgerrit | Merged openstack/nova master: Remove support for /os-floating-ips-bulk REST API https://review.openstack.org/582912 | |
| 01:14:04 | openstackgerrit | Merged openstack/nova master: Remove support for /os-floating-ip-dns REST API https://review.openstack.org/582943 | |
| 01:14:11 | openstackgerrit | Merged openstack/nova master: Remove "DEPRECATED" tag from Obsolete APIs https://review.openstack.org/583092 | |
| 01:14:17 | openstackgerrit | Merged openstack/nova stable/pike: cleanup mapping/reqspec after archive instance https://review.openstack.org/580775 | |
| 01:14:23 | openstackgerrit | Merged openstack/nova master: doc: remove rocky-specific nova-scheduler min placement version https://review.openstack.org/585520 | |
| 02:06:16 | naichuans | Txt files which store openstack IRC history reported as trojan and deleted by McAFee, anyone meet such kind of issues before? | |
| 02:16:14 | openstackgerrit | Artom Lifshitz proposed openstack/nova master: DNM? Extra logs for volume detach device tags cleanup https://review.openstack.org/584032 | |
| 02:18:27 | openstackgerrit | Xiaohan Zhang proposed openstack/nova master: compute node local_gb_used include swap disks The ComputeNode.local_gb_used value is set in the ResourceTracker._update_usage() method: https://review.openstack.org/585928 | |
| 06:22:34 | openstackgerrit | huanhongda proposed openstack/nova master: hypervisor-stats shows wrong disk usages with shared storage https://review.openstack.org/149878 | |
| 07:12:12 | karimull | Hello , do the code freeze for the release applies to bugs related to documentation? | |
| 07:22:28 | openstackgerrit | Xiaohan Zhang proposed openstack/nova master: compute node local_gb_used include swap disks https://review.openstack.org/585928 | |
| 07:31:00 | openstackgerrit | Zhenyu Zheng proposed openstack/nova master: Increase sleep time in ServerGroupTestV21 to avoid potential failure https://review.openstack.org/585978 | |
| 07:52:52 | openstackgerrit | Merged openstack/nova master: Online data migration for queued_for_delete flag https://review.openstack.org/584504 | |
| 07:53:07 | openstackgerrit | Merged openstack/nova master: Annotate flows and handle PortBindingDeletionFailed in ComputeManager https://review.openstack.org/551371 | |
| 07:53:15 | openstackgerrit | Merged openstack/nova master: Remove stevedore extensions server_create method https://review.openstack.org/583882 | |
| 07:59:08 | kashyap | ttx: Morning, do you have mod privileges on this channel? If so, can you kick the above spammers out, please? | |
| 08:02:46 | lyarwood | kashyap: They are being kicked pretty quickly already | |
| 08:03:08 | kashyap | lyarwood: Nod; some channels like Freenode's #kvm are still litterred with them :-( | |
| 08:03:31 | kashyap | lyarwood: But you're right, the Freenode Team is working on it | |
| 08:04:01 | kashyap | lyarwood: Morning, do you have a minute to look at something here? | |
| 08:04:09 | kashyap | lyarwood: It's seemingly embarssing PEP8 failure | |
| 08:04:34 | lyarwood | my forte | |
| 08:04:43 | kashyap | lyarwood: Hehe, so here we go: | |
| 08:04:46 | kashyap | On this line here: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/guest.py#L668 | |
| 08:04:55 | kashyap | If I remove that: "# noqa" | |
| 08:05:08 | kashyap | I get this: ./nova/virt/libvirt/guest.py:665:60: F821 undefined name 'unicode' | |
| 08:05:17 | kashyap | How is the comment "solving" it? | |
| 08:06:01 | kashyap | lyarwood: It (that "# noqa") came in via this commit that was trying to fix the PEP8 on Py3 failures: a91af59f | |
| 08:06:30 | lyarwood | http://pep8.readthedocs.io/en/release-1.7.x/intro.html#error-codes - it's not a comment | |
| 08:06:31 | kashyap | lyarwood: Sorry for baiting you in the morning. If you're still making coffee or something, please go on. This can wait. | |
| 08:06:34 | lyarwood | ^ search for noqa | |
| 08:07:14 | kashyap | lyarwood: Most excellent, thanks for the (non-null) pointer! | |
| 08:08:01 | lyarwood | kashyap: so unicode isn't a keyword in py3 but is in py2 | |
| 08:08:20 | kashyap | lyarwood: Ha! So we indeed need to retain that "# noqa" | |
| 08:08:31 | lyarwood | yup | |
| 08:09:05 | kashyap | lyarwood: Thanks, I was going a bit mental right in the morning | |
| 08:09:47 | kashyap | mdbooth: When you are about, per above discussion with lyarwood, we can't "undent" the "# noqa" here: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/guest.py#L668 | |
| 08:11:38 | lyarwood | kashyap: well you can, the #noqa is just to catch the unicode issue | |
| 08:12:21 | lyarwood | anyway /me goes back to downstream paper work | |
| 08:12:27 | kashyap | lyarwood: Alright, I'll look into it. | |
| 08:12:36 | kashyap | mdbooth: Disregard the above for now; more to come soon in the review | |
| 08:29:30 | bauzas | re: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/guest.py#L668 | |
| 08:29:37 | bauzas | kashyap: lyarwood: ^ | |
| 08:30:22 | bauzas | kashyap: lyarwood: there is a six method for it | |
| 08:30:34 | kashyap | bauzas: I see | |
| 08:30:39 | kashyap | bauzas: Got a link? | |
| 08:31:08 | bauzas | kashyap: https://pythonhosted.org/six/#six.text_type | |
| 08:35:43 | bauzas | kashyap: http://paste.openstack.org/show/726668/ | |
| 08:36:24 | bauzas | a 'kéké' in French is a 'lad' | |
| 08:38:00 | bauzas | kashyap: of course a bytestring is not unicode | |
| 08:38:13 | kashyap | Hehe | |
| 08:40:44 | kashyap | bauzas: Thanks! | |
| 08:43:05 | bauzas | kashyap: final explanation between bytestrings and unicode strings : http://paste.openstack.org/show/726669/ | |
| 08:43:38 | bauzas | using .decode() will translate it into unicode with the encoding you want | |
| 08:56:58 | kashyap | Nod | |
| 09:02:25 | mdbooth | kashyap: That's barely worthy of discussion :) Did I call it a nit? If not, I should have done. | |
| 09:06:39 | kashyap | mdbooth: Hehe, I just make sure every point a reviewer raises is addressed, and not coldly ignore :P | |
| 09:07:00 | kashyap | Address, if it makes sense, i.e. | |
| 09:07:24 | mdbooth | kashyap: Yeah. I couldn't even tell, by eyeball, if the line was short enough. | |
| 09:07:30 | mdbooth | But I thought it probably was. | |
| 09:08:42 | kashyap | mdbooth: Ah, by "undent", I actually thought you wanted me to use a different way than the "# noqa" special comment | |
| 09:09:05 | kashyap | Look for "# noqa" there: http://pep8.readthedocs.io/en/release-1.7.x/intro.html#error-codes | |
| 09:09:27 | mdbooth | I assumed it was there for line length? | |
| 09:09:32 | mdbooth | That's how it's normally used. | |
| 09:10:01 | kashyap | The line was 74 lines. | |
| 09:10:07 | kashyap | Err | |
| 09:10:09 | kashyap | 74 chars | |
| 09:10:18 | kashyap | So, it's within the range, though. | |
| 09:10:20 | mdbooth | Weird. Wonder what the pep8 issue was. | |
| 09:12:54 | kashyap | mdbooth: PEP8 issue was due me not knowing about the special comment "# noqa" (& accidentally removing it) | |
| 09:15:41 | lyarwood | mdbooth: unicode is only used in py2, pep8 now runs under py3 by default and without #noqa that fails, bauzas pointed to a six method to handle this better above. | |
| 09:16:58 | bauzas | lyarwood: mdbooth: tbh, we don't need to check the python version | |
| 09:17:22 | lyarwood | yup, just use six | |
| 09:18:32 | mdbooth | bauzas: We do need the python version check there, I think. | |
| 09:18:59 | bauzas | mdbooth: the problem is that libvirtd is only py2 right? | |
| 09:19:19 | mdbooth | bauzas: No, it's both. The problem is that it handles strings differently in py2 and py3. | |
| 09:19:20 | bauzas | mdbooth: so it's waiting for a byte string | |
| 09:19:39 | mdbooth | in py2 it *must* be byte string. In py3 it *must* be unicode. | |
| 09:19:40 | bauzas | mdbooth: so that's a libvirt problem | |
| 09:19:42 | mdbooth | Yeah. | |
| 09:19:54 | bauzas | grr | |
| 09:20:17 | bauzas | so, yeah we need to check the python version | |
| 09:20:32 | bauzas | I thought it was only need a byte string | |
| 09:20:53 | bauzas | that's a terrible interface | |
| 09:21:07 | mdbooth | In fairness it's a bug. | |
| 09:21:11 | bauzas | yeah | |
| 09:21:16 | bauzas | a libvirt bug | |
| 09:21:20 | mdbooth | But one which can't be fixed now. | |
| 09:21:30 | mdbooth | Indeed, a libvirt bug. | |
| 09:21:56 | bauzas | oh and FWIW, params.items() only works because that's checked for py2 | |
| 09:22:38 | mdbooth | IIRC params.items() is the recommended way to migration py2 -> py3 unless you really can't handle a list or a generator | |
| 09:24:01 | mdbooth | Yeah, params.items() would have the same behaviour there in py2 and py3. | |
| 09:25:25 | mdbooth | lyarwood: Chance of thunderstorms this afternoon, apparently \o/ | |