Earlier  
Posted Nick Remark
#openstack-nova - 2018-03-13
12:40:14 openstackgerrit Surya Seetharaman proposed openstack/nova master: [WIP] Add CellMappingList.get_all_enabled() query method https://review.openstack.org/550188
12:40:15 openstackgerrit Surya Seetharaman proposed openstack/nova master: [WIP] Add disabled column to cell_mappings table. https://review.openstack.org/552505
12:43:06 openstackgerrit Surya Seetharaman proposed openstack/nova master: [WIP] Bump versions of objects dependent on CellMapping https://review.openstack.org/550432
12:52:21 openstackgerrit Bence Romsics proposed openstack/osc-placement master: WIP Do not depend on jenkins user in devstack gate https://review.openstack.org/552476
12:57:52 openstackgerrit Surya Seetharaman proposed openstack/nova-specs master: Support disabling a cell https://review.openstack.org/546684
13:10:52 openstackgerrit sahid proposed openstack/nova master: libvirt: slow live-migration to ensure network is ready https://review.openstack.org/497457
13:11:47 HW-Peter hey
13:12:12 HW-Peter is there a way to regenerate the libvirt config file for an active instance using the API, without recreating the instnace?
13:12:41 openstackgerrit Merged openstack/nova master: Fix N358 hacking check https://review.openstack.org/547670
13:12:51 openstackgerrit Merged openstack/nova master: Remove old flavor_access_get_by_flavor_id db api method https://review.openstack.org/539700
13:13:12 openstackgerrit Merged openstack/nova master: Make the InstanceMapping marker UUID-like https://review.openstack.org/539323
13:26:12 edleafe cdent: my gabbi-fu is weak these days. Is there a way to use a UUID defined in the fixture in a URL call? E.g.: GET /allocation_candidates?member_of=$ENVIRON['AGG1_UUID']
13:26:51 cdent yeah, pretty much just like that
13:27:16 cdent the fixture needs to set the environ (it does a few of those already)
13:27:33 edleafe cdent: ok, wasn't sure where the substitutions were allowed
13:27:52 cdent pretty much anywhere on the right hand side
13:27:54 sean-k-mooney cdent: no mather how many times i see it in opnestack code it still amuses me we use environ for things like this
13:28:53 cdent sean-k-mooney: it comes out of the fact that gabbi is capable of being used for running tests from any language (using gabbi-runner, the cli) and the environ is sort of the universal thing
13:29:11 cdent edleafe: you can do left hand subs in response_json_paths
13:29:28 cdent https://gabbi.readthedocs.io/en/latest/format.html#substitution
13:29:49 openstackgerrit Bence Romsics proposed openstack/osc-placement master: WIP Do not depend on jenkins user in devstack gate https://review.openstack.org/552476
13:30:28 HW-Peter if an instance had it's libvirt xml file deleted, is there a way to regenerate it?
13:32:40 openstackgerrit Merged openstack/nova master: Transform servergroup.addmember notification https://review.openstack.org/541101
13:32:48 openstackgerrit Merged openstack/nova master: conf: Remove deprecated 'allow_instance_snapshots' opt https://review.openstack.org/499621
13:36:35 edleafe cdent: thanks; I got that part. I wasn't sure if putting them in the URL was allowed
13:37:15 cdent yeah, from gabbi's perspective (at that stage) it is just a string
13:47:38 tblakes gibi: In the case where a deploy fails with NoValidHost, do you know where the notification is sent out that the deploy failed with that exception? Was that changed at all in the queens release?
13:54:15 openstackgerrit Matthew Booth proposed openstack/nova master: Avoid redundant initialize_connection on source post live migration https://review.openstack.org/551302
13:55:08 openstackgerrit Matthew Booth proposed openstack/nova master: Avoid redundant initialize_connection on source post live migration https://review.openstack.org/551302
13:56:19 openstackgerrit Bence Romsics proposed openstack/osc-placement master: Do not depend on jenkins user in devstack gate https://review.openstack.org/552476
13:58:27 stephenfin gibi: Fancy sending these on their merry way? https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:master+topic:crypto-cleanup
13:58:57 openstackgerrit Surya Seetharaman proposed openstack/nova master: Marker reset option for nova-manage map_instances https://review.openstack.org/539501
13:59:40 gibi stephenfin: I will do that shortly
13:59:56 gibi tblakes: let me dig out
14:00:29 edleafe cdent: no, I guess you can't put an ENVIRON value in the URL. I tried, and the call was rejected as invalid, with this output: u'member_of': u'$ENVIRON[AGGA_UUID]'
14:00:51 edleafe cdent: Any other ideas?
14:01:04 edleafe cdent: I'd really rather not hardcode UUIDs into the tests
14:01:14 cdent you can do it, so there's something else wrong
14:01:23 cdent are you working in a new file, or an existing one?
14:01:41 gibi tblakes: is this about the preemptible instances feature?
14:01:42 edleafe existing
14:01:58 cdent which fixture did you set your eviron in? is it liste in fixtures: at the top of the yaml file?
14:02:18 gibi tblakes: if yes then I summarized what we have today in notifications in the nova rocky etherpad https://etherpad.openstack.org/p/nova-ptg-rocky starting at L470
14:02:40 lennyb Hi, I have nova instance stuck in 'deleting' after trying to deploy it with ironic. nova force-delete is not working as well. I am working with master branches. Any ideas how to solve this?
14:02:42 edleafe yeah - I'm adding tests to the allocation-candidates.yaml GABBIT
14:02:56 edleafe eek! capslock!
14:04:27 cdent edleafe: It's hard for me to guess, if you wanna push or paste I can look
14:04:55 edleafe cdent: ok, gimme a few
14:05:48 tblakes gibi: No this isn't about preemptible instances. I'm just wondering about the basic case where a VM deploy fails with NoValidHost. I haven't been able to find where that failure notification should get sent out.
14:09:24 gibi tblakes: searching the code...
14:14:15 edleafe cdent: ok, flase alarm. A missing quote mark was the culprit. The output made me think that gabbi didn't substitute the value
14:14:22 edleafe false alarm, even
14:14:41 gibi tblakes: I think this is the place https://github.com/openstack/nova/blob/107ad403d46c9d6961c5b15c68df0fa24014a832/nova/conductor/manager.py#L588
14:15:02 gibi tblakes: this emits the legacy compute_task.build_instances notification
14:15:14 gibi tblakes: example of the payload is here http://paste.openstack.org/show/688874/
14:15:46 cdent edleafe: if you see the original string in the error output it can only be two thing: the sub couldn't happen because it wasn't able to be parsed as a sub (your case?) or it was parseable but the info couldn't be retrieved (the environ is not set)
14:16:04 gibi tblakes: transformation of that legacy notification is still ongoing in https://review.openstack.org/#/c/482629/
14:16:12 cdent in the former case we can't error that the sub didn't happen because gabbi doesn't know it was supposed to be a sub
14:16:38 gibi tblakes: I don't know about any change around these code path in Queens
14:17:58 gibi tblakes: at least not for the notification
14:20:06 edleafe cdent: makes sense
14:20:22 edleafe cdent: now I'm down to debugging sqla failures. Joy!
14:21:41 tblakes gibi: Thanks for pointing me to the code in build_instances!
14:21:46 gibi stephenfin: about the crypto removal patches, is this a followup of the bp remove-nova-cert
14:22:05 gibi stephenfin: or how we ended up with so many dead code?
14:22:27 gibi tblakes: no problem, I'm happy to help
14:26:19 kashyap johnthetubaguy: Thanks for review here: https://review.openstack.org/#/c/534384/. Just reading through
14:27:39 kashyap johnthetubaguy: A quick note on the name: `cpu_model_extra_flags`. I used the term 'flags' there because, all these extra features are enumerated under 'flags' when you run `cat /proc/cpuinfo`
14:28:04 kashyap But anyway; that's relatively minor :-). I'll get to the rest of the core changes first
14:28:12 johnthetubaguy kashyap: ah, got you, I could go either way
14:28:16 johnthetubaguy cool
14:29:33 kashyap Thanks
14:32:05 openstackgerrit Eric Fried proposed openstack/nova-specs master: Allow for merging traits and aggregates https://review.openstack.org/552122
14:32:53 SamYaple i cant seem to find this information online, but assuming i have multiple cellv2 cells, can an instance migrate (or preferably live-migration) between the cells?
14:36:26 stephenfin gibi: I'm not really sure. I spotted it by chance and realized I could go delete it all
14:36:48 gibi stephenfin: meanwhile I checked and I think nova-cert was the last user
14:37:01 gibi stephenfin: anyhow seems safe to remove
14:37:13 stephenfin gibi: Good to hear :)
14:43:19 gibi stephenfin: I've sent all 3 patches to the gate
14:43:32 stephenfin gibi: Excellent. Thank you :)
14:43:48 gibi stephenfin: going back to reading your mypy example :)
14:49:56 openstackgerrit Nguyen Hai proposed openstack/nova-specs master: Enhance nova-specs repo and webpage https://review.openstack.org/551802
14:51:28 jaypipes stephenfin: will be 4 mins late to nmeetubg
14:51:31 jaypipes meeting
14:54:37 openstackgerrit Ed Leafe proposed openstack/nova master: Add 'member_of' param to GET /allocation_candidates https://review.openstack.org/552098
14:55:20 dansmith edleafe: oh that reminds me you pinged me yesterday during a meeting and I forgot
14:55:56 edleafe dansmith: if your sqla-fu is strong, I need to find out why the added join isn't working
14:56:02 edleafe jaypipes ^^
14:56:28 dansmith it's weak, but let me look over it
14:56:36 edleafe Speaking of meetings... off I go into that black hole..
14:56:43 dansmith edleafe: I don't think you need to make this patch depend on any of mine
14:56:49 dansmith it can go in straight away
14:58:38 edleafe dansmith: sure, I can switch that
14:58:54 tssurya dansmith : mriedem gave his blessings on https://review.openstack.org/#/c/546684/ ; whenever you have the time could you please circle back for your re-approval ?
14:59:18 dansmith tssurya: I saw, it's in my queue
14:59:38 tssurya dansmith: thank you
15:00:15 dansmith edleafe: yeah that join is over my head for sure
15:03:08 edleafe dansmith: I was trying to follow the "join chain" logic in the rest of the code, but sqla doesn't like the "in" clause, it seems
15:03:40 dansmith edleafe: and member_of is a list of strings yeah?
15:04:11 edleafe dansmith: yep

Earlier   Later