Monday, 2015-11-02

*** harshs_ has joined #openstack-operators00:05
*** harshs has quit IRC00:05
*** harshs_ is now known as harshs00:05
*** VW has quit IRC00:24
*** VW has joined #openstack-operators00:35
*** VW has quit IRC00:36
*** VW has joined #openstack-operators00:36
*** VW_ has joined #openstack-operators00:50
*** VW has quit IRC00:50
*** chlong has quit IRC00:59
*** harshs has quit IRC01:06
*** chlong has joined #openstack-operators01:12
*** VW_ has quit IRC01:25
*** VW has joined #openstack-operators01:25
*** gfa is now known as gfa_02:36
*** VW has quit IRC02:45
*** armax has joined #openstack-operators02:59
*** csoukup has joined #openstack-operators03:41
*** csoukup has quit IRC03:48
*** VW has joined #openstack-operators03:49
*** VW has quit IRC03:51
*** VW has joined #openstack-operators03:52
*** csoukup has joined #openstack-operators04:06
*** k_stev has joined #openstack-operators04:19
*** c_soukup has joined #openstack-operators04:27
*** csoukup has quit IRC04:27
*** k_stev has quit IRC04:30
*** c_soukup has quit IRC04:37
*** csoukup has joined #openstack-operators04:44
*** csoukup has quit IRC04:53
*** VW has quit IRC05:46
*** xavpaice has quit IRC06:25
*** xavpaice has joined #openstack-operators06:26
*** zerda has joined #openstack-operators06:32
*** sleinen-AS559 has joined #openstack-operators06:34
*** zhangjn has joined #openstack-operators06:45
claytonxavpaice: We did uncontainerized venvs for a while06:45
claytonit worked fine, but building them and distributing them was a pain compared to containers06:45
claytonand we still had to deal with c library deps both in the build and deploy environments06:46
xavpaicethanks - I was discussing this with a bunch of the Python people at Catalyst06:47
xavpaicewe had previously come to the conclusion that venv was the best way to go - but distribution is easy with dh_virtualenv and .debs06:48
xavpaicehowever, the compiled stuff is miles harder, and still means it needs containers or dedicated vm's at some stage06:48
*** chlong has quit IRC06:48
xavpaiceclayton, what are you doing now?  Pure containers?06:49
claytonyou can put virtualenvs inside of packages, I played with that using giftwrap06:49
claytonin theory that seemed like a better way to get support w/existing puppet modules, etc06:49
xavpaiceyeah, that was the other approach I started looking at06:49
claytonbut in practice I had a lot of code for creating users, default config files, etc, startup scripts, etc06:50
claytonwhereas the puppet-docker module makes at least the startup script part easy (imo)06:50
xavpaicelike I say, dh_virtualenv makes putting a venv in a deb relatively easy too - not as clean as giftwrap though06:50
claytonxavpaice we're moving to docker containers06:50
xavpaiceKolla or custom?06:50
claytonjust heat and designate right now, talking to the kolla guys at the summit it sounds like they didn't think we'd run into any real issues with getting services to run06:51
claytoncustom for now, but I'd be glad to use Kolla when it handles plugins06:51
claytonthat's why I went to a few of their design sessions06:51
xavpaiceyeah, I was getting the same message but was at other sessions so didn't get the detail06:51
xavpaiceit seems my big takeaway from the summit is that I've got a whole bunch of stuff I want to do differently now06:52
claytonone thing about kolla that might not be obvious, their ansible deployment stuff isn't required, you can just the containers it builds06:52
xavpaiceah, good to know06:52
claytonwell, time for NRT -> IAD, plane is here :)06:52
xavpaiceenjoy the flight :)06:53
*** sleinen-AS559 has quit IRC07:05
*** geoffarn_ has joined #openstack-operators07:08
*** sleinen-AS559 has joined #openstack-operators07:28
*** geoffarn_ is now known as geoffarnoldX07:30
*** sleinen-AS5591 has joined #openstack-operators07:42
*** sleinen-AS559 has quit IRC07:44
*** geoffarnoldX is now known as geoffarn_07:55
*** geoffarn_ is now known as geoffarnoldX07:56
*** bapalm has quit IRC08:19
*** bapalm has joined #openstack-operators08:24
*** elo has joined #openstack-operators08:40
*** derekh has joined #openstack-operators09:20
*** VW has joined #openstack-operators09:44
*** VW has joined #openstack-operators09:45
*** matrohon has joined #openstack-operators09:52
*** jaypipes has joined #openstack-operators10:15
*** Marga_ has joined #openstack-operators10:25
*** Marga_ has quit IRC10:31
*** Marga_ has joined #openstack-operators10:31
*** zhangjn has quit IRC10:42
*** subscope has joined #openstack-operators10:48
*** VW has quit IRC10:59
beddaripacker+giftwrap should be part of any docker workflow :)11:13
beddarixavpaice: I think the notion that "venv isnt for production" is just something distro-centric thinking people go about :)11:14
beddarithank you to anyone contributing to the ops track at the summit, nice atmosphere and much to learn, it was great11:17
*** Marga_ has quit IRC11:28
*** VW has joined #openstack-operators11:31
*** Marga_ has joined #openstack-operators11:31
*** VW has quit IRC11:31
*** VW has joined #openstack-operators11:31
*** cdelatte has joined #openstack-operators11:33
*** elo has quit IRC11:36
*** elo1 has joined #openstack-operators11:36
*** zhangjn has joined #openstack-operators11:47
*** zhangjn has quit IRC11:47
*** zhangjn has joined #openstack-operators11:48
*** elo1 has quit IRC11:51
*** subscope has quit IRC11:59
*** subscope has joined #openstack-operators12:00
*** subscope has quit IRC12:02
*** subscope has joined #openstack-operators12:02
*** Marga_ has quit IRC12:07
*** Marga_ has joined #openstack-operators12:08
*** delattec has joined #openstack-operators12:22
*** cdelatte has quit IRC12:22
*** subscope has quit IRC12:59
*** sleinen-AS559 has joined #openstack-operators13:00
*** sleinen-AS5591 has quit IRC13:03
*** sleinen-AS559 has quit IRC13:05
*** elo has joined #openstack-operators13:13
*** zhangjn has quit IRC13:16
*** zhangjn has joined #openstack-operators13:19
*** Marga_ has quit IRC13:24
*** subscope has joined #openstack-operators13:29
*** rzerda has joined #openstack-operators13:36
*** zerda has quit IRC13:38
*** Marga_ has joined #openstack-operators13:38
*** elo has quit IRC13:43
*** elo has joined #openstack-operators13:45
*** Marga_ has quit IRC13:57
*** sleinen-AS559 has joined #openstack-operators14:02
*** sleinen-AS5591 has joined #openstack-operators14:08
*** sleinen-AS559 has quit IRC14:08
*** sleinen-AS5591 has quit IRC14:20
*** alejandrito has joined #openstack-operators14:22
*** sleinen-AS559 has joined #openstack-operators14:22
*** rzerda has quit IRC14:24
*** subscope has quit IRC14:26
*** mriedem has joined #openstack-operators14:29
*** B_Smith has quit IRC14:31
*** zerda has joined #openstack-operators14:37
*** markvoelker has joined #openstack-operators14:40
*** zerda has quit IRC14:41
*** signed8bit has joined #openstack-operators14:41
*** subscope has joined #openstack-operators14:41
*** Trident has joined #openstack-operators14:48
*** _hanhart has joined #openstack-operators14:53
*** subscope has quit IRC14:54
*** subscope has joined #openstack-operators14:55
*** subscope has quit IRC14:57
*** regXboi has joined #openstack-operators14:58
*** zhangjn has quit IRC15:08
*** subscope has joined #openstack-operators15:09
*** delattec has quit IRC15:10
*** csoukup has joined #openstack-operators15:10
*** delattec has joined #openstack-operators15:11
*** gfa_ is now known as gfa15:12
*** tobberydberg has joined #openstack-operators15:15
*** gfa is now known as gfa_15:15
*** _hanhart has quit IRC15:17
*** tobberydberg has quit IRC15:22
drwahlbleh... the tokyo jet lag is strong this morning...15:26
*** VW_ has joined #openstack-operators15:26
*** cvstealt1 has joined #openstack-operators15:27
*** baffle_ has joined #openstack-operators15:31
*** ggillies_ has joined #openstack-operators15:31
*** jmckind has joined #openstack-operators15:35
*** VW has quit IRC15:35
*** jaypipes has quit IRC15:35
*** zul has quit IRC15:35
*** j^2 has quit IRC15:35
*** _nick has quit IRC15:35
*** jogo has quit IRC15:35
*** ggillies has quit IRC15:35
*** cvstealth has quit IRC15:35
*** baffle has quit IRC15:35
*** dmsimard|tokyo has quit IRC15:35
*** _nick has joined #openstack-operators15:36
*** dmsimard has joined #openstack-operators15:36
*** jaypipes has joined #openstack-operators15:39
*** zul has joined #openstack-operators15:47
*** j^2 has joined #openstack-operators15:48
*** ybabenko has joined #openstack-operators15:50
*** emagana has joined #openstack-operators15:53
*** k_stev has joined #openstack-operators15:56
*** jmckind is now known as jmckind_16:03
*** delatte has joined #openstack-operators16:08
*** mdorman has joined #openstack-operators16:08
*** jmckind_ is now known as jmckind16:09
*** delattec has quit IRC16:09
*** SimonChung has quit IRC16:12
*** k_stev has quit IRC16:17
*** subscope has quit IRC16:20
*** rbradfor has joined #openstack-operators16:30
*** emagana has quit IRC16:33
*** ybabenko has quit IRC16:43
*** emagana has joined #openstack-operators16:50
*** mss__ has joined #openstack-operators16:51
*** mss__ has quit IRC16:51
*** kwrobert has joined #openstack-operators16:51
kwrobertHello Everybody!16:53
kwrobertI am experimenting with a small Openstack cloud, and I have encountered a problem on multiple occasions where the MySQL database on one of my controllers fails to purge old mysql-bin.$NUMBER binary log files. These log files (among others) end up completely filling the root OS directory, causing any writes to the database to fail. I cannot log into mysql to purge the log files due to the following error: 16:53
kwrobertERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)16:53
kwrobertI have checked, and the socket file definitely does not exist. I can remove the logs by hand, but any attempts to restart the database afterwards fail due to the above error. Has anybody encountered this problem before and could anybody point me towards a solution?16:53
kwrobertThanks!16:53
*** mss has joined #openstack-operators16:53
*** gyee has joined #openstack-operators16:55
raginbajinThose are the binary logs for Mysql being able to do replication.16:55
raginbajinyou'd need to do a "RESET MASTER" or do a purge logs to properly get rid of those next time.16:56
*** dmsimard has quit IRC17:00
*** alop has joined #openstack-operators17:00
*** dmsimard has joined #openstack-operators17:02
*** vinsh has joined #openstack-operators17:03
*** matrohon has quit IRC17:03
kwrobertHow do I execute the17:09
kwrobert“RESET MASTER” command you mentioned if I cannot log into mysqkl17:09
*** dminer has joined #openstack-operators17:10
*** sleinen-AS559 has quit IRC17:14
*** dmsimard has quit IRC17:21
*** jmckind is now known as jmckind_17:22
*** dmsimard has joined #openstack-operators17:22
*** jmckind_ is now known as jmckind17:28
*** jmckind is now known as jmckind_17:35
*** mss has quit IRC17:42
*** mss has joined #openstack-operators17:46
*** Piet has joined #openstack-operators17:48
*** derekh has quit IRC17:50
*** stanchan has joined #openstack-operators18:01
*** emagana has quit IRC18:20
*** harlowja has joined #openstack-operators18:22
*** emagana has joined #openstack-operators18:30
*** kwrobert is now known as krobzaur18:31
*** emagana has quit IRC18:34
*** SimonChung has joined #openstack-operators18:36
*** VW has joined #openstack-operators18:39
*** VW_ has quit IRC18:42
*** armax has quit IRC18:42
*** VW has quit IRC18:44
*** rady has joined #openstack-operators18:51
*** mss has quit IRC18:52
*** geoffarnoldX has quit IRC18:53
*** harshs has joined #openstack-operators18:57
*** ccarmack1 has quit IRC18:59
*** armax has joined #openstack-operators19:02
*** emagana has joined #openstack-operators19:03
*** ccarmack has joined #openstack-operators19:04
*** zul_ has joined #openstack-operators19:08
*** zul has quit IRC19:08
*** Piet has quit IRC19:17
*** VW has joined #openstack-operators19:24
*** VW has quit IRC19:28
*** prometheanfire has quit IRC19:35
*** Marga_ has joined #openstack-operators19:36
rbradforkrobzaur, PURGE MASTER LOGS is what you use to remove old binary logs.20:49
rbradforkrobzaur, expire_logs_days is the variable you set to automatically have them removed by age when the binary log rotates.20:50
rbradforyou can remove the log files manually, but you still have to cleanup the references with PURGE.20:50
rbradforregarding error 2002, first check the mysql error log to ensure the mysqld process has even started.20:51
krobzaurHello all! Thanks for the advice. I managed to fix it somehow. I first deleted all the offending log files manually using a simple bash script. I then removed references to all the log files from the mysql-bin.index file. This particular database is part of a Galera Cluster monitored by Pacemaker/Corosync. After I cleaned up the logs and made space in my root OS volume Pacemaker somehow magically revived the database20:55
krobzaurand I have the ‘expire_logs_days’ variable set to 1020:57
krobzaurGuess I should probably shorten that considering these logs keep taking up all my disk space20:57
*** jmccrory has joined #openstack-operators20:58
krobzaurI couldn’t use “PURGE MASTER LOGS”v or any of the native mysql commands because I couldn’t log into the mysql interactive terminal/prompt20:59
krobzaurIt kept complaining about the missing .sock file20:59
krobzaurI think cleaning everything up and just waiting awhile let Galera restart the mysql database process because now everything is working and I can log into the database21:02
rbradforkrobzaur, analysis of your error log will show the problem, mysql could not start (and hence not socket file). Mysql has an angel process mysqld_safe that will attempt automatic restarting. This would explain what you are seeing.21:04
*** geoffarnold has joined #openstack-operators21:09
krobzaurAh, I see.21:09
krobzaurI shortened the ‘expire_log_days’ variable, do I have to restart the database for my changes to take effect?21:11
rbradforno21:12
*** Marga_ has quit IRC21:12
rbradforhttps://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_expire_logs_days21:12
*** Lindis has joined #openstack-operators21:26
*** Lindis has quit IRC21:32
*** rady has quit IRC21:43
*** Piet has joined #openstack-operators21:48
*** rady has joined #openstack-operators21:56
*** harshs has quit IRC21:59
*** regXboi has quit IRC22:08
*** SimonChung1 has joined #openstack-operators22:11
*** SimonChung has quit IRC22:11
*** SimonChung has joined #openstack-operators22:12
*** SimonChung has quit IRC22:12
*** SimonChung1 has quit IRC22:12
*** SimonChung2 has joined #openstack-operators22:12
*** Marga_ has joined #openstack-operators22:13
*** ybabenko has joined #openstack-operators22:19
*** geoffarnold is now known as geoffarnoldX22:28
*** geoffarnoldX is now known as geoffarnold22:28
*** mriedem is now known as mriedem_away22:29
*** krobzaur has quit IRC22:29
*** ybabenko has quit IRC22:32
*** ccarmack has quit IRC22:36
*** ybabenko has joined #openstack-operators22:36
*** ccarmack has joined #openstack-operators22:39
*** ybabenko has quit IRC22:45
*** harshs has joined #openstack-operators22:49
*** harshs has quit IRC22:53
*** harshs has joined #openstack-operators22:57
*** geoffarnold has quit IRC22:58
*** harshs has quit IRC23:02
*** SimonChung2 has quit IRC23:02
*** SimonChung has joined #openstack-operators23:02
*** VW has joined #openstack-operators23:02
*** SimonChung1 has joined #openstack-operators23:03
*** SimonChung has quit IRC23:03
*** alejandrito has quit IRC23:04
*** chlong has joined #openstack-operators23:05
*** stanchan has quit IRC23:06
*** SimonChung has joined #openstack-operators23:19
*** SimonChung1 has quit IRC23:19
*** SimonChung1 has joined #openstack-operators23:20
*** SimonChung has quit IRC23:20
*** jmckind_ has quit IRC23:24
*** csoukup has quit IRC23:33
*** elo has quit IRC23:33
*** VW has quit IRC23:49
*** VW has joined #openstack-operators23:49
*** harshs has joined #openstack-operators23:58
*** mdorman has quit IRC23:59

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