Earlier  
Posted Nick Remark
#openstack-nova - 2017-08-08
16:35:34 dansmith jaypipes: I'm throwing some comments in here though
16:35:34 stephenfin *?
16:35:40 jaypipes k
16:35:45 mriedem stephenfin: they are slightly different
16:36:34 mriedem https://github.com/openstack/nova/blob/501a0fe65afabb7e6a8b1e2d1ca0fbcea941d2d1/releasenotes/notes/libvirt-ignore-allow_same_net_traffic-fd88bb2801b81561.yaml
16:36:38 mriedem https://github.com/openstack/nova/blob/5c0cb33d75acb284a3b6299c851ab70f10f69dfc/releasenotes/notes/libvirt-firewall-ignore-use_ipv6-c555f95799f991fd.yaml
16:37:31 openstackgerrit Chris Friesen proposed openstack/nova master: Remove ram/disk sched filters from default list https://review.openstack.org/491854
16:40:24 mriedem stephenfin: maybe i'll just make sure the boilerplate text is the same between the two
16:40:27 mriedem and leave the rest
16:41:06 stephenfin mriedem: As in keep both but make the shared part look similar?
16:41:14 cfriesen mriedem: dansmith: how much validation of images should nova do? I'm getting a report that with RDB instance storage launching an instance from qcow2 format image doesn't boot but launching instance from raw format image works. Booting from volume with either image works.
16:41:18 stephenfin or something else?
16:41:22 mriedem stephenfin: yes
16:41:38 stephenfin mriedem: Cool. You or me doing that?
16:42:06 mriedem i'm doing it
16:42:49 stephenfin (y)
16:43:12 cfriesen mriedem: dansmith: similarly, should we believe glance when it tells us the image type? In Newton at least glance doesn't appear to be validating the specified image type.
16:44:42 openstackgerrit Matt Riedemann proposed openstack/nova master: Cleanup release note about ignoring allow_same_net_traffic https://review.openstack.org/491855
16:44:45 bauzas folks, bailing out, see you Thursday \o
16:50:52 stephenfin bauzas: o/
16:52:01 stephenfin mriedem: +2d
16:52:12 stephenfin sdague: email sent
16:52:17 stephenfin (I hope - Evolution sux)
16:55:07 openstackgerrit Stephen Finucane proposed openstack/nova master: doc: Import configuration reference https://review.openstack.org/491853
16:57:08 stephenfin See you all next week o/
17:04:09 cdent jaypipes, bauzas, dansmith, mriedem : I made a new patch to publish the placement-api-ref. https://review.openstack.org/#/c/491860/ it depends on the top patch in https://review.openstack.org/#/q/topic:cd/placement-api-ref+status:open so it would be nice if we could get those in and have happy little docs
17:04:27 jaypipes cdent: kk
17:17:51 melwitt dansmith, mriedem: my bfv functional test queries hypervisor stats to verify correct handling of bfv. it seems like that's independent of the RT, right?
17:18:08 dansmith no, that's where hv stats come from
17:19:10 melwitt so currently the scheduler, claims, and reporting will be different than hv stats?
17:19:44 melwitt that is, they'll show different resource amounts?
17:19:45 openstackgerrit Doug Hellmann proposed openstack/nova master: use intersphinx to link to horizon https://review.openstack.org/491866
17:20:42 dansmith melwitt: we do account for things a little differently in placement, which is what scheduler is using for the basis of choosing a host, and claiming against
17:21:01 dansmith hv stats has never been particularly correct either, mind you
17:21:36 melwitt okay
17:22:17 melwitt I think I could update the test to query placement for how much disk the compute node is reporting
17:22:43 melwitt because that's all I was doing is verifying it's reporting 0 local_gb_used
17:23:32 dansmith so the compute node's allocation will account for it, but we don't heal if we're on pike only,
17:23:40 melwitt it would be interested to see if the test passes with those lines commented out too, because if bfv isn't handled correctly yet, it won't even be able to boot instances
17:23:50 melwitt *interesting
17:24:03 dansmith looking earlier, the place I had added it to the scheduler request didn't seem particularly correct anymore
17:24:06 sean-k-mooney hi everyone quick question is "nova-manage cell_v2 create_cell" updating the db directly or calling the api to create the cell entries?
17:24:15 dansmith sean-k-mooney: directly
17:24:24 dansmith sean-k-mooney: almost all of nova-manage is direct-to-databsae
17:24:54 sean-k-mooney dansmith: cool thanks, that is what i taught. trying debug an issue in kolla and wnated to check where the logs would be
17:25:26 dansmith on the bfv thing, I'm a little concerned about even getting jaypipes' set in before rc at this point, so...
17:28:44 melwitt yeah. I've been trying to mention the bfv thing occasionally throughout this cycle because it's one of the top things people are looking for from resource providers and I haven't been able to tell how close we are to that working
17:29:30 melwitt I'll try stacking the test on top of jay's set locally to see if it passes without the hv stats stuff
17:30:24 dansmith jaypipes' set doesn't affect any of this, AFAIK
17:30:52 dansmith and we're not even accounting for moves properly right now (which is the subject of the set) which is arguably more important
17:32:05 cdent dansmith: have you got a summary of “what’s wrong today”? It’s hard to keep track.
17:32:05 dansmith my zero request patch may actually still work, since we're still calling resources_from_request_spec or whatever it's calls
17:32:07 dansmith *called
17:32:18 dansmith cdent: no
17:32:20 openstackgerrit Doug Hellmann proposed openstack/nova master: use extlinks to build series-specific links https://review.openstack.org/491869
17:32:43 cdent roger that, I’ll travel with lights
17:33:39 melwitt dansmith: okay. I thought earlier you said we're already accounting for it in the current stuff, I must have misunderstood
17:34:05 dansmith melwitt: I said we are on the compute node, but that the scheduler probably isn't (which I since confirmed)
17:34:15 dansmith and if we're on pike we'll depend on the scheduler having it right
17:34:26 melwitt I see, thanks
17:34:36 dansmith which is what my zero request patch is for.. asking the scheduler for zero root disk
17:34:38 openstackgerrit Spencer Yu proposed openstack/python-novaclient master: Nova client should retry with Retry-After value https://review.openstack.org/447766
17:34:50 melwitt yeah
17:35:11 dansmith this is somewhat wrapped up in the shared storage thing which we're punting on again, so it really can't be right regardless
17:36:39 melwitt okay. yeah, I was wondering about the shared storage thing too. good to know
17:38:49 jaypipes melwitt: yeah, the bfv accounting issues will most likely remain in Pike unfortunately.
17:42:27 dansmith jaypipes: replied
17:43:15 dansmith jaypipes: I still don't see how we get to the offload thing, and just want that code to be less complicated, but if we're not sure or you've seen it in real life somehow, then we should just leave it in I guess
17:44:50 jaypipes dansmith: this patch is mostly in response to mriedem and alex_xu's comments on https://review.openstack.org/#/c/488510/ ps 27.
17:45:12 jaypipes Related to #4, there is bug https://bugs.launchpad.net/nova/+bug/1679750 where we don't delete allocations from Placement in nova-api when doing a "local delete", i.e. when the compute host is down, or the instance does not have a host associated (e.g. shelved_offloaded state).
17:45:12 jaypipes dansmith: i.e. this from mriedem:
17:45:13 openstack Launchpad bug 1679750 in OpenStack Compute (nova) "Allocations are not cleaned up in placement for instance 'local delete' case" [Medium,In progress]
17:45:43 jaypipes dansmith: but I admit I've probably f'd this series up :(
17:45:54 jaypipes trying to fix these corner cases
17:46:06 dansmith jaypipes: the shelved offloaded thing in that bug is conjecture right?
17:46:29 jaypipes dansmith: yes, but listed by mriedem as something to handle
17:46:52 dansmith jaypipes: yeah, but maybe he didn't dig to see how we'd actually get here :)
17:47:08 jaypipes perhaps. this code is fugly, as you know.
17:47:35 mriedem 3 more times
17:47:39 dansmith jaypipes: that bug as written does't actually say anything about shelved, although I thought mriedem had said something about it
17:47:43 openstackgerrit Merged openstack/nova master: Handle ironicclient failures in Ironic driver https://review.openstack.org/487925
17:47:45 mriedem i forgot my kid at camp and they called
17:47:53 mriedem so i'll be paying for that in counseling sessions later
17:48:07 jaypipes mriedem: Dad of the Year.
17:48:11 mriedem tbc, i dropped that link in the change as an fyi
17:48:18 mriedem and listed the move operations
17:48:36 mriedem i was not meaning that the bug had to be fixed in that change
17:48:59 dansmith mriedem: well, we're not sure there is a bug
17:49:02 dansmith or, I'm not
17:49:06 jaypipes mriedem: sure. though the changes I put in there were also to highlight code paths that alex_xu had pointed out around evacuate and the local delete problem where the compute host was down.
17:49:16 dansmith if there is, I'm skeptical that offloaded and host==self is a case we can have :)
17:49:22 jaypipes in there == the new bottom patch on the series.
17:49:35 dansmith jaypipes: the local delete path should be deleting the allocation itself right?
17:49:42 dansmith so that there's nothing to clean up here, ideally
17:49:49 mriedem if the instance is offloaded, host is None
17:50:05 dansmith like, we shouldn't actually delete the instance unless we were able to nuke the allocation
17:50:08 mriedem the point of the bug was that yes we should delete allocations in the local delete case, if we care
17:50:13 dansmith right
17:50:19 dansmith so not in RT at all, IMHO
17:50:30 jaypipes dansmith: the local delete path never gets to the compute host, thus the need for the allocation to be deleted when the compute host starts back up and sees allocations for instances that no longer exist.

Earlier   Later