/srv/irclogs.ubuntu.com/2017/04/20/#ubuntu-server.txt

=== petevg is now known as petevg_afk
bindihow come I have to do 'sudo iptables-apply' each time I reboot to have my rules take effect?02:02
bindiOn ubuntu server 16.04. "Applying new iptables rules from '/etc/network/iptables.up.rules'... done."02:02
drabwhat's the magical boot parameter that will get me the ubuntu installer in text mode? I'm still trying to get qemu to install mini.iso from PXE02:37
drabI got it to boot and fetch the kernels, but when the installation starts I get "640x480 VGA mode" and I can't see jack anymore02:38
drab(I'm in a terminal)02:38
drabbindi: do you have iptables-restore ?02:38
drabI'm using a fw manager so I don't quite know what the "vanilla" setup does, but iirc it's all about iptables-save and then iptables-restore at boot time02:39
drabbindi: are you using ufw?02:39
bindidrab: not using ufw02:42
bindidrab: yes there is iptables-restore command if you mean that02:42
sarnolddpkg -L iptables doesn't show any systemd unit files, sysv-init files, or upstart files.02:45
bindidrab: got it. sudo dpkg-reconfigure iptables-persistent02:45
bindiit saved the current rules to /etc/iptables/rules.v402:45
bindiand claims they'll be loaded on boot02:46
drabbindi: see sarnold's question, if you do a dpkg -L does it show any systemd stuff?02:53
drabif it loads things at boot it must have something running at boot, either a systemd unit or an older style sysv-init02:53
drabotherwise it's lying to you :P02:53
drabsarnold: any clue about forcing the ubuntu installer into text mode through some kernel boot param?02:54
bindiThe iptables-persistent package causes the following to run on reboot:02:54
bindiiptables-restore < /etc/iptables/rules.v402:54
bindiip6tables-restore < /etc/iptables/rules.v602:54
sarnoldthanks for tracking that down bindi :)02:54
sarnolddrab: maybe novga? It's been years since I've had to fiddle with kernel command line parameters for video ..02:55
drabI have vga=text and that works to get me the text stuff until the ubuntu installer loads02:55
drabthen I get a 640x480 video mode message and don't see abnything else02:55
drabso it seems to me the ubuntu installer isn't getting the hint about text...02:55
drabI also tried nofb and no joy02:57
sarnoldoh there we go, kernel command line parameters moved to Documentation/admin-guide/kernel-parameters.txt03:00
drabsarnold: yeah, I think I tried most of them03:03
drabholy cow, it finished... blind preseed03:14
drabonly thing is, somehow it's broken and not running sshd by the time preseed finishes late_command03:14
draband I can't see why03:14
sarnoldmaybe give it a minute or something03:14
drabbut at least I have a pxe'booted and installed qemu image that boots fine03:14
drabI waited for a bunch and it actually saw the port as open03:15
drabssh_exchange_identification: read: Connection reset by peer03:15
drabthat's what I was getting03:15
sarnoldvm instances often have rubbish entropy available so the key generation on first boot cna take forever03:15
drabthis was even first boot, it was at the end of the preseed03:15
drabwhat I'm trying to do is install mini, then chroot into /target, run sshd03:16
draband then use ansible to complete the installation03:16
draband only then reboot03:16
drabit works on baremetal and even virtualbox actually03:16
drabnot sure what's going on with qemu03:16
drabthe preseed must have worked since ssh was up, hence the above error03:16
drabduring install I was just getting connection refused03:17
drabok, found the problem03:45
drabwell, what's wrong, not quite sure why it's happening in qemu and not on baremetal...03:45
drabbut the chroot is weird and it needs some helping to set up and somehow that setup fails on qemu03:46
fishcookerhow to audit the processes running on sar log on range time 02:31:09 PM - 02:45:11 PM  when i have sar snip like this http://vpaste.net/d1O98 ?04:24
grvhi04:46
grvI have lots of process running with same name on task manager ,consuming lot of memory04:46
grvhttps04:47
grvhttpd sry04:47
grvi want to stop this httpd populating my ram04:47
grvanyone??04:47
grvwht d hell04:50
cpaelzergood morning04:54
cpaelzergrv stop/restart/rconfigure your apache?04:55
cpaelzerah no more here04:55
fishcookerhttpd that's must be a non ubuntu servers right, grv?05:00
fishcookerlet's say i want to point user to view http://stackoverflow.com/questions/4480304/how-to-set-http-headers-for-cache-control but on specific solution on date answered Oct 5 '11 at 15:55 how to point to the page directly05:03
cpaelzerfishcooker: there is a little "share" button on the bottom left of each answer05:05
fishcookercool thankyou cpaelzer05:57
lordievaderGood morning.06:17
PjusurGood morning, should I go with the default openvpn packages i Xenial?(5 y support) or should I get the ones from openvpns repo? Stability and security is my main concerne(bug fixes etc.)06:22
=== led2 is now known as led1
Aisonhow can I limit the console resolution of ubuntu server to 1280x102410:08
Aisonnow, it is 1600x109010:08
Aisonsorry, i'm sleeping, it is hd: 1920x108010:09
=== kooldavi_ is now known as kooldavi
Aisond11:18
adac https://gist.github.com/anonymous/c8ac84e861d0bcd93337a2926acccce1 this is hwoing me the docker installations. However when I do:  apt-get remove docker-engine it says:11:21
adacPackage 'docker-engine' is not installed, so not removed11:21
adacany ideas on how to remove it?11:21
zioprotohello all12:37
zioprotoIs anyone interested in a nova newton refresh >12:38
zioproto??12:38
zioprotoI need 14.0.512:38
zioprototo upgrade from Mitaka12:38
zioprotobecause this thing here is only in 14.0.5 https://review.openstack.org/#/c/438630/12:38
zioprotoand the current Ubuntu package is 14.0.412:38
zioprotocoreycb: is anyone working on refreshing the nova package for newton or I can submit a merge request ?12:39
coreycbzioproto, you might want to check with jamespage on the nova newton refresh13:47
zioprotojamespage: ping ?13:48
jamespagezioproto: I'll put it on my list13:48
jamespageI have some other backlog to clear first, and then I'll look at the set of newton minor version updates13:49
zioprotojamespage: I will send you a Merge Request on LP. I am building the package right now14:05
zioprotoit is a easy refresh, non of the debian/patches have been merged14:05
smoserrbasak, https://code.launchpad.net/~smoser/uvtool/+git/uvtool/+merge/322217 any comments ?14:18
rbasaksmoser: sorry, I'd forgotten all about that. Looking now.14:56
drabmoin15:04
drabanybody around familiar with what it takes to force the installer into text mode? somehow the boot process is text, but when the debian-installer fires off it seems to switch to 540x480 vga mode15:05
drabthis is not a problem on baremetal, but it means no output on qemu running in text mode15:05
drabfor whatever reason passing novga, nofb, nomodeset, text on the kernel command line makes no difference15:05
drabalso, and sarnold maybe here you have some input/historical data point, /usr/lib/qemu/qemu-bridge-helper seems to be setuid on other distros to allow users to start a kvm instance and get a valid tap device15:07
drabhowever on ubuntu it's not setuid and so I get an error starting the instance if I try to use that helper to get the tap interface going15:07
drabI'm wondering if that was a deliberate choice at some point15:07
drabAison: it's the vga parameter in grub cmd line, forgot if it's 791, just check the modes15:09
drabAison: http://pierre.baudu.in/other/grub.vga.modes.html15:09
drablooks like it's 793-795 depending on color depth you want15:09
Aisondrab, i found many solutions, like video= or also vga=  somehow grup enters into this resolution, but while booting, it suddenly changes to 1080p15:11
Aisonbrb15:13
drabAison: ok, so maybe we're having the same problem after all... I thought it was the installer triggering something but maybe not15:13
drabin my case there's no grub tho, it's booting a kernel directly specified in the pxe menu15:13
zioprotojamespage: I found a new nova bug, fixing it with nova-devs, looks like there will be a new nova release in newton soon15:19
zioprotojamespage: wait to refresh the package15:19
zioprotojamespage: https://bugs.launchpad.net/nova/+bug/168486115:52
ubottuLaunchpad bug 1684861 in OpenStack Compute (nova) "Database online_data_migrations in newton fail due to missing keypairs" [Undecided,New]15:52
zioprotothis bug has roots in the kilo to liberty upgrade15:52
zioprotohttps://bugs.launchpad.net/nova/+bug/151146615:52
ubottuLaunchpad bug 1511466 in OpenStack Compute (nova) "migrate flavor data impossible" [Medium,Confirmed]15:52
zioprotobecause this one is still open I assume most operators used that workaround to upgrade15:53
=== poster is now known as Poster
ppetraki__Yiota, how goes the battle?16:27
__Yiotagood, not sure how to optimize the cache on AWS16:27
=== lutostag_ is now known as lutostag
hallynthere's no maas packages for centos yet right?17:42
* hallyn rolls up his sleeves to try out oVirt17:42
hallynrharper: if you were stuck with centos hosts, what would you use for something where you want to quickly spin up vms?17:42
hallynon my own hosts i use uvt-kvm;  elsewher ei'd use openstack...  but on centos...17:43
hallyni suppose i *could* just use libvirt and virt-install17:43
hallynbut i'm hoping you'll tell me i can install maas :)17:43
ppetrakihallyn, ovirt is still a thing?17:44
sarnold185 folks in #ovirt on oftc17:47
sarnoldI guess it's still a thing :)17:47
hallynppetraki: i wondered that too :)17:49
hallynsarnold: suppose i should make that 186.  if i must17:49
rharperhallyn: hrm, virt-install with isos I suppose18:00
rharperhallyn: but I Think there are centos cloud-images, in which case, you could look at our xkvm wrapper for qemu cli;  xkvm is inside the curtin project18:01
scottjlthere's a lxd image for centos18:22
=== Aison is now known as Aison|stinksauer
=== Aison|stinksauer is now known as Aison
=== poster is now known as Poster
=== lutostag_ is now known as lutostag
Aisoni'm making a test installation of ubuntu 17.04 and I notice quite some differences in the sshd_config compared to the previous versions of ubuntu21:59
Aisonis there anything to consider?21:59
tomreynAison: to consider regarding what?22:05
drabwhat's the deal with ubuntu and libvirt? libvirt seems "production ready" on RH land, but ubuntu seems to be heavily invested in containers (and lxd)22:05
Aisontomreyn, e.g. the hostkey stuff is disabled like: #HostKey /etc/ssh/ssh_host_rsa_key22:06
drabare ubuntu server ppl using libvirt in prod? and does anybody run containers with it?22:06
sarnolddrab: afaik the only real missing piece for libvirt on xenial is lack of making new zfs zvol pools22:06
Aisonis it disabled because it is not in use, or is it disabled because it is the default value22:06
drabAison: default value22:06
drabsarnold: ah, ok, that I can live with22:06
sarnolddrab: almost no one in ubuntu-land uses libvirt-lxc; but libvirt-qemu is used all the time22:07
drabwhat really holds me back is the container stuff, which seems second class big times22:07
drabok22:07
drabthat's the impression I had, yeah22:07
sarnoldyeah; for containers ubuntu folks use lxc or lxd22:07
sarnolddepending upon taste22:07
Aisondrab, thx22:07
sarnoldI guess there's loads of folks who use docker too, but i'm more familiar with people using lxd22:07
draband that's what's kind of throwing me off... I don't quite want to invest to learn both frameworks22:08
drabyeah, no docker here, thanks22:08
drabalso it seems that to make those play along (libvirt and lxd) could be potentially troublesome22:08
drabsharing bridges, pools, etc, would prolly have to separate everything22:08
drabwhich means running a kvm instance and a bunch of containers on the same host trouble22:08
drabbut then running qemu manually is being a real pain too...22:09
naccdrab: libvirt-lxc is sadness22:09
naccdrab: just an fyi22:09
drabthere doesn't even seem to be any provision to strt qemu guests at boot other than hacky home-baked scripts22:09
drabnacc: yeah, like I said, that's the impression I got22:09
drabhence staying away from libvirt and investing in lxd22:09
naccdrab: i'm stating it as more than your impression :)22:09
drabhah, ok22:10
nacclibvirt is still very reasonable to use for kvm guests22:10
drabpoint taken22:10
naccand i think there are many folks that use libvirt and lxd22:10
drabbut then I have all this nfs-kernel-server which containers are no good for22:10
drabmmmh ok, I have not see much if any of that22:10
naccthey can probably even be on the same bridge22:10
tomreynAison:  yes, /etc/ssh/ssh_host_rsa_key is generated by default (unless present) on sshd startup22:10
drabie blogs or docs mixing the two, sharing bridges and pools etc22:10
Aisondrab, tomreyn thx22:11
drabalso for some reason I don't seem to be able to get taps created without sudo even after setuid'ing qemu-bridge-helper22:12
=== god is now known as Guest48918
hallynrharper: ... or maybe i'll just wait for someone to install ubuntu on the hosts :)23:50
* hallyn looks for the cloud images23:50

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