*** openstackgerrit has quit IRC | 01:03 | |
*** AlexeyAbashkin has joined #openstack-watcher | 02:21 | |
*** AlexeyAbashkin has quit IRC | 02:25 | |
*** harlowja has quit IRC | 03:04 | |
*** harlowja has joined #openstack-watcher | 05:52 | |
*** harlowja has quit IRC | 06:33 | |
*** alexchadin has joined #openstack-watcher | 07:44 | |
*** AlexeyAbashkin has joined #openstack-watcher | 07:48 | |
alexchadin | adisky__: hi | 09:05 |
---|---|---|
adisky__ | alexchadin: hi | 09:05 |
alexchadin | adisky__: how are you? | 09:06 |
adisky__ | alexchadin: good | 09:06 |
adisky__ | alexchadin: u say?? today is not friday :p | 09:07 |
alexchadin | adisky__: excuse me?:) | 09:07 |
alexchadin | adisky__: what are you talking about? | 09:08 |
adisky__ | alexchadin: ah!! nothing, last time u said you are good coz today is friday | 09:09 |
alexchadin | adisky__: ah ;) | 09:09 |
alexchadin | adisky__: I want to know if you plan to do it during Rocky cycle https://blueprints.launchpad.net/watcher/+spec/audit-scope-exclude-project | 09:09 |
adisky__ | alexchadin: yea, i have started working on it | 09:10 |
alexchadin | adisky__: great! | 09:10 |
adisky__ | alexchadin: i was about to ask, can i propose specs for rocky?? | 09:10 |
alexchadin | adisky__: don't forget to submit spec first | 09:10 |
alexchadin | adisky__: of course you can | 09:10 |
adisky__ | alexchadin: ok thanks | 09:10 |
alexchadin | adisky__: most of unfinished queens blueprints will be moved to the Rocky cycle | 09:11 |
alexchadin | along with new assigned BPs | 09:11 |
alexchadin | we will prioritize it during the PTG | 09:11 |
adisky__ | alexchadin: ya i have three, i think i don't need any new one this cycle :) | 09:12 |
*** alexchadin has quit IRC | 10:28 | |
*** alexchadin has joined #openstack-watcher | 10:29 | |
*** alexchadin has quit IRC | 10:32 | |
*** alexchadin has joined #openstack-watcher | 10:38 | |
*** alexchadin has quit IRC | 10:41 | |
*** alexchadin has joined #openstack-watcher | 11:00 | |
*** alexchadin has quit IRC | 11:01 | |
*** alexchadin has joined #openstack-watcher | 11:36 | |
*** mwhahaha has quit IRC | 11:51 | |
*** mwhahaha has joined #openstack-watcher | 11:52 | |
*** alexchadin has quit IRC | 12:06 | |
*** alexchadin has joined #openstack-watcher | 12:06 | |
larsks | With 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 |
larsks | Has anyone seen that before? | 12:38 |
larsks | alexchadin: ^^^^ ? | 12:39 |
alexchadin | hi larsks | 12:39 |
larsks | Howdy! | 12:39 |
alexchadin | let me see... | 12:39 |
larsks | Also, 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 |
alexchadin | larsks: could you please give me full log of this error? | 12:40 |
larsks | alexchadin: sure, just a sec. | 12:40 |
larsks | http://termbin.com/843w | 12:40 |
larsks | "watcher-decision-engine --version" tells me 1.4.2dev3 | 12:41 |
*** ianychoi_ has joined #openstack-watcher | 12:42 | |
alexchadin | what version of networkx do you use? | 12:44 |
alexchadin | larsks: ^ | 12:44 |
larsks | alexchadin: let me take a look. I'm running watcher from a virtualenv, so in theory whatever "pip install" would get me... | 12:45 |
larsks | networkx.__version__ says 2.1 | 12:46 |
*** ianychoi has quit IRC | 12:46 | |
alexchadin | larsks: try to use 1.10 | 12:47 |
larsks | alexchadin: okay, I'll give that a shot. I have to go afk for about 30 minutes first. | 12:48 |
alexchadin | larsks: no worries, I'll try to be there | 12:49 |
larsks | alexchadin: 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 |
alexchadin | larsks: https://review.openstack.org/#/c/543925/ | 13:04 |
alexchadin | larsks: waiting for your +1 :) | 13:04 |
larsks | Awesome. | 13:04 |
alexchadin | larsks: unfortunately it happens sometime | 13:05 |
alexchadin | thank you for your bug report :) | 13:05 |
larsks | alexchadin: So, I ran into database problems yesterday: create_schema was creating a db schema that was missing tables (apscheduler_jobs). | 13:05 |
alexchadin | larsks: leeet me see | 13:05 |
larsks | I was able to work around that by just running "upgrade" on an empty database, and that applied all the migration correctly. | 13:05 |
larsks | I 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 |
alexchadin | larsks: 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.py | 13:08 |
larsks | Yeah, I saw that. And if I run "upgrade" against the empty database, that gets applied. | 13:08 |
larsks | But if I run "create_schema" against an empty database, I get only http://termbin.com/owjd | 13:09 |
larsks | (and running "upgrade" at this point does nothing) | 13:09 |
alexchadin | larsks: ah, I met to this problem some time ago! | 13:10 |
alexchadin | larsks: seems that create_schema creates only initial tables | 13:11 |
alexchadin | larsks: indeed, try to use "watcher-db-manage upgrade" instead | 13:12 |
larsks | Do we even need the create_schema command? Should the docs just be updated to recommend just using upgrade? | 13:12 |
larsks | I'm happy to submit a docs pr. | 13:12 |
alexchadin | larsks: I suppose we need to leave create_schema command since we want to squash all migrations to one soon | 13:14 |
alexchadin | larsks: of course, docs should be updated | 13:14 |
alexchadin | larsks: btw, I'd recommend you to try queens version :) it should be more stable and we've set gnocchi as default datasource | 13:15 |
larsks | alexchadin: 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 |
larsks | The db-manage command wants "upgrade --revision head". | 13:15 |
larsks | alexchadin: 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 |
alexchadin | larsks: which docs do you read? here's another population command: https://docs.openstack.org/watcher/pike/install/install-rdo.html | 13:16 |
larsks | Let me see if I can answer that question... | 13:19 |
larsks | alexchadin: you know, now I have no idea. Neeeeeeever mind. | 13:21 |
larsks | But hey, thanks for your help! | 13:21 |
alexchadin | larsks: you're welcome! | 13:21 |
*** alexchadin has quit IRC | 13:45 | |
*** alexchadin has joined #openstack-watcher | 13:46 | |
*** ianychoi_ has quit IRC | 13:48 | |
*** ianychoi_ has joined #openstack-watcher | 13:49 | |
*** alexchadin has quit IRC | 14:02 | |
*** AlexeyAbashkin has quit IRC | 17:38 | |
*** harlowja has joined #openstack-watcher | 19:03 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!