/srv/irclogs.ubuntu.com/2018/03/29/#ubuntu-server.txt

naccrbasak: powersj: fyi, i'm testing (https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/357/) some further fixes to our snap that may unwedge CI00:01
naccthanks to kyrofa's help00:01
nacci'll need to run it a few times ( powersj if there's any way you can clone that same job 3 or 4 times easily, that'd be great), as that's what failed before (about 1/4 of times run in parallel)00:01
naccoh i'll just rebuild it a bunch00:02
naccrbasak: hrm, our reimport tagging needs to apply to applied/ too, doesn't it?00:06
naccrbasak: does it look werid to have applied/reimport/0 ?00:06
naccpowersj: rbasak: it does look like it fixes it00:50
naccrbasak: so i'll need to rebase my branches so we get clean CI runs, if that's ok with you?00:50
nacccontentfully the same for you00:50
naccpowersj: rbasak: pushed to master, but i'll hold off on rebasing just for rbasak's sake01:13
naccrbasak: actually, i lied, i'm going to push over the top to retrigger CI02:57
naccrbasak: branches pushed, should pass CI in all 4 cases03:01
=== led_ir23 is now known as led_ir22
lordievaderGood morning06:06
OpenTokixWhat is the kernelversion in 18.04?08:14
ducasseOpenTokix: 4.15.0.13 atm08:18
OpenTokixok, nice08:22
=== ackkk is now known as ackk
=== beatzz_ is now known as beatzz
gunixis there any other method for complete unattended install for ubuntu ? cause MAAS is failing really bad10:40
OpenTokixgunix: preseed10:44
gunixOpenTokix: yea, and pxe boot10:45
gunixOpenTokix: when I try to PXE boot from the ubuntu install ISO i get an error because the format is not correct10:45
gunixOpenTokix: is there any blog on how to prepare iso images for pxe boot so that they work?10:46
OpenTokixno, preseed with iso is broken10:46
OpenTokixwhy would you ever do that?10:46
gunixOpenTokix: i didn't add preseed to the iso10:46
OpenTokixDont boot the iso from pxe10:46
gunixOpenTokix: i just tried to boot the iso via PXE and it failed10:46
OpenTokixYou just boot the kernel + initrd, and fire of a netinstall10:46
gunixthan how do i boot ?10:46
gunixhmm.10:46
gunixOpenTokix: do you have a tutorial for that ?10:47
OpenTokixgunix: hold on, I am preparing a pastebin for you10:49
gunixOpenTokix: you are kind. thank you.10:54
OpenTokixgunix: https://pastebin.com/S2BBwKuH10:57
OpenTokixgunix: this is what I use fro 16.0410:57
OpenTokixThis will give you swedish keyboard layout, for us, change all sv/se to us and you will be fine. - I keept it because to get correct layout was non-trivial D:10:57
OpenTokix:D10:57
OpenTokixThis is both location of installer binaries, pxe config and preseed file in the same paste. - Also username and password is: ubuntu for this install.10:58
gunixOpenTokix: where did you add that PXE boot section ?10:58
OpenTokixgunix: in the configuration my tftp-server.11:04
OpenTokixhttps://debian-administration.org/article/478/Setting_up_a_server_for_PXE_network_booting11:04
OpenTokixIt's the same for all debian and derivates.11:04
gunixOpenTokix: does it work with http server or do you really need tftp ?11:05
OpenTokixgunix: yes, pxeboot support only tftp11:06
OpenTokixbut you pull the preseed from http.11:06
gunixOpenTokix: does it default to the LABEL 2 when you boot?11:08
tomreynipxe supports http(s) network booting11:08
gunixi mean, from what i understand, that will be a boot option11:08
tomreynbut you'd need to get ipxe installed ony our NIC / system firmware beforehand11:08
gunixtomreyn: yes, that would help, since we already have nginx in the network ...11:08
gunixtomreyn: the system is proliant gen911:09
tomreynjust one system?11:09
gunixtomreyn: about 6 or 711:09
gunixtomreyn: i will get about 50 more incoming but not all gen9, some gen7 and gen 811:10
gunixso i don't know if the old tech can do ipxe11:10
tomreynuuh those are eol11:10
gunixtomreyn: yes.11:10
gunixpoc infra.11:10
tomreyni have no first hand experience with ipxe on proliants. there's this https://community.hpe.com/t5/ProLiant-Servers-ML-DL-SL/UEFI-iPXE-and-Service-Pack-for-ProLiant-SPP/td-p/693353411:11
tomreyn(result of a quick web search)11:11
gunixweechat and links ...11:11
tomreynhttp://ipxe.org/howto/romburning11:13
gunixtomreyn: i think i just figured out something11:13
gunixtomreyn: i don't need to set this up. ilo can boot the iso from the network and i just add the preseed to the iso11:14
gunixthe only problem is, i need a centralised way to change boot order on all servers11:14
tomreynhp ilo booting off an iso requires manual interaction, though, i guess11:15
gunixif the iso has preseed than it shouldn't need it11:15
tomreynok, good luck :)11:15
gunix:D11:15
tomreynthere are hp utilities / services / servers to manage ilo configurations centrally. i forgot the name, though, and i think you also need an extra license for that.11:16
gunixtomreyn: IPMI can change boot order too, but i tried that and it didn't yield the results i was expecting11:17
gunixand AFAIK ilo has some sort of API11:17
gunixi need to inspect11:17
tomreynyes it does, it's ugly, though11:28
tomreynipmi doesn't seems like a hp concept ;-)11:29
RoyKiirc iLO supports IPMI11:37
OpenTokixgunix: no, you have to configure your pxe-server.11:40
ahasenackrbasak: hi, do you think you could review https://code.launchpad.net/~ahasenack/ubuntu/+source/ubuntu-advantage-tools/+git/ubuntu-advantage-tools/+merge/342208 today?12:17
ahasenackI'm off tomorrow (holiday), and monday is the final freeze12:17
ahasenacknacc: hi, do you think you could look at https://bugs.launchpad.net/ubuntu/+bug/1752378 today? I'm off tomorrow (holiday)12:17
ubottuLaunchpad bug 1752378 in Ubuntu "Please add Userspace Packages for NVDIMM support" [Medium,In progress]12:17
rbasakahasenack: I'll take a look12:18
rbasakahasenack: do you happen to have any bileto knowledge?12:19
ahasenackno12:19
ahasenackjust that it exists12:19
ahasenackbut since I couldn't use it, I didn't read about it12:19
rbasakOK12:21
rbasakahasenack: stopping for lunch. I'll continue when I'm back.12:26
ahasenacksure, thx12:26
=== miguel is now known as Guest14023
kabari am getting error while installing wordpress.. need argent help12:48
kabarReload : postfix   [OK] Reload : nginx     [OK] Restart : php5.6-fpm[OK] Reload : mysql     [OK] Running pre-update checks, please wait... Setting up NGINX configuration  [Done] Setting up webroot              [Done] Downloading WordPress           [Done] Setting up database             Oops Something went wrong !! Calling cleanup actions ... 'ee_mysql_grant_host'12:49
RoyKkabar: check the logs - looks like the mysql grants failed12:55
kabarRoyk: how i check log12:56
RoyKnot sure where they may be - I've never installed wordpress from packages12:56
kabarok brother12:58
ahasenackwell, start in /var/log13:05
ahasenackif that output was from a php script displayed in your browser, check the apache logs in /var/log/apache<tab><tab>13:05
kabardont get it13:10
RoyKkabar: perhaps /var/log/dpkg.log13:16
RoyKahasenack: that php script was probably run directly, not through apache, as installers mostly do13:17
RoyKkabar: you may want to consider installing wordpress from source - there's a *ton* of updates that never reaches the repos13:17
rbasakahasenack: I don't see any tags "upstream". Which commit on Github matches the current state of Bionic please, and which is the one from which you're uploading?13:23
ahasenackrbasak: I'm releasing on github after ubuntu13:23
ahasenackrbasak: I'm treating ubuntu as the upstream13:23
kabarlog is so big13:27
rbasakahasenack: I'm just after the broken down commits for the change please. Where can I find those?13:29
ahasenackthere are no broken down commits in the lp branch, since there are no changes in debian/ and it's a new upstream13:31
ahasenackI see where you are getting at, though. If I'm treating ubuntu as the upstream, you will want to see every individual commit there?13:31
ahasenackthere are commits/merges that do not warrant an entry in d/changelog13:32
ahasenackotherwise it would be a git log13:32
rbasakahasenack: I just want to review the diff, and it would be easier if broken down.13:43
ahasenackrbasak: would you do that if this were not a native package? Review each change in, say, a new apache tarball?13:43
ahasenacknot do, but require13:44
ahasenacksorry13:44
ahasenackI can break it down but one commit would be like "cleanups". The others would match the d/changelog entries13:45
rbasakahasenack: I'm only interested in the packaging implications. For apache, that's pretty evident from the debian/ directory. For this package, though, it pretty much is all packaging so the "upstream" changes are relevant.13:45
ahasenackfor example, a change like this:13:46
ahasenack-install_package_if_missing_file() {13:46
ahasenack+apt_install_package_if_missing_file() {13:46
ahasenackthat's just previxing apt functions with apt_13:46
ahasenackI wouldn't mention this in the changelog13:46
ahasenackd/changelog, that is13:46
rbasakYeah so if that were in its own commit, I could see that and ignore it.13:46
rbasakMaking the diff that I do need to review smaller.13:46
ahasenackI see13:46
ahasenackso I can have changes, small ones let's say, in the git commit log, that are not mentioned in d/changelog, as long as the commit log is self explanatory, is that ok?13:47
rbasakahasenack: I would probably say something like "Other trivial miscellaneous changes; see git log for details" in the changelog or something.13:53
rbasakahasenack: but then Vcs-Git really needs to point to something that has the changes.13:53
ahasenackrbasak: the vcs-git url is correct, you just won't find matching commits between that and launchpad, not even commit messages14:02
ahasenacklp is not a mirror14:02
smoserrbasak: ok.. so imporer..14:04
smoserimporter14:04
smoserssh-import-id https://git.launchpad.net/ubuntu/+source/ssh-import-id/tree/14:05
smoserhas ssh_import_id.egg-info/ dir that i dont know where they came from.14:05
smoserthey're not in ssh-import-id_5.5.orig.tar.gz14:05
smoser$ tar tvzf ../ssh-import-id_5.5.orig.tar.gz  | grep egg14:05
smoser$ tar tvzf ../ssh-import-id_5.5.orig.tar.gz  | grep egg14:05
smoser$ tar tvzf ../ssh-import-id_5.5.orig.tar.gz  | grep egg || echo "no eggs"14:06
smoserno eggs14:06
smoseroh. i see they're in ssh-import-id_5.5-0ubuntu1.diff.gz14:07
rbasakOh. It's a version 1 package?14:08
smoseri guess, yeah :)14:08
smoserso how would you do this SRU ?14:09
RoyKsmoser: you don't need the z in that tar command when extracting - it's automatic14:09
smoserRoyK: yeah, thanks. but my fingers dont remember that.14:12
RoyKhehe14:12
rbasakrharper, dpb1: https://www.reddit.com/r/Ubuntu/comments/880spj/systemd_ifdown_hook_services_for_individual/15:13
rharperrbasak: networkd-dispatcher is a possiblity15:29
rbasakrharper: yeah that's why I pinged you :)15:30
naccrbasak: fyi, i'll keep adding tests to my last branch16:03
powersjnacc: it looks like there is a race in the vm_setup script when you launched multiple of them at the same time.16:03
rbasaknacc: thanks. It seems unlikely I'll get to reviewing it any time soon now though :(16:03
powersjOne job was still creating a VM and then when a 2nd tried to run uvt sync it throws the libvirterror16:04
naccrbasak: understood; how did you want to proceed with that, given the time crunch(ish)16:04
nacci can try and get 100% coverage of all added code16:04
nacc(i'm hoping i can get to 100% of importer.py, tbh)16:05
naccpowersj: :)16:05
rbasaknacc: I don't mind you continuing to work on it provided that it doesn't make my reviews unwieldy and big. If that's going to happen, I think you should hang back.16:05
rbasaknacc: too much stuff pending review makes things exponentially difficult :(16:06
rbasakAnd IMHO, the only reasonable way to handle that is to reduce velocity.16:06
naccrbasak: yeah, just a bit frustrating in that stuff is getting pushed further and further back that is ready now16:06
nacc:)16:06
naccrbasak: 'unwieldly' is relative. the last commit that just adds test is up to about 600 lines16:07
naccbut it's all tests16:07
gunixis there any way to export the preseed config after install, like on centos?21:01
ChmEarlgunix, /var/log/installer/cdebconf/questions.dat also answers.dat... not sitting at debian now21:05
naccgunix: debconf-get-selections is the same as above21:06
naccbut not everything is preseedable21:06
gunixChmEarl: how do i transform that into a preseed config?21:06
ChmEarlnacc +121:06
naccgunix: you ... generally can't, iirc21:07
naccgunix: these days, people make image snapshots21:07
naccgunix: it's not typically worth the cost to re-install multiple times21:07
gunixnacc: what if you want to run tests on an environment and want to reinstall a bare metal server 5 times per day?21:08
naccgunix: you installed by hand once? preseed from the get-go21:08
gunixnacc: how do i get the preseed from the get-go ?21:09
naccgunix: you start with the default preseed21:09
nacccustomize it from there21:09
gunixnacc: on centos you get a file called "anakonda" after the install, which can be used to kickstart all new installs21:09
gunixand it provides a fully automated feeling to the install21:09
naccgunix: yes, i know.21:10
naccgunix: ubuntu and debian do not.21:10
gunix:D21:11
naccgunix: a lot of people do what i suggest and are able to get to the preseed they want21:11
naccthen they just use that, basically, forever, IMO21:11
gunixnacc: ok, so i should install get-go and generate a preseed with it ?21:12
naccgunix: 'get-go' was a turn of phrase sorry21:12
naccgunix: start with a preseed, then work from there21:12
gunixoh21:12
naccgunix: http://blog.dustinkirkland.com/2011/03/ubuntu-server-quick-install-no.html e.g.21:14
gunixok, i will try to tweak a preseed. i have multiple examples21:15
gunixbut was trying to avoid that21:15
gunixbut it seems to be the easiest way to do this21:15
naccgunix: yeah, that's my recommendation21:15
naccgunix: get one that works, first, then tweak from there21:16
gunixnacc: ok, thank you!21:41
naccgunix: np, good luck!21:42
akern07Has anyone ever resized a partition in ubuntu server?21:49
dpb1yes22:13
RoyKakern07: gparted is quite easy to use22:16
akern07I was wondering how to resize a partition in ubuntu server after extending the size of my virtual machine in VM.22:22
dpb1what filesystem are you using?22:24
TJ-akern07: you could use 'parted resizepart ...'22:26
akern07I think it's the primary volume22:32
gunixnacc: how do i encrypt password for d-i ?22:59
JanCyou first need to resize the partition (e.g. with 'parted'), then resize the filesystem (e.g. with 'resize2fs')23:05
xinobidoes fcgi handles sessions differently from mod_php?23:41
jerichowasahoaxreposting the response i provided in #ubuntu, for convenience:23:42
jerichowasahoaxthe only thing i can think of is if nginx is loading a different php.ini file, some session related configuration variables might be different23:42

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