*** openstackgerrit_ has quit IRC | 00:23 | |
*** openstackgerrit_ has joined #openstack-solar | 00:24 | |
*** openstackgerrit_ has quit IRC | 00:48 | |
*** openstackgerrit_ has joined #openstack-solar | 00:49 | |
*** angdraug has quit IRC | 01:12 | |
*** tzn_ has quit IRC | 01:45 | |
*** tzn has joined #openstack-solar | 02:16 | |
*** tzn has quit IRC | 05:55 | |
*** tzn has joined #openstack-solar | 05:55 | |
*** evgenyl has quit IRC | 05:56 | |
*** evgenyl has joined #openstack-solar | 06:02 | |
*** openstackgerrit_ has quit IRC | 06:17 | |
*** openstackgerrit_ has joined #openstack-solar | 06:17 | |
*** evgenyl has quit IRC | 07:10 | |
*** evgenyl has joined #openstack-solar | 07:21 | |
*** dshulyak has joined #openstack-solar | 07:31 | |
*** evgenyl has quit IRC | 07:47 | |
*** evgenyl has joined #openstack-solar | 07:54 | |
*** salmon_ has joined #openstack-solar | 08:05 | |
mkwiek | hi guys, did you ever get this kind of error while running test? I am trying to run tests in docker container via dox (https://github.com/openstack/dox) and I keep getting this error: http://paste.openstack.org/show/490103/ | 08:36 |
---|---|---|
pigmej | hmm | 09:05 |
pigmej | sqlite | 09:05 |
pigmej | change sqlite to something different | 09:05 |
pigmej | because probably you run it from docker container | 09:06 |
pigmej | mkwiek: generally you can't easily use sqlite in container | 09:17 |
pigmej | in the same time when you want to access it from non container/another container | 09:18 |
salmon_ | pigmej: how is this error connected to using sqlite in container? | 09:20 |
pigmej | salmon_: simple | 09:20 |
pigmej | cursor.execute('PRAGMA %s = %s;' % (pragma, value)) | 09:20 |
pigmej | it's SQLITE pragma | 09:20 |
pigmej | and because I know that mkwiek is fighting with containers, then I assumed that it's in container :) | 09:20 |
salmon_ | I know, but why sqlite would fail in container? | 09:20 |
pigmej | simple | 09:20 |
pigmej | if you use the same sqlite in and outside | 09:21 |
pigmej | it crashes | 09:21 |
pigmej | because sqlite requires W access to 3 files | 09:21 |
salmon_ | in and outside? | 09:21 |
pigmej | in conatiner and outside container | 09:21 |
pigmej | mkwiek: is trying to start some tests in container | 09:21 |
pigmej | so I suppose that sqliet was initialized outside container, then sqlite tried to start ANOTHER db in the same path in container | 09:22 |
salmon_ | but all commands are run in container | 09:22 |
salmon_ | what is run oiutside? | 09:22 |
pigmej | well | 09:23 |
pigmej | the same wil happen if you have 2 containers :) | 09:24 |
pigmej | sqlite creates 3 files, db, shm and lock afair | 09:26 |
pigmej | db file can be shared, shm can't be | 09:26 |
*** tzn has quit IRC | 09:28 | |
*** tzn has joined #openstack-solar | 09:28 | |
pigmej | also salmon_ this is my prediction :) | 09:31 |
salmon_ | pigmej: everything is run in one container :P | 09:33 |
pigmej | still, change sqlite to somtehing different | 09:33 |
pigmej | salmon_: maybe run, but if solar is imported outside then it's also 'ran' outside one container | 09:34 |
salmon_ | mkwiek: how do you run it? | 09:40 |
pigmej | he's offline it seems :P | 09:45 |
mkwiek | salmon_: turned out tox runs fine, but py.test gives me this error | 09:58 |
mkwiek | even if I am not running this in container | 09:58 |
salmon_ | mkwiek: oh | 10:00 |
salmon_ | pigmej: ^ :P | 10:00 |
-openstackstatus- NOTICE: Gerrit is going to be restarted due to bad performance | 10:54 | |
*** ChanServ changes topic to "Gerrit is going to be restarted due to bad performance" | 10:54 | |
*** ChanServ changes topic to "#openstack-solar" | 11:00 | |
-openstackstatus- NOTICE: Gerrit has been restarted successfully | 11:00 | |
mkwiek | what credentials does solar use to access Postgres db? | 11:09 |
salmon_ | where>? | 11:10 |
salmon_ | mkwiek: where? On vagrant solar:solar | 11:10 |
mkwiek | thanks | 11:11 |
*** dshulyak has quit IRC | 11:20 | |
*** dshulyak has joined #openstack-solar | 11:37 | |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Rework staging procedure to support both implicit and explicit stages https://review.openstack.org/291675 | 11:50 |
salmon_ | mkwiek: btw. dox worked for me with this config: https://bpaste.net/show/2f9996ad5c7f and run like this: dox --user-map root:0:0 | 12:00 |
mkwiek | salmon_: thanks, I will check this out! I tried to run tests directly with py.test for some reason, maybe it will work better | 12:07 |
mkwiek | salmon_: do you know what causes NoMatches error: http://paste.openstack.org/show/490151/ ? | 13:31 |
*** bogdando has joined #openstack-solar | 13:33 | |
salmon_ | mkwiek: I've never seen it before. dshulyak ^ | 14:42 |
dshulyak | entrypoint is not found | 14:50 |
dshulyak | mkwiek: are u ure that solar is installed? | 14:51 |
*** dshulyak has quit IRC | 17:03 | |
*** dshulyak has joined #openstack-solar | 17:24 | |
*** dshulyak has quit IRC | 17:29 | |
*** dshulyak has joined #openstack-solar | 17:42 | |
*** dshulyak has quit IRC | 20:12 | |
*** dshulyak has joined #openstack-solar | 21:05 | |
*** dshulyak has left #openstack-solar | 22:00 | |
*** salmon_ has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!