*** bcoca has quit IRC | 03:55 | |
*** jlozadad_ has joined #ara | 06:46 | |
*** jlozadad has quit IRC | 06:47 | |
*** weshay is now known as weshay|ruck | 12:46 | |
*** bcoca has joined #ara | 12:56 | |
*** bcoca has joined #ara | 12:56 | |
ara-slack | <dbpiv> Dumb Question…. I have encountered the race condition again and I went about looking to see if I could install the dev version that had the fix (https://review.openstack.org/560998). At this point all I can seem to install is ara-0.14.7.dev27 which upon comparison of ara/models.py it doesn’t seem to have the race condition fix. I used pip install git+https://git.openstack.org/openstack/ara to install dev27, is there another option for ge | 12:56 |
---|---|---|
ara-slack | the race fix? I a manually pulled the models.py and replaced my /Library/Python/2.7/site-packages/ara/models.py and got no love. | 12:56 |
ara-slack | <dbpiv> Of course if the answer is hold on and wait for 0.15.0, then I can do that as well. | 12:56 |
*** tbielawa has joined #ara | 13:08 | |
*** jlozadad_ has quit IRC | 13:14 | |
*** jlozadad_ has joined #ara | 13:19 | |
*** openstackgerrit has quit IRC | 13:34 | |
*** jlozadad has joined #ara | 13:34 | |
*** jlozadad_ has quit IRC | 13:34 | |
*** jlozadad has quit IRC | 13:39 | |
*** jlozadad has joined #ara | 13:40 | |
*** tbielawa is now known as tbielawa|appt | 14:06 | |
*** Bakey has joined #ara | 14:26 | |
ara-slack | <dmsimard> @dbpiv hey, installing from master should definitely have the fix, it's merged in master | 15:09 |
ara-slack | <dbpiv> hmmm | 15:09 |
ara-slack | <dmsimard> Try installing in a fresh virtualenv to make sure ? | 15:09 |
ara-slack | <dbpiv> let me try to pull it again and force pip to not use cache. | 15:10 |
ara-slack | <dbpiv> same error, but now that I stare at the error it is different. I wonder if I have a different error. IntegrityError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (sqlite3.IntegrityError) UNIQUE constraint failed: files.playbook_id, files.path [SQL: u’INSERT INTO files (id, playbook_id, path, content_id, is_playbook) VALUES (?, ?, ?, ?, ?)’] [parameter | 15:12 |
ara-slack | (‘833b6cc4-669d-4429-b554-3230788ee879’, u’dde7e91d-d13a-441a-95e2-7e55c45394b4', u’/Users/dbpiv/Documents/PSFT/Ansible/StopStack.yml’, None, 1)] (Background on this error at: http://sqlalche.me/e/gkpj) | 15:12 |
ara-slack | <dbpiv> Looks like a different error. | 15:14 |
ara-slack | <dbpiv> I guess I can go delete the offending row | 15:14 |
ara-slack | <dmsimard> That's a unique constraint failure, huh, like it tried to add the same file twice for a playbook. That's odd. | 15:19 |
ara-slack | <dbpiv> what is odd is that the id doesn’t exist | 15:20 |
ara-slack | <dmsimard> Basically there shouldn't be two files with the same path for a playbook. I suppose we can try/catch this one so it's not fatal but I wonder how/where it happened | 15:20 |
ara-slack | <dmsimard> Is it just a regular playbook you're running ? Any particular things like custom strategy or stuff like that ? | 15:21 |
ara-slack | <dbpiv> regular playbook…. developing a playbook that will get a list of ids and then serially connect to the server and shutdown services owned by that id. And thus far it has not been successful, but that shouldn’t matter. | 15:22 |
ara-slack | <dmsimard> Ok I thought that perhaps there could be multithreaded confusion with the free strategy (for example) | 15:23 |
ara-slack | <dmsimard> You're using sqlite, right ? | 15:23 |
ara-slack | <dbpiv> yes on the sqlite | 15:23 |
ara-slack | <dbpiv> so is ara trying to some sort of cleanup on a failed run and thus it thinks it needs to insert this row post mortem? | 15:26 |
*** miabbott has quit IRC | 15:28 | |
dmsimard | unlikely, I'm not sure why it's stuck on that -- you run a new playbook and it fails like that ? | 15:31 |
*** miabbott has joined #ara | 15:32 | |
ara-slack | <dbpiv> if I run a different playbook, it runs as expected. I have run a few this morning. I had some early morning patching to do. | 15:34 |
*** tbielawa|appt is now known as tbielawa | 16:15 | |
dmsimard | So it's only when browsing the interface then ? | 16:21 |
ara-slack | <dbpiv> yes | 16:21 |
*** sshnaidm is now known as sshnaidm|afk | 17:17 | |
*** tbielawa is now known as tbielawa|brb | 17:24 | |
*** myoung is now known as myoung|biab | 18:06 | |
*** tbielawa|brb is now known as tbielawa | 18:07 | |
*** openstackgerrit has joined #ara | 18:35 | |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Fix the log location by using the log directory https://review.openstack.org/565558 | 18:35 |
dmsimard | hiroki: I've just tried SSL with nginx reverse proxying to the embedded web server and it appears to be working fine | 18:44 |
dmsimard | nginx config almost verbatim from ansible-role-ara: http://paste.openstack.org/show/720196/ | 18:45 |
dmsimard | so I'll merge the patch in it's current state -- I've also verified that it does not appear to negatively impact the other WSGI implementations | 18:46 |
dmsimard | I've been delaying 0.15.0 for a while and it needs to ship, if there's something else to fix, we can land it in 0.15.1 | 18:46 |
dmsimard | hiroki: https://i.imgur.com/8zHibie.png | 18:48 |
dmsimard | 0.15.0rc1 will be tagged as soon as https://review.openstack.org/#/c/484378/ lands | 18:50 |
ara-slack | <dmsimard> ^ @harlowja | 18:51 |
dmsimard | ssbarnea: ^ | 18:51 |
dmsimard | I know you two have been waiting for it for a while, sorry about that | 18:51 |
ara-slack | <harlowja> cool | 18:52 |
dmsimard | We're touching a couple of sensitive bits of code with 0.15.0 and I wanted to do my best to make sure we don't break anything | 18:53 |
dmsimard | I'll write a blog post for the changelog. | 18:53 |
ssbarnea | dmsimard: in fact what I was looking for was the offline support (plain html version). not sure if this solves that case too, but i will check. | 18:53 |
dmsimard | ssbarnea: you mean viewing from a local filesystem without a web browser ? | 18:54 |
dmsimard | er, web server | 18:54 |
ssbarnea | dmsimard: nope, i know this is broken by http safety design. but storing ara html output to a webserver. | 18:55 |
ssbarnea | normally all paths should have being relative to the main index.html one, but in my case they were not. but i suspect something specific to my setup as i got different resoults in other cases. | 18:55 |
dmsimard | ssbarnea: oh, that was the issue with the "ara generate ." right ? | 18:55 |
ssbarnea | dmsimard: exactly, generate issue. | 18:56 |
dmsimard | ssbarnea: I was never able to reproduce that issue on my end, we can fix it in a 0.15.1 hotfix if we end up figuring out the problem | 18:56 |
ssbarnea | sure, no worry. i have other pressing things i need to fix now. | 18:56 |
dmsimard | wfm | 18:56 |
dmsimard | thanks for your patience and for your three patches :) | 18:57 |
openstackgerrit | Merged openstack/ara master: Add support for custom context/application root https://review.openstack.org/484378 | 19:06 |
*** myoung|biab is now known as myoung | 19:16 | |
-dmsimard- 0.15.0rc1 is tagged and will be available on pypi shortly (install with pip install --pre ara), changelog: https://github.com/openstack/ara/releases/tag/0.15.0.0rc1 | 19:20 | |
ara-slack | <dmsimard> <here> ^ | 19:21 |
*** tbielawa is now known as tbielawa|brb | 19:49 | |
*** tbielawa|brb is now known as tbielawa | 20:19 | |
*** tbielawa has quit IRC | 20:26 | |
*** myoung is now known as myoung|biab | 20:36 | |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Fix the log location by using the log directory https://review.openstack.org/565558 | 21:06 |
*** jlozadad_ has joined #ara | 21:35 | |
*** jlozadad has quit IRC | 21:36 | |
*** jlozadad_ has quit IRC | 21:36 | |
*** jlozadad has joined #ara | 21:36 | |
*** myoung|biab is now known as myoung | 21:54 | |
*** jparrill_ has quit IRC | 22:27 | |
*** jparrill_ has joined #ara | 22:28 | |
*** jparrill_ has quit IRC | 22:48 | |
*** jparrill has joined #ara | 22:53 | |
*** jparrill has quit IRC | 22:57 | |
*** jparrill has joined #ara | 22:59 | |
*** bcoca has quit IRC | 23:29 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!