/srv/irclogs.ubuntu.com/2017/09/01/#ubuntu-server.txt

naccrbasak: cpaelzer: i'm killing the importer cron job until i can debug this better -- i'm seeing different results from the import-cron script and the git-ubuntu invocation, which shouldn't happen00:09
rbasaknacc: ack00:23
nacccpaelzer: i pushed --reimport to the snap, if you refresh it should be available and i think will work for you01:41
heistheDudeandol: yes. effective processing of the step isnt fruitful02:32
lordievaderGood morning07:12
TafThornemorning07:13
lordievaderHey TafThorne07:19
TafThornehello to you too lordievader07:33
=== lifeless_ is now known as lifeless
jamespagecpaelzer: morning - shall I send you a git review with my workaround patch for the double-locking issue in libvirt? I'd like to get this resolved AM today if possible07:57
cpaelzerjamespage: hmm, not sure yet08:14
cpaelzerjamespage: unfortunately upstream didn't respond at all yet08:14
cpaelzerjamespage: but we can "hotfix" it now and reroll to the upstream solution later08:14
jamespagecpaelzer: +1 we need todo that08:15
cpaelzerjamespage: I can take the diff from the LP bug08:15
cpaelzerjamespage: were there any updates to is since you attached?08:15
jamespagecpaelzer: nope that's the one we tested with last night08:15
cpaelzerresult?08:15
cpaelzergood?08:15
jamespagecpaelzer: yes - commented to that effect on the bug just now08:16
cpaelzerperfect I'll take over08:16
jamespagecpaelzer: thanks!08:17
cpaelzerreview, build, test and ping you then08:17
cpaelzerAM for the uplaod maybe, but to migrate I'm not so sure08:17
cpaelzerjamespage: so you ended up not moving the dmn->autoShutdownCallingInhibit = true; that I asked about08:26
cpaelzerjamespage: and only do the "hotfix as a partial revert08:26
jamespagecpaelzer: yeah basically - by switching back to the older behaviour, that call is always good08:27
cpaelzerwhich might return what the former patch fixed but seems better than what we have for now08:27
cpaelzerack08:27
cpaelzeras hotfix ok08:27
jamespagecpaelzer: agreed - its needs a more complete fix if upstream want to maintain that fast-path behaviour08:28
jamespagecpaelzer: upstream fix also looks reasonable btw08:47
cpaelzerjamespage: already building with it08:57
cpaelzerjamespage: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/294208:57
cpaelzerjamespage: for a fast minor sniff before pushing08:58
cpaelzerjamespage: I'll give you a ping when it is ready to test for you as well08:58
cpaelzerjamespage: or would you need the xenial backport to verify your case?08:58
jamespagecpaelzer: ideally but I can deal with that09:26
cpaelzerjamespage: https://launchpad.net/ubuntu/+source/libvirt/3.6.0-1ubuntu409:55
cpaelzerjamespage: strictly speaking it is AM :-)09:55
cpaelzerjamespage: yet we need to guide it through migration09:56
cpaelzerjamespage: this is already the upstream fix09:56
cpaelzeryou even have 1 extra hour of AM left for you09:59
jamespagecpaelzer: have it built - but had some image issues in our cloud so only just re-deploying...10:55
jamespagecpaelzer: apologies10:55
cpaelzerjamespage: all fine, let me know how  the retests on this fix behave11:02
jamespagecpaelzer: tbh unless you see a regression I'd go with that patch for upload to arftul11:05
jamespagecpaelzer: it looks 100% reasonable and correct to me11:05
jamespagesmoser: I owe you a simplestreams change for a niggle I need to scratch11:10
jamespagesmoser: I'd like to split 'keep' from 'maxnum' in resolve_items (optionally)11:11
jamespageas its desirable to start seeding a cloud with a smaller number of image syncs, but retain synced images over time11:11
jamespageit looks like keep may have done that at some point in the past, but its a boolean toggle now and will only keep up to maxnum11:12
albechanyone know of a small cmd line tool that can create sha512 crypt passwords? Dont really want to install dovecot for dovecotpw.11:39
TafThornealbech: sha512?11:47
TafThorneAs in that is what it comes up with on my command lines.  I think it is a thing out of openssl dgst11:48
jamespagecpaelzer: looping a reboot --hard right now11:52
jamespagelooking good so far11:52
TafThorneOh I was meant to try out something for fsck now I modified /etc/fstab.  Time for me to reboot too.11:53
jamespagecpaelzer: +1 on that fix - lots-of-reboots later still all good12:08
TafThornefsck finished suspiciously fast (few seconds on a 1.8 TB spinning drive) but it passed.12:11
jamespagecpaelzer: I've pushed from the bileto ppa to artful - thanks for preparing that update12:19
jamespagenm I see you already did that...12:21
jamespagedoh12:21
smoserjamespage, hm... yeah. keep is supposed to be separate from maxnum.12:33
smoserzlthough originally i think it was only to be less. keep being less than maxnum.12:34
smoserhave to think again.12:34
tomreynhow would i nopte down that this remains unfixed for xenial while it is fixed in yakkety? https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/156809714:36
ubottuLaunchpad bug 1568097 in mdadm (Ubuntu) "Error messages about mdadm --incremental failing" [High,Fix released]14:36
ahasenacktomreyn: you can nominate it for xenial14:38
tomreynother bug reports have these clock (?) icons here listing xenial, yakkety and zety as separate targets, e.g. https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/160849514:38
ubottuLaunchpad bug 1608495 in mdadm (Ubuntu Zesty) "IMSM fakeraid handled by mdadm: unclean mounted volumes on shutdown/reboot" [Critical,Confirmed]14:38
tomreynbut i can't seem to find out how to add these nominations on https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/156809714:38
ubottuLaunchpad bug 1568097 in mdadm (Ubuntu) "Error messages about mdadm --incremental failing" [High,Fix released]14:38
ahasenacktomreyn: there is a "nominate for series" link14:38
ahasenack"Also affects project (?) Also affects distribution/package Nominate for series" under the task list14:38
ahasenackor maybe you don't have it?14:39
tomreyn"[X] Also affects project" and  "[X] Also affects distribution/package" is what i have14:39
tomreynusing a standard ubuntu account without any special permissions14:39
tomreynahasenack: since you have this option, could you do it?14:41
tomreyn(or more precisely, could you please evaluate whether it needs to be done)14:42
nacccpaelzer: you didn't try again with --reimport, did you? (re: src:virt-manager)14:45
nacccpaelzer: if you're able to join standup early, we can talk about that15:11
naccrbasak: so i'm thinking we need to adjust something -- --no-fetch no longer implies --no-push if --no-fetch --directory is how you reuse adirectory?15:37
=== sammyg is now known as FBI
=== FBI is now known as Guest15393
=== Guest15393 is now known as sammyg
nacccpaelzer: virt-manager reimported and you can see that your upload tags were preserved: https://git.launchpad.net/~usd-import-team/ubuntu/+source/virt-manager/log/16:30
nacccpaelzer: will check on the MPs16:30
nacccpaelzer: interesting, they got deleted -- can you resubmit? i'll adjust the code16:30
coreycbbeisner: hi, can you promote nova - 2:14.0.7-0ubuntu2~cloud1 to newton-proposed?16:46
naccahasenack: can you try your samba build with the latest snap?17:07
ahasenackI sure can17:07
ahasenack211?17:08
naccahasenack: yeah, i think so (211/212 depending on arch)17:08
ahasenacknacc: is build-source aborting now when the tree is dirty?17:09
naccahasenack: yes17:09
ahasenackhm17:09
naccahasenack: because pristine-tar doesn't like that17:09
naccahasenack: to be clear, it was before too17:09
ahasenackI change the version in d/changelog to add a ~ppa1 just before a build, so I can upload to a ppa17:09
naccahasenack: (before == yesterday)17:09
ahasenackno, before it complained, but continued17:09
ahasenackok, earlier then17:09
naccahasenack: yeah, earlier than yesterday :)17:09
ahasenacknacc: ok, didn't work17:10
ahasenack09/01/2017 14:10:14 - ERROR:stderr: dpkg-buildpackage: error: fakeroot not found, either install the fakeroot17:10
ahasenacknacc: full output: http://pastebin.ubuntu.com/25446047/17:10
naccahasenack: is that branch pushed somewhere?17:11
ahasenackyes, my samba repo17:11
naccahasenack: i think we can allow for building from dirty trees, i just was being overly cautious17:11
naccahasenack: ok, one moment17:12
naccgrrrrr17:12
naccahasenack: fakeroot is an update-alternatives postinst17:12
naccahasenack: so i'll need to fake that in my yaml :/17:13
ahasenack /usr/bin/fakeroot-sysv17:14
ahasenackinteresting17:14
naccyeah17:14
ruben23hi guys is it standard that apparmor si running and installed by default on any stock ubuntu server.?17:24
ahasenacknacc: you don't get the symlink when you install fakeroot in the snap?17:24
ahasenackruben23: very much so, not all of the server packages have apparmor profiles, but many do17:25
ahasenacknacc: the postinst doesn't run?17:25
ahasenacknacc: you can probably pass -r and use fakeroot-sysv then?17:26
naccahasenack: yes, re: symlink17:27
ruben23coz i wanted to move the directory of data storage for mysql database to a newly installed separate drive. and most of teh how to i see need to configure apparmor to be successfull on that17:27
naccahasenack: yes, re: postinst (by design in stage-packages)17:27
naccahasenack: i'm just making our snaps' fakeroot be fakeroot-sysv17:28
ahasenackruben23: you can adjust the apparmor profile for mysql, in /etc/apparmor.d/local/17:28
naccahasenack: to do what you're saying, i'd actually need to write a wrapper for dpkg-buildpackage (i'm trying to avoid that)17:28
ahasenackah, you don't call that directly, but something else? Like debuild?17:29
naccahasenack: no, we do17:29
naccahasenack: we call dpkg-buildpackage directly17:29
naccahasenack: but it's wrong for us to call dpkg-buildpackage -r /usr/bin/fakeroot-sysv on a non-snap install17:30
naccahasenack: we should use what the user provides17:30
ahasenackah, the run-from-tree case17:30
naccahasenack: yeah17:30
ahasenackfair enough17:30
nacci guess 'wrong' is too strong17:30
naccbut tweaks should be in the snap, imo17:30
ahasenack"unexpected"17:31
naccyeah17:31
madLyfenacc: so to do the iso installer thing i need to do it from ubuntu and not win, correct?17:32
naccmadLyfe: i suppose you can do it from windows, but i have no idea how17:32
naccmadLyfe: seems easier to do it from linux17:33
madLyfei found this: https://askubuntu.com/questions/409607/how-to-create-a-customized-ubuntu-server-iso not sure if it is what you were talking about.17:33
madLyfecan it be desktop?17:33
naccmadLyfe: to make the image? yeah17:33
naccmadLyfe: you just want to use an server iso to start17:33
naccahasenack: i've pusehd the fix, but the snap builders are loaded down, it seems17:33
=== JanC is now known as Guest2554
=== JanC_ is now known as JanC
ahasenacknacc: ok, will check periodically17:34
madLyfeok ill get setup here.17:35
naccahasenack: in this particular case, the 'success' will be that pristine-tar will fail and then we'll failover to using launchpad (note you can also pass --no-pristine-tar to `git ubuntu build{,-source}` and it should work17:35
naccahasenack: and the implication is samba also needs a reimport17:35
ahasenackwhat will the cron job use?17:36
naccahasenack: which cron job?17:36
ahasenackpristine-tar for new packages?17:36
ahasenackthe one that imports packages17:36
ahasenackor unrelated17:36
naccahasenack: unrelated, i think17:36
naccahasenack: or maybe i'm confused17:36
naccahasenack: the importer was fixed to use the correct paths for imports as part of the pristine-tar changes17:36
ahasenackit's just because you mentioned reimport that I wondered about the cron job, because it does imports17:36
naccahasenack: that led to some breakage for old imports17:37
nacceffectively, we changed the hashes17:37
naccahasenack: the cron job always just imports17:37
naccahasenack: reimport is a special mode when we need to wipe a repo17:37
ahasenacktomreyn: hey, what is the scenario in that mdadm bug on xenial? Just install with raid and reboot?17:40
ahasenackdoes it have to be raid5, or a raid with more than two disks?17:40
madLyfei can do this from desktop live usb, nacc ?17:43
naccmadLyfe: i guess so, yeah17:44
madLyfedo i need to download an new server iso or use the one that has already been put onto a usb key?17:45
naccmadLyfe: you can use the same iso, but you're going to end up putting that on the usb key eventually17:45
madLyfeill just download a new one then if im going to overwrite it anyways17:46
madLyfehmm i wonder if 17.04 would work out of the box.17:47
madLyfeis it even worth it to try that before i delve into this iso alteration?17:47
madLyfeim going to try JIC17:51
madLyfethis is 17.4 and lsusb from installer shows the USB Ethernet adapter (realtek) https://usercontent.irccloud-cdn.com/file/yah8cP1r/irccloudcapture2130928741.jpg18:00
madLyfebut not here https://usercontent.irccloud-cdn.com/file/Vd2MF8Ry/irccloudcapture870703048.jpg18:01
madLyfeduring network detection18:01
tomreynahasenack: i'm on xubuntu 16.04.3 with mainline kernel and raid 1 with dm-crypt-luks + lvm on top18:04
tomreyn...and i got those18:04
tomreynrunning 4.12.10-041210-generic18:04
tomreyni can try the default image if it helps - let me know18:05
ahasenacktomreyn: so luks on the md device?18:08
ahasenackor luks on each disk and then raid?18:08
cpaelzernacc: I can confirm that on the reimport my MPs seem still to match18:15
madLyfenacc: should i also download desktop since i know thats where the usb ethernet adapter works properly? to get the correct files from?18:16
tomreynahasenack: ahasenack luks on top of md on top of partitions18:16
ahasenacktomreyn: ok18:17
cpaelzernacc: new MPs in the trello card and on active reviews18:17
* cpaelzer is actually not here18:17
nacccpaelzer: thanks and sorry abou tthat18:19
naccmadLyfe: you should just need to get the -extra .deb corresponding to the installer kernel18:19
cpaelzernacc: not a problem18:20
cpaelzernacc: if there wouldn't be issues the tool would be unused18:20
cpaelzerso be happy that we find some18:20
naccahasenack: can you try your build again (snap r213/214)18:20
* cpaelzer leaves to EOW18:20
nacccpaelzer: yeah, i told you the wrong hiddne flag (or no tell) -- it's --reimport18:20
nacccpaelzer: enjoy your w/e18:20
* ahasenack fetches r21418:20
ahasenacknacc: worked, and was very silent, only printing out this bit:18:21
ahasenack09/01/2017 15:21:08 - INFO:Successfully built using fetch_orig_from_parent_dir(source=None)18:21
ahasenackthat's a debugging detail?18:21
naccahasenack: ah you already had the tarballs in the parent dir?18:21
ahasenackprobably, let me clean that up18:21
ahasenackok, from scratch now18:21
naccahasenack: yeah, if you could clear those out and retry, it'd help18:22
ahasenackdirty tree, cleaning up18:22
nacc:)18:22
naccahasenack: i have a fix for that bit queued (i filed a bug to track it), it needs some thinking18:22
ahasenacknacc: exactly same thing, just that info line18:22
naccahasenack: as even with a dirty-tree, we should be able to use the pristine-tar18:22
naccahasenack: then parent_dir ?18:22
naccahasenack: then the orig tarballs were found in the parent directory18:23
ahasenackit has the source package, tarball, all the stuff18:23
madLyfewell thats confusing, if i never had internet, and the installer doesnt recognize the usb ethernet adapter at install, but can be manually added after install, it means the software is there already.18:23
naccahasenack: right, you need to delete the tarballs from the parent dir18:23
naccahasenack: in order to not use them18:23
ahasenackI did18:23
ahasenackyou are lagging :)18:23
naccok wait18:24
naccdelete orig tarball from parent dir18:24
nacccd samba; git ubuntu build-source18:24
naccthat should not say fetch_orig_from_parent_dir18:24
naccahasenack: are you sure you didn't misread the messag?18:24
ahasenacknacc: http://pastebin.ubuntu.com/25446444/18:24
naccahasenack: i just tested locally and pristine-tar worked18:24
naccfetch_orig_from_cache18:25
naccahasenack: *different* message18:25
ahasenackoh, would you look at that18:25
naccahasenack: clear the cache (rm -rf .git/git-ubuntu-cache)18:25
ahasenackI don't have a /home/andreas/.git/git-ubuntu-cache18:26
naccin samba18:26
naccahasenack: in the git repo, i mean18:26
ahasenackok18:26
ahasenackgone18:26
ahasenacknothing in parent18:26
ahasenackcache gone too18:26
nacctry the build-source again (might need a `git clean -fd`)18:26
ahasenackdebian/files is always there to make me smile18:26
naccyeah, that needs the build changes to use lxd to work (as we need to run clean)18:27
ahasenackok, now it's ugly18:27
ahasenackstill running18:27
naccahasenack: in your current local state, i expect you'll see pristine-tar try, fail, and then fetch_from_launchpad succeed18:27
ahasenacknacc: correct: http://pastebin.ubuntu.com/25446453/18:28
naccahasenack: now what's interesting is that on my bastion, it built with pristine-tar18:28
naccahasenack: have you run `git fetch pkg`?18:28
ahasenacknacc: not just now, but earlier today sure18:29
naccahasenack: and/or, can you try with a fresh clone somewhere (e.g., in /tmp) and see if you also see it?18:29
ahasenacksure18:29
naccahasenack: it doesn't make sense for us to see differing behavior there -- I get (http://paste.ubuntu.com/25446470/)18:30
ahasenackReceiving objects:  93% (74038/79039), 146.04 MiB | 2.70 MiB/s18:31
ahasenacksamba is big18:31
naccahasenack: :)18:31
ahasenacknext time let's try base-files18:31
ahasenackok, clone complete18:31
ahasenackswitch to my branch, or try straight from ubuntu/devel?18:31
naccahasenack: your branch18:32
ahasenacknacc: http://pastebin.ubuntu.com/25446481/18:33
naccahasenack: yeah18:34
naccahasenack: so something (seems) wonky with your local repo18:34
naccahasenack: i'm not sure why yet18:34
naccahasenack: as the last paste shows pristine-tar working18:35
naccahasenack: now, it doesn't really matter, but you do want to use pristine-tar (it's faster at least) if you can18:35
madLyfewhat about this? http://fai-project.org18:37
sarnoldmadLyfe: a channel regular (used to?) really like it; I've never tried it myself18:38
madLyfedont think it will work if i dont have network though.18:39
sarnoldthat's my understanding18:41
sarnoldif you don't have a network but still want customized automated installs then you have to figure out either debian installer preseeding (which is .. poorly documented at best) or figure out the kickstart compatability stuff; or figure out how to use a cloud image on the hardware in question with cloud-init18:42
madLyfeits frustrating since i dont really know nix and trying to communicate the language.18:43
madLyfeand when i see it working fine on desktop but not server.18:44
ahasenacktomreyn: ok, got it on xenial18:56
ahasenackjust raid118:56
ahasenacktomreyn: http://pastebin.ubuntu.com/25446612/18:56
ahasenackone per disk I'm guessing, or partition18:56
ahasenacktomreyn: is it just an annoyance?18:57
ahasenacknacc: around?20:59
ahasenacknacc: something related to manpages broke in some recent version of the git-ubuntu snap21:02
ahasenack$ git ubuntu --help21:03
ahasenackman: error while loading shared libraries: libmandb-2.7.6.1.so: cannot open shared object file: No such file or directory21:03
ahasenacksame for the rest of the git (non-ubuntu) commands21:03
naccahasenack: ok, will debug, it' sprobably more PATH stuff21:31
naccahasenack: so `git tag --help` also is broken?21:32
naccrbasak: cpaelzer: fyi, running the cron job from outside the snap is working. so I'm going to just let that run (it's running in verbose mode for now in a screen on my bastion)21:45
naccrbasak: i'm thinking maybe we do an integration test that's just a few triival commands ... e.g., a from-scratch (no-push) import of srcpkg (maybe one without a long history, so it's fast), a git ubuntu clone, and maybe a build right after clone?22:58
naccrbasak: and add that to CI?22:58
naccit will slow down CI quite a bit, but I think is also our best sanity check22:58
naccahasenack: i think i agree with you as well, i will stop letting the snap auto-build propoate directly to stable23:00
naccahasenack: i *think* it's stable right now :)23:00
nacclet's talk it over on tuesday23:00
naccpowersj: --^ how hard would that be to add? (basically, if we're doing a local snap build, install that snap locally (it'd need `snap install --dangerous --classic /path/to/snap` and then a `git ubuntu import --no-fetch --no-push ipsec-tools` or something23:42
naccrbasak: ooh, well, refactored (contentfully a rewrite, just due to indentation changes) of importer.py and it's working (in local testing). So that's a good sign :)23:44
powersjnacc: not hard at all23:44
powersjCan you file a bug or make a card and I can take care of it Monday23:45
powersj(And assign me)23:45
naccpowersj: good to know, i think we'll want to talk it over tuesday AM and then I'll file it then23:45
naccpowersj: yep, thanks -- we'll make sure the testcase is well-defined first. I think 3 simple ones would be a good first integration checkpoint.23:45
sarnoldpowersj: btw us federal holiday monday23:46
powersjOh yeah I get the day off! ;)23:46
naccpowersj: yeah :)23:46
naccahasenack: oh and `git ubuntu --help` works again23:51
naccahasenack: and just pushed a fix to silence the 'failed to find manpage for git-tag' from `git tag --help` with our gitconfig workaround23:54

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