/srv/irclogs.ubuntu.com/2016/04/14/#ubuntu-server.txt

=== mburns_ is now known as mburns
=== xar-- is now known as xar-
coreycbjamespage, something's causing haproxy to fail to install from trusty-mitaka staging.  http://paste.ubuntu.com/15822925/01:56
coreycbseems to be related to the new lua5.3, http://launchpadlibrarian.net/253502335/lua5.3_5.3.1-1_5.3.1-1ubuntu1.diff.gz01:57
CapprenticeHi! Im having problem with the e1000e driver on Ubuntu 14.04 . It crashed under load. I have enabled IP o\dodinge1000e 0000:00:19.0 enp0s25: Reset adapter unexpectedly [  197.382071] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None03:02
=== chmurifr- is now known as chmurifree
=== athairus is now known as afkthairus
=== King is now known as King`
=== devil is now known as Guest28671
=== Guest28671 is now known as devil__
=== genpaku_ is now known as genpaku
=== ryan`c is now known as ryan-c
=== not_phunyguy is now known as phunyguy
=== StathisA_ is now known as StathisA
=== med_ is now known as Guest46337
=== bradm_ is now known as bradm
=== jamietech is now known as Guest61153
=== Guest61153 is now known as jamietech
=== _ruben_ is now known as _ruben
=== strigazi_AFK is now known as strigazi
CapprenticeMy server has 16 GB RAM, Core i5 CPU Intel, 4x2 TB HDD. What will be the optimal settings for sysctl for Squid Cache08:11
ikoniait doesn't work like that08:12
ikoniayou need to look at what you're machine is doing, how/what you're using squid,08:12
ikoniayou'll probably see very little benifit from changing sysctl08:12
jamespagefrickler, new ceph rc for today - will also include that maintainer script noise fix09:09
jamespagecoreycb, that change got reverted to lua - tests ok now09:17
codepython777anyone here?10:47
=== dosaboy_ is now known as dosaboy
Capprenticehi10:57
SeveasCapprentice: you'll want to maximize your available tcp port range, tune max file descriptors for what's usable, reduce swappiness and maybe tune some tcp parameters for http traffic (lower timeouts, no keepalive etc)11:05
codepython777does anyone use a PPA here to distibute their software across machines?11:09
SeveasI do11:17
codepython777Hi Seveas11:18
codepython777do you use launchpad to do that? Or can that be done without a launchpad account?11:18
Seveaslaunchpad11:18
codepython777so there is no way to do this without a launchpad account?11:19
codepython777Also, what is a good resource to follow, to get started ?11:19
codepython777is there a way to say you only support certain distributions? (like say 15.10)11:19
Seveasany good debian packaging tutorial will work11:20
Seveasand you'll need to upload each package to each distribution11:20
Seveasso only supporting 15.10 == only uploading to 15.1011:21
codepython777i see11:21
codepython777so debian uses the same mechanism for packages i guess?11:21
Seveasa similar mechanism11:21
Seveasyou can build repos without launchpad as well, but you said 'ppa', so I was assuming you meant launchpad's repo functionality11:21
Seveasif you don't want to use launchpad, you can use reprepro or other tools to take a collection of packages and turn them into a repo.11:22
codepython777if i build repos without launchpad, is it easy to host it? to let users add it and run updates?11:22
Seveasyou just need a webserver :)11:22
codepython777that i have :) nginx11:23
codepython777where are the docs to create the files for distribution? :)11:23
Seveasman reprepro11:24
Seveasand a debian packaging tutorial. Not sure where to find one these days11:24
=== Guest46337 is now known as med_
=== devil is now known as Guest8551
=== Guest8551 is now known as devil_
=== Kehet_ is now known as Kehet
coreycbddellav_, nova 12.0.3 is out, want to include that in your SRU?12:47
ddellav_coreycb sure12:54
coreycbddellav_, thanks12:54
vassieHello, is it possible to install Xenial without LXD? Personally I have no need for it as I want to use Docker12:55
patdk-wkI have never installed lxd with xenial12:55
patdk-wkso it must be12:55
vassiepatdk-wk: I have done a clean install of Xenial beta 2 and LXD is installed by default12:56
patdk-wkusing what install options?12:56
patdk-wkdefault, install everything?12:56
sdezielvassie: Docker can run inside LXD mind you12:56
rbasakvassie: it shouldn't cause any harm by being there. If it does, then please file a bug.12:57
rbasakCan you just remove it?12:57
ogra_it isnt a recommends12:58
ogra_so it will pull out the meta package with it12:58
* patdk-wk only ever installs ubuntu-minimal12:58
ifohancrofthello everyone. where do i find the package for kmod-nls-iso8859-112:59
ifohancrofti need it for a server but no internet connection there or anything, i am in recovery mode so i want to download it here and transfer it there via usb key or something and install it manually13:00
patdk-wkifohancroft, in the normal kernel package13:06
patdk-wklinux-image-......13:06
ifohancroftthanks, patdk-lap. so if i want just the module i pretty much need to reinstall the kernel?13:07
patdk-wkyes13:07
patdk-wkit's part of the kernel13:07
patdk-wkso if it's broken, just boot using a different installed kernel13:08
patdk-wkyou should have 2 atleast, if not more13:08
ifohancrofti was thinking about that, however in the grub menu i only see one and it's debug version so i guess they may have been wiped out or something or is it just not showing in the options?13:08
patdk-wknewer grub menu only shows the current one13:09
patdk-wkthere is another option at the end13:09
patdk-wklike a show all option13:09
patdk-wkthat will show the other versions13:09
ifohancroftoh, ty, i will look for that13:09
patdk-wkolder grubs, show all of them by default13:09
patdk-wkor rather, older ubuntu grub config makers :)13:09
=== swat30_ is now known as swat30
=== dzragon^ is now known as dzragon
sdezielvassie: this fresh post is really apropos: https://www.stgraber.org/2016/04/13/lxd-2-0-docker-in-lxd-712/13:20
jamespagecoreycb, just waiting for the magnum binaryies to publish and I;ll promote proposed->updates13:34
coreycbjamespage, ok gnocchi is on it's way too.. just noticed it has an i386 test failure13:35
jamespagecoreycb, yah13:36
jamespageI might be tempted to hit the button of despair for that first...13:36
jamespagecoreycb, ok promoting proposed -> updates13:46
=== med_ is now known as Guest90748
=== cpaelzer_ is now known as cpaelzer
coreycbjamespage,  I think pandas is stuck in proposed due to sunpy autopkgtest regressions, which appear to mostly be due to the version of numpy we have.  numpy 1.11.0 could use a sync but isn't just bug fixes.14:00
coreycbjamespage, not sure what to do, it's slightly late in the cycle14:01
pmatulishallyn: for the cloud-init fix, so nova controllers need to have their package updated?14:01
hallynpmatulis: i thought it was just the cloud images on which the instances were based.  smoser ^ ?14:03
smoserpmatulis, which is this ?14:04
pmatulishttps://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/156997414:05
ubottuLaunchpad bug 1569974 in cloud-init "networking fallback should ignore bridges" [Medium,Confirmed]14:05
=== Guest90748 is now known as medberry
vassierbasak: I've tried to remove lxd but it will also remove ubuntu-server14:10
rbasakstgraber_: ^ perhaps the lxd seed should be a recommends and not a depends?14:13
rbasakkirkland: ^14:14
vassieWould be nice if it was an option via tasksel14:15
vassieI want to use Docker and not LXD14:15
vassieLXD has created a network interface that I don't need/want14:16
rbasakYou can. Just use Docker.14:16
vassierbasak: I know, but it would be nice to remove LXD as they kind of both do the same thing, I only need one, not both14:16
tewardvassie: removing lxd will remove ubuntu-server and i think ubuntu-standard metapackages, which I think are critical to make sure you get the right upgrade paths14:17
rbasakUbuntu ships vi and nano. Both do the same thing. I only need one, not both.14:17
tewards/and ubuntu-standard//14:17
tewardvassie: use Docker, leave lxd alone.  but leaving it installed won't hurt anything14:18
teward(removing it may remove some of those metapackages which I think are 'good to have' to ensure proper upgrade paths and package set changes)14:18
rbasakOptions via tasksel don't really work any more. An increasing number of Ubuntu server users use cloud images where tasksel isn't an option.14:19
rbasak(also it's quicker since you don't need to run an installer)14:19
pmatulissmoser: ?14:33
kirklandrbasak: sure, I guess14:36
kirklandrbasak: do you want to take care of that?14:36
=== Guest36907 is now known as karstensrage
=== stgraber_ is now known as stgraber
rbasakkirkland: will do, thanks.14:42
saftblandarn_Hi, I'm having problems to connect with my server with putty. It was working fine until I restarted putty14:44
saftblandarn_I've tried to restart my server and "sudo service ssh restart"14:45
kirklandrbasak: actually14:57
kirklandrbasak: what, if any, reprocussions are there for doing so?14:57
rbasakkirkland: AFAIK, only that you can remove it without being told it's bad.14:57
kirklandrbasak: right -- what, if any, images do we build that *don't* install recommends?14:57
kirklandrbasak: because we really, really do want lxd just about everywhere14:58
kirklandrbasak: we can even run lxd in lxd14:58
kirklandrbasak: I'm a little nervous, actually, about doing this today, and seeing images tomorrow, that don't have lxd in them any more14:58
rbasakkirkland: we can confirm with People Who Know if you prefer. I was taking the approach that doing it sooner rather than later means more time to detect fallout.14:59
rbasakI'm surprised that lxd isn't seeded on desktop?14:59
rbasakIt's in supported-misc-servers, cloud-image and server.15:00
rbasakIs smoser around?15:00
stgraberI just did the seed change based on scrollback15:00
stgrabersnapd is a recommend too and that seems to have appeared everywhere15:00
smoserrbasak, here.15:00
rbasaksmoser: any impact to dropping lxd to a recommend that you can think of? Since you were looking into this kind of thing.15:01
rbasak(in the seeds)15:01
stgraberIIRC the only images that were building without recommends were the phone images (not sure if they still do)15:01
smosersnappy might build without recommends.15:02
smoserbut it could have lxd explicitly if it needs it. or otherwise handled there.15:02
stgraberah could be, but we don't want lxd on those either :)15:02
stgraberthere is a lxd snap for that15:02
smoserthe one difference that i think is notable is that recommends rather than depends means:15:02
smoser apt-get --purge lxd15:02
smoserdoes *not* tell you: you're getting rid of ubuntu-server15:03
stgraberyeah, that's precisely what we want to allow15:03
smoseri dont know.15:03
smoserdo we ?15:03
smoseri absollutely feel that way for ubuntu-snappy15:03
stgraberwell, that's what rbasak and kirkland were discussing anyway15:03
smoserwell, the ubuntu-meta would need to be re-done also15:04
smoserupdated15:04
stgrabersure, I just did the seed change for now, then saw the discussion here so paused before uploading a new ubuntu-meta15:04
rbasakBased on this discussion I think we're good.15:04
smoseri thin its fine. stgraber you touched both server and cloud-imge ?15:04
stgraberlxd doesn't do anything on the system until you start to use it, so I'm not sure why you'd remove it, but if allowing folks to remove it make some of those lengthy LP discussions go away, then it doesn't really hurt to let them15:05
stgrabersmoser: yup15:05
kirklandokay15:05
smoseri never really knew about (recommends) in a seed before.15:07
smoserbefore probably a year ago. i'd might have used it more15:08
stgraberit's pretty widely used for desktop stuff I think15:08
patdk-wknot used for stuff like vlan/ifenslave/mdadm?15:09
patdk-wkthough, it has annoyed me I cannot setup a vlan in the installer to get network access lately15:10
sdezielbonding and vlan support in the installer would be handy15:11
=== sokoll is now known as lucz
=== InfoTest1 is now known as InfoTest
=== jelly is now known as jelly-work
=== jelly-work is now known as jelly
=== afkthairus is now known as athairus
pulsar12i am struggling with pppd daemon which is trying to resolve name "pppX" (X = number of the dynamic interface created) everytime a user connects. anyone has an idea about this?17:33
pulsar12i am struggling with weird issue on pppd daemon: it is trying to resolve name "pppX" (X = number of the dynamic interface created) everytime a user connects. anyone has an idea why this happens?18:19
=== JanC_ is now known as JanC
coreycbjamespage, the new sahara with api-paste.ini is in mitaka staging now18:40
dorrekHi Guys. Im stuck... I run apache2 server, with user dir http_public. I am unable to add alias to /home/user/public_html. Its just showing 404. In whith file i should look? Also, everything works just fine by domain/~user/adress20:48
sarnolddorrek: what did you try? do you get any errors, warnings, or access entries in the logs when you try to load it?21:23
dorrekNvm... Well.. Im tired... I forget to close <VirtualHost>21:25
=== Luke_ is now known as Luke
sarnolddorrek: aha :)21:30
=== baffle_ is now known as baffle
guampahello21:58
guampado you know if it's possible to shutdown or reboot LCXs via libvirt?21:59
guampaI'm failing to get virt-manager GUI or virsh to do that21:59
guampa*LXCs22:00
sdezielguampa: are you using the libvirt-lxc driver? Or were those LXC containers started by something else (LXD|LXC)?22:01
=== funkyHat_ is now known as funkyHat
guampathese were created via virt-manager, so I guess it's libvirt-lxc22:02
guampaI got these messages from within virsh http://hastebin.com/qukacuzafo.lua22:03
guampayes, I see the xml under /etc/libvirt22:04
sdezielugh, a paste service that needs javascript to display ...22:07
guampado you prefer another?22:07
guampahttp://hastebin.com/raw/qukacuzafo22:08
sdezielguampa: I'm used to paste.ubuntu.com is all22:08
guampathe raw version shows plain text22:09
sdezielguampa: as for your shutdown problem I am afraid I cannot help you much. I'm not familiar with this libvirt driver22:09
guampaneverming, thanks for taking interest at all22:10
guampad*22:10
sdezielguampa: https://libvirt.org/drvlxc.html#usageStop ?22:10
guampaI haven't found much docs on the issue, so I'll keep digging22:10
guampayeah, that's what I tried in the paste22:11
guampahaven't tried with destroy, I'm looking for a graceful shutdown22:11
sdezielguampa: you didn't include the virsh invocation so I wasn't sure if you had used the "-c lxc:///" part22:11
guampaah, that's because I was in the virsh shell already22:12
sdezielguampa: maybe you could strace the container's init and see if it receives the SIGTERM?22:13
guampaif everything fails I can resort to script it over ssh22:13
guampayes that could be useful22:13
sdezielguampa: there is also LXD that might interest you. Works really well with containers22:14
guampaI could try it, but libvirt interests me especially since I can manage both KVMs and LXCs from the same interface22:14
sdezielin Ubuntu, that's where the focus is with containers in general. The libvirt-lxc driver receives less attention22:15
guampaI'm experimenting with two-level virtualization, actually virtualization + conteinarization22:15
sdezielthen you could really well have libvirt driving your KVM that could run LXD inside22:16
sdezielmany use it that way22:16
guampait's working beautifully, just added DHCP+DDNS and you fire up machines at any level and everything is reachable22:16
guampasdeziel: but I would loose managing everything from the same UIs22:16
sdezieltrue22:16
sdezielguampa: "shutdown --mode acpi" and the "agent" mode won't work for containers. Those are for virtualized guests only22:18
sdezielthe other 2 modes should have though. The fact that they don't seems to point at a miss-configured container22:19
guampathe error "Container does not provide an initctl pipe" suggests a possible solution22:19
sdezielguampa: here on a Xenial lxc container: https://paste.ubuntu.com/15839958/22:20
guampaI see22:21
guampaall I see in /dev is console  fd  full  log  null  ptmx  pts  random  shm  stderr  stdin  stdout  tty  tty1  urandom  xconsole  zero22:23
sdezielwhat's PID 1 in that container?22:24
guampainit [2]22:25
guampathere's a /run/initctl22:26
sdezielin the container, if you send  a SIGTERM to init, what happens?22:26
guampanothing22:26
sdezielcan you try symlinking /run/initctl with /dev/initctl22:27
guampajust what I was trying now22:28
guampayesssssssssss22:29
guampadoes work22:29
guampa:)22:29
guampaI'll investigate why it isn't being linked from starters, I see the KVM that hosts it hasn't got the link either22:31
guampathe KVM has acpi though, so it's able to reboot and shutdown22:31
=== Bray90820_ is now known as bray90820
pulsar12i still have the problem with the pppd trying to resolve name "pppX"(X being the number of dynamic interface created), every time a user tries to connect. I dont find any explanation for this behavior and havent found anything on google22:57
sarnoldpulsar12: hey, bummer you're still fighting that.. I got to wondering last night, why not just add a billion entries to /etc/hosts for that? set ppp0 to 127.1.0.1, ppp1 to 127.1.0.2, and so on..22:58
pulsar12hi sarnold :). it would solve it but that would be a hack, and i prefer going to the elegant solution, and also im curious why this happens22:59
sarnoldpulsar12: yeah, I can understand that, but sometimes you just need things to work,hehe :)23:00
pulsar12maybe next step will be using gdb to know exactly what is happening23:01
pulsar12it will be the first time i use it, i have to learn23:01

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