/srv/irclogs.ubuntu.com/2018/09/26/#ubuntu-devel.txt

=== Foxhoundz is now known as BenderRodriguez
cpaelzerdoko: cyphermox: It is always the new guy which struggles but due to that has a chance to make documentation better :-) I wanted to ask what you'd think of the following http://paste.ubuntu.com/p/JXMtDcnYBb/ ?06:04
cpaelzerOr to better map asciart with text http://paste.ubuntu.com/p/gX9ZYmntRX/06:09
alterjsivesladen: it looks like it breaks after I install vagrant06:41
alterjsiveI reinstalled my system, did a full update, did a reboot. Then I installed vagrant and now I get a busybox06:42
alterjsiveafter a reboot06:42
sladenalterjsive: how was 'vagrant' installed, and from where?06:45
alterjsivey boot breaks after I install vagrant(updates initfs?)06:49
alterjsiveSteps:06:49
alterjsiveinstall ubuntu & reboot06:49
alterjsivedo a full update & reboot06:49
alterjsiveinstall vagrant & reboot06:49
alterjsive=> busybox06:49
alterjsiveI'm a consultant, can I also pay for support? :)06:51
sladenalterjsive: how was 'vagrant' installed, and from where?06:52
alterjsivesladen: i just did a sudo apt-get install vagrant -y on a clean updated system.06:53
sladenalterjsive: ie. from an Ubuntu package (which exact version), or from a Debian package (which exact version), or from downloading from the internet06:53
sladenalterjsive: okay, that this single action (sudo apt-get install vagrant -y ; sudo reboot)  results in getting a busybox loging?06:54
sladenlogin?06:54
alterjsivevagrant (2.0.2+dfsg-2ubuntu8) bionic; urgency=medium06:55
cpaelzerdoko: cyphermox: I'll be unavailable next weeks MIR meeting (PTO)06:55
cpaelzerjust FYI as I checked next weeks meetings06:56
alterjsive1 sec i'll reboot to check the exact message06:56
sladenhttps://launchpad.net/ubuntu/+source/vagrant/2.0.2+dfsg-2ubuntu806:58
* sladen pages Old_Bloke06:58
alterjsiveBusybox  v 1.27.2 .... (initramfs)07:01
alterjsivesladen: any idea how to fix this initramfs issue?07:03
sladenalterjsive: what is the *exact* error message(s) on boot up07:04
alterjsivesladen: I get a busybox immediatly07:04
sladenalterjsive: what does the output say, immediately before "getting a busybox" ?07:05
cpaelzeralterjsive: FYI I'm trying to recreate that per steps you listed above to cheeck if it generally applies07:05
alterjsivesladen: can I check some logfile?07:05
sladencpaelzer: https://github.com/chef/bento/issues/661  could be a possibility07:05
sladencpaelzer: but don't want to distract alterjsive from trying to debug and get hard facts!07:07
alterjsivesladen: should I check the boot log from a bootable usb?07:10
cpaelzersteps of about 22 minutes ago work fine for me, vagrant is installed and reboot works as expected07:11
alterjsiveafter a failed boot /var/log/boot.log07:11
cpaelzerso yeah, lets try to get reasonable logs from alterjsive case07:11
alterjsiveok brb reboot07:12
alterjsiveany other logs ?07:12
alterjsiveI'll add /var/log/dmesg too07:13
sladenalterjsive: boot log, dmesg, etc.  Something will say *why* this boot up has gone to busybox (and without logs the going to busybox is the only we have indication here of anything non-normal here...)07:13
alterjsivesladen: I don't see anything unusual in the boot.log07:27
alterjsivehttps://paste.ubuntu.com/p/vKFz4rc95y/07:28
alterjsivedmesg is not a log I found out :)07:29
alterjsiveI just copied all files in my log dir07:29
alterjsivesladen: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318 i've added my logfiles07:34
ubottuLaunchpad bug 1794318 in linux (Ubuntu) "unable to boot after installing vagrant?" [Undecided,Incomplete]07:34
alterjsiveall of them07:35
alterjsiveI'm sure you guys are busy , I should move this conversation to another channel right?07:43
sladenalterjsive: well here is good.  keeps all the IRC logs in one place07:46
alterjsivedid I say that right. an initfs update?07:47
alterjsiveprevious kernel version it works until another initfs update07:48
alterjsivemy current kernel is working, can I make a backup ? in case I install something which does a update-initramfs ?07:49
alterjsiveI need to continue my work now(deadline)07:50
sladenalterjsive: tihs syslog has four bootups in it.  Which are the good ones, and which are the bad ones07:53
sladenthis07:53
sladenalterjsive: "my current kernel is working"  <-- *which* (exact version) kernel is working?07:55
sladenalterjsive: the syslog shows 3x boots with "(Ubuntu 4.15.0-29.31-generic 4.15.18)" and 1x boot with "(Ubuntu 4.15.0-34.37-generic 4.15.18)"07:56
sladenalterjsive: $ grep 'Linux version' log/syslog07:57
alterjsivegrub says my latest kernel is  4.15.0-34-generic and the one i'm using now is 4.15.0-29-generic08:03
sladenalterjsive: so 4.15.0-34-generic is the *non*-working08:04
alterjsiveyes08:04
sladenthank you08:04
alterjsiveI was thinking about reinstalling it08:04
sladenand this is nothing to do with vagrant?08:04
sladenthe *only* change is switching from kernel 4.15.0-29-generic (working) and rebooting with 4.15.0-34-generic (not working)08:05
alterjsivesladen: I'm under the impression that a update-initramfs breaks it, just a gut feeling08:05
sladenalterjsive: please confirm, that to replicate this, the *only* action needed is selecting one kernel, vs. the other kernel in Grub on bootup08:06
sladens/replicate/reproduce this bug/08:07
alterjsivesladen: yes08:07
sladenthank you08:07
sladenalterjsive: and that in neither case "safe mode" is being selected in Grub08:08
alterjsivesladen: yes08:08
alterjsive1 sec I'll be more specific. After installing vagrant it did a update-initramfs which broke booting from kernel 4.15.0-34-generic when I switched back, using the grub menu, to a previous kernel  4.15.0-29-generic I could still boot without problems08:10
alterjsiveany objections to sudo apt-get install --reinstall linux-image-generic linux-image08:11
alterjsivesladen: or do you need anyting more from me for debugging purposes?08:12
sladenalterjsive: please upload the working and non-working initramfs08:12
alterjsivesladen: how?08:13
sladenalterjsive: same way the lof files were uploaded08:13
sladenalterjsive: same way the log files were uploaded08:13
alterjsivewhere do they live?08:14
sladenalterjsive: ls -l /dev/*init*{4.15.0-29,4.15.0-34}08:15
sladenalterjsive: ls -l /boot/*init*{4.15.0-29,4.15.0-34}   sorry08:15
alterjsivesladen: it's +-100MB, can I post it on launchpad?08:22
alterjsivetogether08:22
sladenalterjsive: or at least post the output of ls -l for the moment08:23
alterjsivesladen: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318/+attachment/5193066/+files/initramfs.tar.gz08:24
ubottuLaunchpad bug 1794318 in linux (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete]08:24
alterjsivels -l /boot/*init*08:24
alterjsive-rw-r--r-- 1 root root 54060073 sep 26 08:20 /boot/initrd.img-4.15.0-29-generic08:24
alterjsive-rw-r--r-- 1 root root 59276945 sep 26 08:36 /boot/initrd.img-4.15.0-34-generic08:24
alterjsivesladen: my best guess is that when I install virtualbox, I will break my current kernel aswell08:27
alterjsivebecause it updates initramfs08:28
alterjsivesladen: can I try to reinstall the latest kernel now?08:29
sladenalterjsive: just before "Log ended: 2018-09-26  08:36:21" there is "Processing triggers for initramfs-tools (0.130ubuntu3.3)" "update-initramfs: Generating /boot/initrd.img-4.15.0-34-generic"08:29
sladenalterjsive: yes08:29
alterjsivesladen: I see, I don't know the implectations of that08:30
sladenalterjsive: this is a place were only "initrd.img-4.15.0-34-generic" is updated, and not the older one08:30
sladenalterjsive: did 4.15.0-34 work *before* the initramfs was updated?08:31
alterjsivesladen: yes08:34
sladenrighht...08:34
alterjsiveI only got the busybox after i installed vagrant08:34
alterjsivesudo apt-get install --reinstall linux-image-4.15.0-34-generic08:34
alterjsivebrb reboot08:34
alterjsivesladen: no luck, still busybox08:37
sladenalterjsive: and if you remove   apt-get remove --purge vagrant  ?08:39
alterjsivesladen: won't it try to remove it from the current kernel?08:39
alterjsiveok maybe it's cheaper to buy a new laptop with hardware raid08:40
alterjsivesorry bit frustrated08:41
alterjsiveapt-get remove --purge vagrant, brb reboot08:41
alterjsivesladen: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318/+attachment/5193074/+files/cannot%20activate%20member%20md127.jpg08:51
ubottuLaunchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete]08:51
alterjsivesladen: looks like it's a fake raid issue08:52
alterjsivesladen: luckally I can still boot using the previous kernel08:53
sladenalterjsive: from the working kernel.  Please upload   cat /proc/mounts08:55
sladenalterjsive: thank you for the screenshot of the actual error message08:56
alterjsivehttps://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318/comments/1109:00
ubottuLaunchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete]09:00
sladen...09:07
=== ghavil is now known as Guest58840
sladenalterjsive: looking at this tarball from earlier containing logs, the syslog contains these four boots, including one of -3409:09
alterjsivesladen: I tried installing kernel 4.15.0-33-generic, but I get a busybox09:09
sladenalterjsive: if the mirror/raid away on mounted on root had not booted, then the syslog from the boot would not have saved.  So this boot of -34 appears to have worked09:09
sladens/away/array/09:10
alterjsivesladen: when I installed 33, I tried to reboot, but I had to do a hard shutdown using the button because it hung on a stop job for WPA supplicants, i don't know if this is significant09:11
alterjsivethis used to happen all the time09:12
alterjsivelately09:12
alterjsivesladen: yes it worked, before I installed vagrant09:12
sladenalterjsive: so 08:20 boot with -29, reboot to -34 at 08:30, install vagrant at 08:36, reboot, (reboot to -34 failed, no logs), reboot at 08:38 to -29, reboo at 08:59 to -2909:14
alterjsivesladen: looks like it09:16
sladenalterjsive: please upload the output of  find /etc/initramfs-tools/ -ls09:19
alterjsivesladen: I just installed virtualbox, I didn't see update-initramfs09:21
alterjsivesladen: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318/comments/1209:21
ubottuLaunchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete]09:21
alterjsiveSetting up virtualbox-dkms (5.2.10-dfsg-6ubuntu18.04.1) ...09:24
alterjsiveLoading new virtualbox-5.2.10 DKMS files...09:24
alterjsiveBuilding for 4.15.0-29-generic 4.15.0-34-generic09:24
alterjsiveBuilding initial module for 4.15.0-29-generic09:24
alterjsivejust so you know09:25
cpaelzerdoko: didrocks: I'd be happy if one of you here in my TZ could do a quick check if bug 1794219 is really ok (I found nothing) before I grant the MIR Team ack09:30
ubottubug 1794219 in ledmon (Ubuntu) "[MIR] ledmon" [Undecided,Confirmed] https://launchpad.net/bugs/179421909:30
cpaelzerwould you run this in valgrind to check for "Incautious use of malloc/sprintf" of the checks in https://wiki.ubuntu.com/MIRTeam ?09:34
cpaelzerII did, but just want to learn on best practise for these09:37
alterjsivesladen: could you change the status back to posted? https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/179431810:05
ubottuLaunchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete]10:05
alterjsivesladen: it's complete now right?10:06
sladenalterjsive: did installing virtualbox cure things?10:09
alterjsivesladen: I don't dare to reboot10:10
alterjsiveI will reboot the end of the day after my work10:10
LocutusOfBorgwhat is the virtualbox problem?10:10
LocutusOfBorgif none, nevermind10:10
alterjsiveLocutusOfBorg: nothing yet, thx10:11
alterjsivesladen: if I want mirroring on linux and to use my self encrypting drive encryption. Should I buy a laptop with hardware raid? is this even possible?10:13
alterjsivesorry a bit off topic I know10:13
alterjsiveok I'll reboot, here goes nothing10:14
mwhudsoncpaelzer, rbasak: hey can i ping you guys to get a new package imported?10:15
mwhudsoncpaelzer, rbasak: in particular, rustc (it's a little large)10:15
alterjsivesladen: no lock, luckally I can still boot10:20
alterjsiveon 2710:20
alterjsive29*10:20
alterjsivesladen: are you planning to pick this bug up soon, just for my own indication?10:27
cpaelzermwhudson: I can give it a try10:39
cpaelzermwhudson: do you need a one shot, or a regular re-import?10:39
cpaelzermwhudson: I'll do a --no-push --active-series-only first to check if it is affected by any odd issues before going for all of the history10:41
sladenalterjsive: can you run  mdadm --assemble --scan  at some point10:41
mwhudsoncpaelzer: regular would be awesomest10:41
mwhudson(can you not just import all of ubuntu already!! ;-p)10:42
alterjsivesladen: ok, will try it tonight, thx10:42
sladenxnox: this upload of mdadm (4.1~rc1-3~ubuntu18.04.1) ... https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/177968511:15
ubottuLaunchpad bug 1779685 in mdadm (Ubuntu Bionic) "[18.04.1] Backport support for Intel VROC arrays in mdadm" [High,Fix released]11:15
dokocpaelzer: looks good11:15
sladenxnox: (might) be the cause of  https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318  slangasek in particular referred to some udev rules from upstream being pulled into the Ubuntu package11:16
ubottuLaunchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete]11:16
sladenxnox: "IMSM RAID geometry validation failed." and "platform does not support raid1 with 2 disks" + initramfs emergency shell is the result using an initramfs with this copy of mdadm11:19
cpaelzerdoko: the bug update or the pastebin with the changes?11:23
sladenalterjsive: mdadm --detail-platform  also please later11:32
alterjsivesladen: ok, will do11:33
rbasakmwhudson: I'll try an import and see how it goes11:36
cpaelzerrbasak: will you run the real import then, that would be nice11:45
cpaelzerrbasak: if my faster already started version stumble ssomewhere I'll let you know11:45
rbasakcpaelzer: I'm running it (in the screen) for real. If it succeeds it'll push.11:48
rbasakcpaelzer: though it's important to then add it to the whitelist so that it keeps up afterwards11:48
xnoxsladen, i am sad =/11:50
xnoxsladen, disabling mdadm raid in the bios screens (typically Ctrl+I) and booting the drives directly might be an option.11:52
sladenxnox: currently the user is using their previous initramfs (with previous copy of mdadm included)11:52
xnoxsladen, however, the install is done on top of intel raid.... as per partman11:53
xnoxsladen, detail-platform would be useful, as well as the state/healthiness of the array from bios. quite likely there are unclean shutdowns and thus array is out of sync.11:53
sladenxnox: can you give a list of useful debugging commands for the user to run?11:54
xnoxsladen, this user is interesting....11:55
* xnox is reading logs11:55
xnoxsladen, specifically they forced mdadm installation from kubuntu desktop11:58
sladenxnox: tarball::log/apt/history.log  Start-Date: 2018-09-26  08:35:14  Commandline: apt-get install -y vagrant  ... mdadm:amd64 (4.1~rc1-3~ubuntu18.04.1, automatic).   What are you seeing?12:03
xnoxsladen, i'm reading installer logs, as to how the system installation was done.12:27
cpaelzerrbasak: it ran a while without issues and is done (with the reduced set)12:27
cpaelzerrbasak: so your run should hoefully work as well12:27
alterjsivedid you guys say anything about sed's and raid btw?12:29
alterjsiveI know i'm a bit ambitious in my IT demands :)))12:29
cpaelzerrbasak: thanks for all the MP reviews!12:40
rbasakMore to come :)12:47
jbichacpaelzer: one comment on your paste: Ubuntu bugs easily get into Confirmed status so I consider New and Confirmed to be equivalent12:51
tych0smoser: another aws noob question for you if you have a moment, I'm getting, "ClientError: Unsupported configuration: Multiple etc directories found"13:21
tych0my root filesystem is an lvm thin pool, with several thin pools underneath it (all of them have /etc)13:22
tych0there are some other lvm volume too (none of them have /etc), but in any case, the one that's specified as / in grub does have a reasonable /etc and is a thin pool. do you know if this is supported? or is something else going on?13:23
cpaelzerjbicha: yeah, since confirmed has no meaning yet we can define them as "the same" for this13:34
cpaelzerjbicha: updated in the draft thanks13:34
cpaelzerupdated draft http://paste.ubuntu.com/p/HZXPnGk5sr/13:36
smosertych0: is this pvm ?13:42
smoserhvm should use grub2 and grub2 i would think might have issues, but such issues would not be specific to ec213:42
smoserpvm uses grub-legacy-ec2 which writes /boot/grub/menu.lst for a pv-grub loader to load.13:43
smoserthat is hacky and generally deprecated, and i don tknow of the support for lvm volumes there.13:43
tych0smoser: i don't know the difference :)13:44
tych0smoser: i just used image-import by following the default docs13:44
smosertych0: its probably hvm then.14:03
smoserbut if that is the case hten you should most likelyi be able to reproduce outside ec214:04
tych0smoser: sadly, the image boots fine other places14:04
didrockscpaelzer: yeah, +1 for me, double checking by security is needed as you set14:04
tych0and it's not that it doesn't boot here, it's that aws won't import it. presumably because it's looking through all th ethin pools and seeing multiple /etc dirs14:06
smosercan you do a ec2-describe-images call on it ?14:06
smoseri dont know their "import" process. i only have familiarity with the bare bones path14:06
smoserwhere you push bytes and then try to boot them.14:06
tych0oh14:07
tych0well that sounds interesting :)14:07
tych0how do i do that?14:07
tych0(smoser)14:11
tych0smoser: i don't think i can do describe-images, because it never got successfully imported (the error i pasted above is from the import job)14:12
smoseroh.14:12
smoserits possible its just a buggy process flagging somethign that would otherwise work14:13
tych0yeah, i'm wondering if that's what's happening14:13
tych0not a lot of info on the interwebs about this, though14:13
tych0admittedly, a nested thinpool for / is a strange situation, i suppose14:14
hallynsmoser: btw is it safe to assume that the code for generating and uploading the virtual images to aws is in lp?15:10
infinityhallyn: Ish.15:13
infinityhallyn: livecd-rootfs is responsible for all the heavy lifting there, but for public clouds, there's also a secret sauce branch that does some extra bits that aren't public.15:14
infinityhallyn: Oh, and the "and uploading" part is definitely not public.  Though, I'm not sure there's any strategic reason why it couldn't be, just that it's not, AFAIR.15:15
hallynok.  a matter of "it would cost time/money to figure out whether there's secret sauce or not" probably15:15
hallynthanks infinity15:16
=== ledeni_ is now known as ledeni
=== choopm is now known as Guest80724
Sven_vBhi! is this the right place for help with debugging ubiquity?23:29

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