/srv/irclogs.ubuntu.com/2017/03/13/#ubuntu-za.txt

andrewlsdMornings05:55
andrewlsdK_K_N: on Fri/Sat you were asking about how to upgrade _only_ the kernel. Check out UKUU via www.makeuseof.com/tag/upgrade-kernel-ukuu-ubuntu/05:56
andrewlsdI have never used it K_K_N. I just saw it for the first time this weekend.05:57
* andrewlsd goes away again05:57
inetprogood mornings05:58
inetprooh and good evening to superfly also06:04
K_K_NThanks andrewlsd06:05
K_K_Nand Morning everybody06:05
inetprosuperfly: at least your clock stays the same when everybody around you has to change theirs06:05
superflyinetpro: I am so thankful for that!06:11
superflytime for me to get some sleep06:12
K_K_Ndoes upgrading the Kernal impact on the LTS of the OS, meaning will the long term support no longer apply so I might as well have installed the latest version anyway?06:14
inetproK_K_N: I don't understand your question06:16
inetproit's Monday and...06:17
* inetpro has not had coffee yet06:17
K_K_NI have ubuntu 16.04 LTS yeah06:17
K_K_NI have that because of it being LTS06:17
inetproapt-get update && apt-get upgrade06:18
K_K_Nbut now if I change the kernal will the regular updates for that specific version no longer work?06:18
K_K_Nor does it make the Long Term Support null & void?06:18
inetprowhy not just do normal updates?06:18
K_K_Nyeah I do06:18
nsnzeromorning all06:18
K_K_Nbut I was just curious06:19
inetproK_K_N: if you do then you should be on Ubuntu 16.04.2 LTS now06:19
K_K_Nyes I am06:20
inetprohow were you planning to do just the kernel upgrades?06:20
K_K_Nwas not really planning on doing that was going to try that to see if it resolves some issues but since doing whatever you guys advised not sure what it was but the issue seems to be resolved06:21
K_K_Nbut now since andrew sent a msg about upgrading kernal I was just wondering if that effects the LTS part of the OS06:22
nsnzeroK_K_N: you can upgrade with the  16.04 hwe kernel 06:23
nsnzerolinux-image-generic-hwe-16.0406:25
inetproif you want bleeding edge why not just go to arch https://www.archlinux.org/ ?06:25
inetproor if that is too extreme then just go to a non-LTS 16.10 06:26
paddatrappermorning everyone06:32
nsnzeromorning paddatrapper 06:32
paddatrapperhi nsnzero. How goes it?06:33
* K_K_N is not sure if his question is being understood06:34
K_K_Noh well its not urgent just curious06:34
K_K_Nso I guess not advised if you want to benefit from LTS06:35
nsnzerokernel upgrades never gave me a problem - i always get the latest06:35
* inetpro guessing, if you want LTS features then you stick with standard update processes06:36
K_K_Nok cool thanks nsnzero and inetpro06:37
inetproK_K_N: http://askubuntu.com/questions/16366/whats-the-difference-between-a-long-term-support-release-and-a-normal-release06:39
nsnzeroyou can always try out the kernel and remove it if it not up to standard - but research especially if you need lts  06:40
nsnzeroi use the latest i can get - if it breaks i just revert back to the working state06:42
K_K_Nthanks inetpro, that is the reason why I have an LTS release06:45
chesedomorning all06:45
K_K_Nbut I am cool with the OS as is only  reason for doing anything more than the standard is if I have an issue06:46
* chesedo always understood lts as some guarentee of security and and software (stable) updates... a manual kernel update will therefore not affect this...06:47
* inetpro prefers to stick with LTS06:47
inetproothers are quite happy with regular updates of non-LTS releases06:47
inetproand then there are those who even go with the rolling release of debian SID06:48
inetpros/SID/Sid/06:48
K_K_NI use my laptop for both personal and work related use so preferably it needs to be as stable as can be if it was for personal use only then I would take the latest every single time06:49
K_K_Nhehe06:49
inetproSid also called Debian Unstable but that does not mean that it is not stable06:49
nsnzeroyou can try out stuff in a vm as well06:51
K_K_Nbut because its used for both I also have to have Windows installed :(06:51
nsnzeroK_K_N: the vm run as a program/app - its like a separate computer in your laptop 06:53
nsnzeroi run windows in  vm - for stuff that as no linux alternatives like msaccess06:54
K_K_Nnsnzero, yep I use that but I do not have a licensed copy of Windows06:55
K_K_Nso the version that came with this laptop is what I have06:55
K_K_Nso I just dual boot it06:55
K_K_NI hardly ever use and Win related stuff but I have it there just in case06:56
inetprodual booting is way too disruptive IMHO06:56
inetproif I ever need Windows I just login remotely with KRDC/rdesktop06:57
K_K_Nnsnzero, which virtual machine software you recommend?06:58
nsnzeroi am using virtual box and vmware both are good - free versions dont have all the features 07:01
nsnzeroi suggest some reading to check which will suit your needs 07:02
inetproKVM ftw https://help.ubuntu.com/community/KVM07:24
inetproI would say virtualbox is a nice start for beginners but recommend KVM for the long run07:29
Kilosmorning all, i will be offline while using sim from modem to fight with cellc and voda07:36
Kilosyou all be good07:36
Kilosthat includes you ine07:36
Kilosinetpro 07:36
KilosMaaz watch them07:36
Maazoh Kilos I will watch them no problem, but you better be back soon!07:36
KilosMaaz ty07:36
MaazYou are welcome Kilos07:36
paddatrapperThis is going to be interesting. My lecturer is going to try step 200 students through installing 16.10 in a VM tomorrow in 45 minutes 07:42
nsnzero40 minutes to download the exported appliance and 5 minutes to install it ?07:44
paddatrappernsnzero: well the ideal is that they download beforehand, but most likely yes07:45
inetpropaddatrapper: should be a real simple exercise if he has a local repository07:52
inetprotalking of which, what is the recommended method of creating a local repository these days?07:54
nsnzeroapt-mirror inetpro 08:09
inetpronsnzero: you have a local mirror?08:09
inetprowb Kilos08:09
nsnzeroapt-mirror will mirror any repository locally - its downloads the entire repository 08:10
nsnzeroi dont have the bandwidth nor the time inetpro - plus you have to update it regularly 08:11
inetprohence why I'm asking08:11
Kilosty inetpro lets hope they get something sorted08:11
nsnzerouseful in business installations - where you can make local copies on the programs on the server 08:12
inetprobut I guess for a university there should be enough reason to keep things local08:12
paddatrapperinetpro: uct hosts a public mirror08:14
inetproI wish Telkom and other service providers would introduce free local bandwidth for mobile data08:14
inetpropaddatrapper: nice!08:14
paddatrapperFree local mobile data would be awesome! 08:15
inetprochips, we have a Researcher- on board :-)08:25
inetprohi Researcher-08:25
* Kilos agrees on the free data08:29
Kiloshi paddatrapper nsnzero 08:29
paddatrapperHi Kilos08:30
Kiloshi propagandhi 08:37
nsnzerohi Kilos 08:43
ebusukuHi guys09:22
inetprowelcome bac ebusuku09:22
inetproback as well09:22
ebusukuhi inetpro09:23
inetprowhere's emini?09:23
ebusukudoes anybody here use lxc,lxd09:23
ebusukuI'm looking to try out linux containers, not docker containers and was wondering, should each container have its own instance of postgresql or share postgresql 09:25
Kiloshi ebusuku 09:25
ebusukuamongst the containers09:25
ebusukuhi kilos09:25
inetproandrewlsd: could you perhaps answer that for ebusuku09:34
inetproam not sure there's a simple answer to that09:35
inetproprobably depends 09:35
inetproebusuku: if superfly was still awake I'm sure he would be able to answer that as well09:36
inetproor theblazehen, who unfortunately is not here right now09:36
inetproebusuku: in other words, just hang around and I'm sure you'll get your answer sooner or later09:37
andrewlsdhey peeps09:37
andrewlsdebusuku:  depends on what you are trying to do with it.09:37
andrewlsdebusuku: if you want to be able to export/backup "entire" containerized application set, then putting having the equivalent of a LAMP container would make that simpler.  09:38
andrewlsdebusuku: but if you want to move towards _microservices_ then you'd want one DB container and several "app" containers that talk to the DB container.09:39
andrewlsdif end-users need access to postgres, then giving each set of end-users their own postgresql server would provide safety and security (ie, no way for one set to drop db of another set of users)09:40
* andrewlsd and theblazehen were working most of the weekend.09:40
MaNIgiving each user their own database inside the same server, with correct permissions would provide the same though - with the caveat that there is room for error and/or if any exploits surface they could be used09:41
andrewlsdebusuku: both andrewlsd and theblazehen use LXD. You can also head over to #lxcontainers on this (freenode) network09:41
MaNIone postgres server on the otherhand is far more resource efficient. So it depends very much on what you are doing.09:42
andrewlsdinetpro: I also been having issue with Slack causing Quassel to Segfault. in my case the core has stayed up, but my client crashes. I have disconnected from Slack in the meantime.  There are open issues  for  Quassel, several of which have been resolved in newer releases than what I am running.  However, Slack may well have made a (small) API change (and will continue to do so) which could break stuff in future.09:43
inetprothanks for that andrewlsd, I also just disconnected from slack for now and open it separately for other functions anyway09:44
andrewlsdMaNI: yip, errror and or exploits.... if ebusuku is not 100% sure of quality of code that will be used, then safer to isolate each application stack in its own container (or give each app stack a set of containers, still means 1 DB container per stack)09:44
andrewlsdanother benefit of separate containers is that ebusuku could have scheduled change to upgrade postgres for a single app-stack user/client without needing to take the DB down for all clients.09:45
MaNIWell as with all security there are various trade off levels, so it becomes a question of just how sensitive the data involved is and what risk level is acceptable, answering that is always the tricky part I guess09:46
andrewlsdfurther stuff might include replicating DB from each containerized db to one "replica" DB container shared by all.09:46
andrewlsdBut yeah, your point MaNI about trade-offs is absolutely correct.09:46
andrewlsdeither way ebusuku *make backups!* and then *regularily* *test backups*09:47
ebusukuhmmmmm09:47
* andrewlsd has not played with openstack lxd plugins. so not sure how that would affect the "architecture" ebusuku has in mind.09:48
andrewlsdebusuku: what are you trying to achieve with LXD?09:48
ebusukuok, I've got a couple of django applications that i'd like to run09:48
ebusukucurrently its just the traditional setup django, gunicorn, nginx, postgresql09:49
ebusukuI've also got a web application in go as well09:50
ebusukuSo i thought i could try out lxd and see how managing ti would be09:50
andrewlsdebusuku: depending _how big_ your env is going to be, and whether devs need CI/CD stuff, build automation, etc.....  you may want to look at a xPAAS option like OpenShift.09:52
andrewlsdif not large, then LXD should be excellent.09:52
ebusukuIt just seems a bit inefficient to have each container to have its own pg instance09:52
andrewlsdLXD use case: it behaves like a VM, with lower overhead.09:52
andrewlsdso whatever you would have used a VM for, use LXD.09:53
andrewlsdor, _should be able to_ use LXD instead09:53
ebusukuyeah, thats why in looking into lxd and not docker09:53
andrewlsdebusuku: pro stuff about LXD. Make sure you read stgraber's blog series.09:54
andrewlsdebusuku: LXD supports live migration of containers (assume hosts are pretty much "next to" each other)09:54
ebusukuI've been reading up on that, good stuff09:54
andrewlsdebusuku: as long as you have 'image' vs 'running container' sorted out in your head you should be good.09:55
andrewlsdebusuku: regarding 'inefficient to have ... own pg instance', possibly true, but LXD has lower overhead than traditional full VM, so you're saving there. Also MaNI's point about security trade-offs apply.09:56
ebusukuhmmm09:57
andrewlsdebusuku: this is very much an _architectural_ decision too.  consider live-migrating implications if all applications share 1 db container.  bearing in mind that LXD does not do load-balancing for you. 09:57
andrewlsdotherwise you'll need _haproxy_ instances too. with at least one on each host configured to balance to either side.09:58
andrewlsd... this started out as such a simple question ebusuku ;-)09:58
ebusukulol09:58
andrewlsdthe short answer LXD is great :-)09:58
* andrewlsd goes away again09:59
andrewlsdbtw ebusuku if you feel like being blown away, check out JuJu + Maas + LXD10:00
* andrewlsd ducks away for real10:00
Kiloshehe well done guys10:01
ebusukuheh, I still dont know what JuJu is, I've been reading, watching but wtf10:03
ebusukuIt would be nice if they had an indepth example10:05
andrewlsd:-) Kilos10:15
* andrewlsd lurks10:15
Kilosbot11:42
Kiloshmm...11:42
KilosMaaz coffee on11:43
* Maaz washes some mugs11:43
MaazCoffee's ready for Kilos!11:47
KilosMaaz ty11:48
MaazYou are welcome Kilos11:48
KilosMaaz botsnack11:48
MaazYAY someone cares about me too!11:48
nsnzeroKilos: 11:51
Kilosyes nsnzero 11:52
FusionSparcHey kilos, you doing well?11:52
Kilosyeah im ok ty FusionSparc and you?11:52
nsnzeroi am waiting for the coffee pot 11:52
Kiloshaha11:52
FusionSparcGood as well, haven't been on irc for a while.11:53
Kilosyes you naughty11:53
Kiloseven the fly comes here daily from the states11:53
FusionSparcHehe, early SA times probably.11:54
Kilosyes and late11:54
Kiloshe says night when we login11:54
FusionSparcLol, discussions are probably brief then.11:55
nsnzerohave a good afternoon everyone12:32
* andrewlsd waves good by to nsnzero13:29
* andrewlsd waves belatedly13:29
inetprogood evening17:23
andrewlsdevening inetpro 17:28
nsnzeroevening all17:46
Kilosi go sleep. this is murder of the first degree http://www.speedtest.net/my-result/612726847819:04
Kilosnight all. sleep tight19:04
nsnzeronight kilos19:04

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