Earlier  
Posted Nick Remark
#openstack-nova - 2017-01-18
15:37:54 markus_z adreznec: Ah, ok, makes sense. I'll simply start so as well. Thanks!
15:38:26 adreznec markus_z: Np, if you have any issues I can help with let me know
15:42:00 cdent edleafe, bauzas, jaypipes: I'm going to be on PTO tomorrow and friday, so if an rp/placement update is desired if someone could do it that would be great. Otherwise I'll pick it back up next week.
15:42:39 edleafe cdent: roger that
15:47:18 bauzas cdent: ack
15:48:09 openstack bug 1646896 in OpenStack Compute (nova) "System hangs when using NFS storage backend with loopback mounts" [Low,Confirmed] https://launchpad.net/bugs/1646896
15:48:09 openstackgerrit Mihail proposed openstack/nova: proposed fix for bug 1646896 - System hangs when using NFS storage backend with loopback mounts https://review.openstack.org/422041
15:48:15 EmilienM cdent: wait wait wait
15:48:23 EmilienM cdent: you're going on PTO? no please
15:48:25 openstackgerrit Vladik Romanovsky proposed openstack/nova: Adding vlans filed to Device tagging metadata https://review.openstack.org/405951
15:48:34 cdent EmilienM: just for two days
15:48:51 cdent and I'm still here for another few hours today
15:49:03 cdent because you said please
15:49:03 cdent for you in particular
15:49:13 bauzas EmilienM, cdent: I missed today's discussion
15:49:22 bauzas anything I need to look at ?
15:49:31 openstack Launchpad bug 1657467 in tripleo "placement: unable to refresh compute resource provider record" [High,Triaged]
15:49:31 EmilienM bauzas: https://bugs.launchpad.net/tripleo/+bug/1657467
15:49:45 EmilienM cdent: ♥
15:49:55 markus_z aww
15:50:07 markus_z ;)
15:50:44 bauzas EmilienM: not sure I understand correctly, do we have the placement service running yet in TripleO?
15:51:25 EmilienM bauzas: yes
15:51:30 kashyap markus_z: Hey there
15:51:37 EmilienM bauzas: but placement api doesn't start because compute can't register the resource
15:51:38 markus_z kashyap: hey ho
15:51:50 EmilienM bauzas: it worked 5 days ago and now it's failing to register
15:51:59 kashyap markus_z: So...Michele has pinged on email about this review (https://review.openstack.org/#/c/313568/ -- Plugin to setup libvirt/QEMU from tar releases)
15:52:11 kashyap markus_z: I know you gave some feedback in December
15:52:19 bauzas EmilienM: the line before litterally means something went wrong with keystone
15:52:35 markus_z kashyap: uh oh spaghettio, another proof that I'm a lazy ass
15:52:39 EmilienM bauzas: with cdent, we're trying to figure if keystone resources are correctly created, but I doubt this is the issue. Keystone resources for placement have been here for a while and they work
15:52:39 bauzas ie. keystone giving you back a 401
15:52:43 kashyap markus_z: No, no, you're not!
15:52:50 markus_z ;)
15:52:57 kashyap markus_z: I'm actually burnt looking at it, as it's been dragged for over a year
15:53:00 EmilienM bauzas: that's what log says, not sure it's true.
15:53:10 kashyap (It is spun off from a different review.)
15:53:17 EmilienM bauzas: the keystone resources are ready *after* compute service starts
15:53:30 kashyap markus_z: I think Michele should engage in IRC here if he really wants it in, and solicit feedback, and answer questions in real-time
15:53:36 EmilienM bauzas: dansmith fixed the issue by adding a loop, it worked but now it fails to register in the loop
15:53:38 bauzas EmilienM: mmm, okay
15:53:46 kashyap Too much lag via email I feel.
15:53:58 bauzas EmilienM: yeah, exactly, we changed from a try-once into a recheck
15:54:10 bauzas okay, so it would fail once but works after that
15:54:26 markus_z kashyap: Want me to have a look at it?
15:55:18 kashyap markus_z: If you have time, sure. But I am willing to test it and see what falls through. Just spinning up a new DevStack env with this patch on my slow test machine next to me
15:55:40 EmilienM bauzas: yes, it should (and it did a few days ago) work when puppet creates keystone resources for placement (service, endpoint, etc)
15:55:57 EmilienM bauzas: in a few min, I'll have output of keystone resources
15:56:05 kashyap markus_z: But if you have other priority things, feel free to ignore it. Because, if the submitter like to get this merged, they should engage more actively as well
15:56:11 bauzas EmilienM: what looks weird to me is that we don't have "Updated inventory" logs in http://logs.openstack.org/66/421366/1/check/gate-puppet-openstack-integration-4-scenario004-tempest-centos-7/f138bcc/logs/nova/nova-compute.txt.gz#_2017-01-17_17_32_39_092
15:56:14 markus_z kashyap: I put it on my todo list for tomorrow.
15:56:45 markus_z kashyap: TBH, having a test job for that is far too long on my todo list but I tabled it week after week. :-/
15:56:49 kashyap Sure. markus_z - Just a heads-up: Tomorrow I'll only be working til 13 CET. Then I'll be AFK, travelling the whole day
15:56:57 bauzas EmilienM: just a brief explanation, we basically cache the list of RPs we create in a memory object to reduce the number of HTTP calls
15:57:13 markus_z kashyap: cool, no biggie
15:57:15 kashyap markus_z: You're not alone in feeling that guilt, I know it all too well
15:57:15 bauzas EmilienM: the log you mention is because we can't find the mapping in the cache for the RP
15:57:46 bauzas EmilienM: if the cache key corresponding to the compute is not found, that's probably because we failed updating the placement service, hence that log
15:58:04 bauzas EmilienM: if we would update that placement service, we put the result in the cach
15:58:06 bauzas cache
15:59:11 EmilienM bauzas: what could cause this mapping failing?
16:00:18 bauzas EmilienM: excellent question
16:00:25 mriedem melwitt: so on this auto-register thing for cells, i just remembered that nova-compute actually does already make calls to nova-api https://github.com/openstack/nova/blob/045f08ab8a57b90b00e4777ca71a20b5603c296c/nova/compute/manager.py#L6421
16:00:27 bauzas EmilienM: that I'm trying to answer by looking at the logs
16:00:38 mriedem not even through rpc
16:01:21 bauzas EmilienM: mmmm http://logs.openstack.org/66/421366/1/check/gate-puppet-openstack-integration-4-scenario004-tempest-centos-7/f138bcc/logs/nova/nova-compute.txt.gz#_2017-01-17_17_31_39_862
16:01:46 EmilienM bauzas: I think this one is because the keystone resources are not created yet
16:02:02 EmilienM bauzas: let's see timestamps, gimme a sec
16:02:27 EmilienM http://logs.openstack.org/66/421366/1/check/gate-puppet-openstack-integration-4-scenario004-tempest-centos-7/f138bcc/logs/nova/nova-compute.txt.gz#_2017-01-17_17_31_39_862
16:02:45 EmilienM so puppet managed keystone resources at 17h33 but nova compute tries to reach them at 17h31
16:02:57 melwitt mriedem: looking ... compute/api will call the rpcapi next though
16:03:12 EmilienM bauzas: nova compute should retry later no?
16:03:32 bauzas EmilienM: I'm verifying that
16:03:48 bauzas in theory, we auto-heal every 60 secs
16:04:18 EmilienM even if we could say "tell puppet to create keystone resource BEFORE starting nova compute", this is odd and nova-compute should retry later
16:04:41 melwitt mriedem: I don't think that's calling nova-api though, is it? self.compute_api is an interface to making that rpc call, which will I guess just call the same nova-compute
16:04:48 bauzas EmilienM: we do
16:05:11 bauzas EmilienM: ie. the failing trace I showed you comes from a method that is running every 60 secs
16:05:15 openstackgerrit Artom Lifshitz proposed openstack/nova: Plumbing for tagged nic attachment https://review.openstack.org/415622
16:05:16 openstackgerrit Artom Lifshitz proposed openstack/nova: Plumbing for tagged volume attachment https://review.openstack.org/391941
16:05:16 openstackgerrit Artom Lifshitz proposed openstack/nova: Libvirt support for tagged volume attachment https://review.openstack.org/418100
16:05:17 openstackgerrit Artom Lifshitz proposed openstack/nova: API support for tagged device attachment https://review.openstack.org/376021
16:05:18 openstackgerrit Artom Lifshitz proposed openstack/nova: Libvirt support for tagged nic attachment https://review.openstack.org/415520
16:05:23 bauzas EmilienM: and that method is creating the RP in memory
16:05:50 bauzas EmilienM: but I'm trying to identify all the workflow
16:06:00 bauzas so we could possibly have missed something
16:06:06 bauzas in case keystone is back after a flip
16:06:15 bauzas s/flip/blip
16:10:31 openstackgerrit Vasyl Saienko proposed openstack/nova: Ensure we mark baremetal links as phy links https://review.openstack.org/422068
16:10:31 openstackgerrit Vasyl Saienko proposed openstack/nova: Support Ironic interface attach/detach in nova virt https://review.openstack.org/364413
16:12:58 bauzas EmilienM: I got a shit ton of "placement API endpoint not found" even after keystone is started http://logs.openstack.org/66/421366/1/check/gate-puppet-openstack-integration-4-scenario004-tempest-centos-7/f138bcc/logs/nova/nova-compute.txt.gz#_2017-01-17_17_38_02_282
16:13:14 markus_z adreznec: I think I have it up and running http://nova-dpm.readthedocs.io/en/latest/ Thanks again for your time!
16:13:26 bauzas EmilienM: correct me if I'm wrong but you told me that keystone is ready by 17:35 ?
16:13:47 bauzas oh, even 17:33
16:13:49 bauzas "(17:02:45) EmilienM: so puppet managed keystone resources at 17h33 but nova compute tries to reach them at 17h31"
16:13:56 bauzas that's... weird
16:14:09 adreznec markus_z: Awesome, looks good!
16:14:15 bauzas EmilienM: because it seems we litterally fail to find the correct endpoint even after that
16:14:17 openstackgerrit Eric Fried proposed openstack/nova: WIP(2): Introduce base PowerVM driver (disk drv) https://review.openstack.org/409401

Earlier   Later