Earlier  
Posted Nick Remark
#openstack-nova - 2017-08-14
18:53:46 mnaser cdent https://bugs.launchpad.net/nova/+bug/1661360 is this considered resolved in master now? im asking because i am wondering if its good to drop https://github.com/openstack/puppet-nova/blob/master/manifests/wsgi/apache_api.pp#L113
18:53:47 openstack Launchpad bug 1661360 in tripleo "InstanceNotFound due to missing osapi_compute service version when running nova-api under wsgi" [Critical,Fix released]
18:54:06 cdent one sec mnaser
18:54:08 tasker is there a blueprint to support volume snapshots attached to an image-backed instance?
18:57:39 cdent mnaser: yes, it is safe to deploy under wsgi now, but it is important to use the correct app. the one that is deployed by pbr (via the wsgi_scripts entry point) is the right one. it is: nova-placement-api
18:57:52 cdent mnaser: sorry nova-api-wsgi
18:58:08 mnaser cdent https://github.com/openstack/puppet-nova/blob/master/manifests/params.pp#L52 looks like that's put in place
18:58:12 cdent there’s also one for metadata under wsgi now too: nova-metadata-wsgi
18:58:30 mnaser cdent cool! i'll remove the warning, see how puppet ci reacts to deploying via wsgi and report back if i run into anything, thank you!
18:58:44 cdent mnaser: good luck. I hope it works. it’s much better
18:59:03 mnaser cdent i've been looking forward for it since newton :p
18:59:17 cdent time moves in waves
18:59:55 melwitt tasker: do you mean just snapshotting a volume? you can already do that in cinder
19:01:13 tasker melwitt: via the createImage API call. if the instance is image-based, it does nothing with respect to any attached volumes -- it will only snapshot the volumes if the core instance is volume-backed.
19:01:29 melwitt oh, I see
19:02:02 tasker I've looked at the code up to O and seen no change to the under-lying logic. I was wondering if there's a blueprint.
19:02:11 tasker maybe someone else has the same use-case?
19:02:34 melwitt yeah, I'm not aware of any blueprints up for that. doing a quick check
19:03:20 tasker I've also done a quick look and I'm not seeing anything yet -- thought I'd ask here in case anyone knew of anything.
19:03:45 openstackgerrit Chris Dent proposed openstack/nova master: Always use application/json accept header in report client https://review.openstack.org/489772
19:03:47 melwitt understood. yeah, I haven't heard of anyone working on that
19:04:31 melwitt tasker: of course, right after I say that, I noticed this https://blueprints.launchpad.net/nova/+spec/snapshot-instance-and-volume
19:05:01 melwitt but that's from 2015 and nothing was done with it
19:06:51 efried cdent The basis for the placement-uses-ksa-adapter change: https://review.openstack.org/#/c/488137/ -- seems like you might be interested...
19:07:40 cdent efried: yup it’s in my queue but I’m totally tapped out now, been a long day, need foods. I’m probably boring enough to come back and look after dinner though
19:08:40 efried cdent Heh. No hurry, I imagine. This is for a pike bp that got pushed to queens, so I'm not sure it's likely to get approved before that bp is refreshed and reapproved.
19:15:21 tasker melwitt: good find. it at least confirms someone else has the desired use-case.
19:15:53 tasker pity it never went anywhere.
19:20:04 openstackgerrit Merged openstack/nova master: [placement] Make placement_api_docs.py failing https://review.openstack.org/480924
19:35:36 tasker melwitt: thanks for your help!
19:36:03 melwitt np
19:50:43 smcginnis Anyone around that can help with a volume detach problem?
19:51:11 smcginnis We're trying to merge a patch to update grenade for pike, but it's failing grenade.
19:51:36 smcginnis Volume created and attached with Ocata, then after it upgrades and tries to detach in Pike it fails.
19:51:55 smcginnis Nova tells cinder to begin_detaching, which places the volume status in "detaching"
19:52:08 smcginnis Then never makes it back to Cinder to do the actual detach.
19:52:23 smcginnis And grenade ends up timing out waiting for the volume state to go from detaching to available.
19:52:53 dansmith smcginnis: link?
19:53:30 smcginnis dansmith: Sorry, gotta find my tabs now. Looking...
19:53:52 smcginnis dansmith: Here is the grenade log.
19:53:54 smcginnis http://logs.openstack.org/57/493057/10/check/gate-grenade-dsvm-neutron-multinode-ubuntu-xenial/3004b34/logs/grenade.sh.txt.gz#_2017-08-14_17_21_46_226
19:54:35 smcginnis Last item here is a call to servers with a DELETE on os-volume_attachments:
19:54:38 smcginnis http://logs.openstack.org/57/493057/10/check/gate-grenade-dsvm-neutron-multinode-ubuntu-xenial/3004b34/logs/new/screen-n-api.txt.gz
19:54:42 smcginnis But nothing ever makes it down to Cinder.
19:54:56 smcginnis jgriffith, ildikov: Feel free to add more findings ^^
19:55:55 jgriffith smcginnis seems like a good enough summary; just to note that that volume_attachments is the nova route table entry, NOT Cinder attachments API
19:56:08 jgriffith that call goes; and nothing is ever actually issued to cinder, cinderclient etc
19:56:21 jgriffith at least not that I could find
19:56:49 ildikov good summary
19:57:29 oomichi toabctl: thanks, but need to update https://review.openstack.org/#/c/398308 again
19:57:59 dansmith smcginnis: so it looks like that delete call is later than the latest thing in n-cpu.log
19:58:21 dansmith the detach happens on the compute, IIRC
19:58:46 smcginnis dansmith: Check under /new
19:59:26 dansmith not much evidence of anything happening under new
20:00:41 dansmith the begin_detach happens on the api node, but the rest happens on compute
20:01:16 smcginnis dansmith: It is multinode. Not sure how that ends up in the n-cpu logs.
20:01:25 dansmith yeah I know, but
20:01:36 dansmith the new/n-cpu.log has hardly anything in it
20:02:03 openstackgerrit melanie witt proposed openstack/nova master: doc: Extend nfv feature matrix with pinning/NUMA https://review.openstack.org/327126
20:04:43 dansmith smcginnis: so the change in play here is just something against grenade right?
20:05:32 dansmith oh this is that other stack of things
20:07:36 smcginnis dansmith: Yeah, all that.
20:08:36 dansmith why are all the log files mangled with unparsed ansi?
20:08:49 dansmith and is this trying to go from pike->master or from ocata->master?
20:10:35 openstackgerrit Thomas Bechtold proposed openstack/nova master: Handle deleted instances when refreshing the info_cache https://review.openstack.org/398308
20:10:40 toabctl oomichi, done
20:13:01 oomichi toabctl: thanks, +2
20:14:39 smcginnis dansmith: I believe it's ocata>pike.
20:14:51 smcginnis dansmith: Yeah, not sure what's up with the log formatting, but it's annoying.
20:15:14 dansmith smcginnis: well, I'm just wondering if it's related.. I'm not used to seeing log files in all the places where they appear in this
20:15:36 dansmith but it definitely seems like nova-compute isn't running when this happens, or isn't listening on the right mq or something
20:18:08 smcginnis dansmith: I wonder who would know if that's normal. -qa? I hadn't noticed it before this patch either.
20:18:34 dansmith I would ask sdague, but he's on vacay for two weeks
20:18:44 dansmith mtreinish might know
20:18:47 dansmith or clarkb
20:19:08 clarkb ?
20:19:16 dansmith smcginnis: what's the point of all the patches in front of this? the one from dims has no detail
20:19:28 dansmith clarkb: we're looking at a grenade job with a weird (to me) log file layout
20:19:35 dansmith http://logs.openstack.org/57/493057/10/check/gate-grenade-dsvm-neutron-multinode-ubuntu-xenial/3004b34/logs/
20:20:03 dansmith clarkb: where we have logs at the top, and new/ and old/, and new/ has some like n-cpu logs, but for a hot minute.. basically only a gmr dump
20:20:21 dansmith clarkb: is that a recent change?
20:20:36 clarkb was this a pike -> master upgrade?
20:20:39 dansmith smcginnis: by the one from dims, I mean the one that sets conductor mode
20:20:46 dansmith clarkb: smcginnis says ocata->pike
20:21:21 smcginnis dansmith: I'm not sure on the conductor one.
20:21:39 smcginnis dansmith: But we had to do the NO_WSGI to get things even remotely working for now.
20:21:41 dims dansmith : so, ttx filed https://review.openstack.org/#/c/493057/, it did not work as-is, so i started digging in trying to "fix" things to work
20:21:52 dansmith smcginnis: well, that's the one I'd suspect for being most related to this
20:21:59 smcginnis Not sure if that's actually supported to go from non-wsgi to uwsgi in grenade.
20:22:03 clarkb dansmith: smcginnis it was pike -> master
20:22:06 clarkb http://logs.openstack.org/57/493057/10/check/gate-grenade-dsvm-neutron-multinode-ubuntu-xenial/3004b34/logs/devstack-gate-setup-workspace-old.txt.gz#_2017-08-14_16_33_08_300
20:22:13 dims y pike to master
20:22:15 clarkb so the reason the logs are weird is the journald switch
20:22:30 clarkb so now on the old side (pike) and new side (master/queens) we use journald for logs
20:22:37 smcginnis clarkb: Oh, oops. Sorry, you are right, pike-master.
20:22:54 dims dansmith : pick any of the "Depends-On" and i can try to answer from my ntoes
20:23:08 dansmith clarkb: on the old and new side we use journald? you said a second ago "the journald switch"
20:23:16 clarkb so we likely just need to cleanup things to accomodate that (so you don't see old/ and new/ screen-* logs anymore, just the top level log
20:23:19 dansmith dims: the conductor mode one
20:23:28 dansmith okay

Earlier   Later