Earlier  
Posted Nick Remark
#openstack-nova - 2018-08-28
17:17:06 Tahvok Is it safe to reduce the number of conductor workers
17:17:13 Tahvok ?
17:17:37 Tahvok I'm only afraid if I would lose some data..
17:21:54 sean-k-mooney Tahvok: i belive if you want to reduce the number of workers you will need to restart the nova-conductor.
17:22:07 Tahvok sean-k-mooney: yeah, that's not the problem..
17:22:27 Tahvok Just done it, I wanted a more organized log: http://paste.openstack.org/show/Iz2EukH6oxZnmdK3OKDX/
17:22:35 sean-k-mooney if the condoctor has dequeue messages but not acked them then rabbit will keep them in the queues
17:22:56 sean-k-mooney other then that you should not loose any data
17:35:47 dansmith gdi, I can't get a running devstack to save my life
17:38:29 mriedem saml?
17:39:21 mriedem dansmith: i've heard other people reporting devstack failing b/c not being able to install pysaml
17:40:28 dansmith no, I think the problem is n-api isn't getting setup in the wsgi container,
17:40:39 dansmith so the n-api log is all kinds of missing python stuff
17:40:45 sean-k-mooney mriedem: ya had issues on centos 7 pysaml2 would not install from pip
17:40:49 dansmith hmm, maybe this is a py3 thing?
17:42:05 sean-k-mooney dansmith: if you are hitting the pysaml2 issue i have locally capped it to 4.5.0
17:42:30 sean-k-mooney 4.6.0 was complaining about direcories not existing
17:44:31 mriedem sean-k-mooney: in -dev they said you needed newer pip/setuptools
17:44:56 sean-k-mooney mriedem: devstack on centos7 keeps downgrading my pip version
17:45:19 sean-k-mooney it seams to be pinning me to pip 9.0.3
17:48:33 sean-k-mooney mriedem: i think devstack is prefering system python which is rather old on centos 7
17:49:52 sean-k-mooney that said i tought i pulled down pip directly form pypi so i dont know why im stuck on version 9
17:51:42 sean-k-mooney oh there is a tools/cap-pip.txt with pip!=8,<10
17:52:07 sean-k-mooney mriedem: did they say waht version you need?
17:54:05 dansmith sean-k-mooney: okay I deleted enough stuff to get to the saml thing
17:54:08 dansmith so what's the workaround?
17:54:39 sean-k-mooney dansmith: mine is to modify the upper-constatints file to cap it to 4.5.0
17:55:07 dansmith um modify where?
17:55:20 sean-k-mooney the other workaround would appear to be use a newer pip/setuptools but devstack caps pip to pip!=8,<10 in tools/cap-pip.txt
17:55:20 dansmith opt/requirements?
17:55:22 dansmith will that stick?
17:55:35 sean-k-mooney dansmith: yes /opt/requiremets
17:55:53 sean-k-mooney it will stick if you dont have RECLONE=Ture set
17:57:15 dansmith ack, thanks, trying
17:59:37 dansmith okay I think I'm past that point now
17:59:41 sean-k-mooney we proably should figure if we can raise the pip/setuptools version in devstack if we really do need a newer versions. that or blacklist pysaml2===4.6.0
18:23:58 openstackgerrit Merged openstack/nova master: Optimize global marker re-lookup in multi_cell_list https://review.openstack.org/594577
18:27:04 sean-k-mooney dansmith: by the way, we were talking about deleteing nova-net yesterday. just realisted that we are still blocking dropping rootwrap until nova-net is gone https://review.openstack.org/#/c/554438/
18:27:29 dansmith sean-k-mooney: aye
18:27:48 sean-k-mooney is this on the ptg techdebt section? ill add it if not
18:32:27 sean-k-mooney there my only addtiontion to the etherpad this time round. suggesting we drop cellsv1 so we can drop nova-net so we can drop oslo-rootwrap. tottally trivial and not controversial at all. at least i hope cern will agree with that else i will be sad
19:05:33 openstackgerrit Eric Fried proposed openstack/nova master: Compute: Handle reshaped provider trees https://review.openstack.org/576236
19:28:52 smcginnis Anyone aware of any known issues that would be causing this - http://logs.openstack.org/93/596493/1/check/cinder-tempest-dsvm-lvm-lio-barbican/d716acf/logs/screen-n-cpu.txt.gz#_Aug_27_14_31_35_678991
19:30:48 efried mriedem, dansmith: Didn't y'all see this the other day ^ ?
19:31:01 mriedem no it was an instance.save() when i saw it
19:32:18 smcginnis Odd that it seems to be somewhere that it kills the whole service.
19:32:25 mriedem in this case, compute is asking the cell conductor for the min nova-compute service version in that cell,
19:32:30 mriedem and timing out waiting for a reply
19:32:40 mriedem smcginnis: it's on startup of the service - init the compute rpc api
19:32:59 mriedem i wonder if nova-compute is starting before nova-cond_cell1?
19:33:09 mriedem n-cond-cell1 i mean
19:33:22 smcginnis Was just checking timestamps there.
19:33:23 openstackgerrit Eric Fried proposed openstack/nova master: Do test_reshape with an actual startup https://review.openstack.org/597218
19:33:47 mriedem n-cond-cell1 appears to be up around at least Aug 27 14:30:40.185973
19:34:03 mriedem n-cpu fails at Aug 27 14:31:35.678991
19:34:16 smcginnis Yeah, about a second ahead of the failure on another one I'm looking at too.
19:34:34 mriedem so n-cpu and n-cond-cell1 looks like they are starting at roughly the same time,
19:34:43 mriedem n-cpu starts querying n-cond-cell1 before it's fully up maybe
19:34:46 mriedem then times out
19:35:27 smcginnis Does that need to happen in __init__? Seems like maybe somewhere after where it could retry once or twice might be good.
19:36:24 mriedem doesn't probably have to no
19:36:29 mriedem we could do it in post_start_hook or something
19:36:32 mriedem not sure if it would help
19:37:15 mriedem self.compute_rpcapi is pretty much only used for inter-compute comms anyway
19:37:20 mriedem it's not used on startup
19:38:32 mriedem 2018-08-27 14:30:31.159 | + functions-common:_run_under_systemd:1482 : sudo systemctl start devstack@n-cond-cell1.service
19:38:52 mriedem 2018-08-27 14:30:32.414 | + functions-common:_run_under_systemd:1482 : sudo systemctl start devstack@n-cpu.service
19:39:19 mriedem i think using upgrade_levels=auto is relatively new in devstack, and i think i added it...
19:39:36 smcginnis I'm fine with blaming you.
19:40:01 mriedem https://github.com/openstack-dev/devstack/commit/21221d1ad1462cdcaed4d052c3324ae384b407d4
19:40:17 mriedem been there since may so not new
19:40:32 mriedem http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22_determine_version_cap%5C%22%20AND%20message%3A%5C%22MessagingTimeout%5C%22%20AND%20tags%3A%5C%22screen-n-cpu.txt%5C%22&from=7d
19:40:40 mriedem but we might not have multi-line indexing properly in this job
19:41:11 mriedem here we go http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22_determine_version_cap%5C%22%20AND%20tags%3A%5C%22screen-n-cpu.txt%5C%22&from=7d
19:41:26 mriedem smcginnis: can you report a bug for this so we can at least start tracking it in e-r?
19:41:40 melwitt internally, people have asked for retry behavior there, if nova-compute starts up before nova-conductor is available
19:41:54 melwitt I looked at it a bit but didn't see where/how we could add it
19:42:14 smcginnis OK, I'll file a bug so at least it's tracked.
19:42:31 mriedem i'd probably move it to post_start_hook,
19:42:35 mriedem add a 3-time retry on it,
19:42:41 mriedem fail if we still can't get the thing
19:42:52 mriedem threading it out doesn't help since then we can't kill the service
19:43:17 mriedem although i think you can just SIGHUP and get nova-compute back on track after n-cond-cell1 is runnign
19:43:31 mriedem i know a guy in portland that knows how all of this shit works
19:43:48 melwitt :)
19:48:24 smcginnis Lovely - launchpad timeout submitting bug.
19:49:05 openstackgerrit Eric Fried proposed openstack/nova master: reshaper gabbit: Nix comments re doubled max_unit https://review.openstack.org/597220
19:49:53 smcginnis Done - https://bugs.launchpad.net/nova/+bug/1789484
19:49:53 openstack Launchpad bug 1789484 in OpenStack Compute (nova) "n-cpu fails init on timeout calling n-cond-cell1" [Undecided,New]
19:55:53 smcginnis mriedem: This looks like it started on the 18th - http://logstash.openstack.org/#/dashboard/file/logstash.json?query=message:%5C%22_determine_version_cap%5C%22%20AND%20tags:%5C%22screen-n-cpu.txt%5C%22&from=7d
20:06:14 mriedem efried: comments and nits inline https://review.openstack.org/#/c/576236/
20:06:24 efried mriedem: ack, thx
20:06:26 mriedem smcginnis: we only save 10 days of logs
20:06:42 smcginnis Well poop
20:55:46 openstackgerrit Eric Fried proposed openstack/nova master: Fail heal_allocations if placement is borked https://review.openstack.org/597237
20:55:55 efried mriedem: ^
20:59:00 mriedem mmm, bork
21:04:51 mriedem efried: i need a retry decorator, do you remember any pros of retrying.retry over oslo's RetryDecorator?
21:05:08 efried mriedem: yeah, lemme context switch...
21:05:51 efried mriedem: I think the main advantage of retrying is: no threading.

Earlier   Later