Tuesday, 2018-02-13

*** openstackgerrit has quit IRC01:03
*** AlexeyAbashkin has joined #openstack-watcher02:21
*** AlexeyAbashkin has quit IRC02:25
*** harlowja has quit IRC03:04
*** harlowja has joined #openstack-watcher05:52
*** harlowja has quit IRC06:33
*** alexchadin has joined #openstack-watcher07:44
*** AlexeyAbashkin has joined #openstack-watcher07:48
alexchadinadisky__: hi09:05
adisky__alexchadin: hi09:05
alexchadinadisky__: how are you?09:06
adisky__alexchadin: good09:06
adisky__alexchadin: u say?? today is not friday :p09:07
alexchadinadisky__: excuse me?:)09:07
alexchadinadisky__: what are you talking about?09:08
adisky__alexchadin: ah!! nothing, last time u said you are good coz today is friday09:09
alexchadinadisky__: ah ;)09:09
alexchadinadisky__: I want to know if you plan to do it during Rocky cycle https://blueprints.launchpad.net/watcher/+spec/audit-scope-exclude-project09:09
adisky__alexchadin: yea, i have started working on it09:10
alexchadinadisky__: great!09:10
adisky__alexchadin: i was about to ask, can i propose specs for rocky??09:10
alexchadinadisky__: don't forget to submit spec first09:10
alexchadinadisky__: of course you can09:10
adisky__alexchadin: ok thanks09:10
alexchadinadisky__: most of unfinished queens blueprints will be moved to the Rocky cycle09:11
alexchadinalong with new assigned BPs09:11
alexchadinwe will prioritize it during the PTG09:11
adisky__alexchadin: ya  i have three, i think i don't need any new one this cycle :)09:12
*** alexchadin has quit IRC10:28
*** alexchadin has joined #openstack-watcher10:29
*** alexchadin has quit IRC10:32
*** alexchadin has joined #openstack-watcher10:38
*** alexchadin has quit IRC10:41
*** alexchadin has joined #openstack-watcher11:00
*** alexchadin has quit IRC11:01
*** alexchadin has joined #openstack-watcher11:36
*** mwhahaha has quit IRC11:51
*** mwhahaha has joined #openstack-watcher11:52
*** alexchadin has quit IRC12:06
*** alexchadin has joined #openstack-watcher12:06
larsksWith pike version of watcher, I am seeing the following when running the decision-engine: ERROR watcher.decision_engine.scheduling TypeError: add_node() takes exactly 2 arguments (3 given)12:38
larsksHas anyone seen that before?12:38
larsksalexchadin: ^^^^ ?12:39
alexchadinhi larsks12:39
larsksHowdy!12:39
alexchadinlet me see...12:39
larsksAlso, I was getting a "NoSuchTableError: `apscheduler_jobs`" error yesterday...I was able to work around that by *not* running create_schema, and just running "upgrade". Is that expected?12:40
alexchadinlarsks: could you please give me full log of this error?12:40
larsksalexchadin: sure, just a sec.12:40
larskshttp://termbin.com/843w12:40
larsks"watcher-decision-engine --version" tells me 1.4.2dev312:41
*** ianychoi_ has joined #openstack-watcher12:42
alexchadinwhat version of networkx do you use?12:44
alexchadinlarsks: ^12:44
larsksalexchadin: let me take a look.  I'm running watcher from a virtualenv, so in theory whatever "pip install" would get me...12:45
larsksnetworkx.__version__ says 2.112:46
*** ianychoi has quit IRC12:46
alexchadinlarsks: try to use 1.1012:47
larsksalexchadin: okay, I'll give that a shot. I have to go afk for about 30 minutes first.12:48
alexchadinlarsks: no worries, I'll try to be there12:49
larsksalexchadin: using 1.10 got rid of the error.  Should that version be pinned in requirements.txt? I see right now it's set to >=1.10.13:04
alexchadinlarsks: https://review.openstack.org/#/c/543925/13:04
alexchadinlarsks: waiting for your +1 :)13:04
larsksAwesome.13:04
alexchadinlarsks: unfortunately it happens sometime13:05
alexchadinthank you for your bug report :)13:05
larsksalexchadin: So, I ran into database problems yesterday: create_schema was creating a db schema that was missing tables (apscheduler_jobs).13:05
alexchadinlarsks: leeet me see13:05
larsksI was able to work around that by just running "upgrade" on an empty database, and that applied all the migration correctly.13:05
larsksI also noticed that the docs say run "... upgrade head", but that fails; the upgrade command wants "--revision head".  Could this be more version skew with alembic, maybe?13:06
alexchadinlarsks: it's strange since we have apscheduler migration in pike https://github.com/openstack/watcher/blob/stable/pike/watcher/db/sqlalchemy/alembic/versions/0f6042416884_add_apscheduler_jobs.py13:08
larsksYeah, I saw that. And if I run "upgrade" against the empty database, that gets applied.13:08
larsksBut if I run "create_schema" against an empty database, I get only http://termbin.com/owjd13:09
larsks(and running "upgrade" at this point does nothing)13:09
alexchadinlarsks: ah, I met to this problem some time ago!13:10
alexchadinlarsks: seems that create_schema creates only initial tables13:11
alexchadinlarsks: indeed, try to use "watcher-db-manage upgrade" instead13:12
larsksDo we even need the create_schema command? Should the docs just be updated to recommend just using upgrade?13:12
larsksI'm happy to submit a docs pr.13:12
alexchadinlarsks: I suppose we need to leave create_schema command since we want to squash all migrations to one soon13:14
alexchadinlarsks: of course, docs should be updated13:14
alexchadinlarsks: btw, I'd recommend you to try queens version :) it should be more stable and we've set gnocchi as default datasource13:15
larsksalexchadin: last question on this topic :).  The docs say to run "watcher-db-manage upgrade head", but that seems to be an invalid command (watcher-db-manage: error: unrecognized arguments: head).13:15
larsksThe db-manage command wants "upgrade --revision head".13:15
larsksalexchadin: I started with the version of watcher that's in pypi, which is ahead of pike, but still had the same problem w/ create_schema.13:16
alexchadinlarsks: which docs do you read? here's another population command: https://docs.openstack.org/watcher/pike/install/install-rdo.html13:16
larsksLet me see if I can answer that question...13:19
larsksalexchadin: you know, now I have no idea.  Neeeeeeever mind.13:21
larsksBut hey, thanks for your help!13:21
alexchadinlarsks: you're welcome!13:21
*** alexchadin has quit IRC13:45
*** alexchadin has joined #openstack-watcher13:46
*** ianychoi_ has quit IRC13:48
*** ianychoi_ has joined #openstack-watcher13:49
*** alexchadin has quit IRC14:02
*** AlexeyAbashkin has quit IRC17:38
*** harlowja has joined #openstack-watcher19:03

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!