Earlier  
Posted Nick Remark
#openstack-nova - 2018-08-27
15:47:43 sean-k-mooney dansmith: ya i agree with that point
15:48:02 stephenfin dansmith: I thought it was because libvirt was another service, so to speak
15:48:39 mriedem stephenfin: no, it's because i shouldn't have to install libvirt to run unit tests
15:48:50 mriedem like, i don't need a vcenter installed locally to run vmware tests
15:48:51 sean-k-mooney mriedem: unit test yes
15:49:01 sean-k-mooney mriedem: fucntional test i would argue you should
15:49:21 sean-k-mooney mriedem: that is if the fucntional test is testing the libvirt driver
15:49:30 dansmith to me, our functional tests have minimal mocking so that we test large strings of nova together instead of mocking out everything above/below,
15:49:36 dansmith but they're still highly synthetic
15:49:40 sean-k-mooney mriedem: if its testing the compute manager then no. you should not need libvirt installed
15:50:36 stephenfin dansmith: Yeah, fair. Still think this is a valid fix though. Unless that particular platform couldn't even run libvirt, it's conceivable that someone using it in production would see this issue
15:51:14 dansmith stephenfin: not arguing that it's not valid
15:52:33 stephenfin "we wouldn't want a functional test to behave differently if I run it on a weird filesystem.." I figured we _would_ want it to behave differently
15:52:57 dansmith what happens if you run functional on windows?
15:53:10 sean-k-mooney stephenfin: is the filesystem logic germain to the functunality you are testing
15:53:16 stephenfin again, assuming that weird filesystem could conceivably be used in production
15:53:28 stephenfin Hmm, does libvirt work on Windows?
15:53:38 sean-k-mooney stephenfin: it can manage hyperv
15:53:44 stephenfin If not, these whole things should be marked with skipIf
15:53:55 sean-k-mooney stephenfin: not sure if it runs on windows in that case
15:53:59 dansmith stephenfin: is this using real libvirt? if not, then I'm not sure why that matters
15:54:14 stephenfin sean-k-mooney: Correction. Does nova+libvirt work on Windows?
15:55:17 sean-k-mooney stephenfin: its not support but it would proably run
15:55:43 dansmith stephenfin: are you saying that people shouldn't be able to run nova unit and functional tests of the libvirt driver on windows?
15:55:56 dansmith or any other platform where libvirt doesn't exist or is hard to get a dev environment for?
15:56:03 mriedem so i'm mostly just interested in finding out what regressed on friday
15:56:07 stephenfin dansmith: I think I am
15:56:10 stephenfin :)
15:56:11 mriedem looks like oslo.privsep 1.29 was released on thursday
15:56:16 stephenfin But I'm probably wrong
15:56:17 sean-k-mooney dansmith: well i dont think you should be able to run fuctional tests of the libvirt dirvier without libvirt.
15:56:20 mriedem so could have been a regression or something new in the library
15:56:22 dansmith because AFAIK, we're expecting the unit and functional tests to pretty much run everywhere
15:56:40 sean-k-mooney dansmith: if you can its a unit test not a functional test
15:56:41 dansmith sean-k-mooney: all of our functional tests of the libvirt driver do not use libvirt, AFAIK
15:57:09 mriedem oh heh nevermind
15:57:13 mriedem april 23, not august 23
15:57:28 dansmith sean-k-mooney: saying it another way: I don't think any of our functional tests of the libvirt driver use libvirt
15:57:37 openstackgerrit Stephen Finucane proposed openstack/nova master: privsep: Handle ENOENT when checking for direct IO support https://review.openstack.org/596815
15:58:03 stephenfin dansmith: Yeah, they don't. We have a mock/simulator or sorts written
15:58:08 sean-k-mooney dansmith: perhaps we should not consider them libvirt driver fuctional tests then anyway i think we are ratholing
15:58:08 dansmith right
15:58:17 mriedem we used to pip install libvirt-python in our unit/functional tests,
15:58:33 mriedem but turned out that certain builds of that were reporting one version but actually built against another
15:58:42 mriedem so you'd get really weird failures, like libvirt attributes not existing
15:59:39 openstack Launchpad bug 1414708 in OpenStack Compute (nova) "libvirt unit tests are failing if no real libvirt installed" [Low,Fix released] - Assigned to Matt Riedemann (mriedem)
15:59:39 mriedem https://bugs.launchpad.net/nova/+bug/1414708
16:01:15 openstackgerrit Merged openstack/nova master: Fix create_resource_provider docstring https://review.openstack.org/595453
16:03:16 mriedem stephenfin: should probably remove that url link
16:03:33 mriedem the query is in the linked bug if people care
16:03:40 stephenfin mriedem: Fair. Sec
16:05:37 openstackgerrit Stephen Finucane proposed openstack/nova master: privsep: Handle ENOENT when checking for direct IO support https://review.openstack.org/596815
16:08:21 openstackgerrit Stephen Finucane proposed openstack/nova master: tests: Validate huge pages https://review.openstack.org/399653
16:08:22 openstackgerrit Stephen Finucane proposed openstack/nova master: tests: Further simplification of test_numa_servers https://review.openstack.org/596832
17:20:03 jaypipes mnaser: you got those to work? I still can't since my mac has py3.7
17:20:41 mnaser jaypipes: pyenv has been good to me
17:20:54 mnaser pyenv shell <version> and proceed
17:21:17 mnaser it gets a bit annoying since you got to switch back and forth a few times, and you can go back to the system one using `pyenv shell system`
17:21:34 mnaser i think you can drop a .pyenv file that makes a folder use a version specifically all the time too
17:21:44 mnaser so your shell remains using 3.7 unless you're in the nova dir for example
17:22:18 mnaser btw: we deployed rocky, it seems okay so far, i'm getting it added to nodepool (and deployed in nodepool with bfv) so i'll report if anything goes up in flames
17:23:15 sean-k-mooney mnaser: when did nodepool get bfv support?
17:23:41 mnaser sean-k-mooney: i think it's been a while
17:23:56 mnaser https://review.openstack.org/#/c/596830/
17:24:29 jaypipes mnaser: interesting. hadn't heard of pyenv. thanks!
17:24:43 sean-k-mooney jaypipes: pyenv is pretty cool
17:25:18 sean-k-mooney jaypipes: its basically the python comunityes answer to what we do with tox+pbr+requirements repo
17:25:35 sean-k-mooney or am i thinking of pipenv
17:26:48 sean-k-mooney sorry yes i was thinking of pipenv
17:28:12 jaypipes sean-k-mooney: you know what's even cooler? not using a mac.
17:28:17 jaypipes :P
17:29:05 sean-k-mooney ew... i mean if i can completely unilstall osx and install windows/linux then maybe but no
17:33:04 jungleboyj melwitt: You around?
17:34:59 melwitt jungleboyj: hey
17:35:24 jungleboyj melwitt: Hey, what time Thursday morning do you want us all to get together?
17:37:32 melwitt jungleboyj: I penciled in the usual 9-11 on our ptg etherpad, not knowing what to pick. what time were you thinking?
17:37:57 jungleboyj melwitt: That is fine, That is what we have done in the past is just started the day on that.
17:38:02 jungleboyj melwitt: I will do the same for us.
17:38:11 jaypipes sean-k-mooney: well, I haven't run Windows in a long long time...
17:38:28 jaypipes sean-k-mooney: and I only have this Mac because $work forces it on me :)
17:38:43 melwitt jungleboyj: cool, sounds good
17:39:30 jungleboyj melwitt: Thanks!
17:39:47 sean-k-mooney jaypipes: i liked windows 7 an 8.1 i dont really like 10
17:41:06 sean-k-mooney jaypipes: im using linux currently but it if that is better then windows really depends on what distro your running on and the hardware its running on
17:41:55 jaypipes sean-k-mooney: ubuntu with i3wm. no gnome, no unity, no kde. none of that business.
17:43:06 sean-k-mooney jaypipes: im using pop os currently with cinnamon. i cant stand gnome
17:55:09 efried Windows hasn't gotten better since 98/NT.
17:55:18 efried just bloatier
17:58:24 cdent beta version of NT was good, after that, downhill
18:16:30 openstackgerrit Merged openstack/nova master: [placement] split gigantor SQL query, add logging https://review.openstack.org/590041
18:17:20 gryf jaypipes, sean-k-mooney small talk about desktop environments on linux, eh? :)
18:18:11 sean-k-mooney gryf: have to do something while devstack is stacking
18:18:18 gryf yeah :)
18:40:26 jaypipes gryf: :)
19:03:39 melwitt mlavalle: how does 'after lunch - 3pm on thursday' sound for neutron/nova time at the PTG?
19:04:22 melwitt TheJulia: how does '~3:30pm - 5pm on thursday' sound for ironic/nova time at the PTG?
19:32:51 TheJulia melwitt: sounds good
19:33:19 melwitt TheJulia: k, cool. there's a section at L139 on our etherpad for adding topics https://etherpad.openstack.org/p/nova-ptg-stein
19:33:33 TheJulia melwitt: awesome
19:36:02 efried kosamara: Let me know if you want me to author some content in that spec.

Earlier   Later