/srv/irclogs.ubuntu.com/2015/06/17/#launchpad-dev.txt

maozhou_cjwatson: in the file of  "configs/development/launchpad-lazr.conf",  the path of  "error_dir“ is ”/var/tmp/lperr",but I can't find the folder "/var/tmp/lperr" ,why?01:35
maozhou_cjwatson:and I can‘t find any file like “OOPS....”01:37
=== anthonyf is now known as Guest33778
maozhou_cjwatson: in the file of  "configs/development/launchpad-lazr.conf",  the path of  "error_dir“ is ”/var/tmp/lperr",but I can't find the oops file ,why?04:21
wgrantmaozhou: If you're running a production instance with a development config, all hope is lost.05:36
wgrantwut06:34
wgrantpygit2 gives strs instead of bytes for a whole lot of things on Python 3.06:34
wgranteg. ref names06:34
wgrantwhat does it do when there are invalid UTF-8 sequences, I wonder.06:34
Spadsor new points in the astral plane 😨06:35
maozhouwhere is oops file, is there anyone knows?06:38
wgrantmaozhou: We don't know how your installation is configured.06:39
wgrantBut it sounds like you're using the development config on production, which is terrifying.06:39
wgrantDepending on how you've set it up, the OOPSes may have ended up in an ephemeral rabbitmq.06:39
maozhoucjwatson: in the file of  "configs/development/launchpad-lazr.conf",  the path of  "error_dir“ is ”/var/tmp/lperr", but I can't find opps file I need06:42
maozhouwgrant:in the file of  "configs/development/launchpad-lazr.conf",  the path of  "error_dir“ is ”/var/tmp/lperr", but I can't find opps file I need06:43
wgrantmaozhou: The development configuration is not intended for a production environment.06:45
wgrantIf you're using the default development config, OOPSes may end up in rabbitmq.06:45
wgrantIf you are using rabbitmq for nothing else, consider stopping it. Then further OOPSes will fall back to the filesystem.06:45
maozhouwgrant: I am using the development config  for test.06:47
maozhouwgrant:  but ,how to stopping rabbitmq?06:50
wgrantmaozhou: It depends on how you have set up the system. Examine your configuration file to identify where it expects to find rabbitmq, find that rabbitmq, and stop it.06:51
maozhou wgrant:  If you're using the default development config, OOPSes may end up in rabbitmq ? where are the  rabbitmq? I just wan't to know the error information when I run "cronscripts/process-job-source.py IInitializeDistroSeriesJobSource'’06:58
wgrantmaozhou: OOPSes will be sent to rabbitmq if it is configured and running. It can be challenging to get them out of rabbitmq, so it's easiest to find the rabbitmq that they're going to, stop that rabbitmq, then trigger the OOPS again. Then it will end up on disk.07:00
maozhouwgrant: I  understand,but I don't konw where is the configuration file to control rabbitmq.07:05
wgrantmaozhou: The same configuration file that you mentioned earlier.07:07
maozhouwgrant: ok, I find it, let me try07:11
maozhouwgrant: I have stoped rabbitmq in file "configs/development/launchpad-lazr.conf",but when I trigger the OOPS again , I still can't find the OOPS file .07:25
wgrantmaozhou: Have you restarted the application?07:28
maozhouwgrant: Yes I run "make run_all" again on my launchpad server07:32
wgrantmaozhou: Have you confirmed that rabbitmq is not running?07:51
maozhouwgrant: how to confirmed that rabbitmq is not running? I have changed the value of  "launch:" to "False" which in the "configs/development/launchpad-lazr.conf"  of section "[rabbitmq]"07:57
wgrantmaozhou: Are there any processes running with "beam.smp" in the commandline?07:58
wgrantIf so, which user owns them?07:58
maozhouwgrant: what is "beam.smp" ?08:00
wgrantmaozhou: beam.smp is the erlang process that hosts (among other things) rabbitmq.08:01
maozhouwgrant: is it the console which run "make run_all", if there are rabbitmq output on this console, it means the rabiitmq have not been stopped?08:04
wgrantmaozhou: If make run_all starts rabbitmq, it would be reasonable to assume that rabbitmq has started.08:06
maozhouwgrant: so ,if the rabbitmq has been stopped ,the console of "make run_all" won't output messages?08:08
wgrantmaozhou: run_all will always output some messages, but it shouldn't look like it's starting rabbitmq if it's not starting rabbitmq.08:09
maozhouwgrant: processes running with "beam.smp" in the commandline can judge the rabbitmq, but ,which commandline ?08:18
wgrantmaozhou: In the output of ps08:19
=== mgz is now known as mgz_
maozhouwgrant: if there is processes running with "beam.smp" , it‘s mean  the rabbitmq have not been stoopped?08:54
wgrantmaozhou: Yes.09:26
maozhouwgrant: I reboot my launchpad server,before running “make run_all”, there is processes running with "beam.smp". need i run "invoke-rc.d rabbitmq-server stop" to stop  rabbitmq server?09:42
wgrantmaozhou: That is worth a try.09:43
maozhouwgrant: I have ran "invoke-rc.d rabbitmq-server stop" to stop  rabbitmq server,and I have modified the value of  "launch:" to "False" which in the "configs/development/launchpad-lazr.conf"  of section "[rabbitmq]". But after run "make run_all", there is processes running with "beam.smp" . Nedd I kill it?09:55
wgrantmaozhou: Who owns that process?10:02
wgrantIt may also be the case that run_all disregards the "launch" option. I forget.10:03
wgrant    if len(requested_services) == 0:10:03
wgrant        return [svc for svc in SERVICES.values() if svc.should_launch]10:03
cjwatsonrun_all hardcodes a bunch of service names, I think.10:03
wgrantmake run_all explicitly names all of the things it wants, so the launch option is not respected.10:03
cjwatsonIt should be pretty clear from the Makefile.10:03
cjwatsonYeah.10:04
maozhouwgrant: the user who run "make run_all" owns that process10:08
maozhouI killed the process running with "beam.smp" , then I  trigger the OOPS again.  I find the OPPS  file.10:13
maozhouthanks for your help :)10:13
=== anthonyf is now known as Guest64410
blrmorning20:56
wgrantMorning blr.23:38
wgrantblr: It turns out that turnip on Python 3 is more difficult than we anticipated, because pygit2 on Python 3 is quite brain-damaged.23:39
wgrant>>> r.listall_references()23:39
wgrantTraceback (most recent call last):23:39
wgrant  File "<stdin>", line 1, in <module>23:39
wgrantUnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 14: invalid start byte23:39
blroh lovely >.<23:39
wgrantThat's what happens if a repo has a ref that isn't in the filesystem's encoding.23:39
wgrantThe low-level library tries to force Unicode onto something that isn't Unicode.23:40
wgranthttps://github.com/libgit2/pygit2/issues/537, let's see what they say.23:50

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