Earlier  
Posted Nick Remark
#openstack-nova - 2017-01-05
15:52:46 sdague mriedem: on https://review.openstack.org/#/c/415511 ... could you put the body snippets of what the resources end up looking like? Mostly just because REST changes are much easier to historically review in specs when it shows actual sample response
15:52:57 mriedem mordred: anyway, yeah a bug for not having os-used-limits documented in the api-ref would be good
15:53:10 mriedem sdague: sure
15:53:17 sdague mriedem: the spec works for me otherwise
15:53:29 openstack Launchpad bug 1654316 in OpenStack Compute (nova) "total* fields in limits example response undocumented" [Undecided,New]
15:53:29 mordred mriedem: https://bugs.launchpad.net/nova/+bug/1654316
15:54:16 mordred sdague, mriedem: while I'm bothering you - do you happen to know off the top of your head if glance/neutron have equiv limits api calls?
15:54:29 openstackgerrit Matthew Booth proposed openstack/nova: libvirt: Add create_from_image and create_from_func to Backend https://review.openstack.org/333244
15:54:49 mriedem i know they have quotas...
15:54:59 mordred yah - quotas was the only thing I found
15:55:10 mordred is there a conceptual differences between quotas and limits?
15:56:35 mriedem i don't think so...
15:56:42 mriedem the limits API gets it's values from the quotas engine
15:57:03 mriedem the only difference is that os-used-limits extension which shows how much of a given quota you're using
15:57:39 mriedem which i realize it's totally awesome that we have like 6 different APIs related to quotas,
15:57:46 mriedem probably half of which don't actually do anything, like quota classes
15:58:17 mriedem which is why i want to kill the quota classes api but jay won't let me :P
15:58:19 openstackgerrit Diana Clarke proposed openstack/nova: api-ref: use the examples with paging links https://review.openstack.org/416312
15:58:21 mordred \o/
15:58:41 mordred it's also neat that some of these are very much admin functions
15:58:51 mordred like - for neutron:
15:58:53 mordred r=c.get('/v2.0/quotas')
15:58:56 mordred keystoneauth1.exceptions.http.Forbidden: Forbidden (HTTP 403) (Request-ID: req-17d9d1a0-cf68-4e96-bbb0-362bb2f9be2e)
15:59:14 mordred you know - a user could certainly never want to know what their quota is :)
15:59:38 mriedem mordred: for neutron, there is no limits api
15:59:58 mordred yah. only quotas
16:00:07 mriedem mordred: when creating a server(s), nova gets the port quota (hard limit) and then lists ports for the project, and then does the math inside nova
16:00:09 mordred the nova limits api totally works for end user - so thank you
16:00:20 mordred mriedem: wow. that's awesome
16:00:24 mriedem mordred: yup
16:00:47 mordred mriedem: I'm so glad I came back from vacation
16:00:54 mriedem mordred: hey, at least we only ask for the port id in the response now rather than the full port body response for all of them like we used to :)
16:01:04 mriedem just to do len(ports)
16:03:18 openstackgerrit Alex Szarka proposed openstack/nova: Transform instance-exists notification https://review.openstack.org/403660
16:04:24 openstackgerrit Alex Szarka proposed openstack/nova: Transform instance.rebuild.error notification https://review.openstack.org/396621
16:08:53 johnthetubaguy mriedem: FWIW, we don't use that plugin system that macsz is looking to remove
16:09:30 johnthetubaguy mriedem: my only slight reservation is folks that use the glance file backend attached to shared storage that is also attached to all their hypervisors, no idea if anyone has ever made that work though
16:10:10 jlvillal mriedem: Just wanted to remind you to talk to jaypipes, if you haven't already on that issue from last night.
16:11:03 openstackgerrit Stephen Finucane proposed openstack/nova: console: introduce basic framework for security proxying https://review.openstack.org/345396
16:11:04 openstackgerrit Stephen Finucane proposed openstack/nova: console: introduce the VeNCrypt RFB authentication scheme https://review.openstack.org/345398
16:11:04 openstackgerrit Stephen Finucane proposed openstack/nova: console: introduce framework for RFB authentication https://review.openstack.org/345397
16:11:05 openstackgerrit Stephen Finucane proposed openstack/nova: console: provide an RFB security proxy implementation https://review.openstack.org/345399
16:14:48 dmsimard o/ I noticed that there's an entry point for wsgi_scripts with the placement api: https://github.com/openstack/nova/blob/3d45ab20457abff81be03db7a1c3780b713afde6/setup.cfg#L72-L73
16:14:58 dmsimard Could there also be one for the nova-api wsgi ?
16:16:16 openstackgerrit Alex Szarka proposed openstack/nova: Transform instance.rebuild notification https://review.openstack.org/384922
16:18:45 dmsimard Right now it's experimental (really?) and hidden in nova/wsgi/ https://github.com/openstack/nova/blob/master/nova/wsgi/nova-api.py
16:24:15 openstackgerrit Stephen Finucane proposed openstack/nova: Fix backwards compatibility for InstanceNUMACell https://review.openstack.org/396184
16:24:48 sfinucan sahid: Sweet. Any chance you could take a look at ^ again after?
16:27:48 dtp what's the best way to respond to points in gerrit reviews? should i just reply and reference the same line numbers?
16:28:36 mdbooth dtp: I might be missing some context here. You just reply directly in gerrit? The line number context is already there.
16:29:06 dtp no you are good. let me try
16:29:08 dtp thank you
16:29:59 openstackgerrit Alex Szarka proposed openstack/nova: Transform instance.rebuild.error notification https://review.openstack.org/396621
16:34:21 dansmith dtp: if you click on a line of code it will open you up the option to type, and/or hit reply on someone else's comment
16:34:45 dtp cool. thanks
16:35:32 jaypipes mriedem: mornin. what did I miss from jlvillal?
16:35:43 mriedem jaypipes: oh tons of fun
16:35:44 mriedem sec
16:35:59 mriedem jaypipes: two things, https://review.openstack.org/#/c/416810/
16:36:07 mriedem and https://review.openstack.org/#/c/416822/
16:36:26 mriedem we were over in the ironic channel debugging some scheduler/resource tracker failures for a couple of hours last night,
16:36:29 mriedem and those were the resulting fixes
16:36:52 jaypipes mriedem: ok, cool. will review right away.
16:36:56 mriedem the 401 issue was from the keystone v3 only job which has been fixed in devstack already
16:37:11 mriedem but every time the RT ran to talk to the placement API we got a 401 and weren't disabling that check
16:37:21 jaypipes I see
16:37:39 mriedem the other thing was a latent race in the scheduler host manager stuff where it picks up newly created compute nodes from the db before they have free_disk_gb set
16:37:55 jaypipes ok
16:38:20 mriedem seems we shouldn't even pull those types of compute nodes from the database in the first place, but i'm not very familiar with that host manager code
16:39:19 jaypipes mriedem: odd that the scheduler report client would affect compute_nodes.free_disk_gb, considering the scheduler report client never looks at that field.
16:39:25 mriedem it's not that
16:39:37 jaypipes I'm reading your bug report comment.
16:39:40 mriedem update_resource_stats in the scheduler report client calls compute_node.save(),
16:39:46 jaypipes right
16:39:49 mriedem jaypipes: it's probably easier to just read the commit message
16:39:58 jaypipes :) trying to do that now...
16:39:58 mriedem as the bug report is a bit scatterbrained during debug
16:43:54 sahid sfinucan: hum :/ i commented i think we can't remove that code so i would like you to remove the TODO
16:44:26 jaypipes sahid: did you see my review comment about renaming cpu_overhead to cpus_reserved?
16:44:53 sahid jaypipes: yes, yes i did not get time to do it so far
16:45:15 jaypipes sahid: no worries, just wanted to make sure it didn't get lost in the rebases and revisions :)
16:45:39 sahid no, no don't worry - i wanted to ask you if you want me to change the name only for the field or everywhere ?
16:46:28 sahid well i guess everywhere :)
16:47:28 mriedem sdague: you may also enjoy https://review.openstack.org/#/c/416810/
16:48:29 sfinucan sahid: Ugh, yeah. Whoever thought it was a good idea to put JSON in the database :( I'll do that now
16:49:54 sahid sfinucan: yes it's a particularity of the numa part
16:50:26 jaypipes mriedem: +2 on both patches. nice work with jlvillal and JayF.
16:50:34 mriedem thanks
16:50:41 JayF mriedem did most of the work
16:50:42 jaypipes sahid: yes, everywhere :)
16:50:44 JayF I just followed along in irc
16:50:46 JayF lol
16:51:07 jlvillal jaypipes: Oh I only started the conversation. mriedem and JayF did all the heavy lifting. I had to go do a 1:1 with my manager and then leave for our holiday party :)
16:51:08 openstackgerrit Matt Riedemann proposed openstack/nova-specs: Return uuid from os-aggregates API (spec) https://review.openstack.org/415511
16:51:10 mriedem sdague: added the example response ^
16:51:25 jlvillal Big thanks to mriedem and JayF :D
16:51:47 mriedem supporting me talk to myself through debugging a problem is half the battle :)
16:52:22 mriedem johnthetubaguy: want to re-apply your +2 to https://review.openstack.org/#/c/415511/ ? i just added an api response example for GET
16:52:34 openstackgerrit Jiri Suchomel proposed openstack/nova: Retry few times when creating the initial connection to libvirtd. https://review.openstack.org/416928
16:53:23 jaypipes jlvillal: holiday party definitely more important.

Earlier   Later