/srv/irclogs.ubuntu.com/2015/07/23/#snappy.txt

=== chihchun_afk is now known as chihchun
mvoogra_: I blame fw_setenv for the breakage and I think I can prove it: http://paste.ubuntu.com/11923858/06:33
mvoogra_: thats operating on the pristine uboot.env I got from you and that was generated with mkenvimage, no snappy involved at all and notice the corruption at the end of the file06:34
mvoogra_: I think I have a plan, lets see if it works06:39
fgimenezgood morning07:10
dholbachgood morning07:10
mvoogra_: I uploaded a fix to the ppa that should fix the corruption, its a bit ugly, I work on a nice version with proper tests etc now. its also very panic()y to ensure that any remaining issues are caught07:15
mvoogra_: once the updated uboot-go is in, we need to rebuild snappy and make a new image and then fingers crossed :)07:15
mvohey fgimenez and dholbach, good morning!07:17
fgimenezhi mvo dholbach and all :)07:19
dholbachhey hey :)07:22
ogra_mvo, thanks !08:02
ogra_mvo, i still dont get how it broke between 125 and 126 though ... only the config was different there08:03
ogra_(and 125 was to 100% reliable)08:04
longsleepreading through backlog you guys had some fun last night - anything i should test with 126?08:16
ogra_longsleep, no, but the next build08:16
longsleepogra_: ok - did you make any changes to the saveenv logic?08:17
ogra_not yet, i'm cleaning that up now, but since it worked for both of us before it should technically be fine, this is more cosmetic to rip out the inconsistent quoting08:18
longsleepogra_: i think i have alreayd put double quotes around everthing - are you doing that too?08:18
ogra_yep08:18
ogra_our current snappy_boot only has half of the vars and values quoted08:19
ogra_(on the BBB that is)08:19
longsleepwell, i only put double quotes around stuff used for comparison, for the rest i never use double quotes08:20
longsleepok - i see what you mean i am inconsitent there too08:21
* longsleep is fixing08:21
ogra_heh08:21
ogra_as i said ... simply cosmetic08:21
longsleepby the way - what is the reason to have snappy_cmdline as seperate var ?08:22
longsleepi think its unclean to just add that value at the end of mmcroot and will probably remove the var08:22
ogra_i'm also putting a saveenv behind every setenv here08:22
longsleepreally08:23
ogra_well, for the snappy_boot line ... not for everything :)08:24
longsleepi need to make it multi line to make sense of it08:24
longsleepyeah i figured that much :)08:24
longsleepogra_: mine currently looks like this https://pad.struktur.de/p/snappy_boot08:26
longsleepogra_: where do you put extra setenv?08:26
longsleepsaveenv08:26
ogra_http://paste.ubuntu.com/11924149/08:27
ogra_i cant open your url ... insufficient privs08:27
longsleeperr08:27
longsleepmaybe its blocked from outside08:27
longsleeplet me check your diff08:27
ogra_The requested URL /insufficient_privileges was not found on this server.08:27
ogra_:D08:27
ogra_thats like "the url "broken link" was not found"08:28
longsleephehe08:28
longsleepi think the pad is not in outside DNS and you end up at some fallback server08:29
* ogra_ notes he ends up at a fedora server .... thats all it says08:29
longsleepso you saveenv whenever the snappy_ab is changed - not sure why this is required - i was under the impression that this is only for the current boot08:29
ogra_well, it means you keep the condition if you powered off the board before the boot finished08:30
longsleepmhm, what is the difference between boot failure and powered off - shouldnt it roll back in that case?08:31
ogra_yes08:31
longsleepok i see your point - i was under the impression only snappy_mode was set to try on upgrade. But that would make no sense.08:33
longsleepwell ok hold on08:33
longsleepit would make sense if the system upgrade would set snappy_ab to the upgraded partition value as well08:34
ogra_it will roll back in both cases ... weather or not the var is set ...08:34
longsleepthen you would not have to save that change from u-boot ?08:34
ogra_either all the vars are stored and the next boot will switch back to the former partition .... or none of the vars is stored so they are reset and it boots normal ...08:35
mvoogra_: I can build you a custom snappy if you want to test/explore with the fixed code until the full image is ready08:36
ogra_but in the latter case the bootloader will never know that an upgrade boot was attempted ... in the former it will ... the result is the same08:36
longsleepthe next boot will only switch to former partition if it failed to boot when the successfull boot does not reset snappy_mode and snapp_trial_boot08:36
ogra_mvo, i can wait for the full image ... btw, did you make the snappy_trial_boot a boolean ?08:36
ogra_longsleep, exactly08:36
longsleepso why do you saveenv the snappy_ab change in u-boot then?08:37
mvoogra_: its still a unset, I can change that now (would like to change it in both grub and uboot then in wily) do you think its important? i.e. will uboot be unhappy if its not set at all?08:37
* longsleep does not get it - lets get some coffee08:38
ogra_mvo, well, i'd like to exclude the possibility that it could get unhappy ... i have no proof, only gut feeling08:38
ogra_longsleep, hmm, yeah, prehaps i have a brainfart here08:39
longsleepogra_: lets use this https://etherpad.mozilla.org/sglergmwrt - i hope you can open that :)08:40
longsleeparg08:40
longsleepit did format it08:40
ogra_lol08:40
ogra_in a weird way08:40
longsleepthat is just plain stupid08:40
longsleeppaste it in, gets formatted08:40
ogra_what is "run setup" ?08:41
longsleepthats setting up fdt based on variables08:42
ogra_and how do you hand over the initrd, i dont see that in bootm08:42
longsleephttps://public.pad.fsfe.org/p/snappy_boot08:42
longsleepcopy paste fail - forgot the last line08:43
ogra_ah !08:43
ogra_:)08:43
longsleepso08:43
longsleepi fail to see why the setenv snappy_ab parts need to be saved08:43
ogra_looks good ... and i thihnk based on the above i'll leave out the saveenv08:44
longsleepand i would like to get rid of snappy_cmdline08:44
longsleepfeels strage to just add it to mmvroot08:44
ogra_well, it is good to have it separate for better readability ...08:45
longsleepjust added the setup - so you get the whole picture08:45
ogra_so that you can see the actual cmdline options in one go without having to pick them out of an already way to long snappy_boot line08:46
longsleepogra_: so the only question is what does happen when the system gets updated. Someone sets snappy_mode to try - i get that much, the question is if snappy_ab is also changed or not08:46
ogra_it is08:46
ogra_snappy cvhanges it from userspace08:46
ogra_it sets "ab" to the "other" partition and sets trial_boot to 108:47
longsleepogra_: good, then it would be bad to saveenv snappy_ab from u-boot08:47
longsleepogra_: i just changed snappy_cmdline to be added by mccargs to bootargs08:48
longsleepi think that is cleaner08:48
* ogra_ needs to check how mmcargs looks on the BBB and RPi 08:50
ogra_uh08:50
longsleepi think it just sets the bootargs. It is called by snappy to pull in mmcroot as this contains the snappy_ab variable08:51
ogra_never noticed that before ... BBB sets rootfstype there08:51
longsleepyeah i saw that. I think that is redundant08:51
ogra_no, thats dangerous08:51
longsleepmhm ok :)08:51
ogra_mmcrootfstype=ext4 rootwait08:52
ogra_not so clever if we switch to some other fs :)08:52
longsleepyeah08:54
longsleepogra_: so in the pad i now have my complete mmcargs with snappy_cmdline put there, instead of in the setenv in snappy_boot08:55
longsleepfeels cleaner08:55
ogra_yes, i did the same here (anmd dropped mmcrootfstype)08:55
longsleepok great - so what is the problem with build 126 / why did you add the saveenv's in the first place?08:58
longsleepogra_: above you wrote the system sets ab to the other partition and trial_boot to 1. Is that really so? I think it should not touch trial_boot, but set snapp_mode to try instead?09:01
JamesTaitGood morning all; happy Gorgeous Grandma Day! 😃09:02
ogra_longsleep, 126 corrupts the uboot.env file by adding a value without a var name to it09:03
mvoogra_: I triggered a new armhf build for 15.04, fingers crossed09:03
ogra_fw_setenv actually allows things like: "fw_setenv ' ' 1"09:03
ogra_mvo, \o/09:03
longsleepoh09:04
longsleepany news about using uboot-go instead?09:04
ogra_longsleep, it is go ...09:08
ogra_(meaning it is a static binary of 2MB size)09:09
longsleepogra_: thats great then09:25
longsleepogra_: btw - i wanted to ask you how to handle upgrades from snappy-system.txt to uboot.env. When an new image is released and gets updated to uboot.env09:41
ogra_i'm not sure we do that09:41
ogra_(we do use the old files if they exist, so it only affects new installs)09:41
longsleepmhm09:42
longsleepok09:42
longsleepso version 4 will contain the new and old behavior then?09:42
=== howefield_afk is now known as howefield
mvoogra_: looks like the new armhf 15.04 is available09:48
* mvo downloads09:48
longsleepmvo: version 128 sounds good?09:51
* ogra_ downloads too09:51
longsleepmvo, ogra_ : all right i am booted into 128 - let me know if you want me to do any specific tests10:01
longsleepMhm - fw_printenv Read error on /boot/uboot/uboot.env: Success10:02
dholbachdavidcalle, I added an item to the trello card about generalising the markdown importer so we can import docs from lp:snapcraft too - I'll look into that now10:09
longsleepmvo: well, fw_printenv cannot read or set anything in the .env file, while uboot-go works just fine10:09
mvolongsleep: hm, hm, let me investigate10:10
longsleepmvo: i see the scary config in /etc/fw_env.config10:11
longsleepmvo: i also just updated uboot-go to latest git and it still works10:11
longsleep(ODROIDC)root@odroid:~# fw_setenv foo bar10:12
longsleepRead error on /boot/uboot/uboot.env: Success10:12
longsleepError: environment not initialized10:12
longsleep(ODROIDC)root@odroid:~# fw_printenv10:12
longsleepRead error on /boot/uboot/uboot.env: Success10:12
mvolongsleep: so 113/rolling works with fw_setenv/fw_printenv, I create a 15.04 one now10:17
longsleepmvo: did you fix the issue with the OEM snap in rolling? (bug #1477224)10:20
nothalBug #1477224: OEM snap does not install when building image for rolling <Snappy:New> <http://launchpad.net/bugs/1477224>10:20
ubottubug 1477224 in Snappy "OEM snap does not install when building image for rolling" [Undecided,New] https://launchpad.net/bugs/147722410:20
mvolongsleep: no, I think its a race actually, after ~5 tries it worked for me10:20
longsleepok let me try that10:20
ogra_mvo, hmm ... settin snappy_ab to b and snappy_mode to try doesnt get me booted from b10:22
mvoogra_: does it show the correct values in the uboot prompt with printenv?10:23
ogra_havent checked that yet10:24
* ogra_ isnt sure if our logic is actually correct 10:24
longsleepdid you see what i wrote above: ogra_: above you wrote the system sets ab to the other partition and trial_boot to 1. Is that really so? I think  it should not touch trial_boot, but set snapp_mode to try instead?10:26
ogra_mvo, http://paste.ubuntu.com/11924535/10:26
ogra_yeah, the trial_boot looks wrong10:26
ogra_setting trial_boot to 1 and mode to try works10:28
longsleepyes - but you should not set trial_boot, you should set mode to try and ab to the one which you want to try10:29
longsleepwhats how i see it at least10:29
ogra_right, but thats not what the logic we have does10:29
* ogra_ takes a look at the old code10:30
longsleepno? i think it does just that10:30
ogra_http://paste.ubuntu.com/11924535/ is the currentl logic10:30
longsleepyes10:30
longsleepbut that is in uboot10:30
ogra_it onl switches if mode is try and at the same time trial_boot is 110:30
ogra_sigh10:31
longsleepyes but it only has to switch if the boot failed10:31
ogra_why cant cloud-init not write to /dev/null10:31
ogra_so annoying10:31
longsleep+110:31
ogra_well, at least i dont see corruption now10:31
longsleepfrom my point of view, uboot is only switching in case of roll back10:31
longsleepthe try is done from the system side after update10:32
ogra_it shoudl also switch in case of upgrade :)10:32
longsleepset try and ab to other10:32
ogra_and it doesnt with the current logic10:32
longsleepso the system does only set try but not ab to other10:32
longsleepthats the error then10:32
ogra_no, the system sets try and ab to the other10:32
longsleepthen all is good10:32
ogra_well, no10:33
ogra_it doesnt boot from b if i set it to b10:33
longsleepwell it should, because mode is try, it boots from whatever ab is set to because trial boot is 010:33
ogra_http://paste.ubuntu.com/11924564/10:34
longsleepso either ab is a or if its b then trail boot is 110:34
longsleepif ab is b and you want to boot it from b, then trial boot needs to be 010:37
mvoogra_: hm, hm U-Boot# printenv snappy_ab10:37
mvosnappy_ab=b10:37
longsleepok, then trial boot is 110:38
ogra_U-Boot# printenv snappy_ab10:38
ogra_snappy_ab=b10:38
mvoand snappy_mode is try as well I assume?10:38
mvoi.e. the env is read correctly?10:38
ogra_http://paste.ubuntu.com/11924581/10:38
ogra_ah, wait, didnt check mode10:38
ogra_ab is definitely b after reboot10:39
ogra_as you can see in the paste it boots a though10:39
longsleepwell, for me it boots just fine from b when i set it to b, saveenv and reset10:40
mvojust snappy_ab b ?without the try?10:40
mvowithout hte snappy_mode try?10:40
longsleepif ab is set to b and mode is try, then trial is 1 if it boots from a10:40
longsleepyes without the try10:41
longsleeplet me try with try10:41
longsleepok that boots from a10:41
longsleepso ..10:42
longsleepscript does not work10:42
longsleeplet me check10:42
ogra_http://paste.ubuntu.com/11924593/10:43
ogra_mvo, ^^^10:43
ogra_so ab is set to b and mode to try10:43
* ogra_ doesnt get that10:43
longsleepah i guess the problem is that snappy_trial_boot is not set and then always returns true10:43
longsleepi remember test to behave that way10:43
ogra_yeah, thats why i wanted a boolean10:44
* ogra_ sets it ... once cloud-init lets me10:44
mvoif test ${snappy_trial_boot} = 1; then echo yes; fi10:44
mvoyes10:44
mvoecho ${snappy_trial_boot}10:44
ogra_mvo, what sets it ?10:44
mvothats…unexcpected10:44
longsleepif snappy_trial_boot is not set then it always sets to a10:44
mvou-boot, seriously?10:45
longsleepif i set it to 010:45
longsleepit works just fine10:45
ogra_mvo, well, thats the hush shell implementation ... cant blame uboot itself :)10:45
mvohm, quoting maybe?10:45
mvoif test "${snappy_trial_boot}" = "1"; then echo yes; fi10:45
mvogive no output10:45
longsleepno, my script is quoted10:46
longsleepi remember having this issue before10:46
ogra_yeah, i have a local fix for the quoting, but its not that10:46
mvohttp://paste.ubuntu.com/11924602/10:46
mvolooks like quoting to me unless I miss something10:46
ogra_hmm10:46
longsleepmvo: no it does not work with the quoting either10:47
mvohttp://paste.ubuntu.com/11924610/10:47
mvolongsleep: how does yours look like?10:47
mvolongsleep: could you pastebin it please?10:47
ogra_so what are the actual reasons for using cloud-init ? this is really annoying the hell out of me (additionally to the extra 30sec boot time it spams the console all the time)10:47
ogra_i know we have distro ways of generating ssh keys10:47
longsleepmvo: http://paste.ubuntu.com/11924615/10:47
ogra_and i guess it wouldnt be to hard to have user creation code adopted from d-i or some such10:48
ogra_what else does cloud-init do for us ?10:48
longsleepi have checked that a couple of weeks ago. It creates the default user too i think10:49
longsleepand something with the hostname10:49
ogra_right10:49
ogra_see what i write10:49
ogra_*wrote10:49
ogra_we have tools for that in the distro that we use on the livecd for example10:50
ogra_its a 10 line script or so10:50
ogra_same goes for ssh ... its a few extra lines to have it create keys if they dont exist10:50
mvolongsleep: hm, thats confusing. does your uboot shell also behave like what I see in http://paste.ubuntu.com/11924610/ ?10:50
ogra_and setting the hostname from /proc/cpuinfo isnt to hard either10:50
longsleepmvo: i just checked that10:50
longsleepmvo: mine behaves differently10:51
longsleepmvo: if test "${snappy_trial_boot}" = "1"; then echo yes; fi10:51
longsleepyes10:51
ogra_i just dont get why we have to go through all the pain with cloud-init for these tzhree bits ... and make it really hard and uncomfortable for developers10:51
longsleep(with unset trial boot)10:51
ogra_longsleep, mvo most likely a version thing10:51
longsleepogra_: yeah - i think you should ask the one who added it - i would really love to see it go away10:52
longsleepogra_: let me check Git10:52
ogra_seems everyone would10:52
ogra_so yeah setting trial_boot to 0 gets me properly booted from b as expected10:52
mvolongsleep: woah, thats amazing, uboot is always good for a suprise10:53
longsleepmvo: http://paste.ubuntu.com/11924645/10:53
longsleepmvo: indeed10:53
ogra_mvo, well, vendors are good for surprises in that case ;) ... since they fork off from ancient uboot versions and never merge back usually10:53
longsleepah yes10:54
longsleephttp://git.denx.de/?p=u-boot.git;a=commit;h=2453de99df576fb907fe06cac58c628e3590833f10:54
mvoogra_: yeah, looks like we need to make it bool and also change grub to be on the safe side, it looks on the bbb quoting will help, but if thats not universal its no good10:54
ogra_yep10:55
mvoamazing10:55
mvothanks longsleep10:55
longsleepi did remember seeing that because i have another u-boot where i needed the -e for test and thus merged around in test command before10:56
* longsleep is going to have some lunch10:56
mvolongsleep: do you also a yes for ' if "" = "1"; then echo yes; fi'10:56
longsleepmvo: err sorry10:56
longsleepmvo: what do you want me to run?10:56
longsleepgot it hold on10:57
longsleepmvo: you missed a test in there right? else if gives unknown command10:58
longsleepmvo: empty string works just fine10:58
mvolongsleep: yes, sorry. I wonder if "if printenv snappy_trial_boot; then echo yes; fi works10:59
mvolongsleep: interessting and crazy10:59
ogra_WOAH !10:59
ogra_mvo, why is /var/lib/dpkg/info not wiped ?10:59
mvoogra_: we only do that on wily11:00
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ du -hcs /var/lib/dpkg/info/11:00
ogra_9.2M    /var/lib/dpkg/info/11:00
ogra_ah, k11:00
ogra_then i'm fine11:00
longsleepmvo: that seems to work http://paste.ubuntu.com/11924669/11:00
ogra_mvo, that meanbs we have 9.2M extra space there in which we could ass uboot-go ;)11:01
mvolol11:01
ogra_*add11:01
mvoyeah, I thnk we should add it11:01
mvohttp://people.canonical.com/~mvo/tmp/beagleblack_1.10_all.snap <- that has a snap with the quotes, building a new image+mp will be at least 2h that we can't test the rest :/11:01
Chipacapitti had suggested how we restart the network from inside the 'first boot' unit; does anybody remember how it was?11:02
mvolongsleep: I wonder if that could/should be used so that we can continue iterating, the image building is so slow :/11:02
ogra_mvo, does that have my MP merged ?11:02
mvoogra_: I used your 1.9 snap11:02
ogra_cool11:02
mvoas the base and just added the quotes11:02
mvoits writing now11:02
ogra_mvo, hmm, no11:02
longsleepmvo: so for your u-boot it works with quotes?11:02
longsleepmvo: i could merge the fix into my u-boot11:03
mvolongsleep: it appears to be, I'm double checking11:03
ogra_you probably also want snappy_trial_boot=0 in uboot.env.in11:03
longsleepbut i guess it will be trouble11:03
mvoogra_: thats in there already afaict11:03
longsleepas that change is from early 201411:03
* mvo double-checks11:03
ogra_oh11:03
mvolongsleep: yeah, I think the final version needs to set it to "0"11:03
ogra_ah, yeah11:03
ogra_heh ... i dont know my own code after two days anymore ...11:04
mvolongsleep: I'm just sick of waiting for another image and want to give it a good beating (for testing)11:04
mvoogra_: I don't after 2h11:04
* ogra_ guesses he should check for some vacation :)11:04
longsleepmvo: but for testing now i am fine with whatever workaround11:04
ogra_mvo, but you have kids distracting you ... thats fine :P11:04
mvothen I can prepare a branch after lunch, its trivial11:04
mvoogra_: you have cats, about the same, no ;) ?11:04
ogra_nah, they lseep during the day :)11:04
ogra_*sleep11:04
* longsleep now really goes for lunch11:05
* mvo is also hungry 11:05
* ogra_ considers breakfast :)11:06
ChipacaCogito ergo ipomoea batatal.11:10
* Chipaca takes a break11:10
=== kickinz1|afk is now known as kickinz1
mvoogra_: http://people.canonical.com/~mvo/tmp/beagleblack_1.11_all.snap <- latest that works for me, i.e. it now boots b when I set snappy_ab b and snappy_mode try11:49
mvonext I will make it not unset the env11:50
mvoChipaca: if you have a moment, it would be great if you could check https://code.launchpad.net/~mvo/snappy/snappy-no-unset-trial-boot and https://code.launchpad.net/~mvo/snappy/15.04-snappy-uboot-no-unset-trial-boot12:02
mvoogra_: ^--- those branches set to "0" instead of unsetting12:02
Chipacamvo: are those the result of what you and ogra debugged this morning?12:02
mvoChipaca: yes, its the result of trying to be as compatible with u-boots quirks as possible12:02
Chipacamvo: +1'ed; code looks sane, and i've watched you debug it :)12:06
mvoChipaca: heh, thanks12:07
mvoChipaca: crazy I say this u-boot12:07
mvobut it seems its under control12:07
longsleepmvo: i did some more testing and found that all combinations seem to work as long as no variable is not defined.12:12
longsleepmvo: See https://github.com/longsleep/snappy-odroidc/blob/uboot-env-support/oem/boot-assets/uboot.env.in for my latest env12:12
mvolongsleep: great, the above MP fixes the undefined vars12:16
* mvo is still a bit disappointed by uboot, really12:16
longsleepwell u-boot is getting better and has improved a lot since 201412:18
longsleepunfortunately most vendors have based their u-boot on 2013 something ..12:18
mvoyeah, sorry, I'm ranting a bit12:18
longsleepat least it is open source - imagine you had to deal with closed source issues12:19
mvolongsleep: heh :) good point12:19
longsleepi am pretty sure uefi implementations are even worse than u-boot is12:19
ogra_mvo, could be a lot worse ... we could have to deal with redboot or aboot :)12:23
ogra_merge looks good indeed12:24
ogra_hmm12:29
* ogra_ wonders why his phone screen doesnt turn on on notofocations12:29
ogra_*notifications12:29
=== fgimenez_ is now known as fgimenez
ogra_WOW ...12:35
ogra_https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+packages12:35
ogra_why does it say "no signer" for the last snappy build12:35
mvoauto upload from the daily builds12:36
mvothats ok12:36
mvoI triggered builds now and once they are in we can get the golden image12:36
mvohopefully :P12:36
ogra_does it correct that later ?12:36
mvoogra_: the later? you mean the unset vs set = 0?12:37
ogra_i mean the "no signer" i have never seen that before12:37
mvoI thnk its there all the time, for every daily build12:37
* mvo could be wrong though12:37
ogra_i wonder why i never noticed it before12:37
ogra_i not only need new teeth and vacation apparently but also glasses :P12:38
* ogra_ is happy he still has some hair at least :P12:38
longsleepmvo: so you think the fw_* commands will work with the next build?12:41
longsleepmvo: i did not manage to get the rolling release to accept my oem snap :/12:41
ogra_fw_* should work, yes12:41
ogra_they already work here right now though12:42
longsleepoh - so am an 128 and they do not work for me12:43
ogra_oh ?12:43
mvolongsleep: crc error? or something else?12:43
ogra_4 vs 5 byte again?12:43
longsleepno i got 5 byte env12:44
longsleepparses fine with uboot-go12:44
mvosize also corret on disk and maches fw_env.config?12:44
mvofw_env.config needs the hex size12:44
mvoif its nothing like this I run out of ideas :/12:44
longsleepthe config has the two lines with the comment for 5 bytes12:44
mvouboot-go is smarter and figures the size out by itself12:45
longsleepmhm12:45
longsleephttp://paste.ubuntu.com/11925071/12:46
longsleep5 bytes until the b12:47
mvolongsleep: what fize has the file?12:47
longsleepmvo: 32768 bytes12:48
elopiofgimenez: I was wondering if we could leave your job code only for provisioning.12:48
longsleep(thats the value in u-boot compile time)12:48
elopiofgimenez: like leave the --command flag out, and make the main return an ip.12:48
ogra_longsleep, to small then12:48
longsleeperr12:48
ogra_+uboot.env is created from uEnv.txt via:12:49
ogra_+$ mkenvimage -r -s 131072  -o uboot.env uboot.env.in12:49
fgimenezelopio, sure, the cloud package takes care of that12:49
ogra_from our beaglebone README in the snap branch12:49
mvolongsleep: hm, so we need to set 0x8000 in fw_env.config for you or you increase the env12:49
longsleepogra_: why too small?12:50
mvoprobably best if you increase it as we have no way right now to change fw_env.config12:50
longsleephow large should it be12:50
ogra_longsleep, 128k12:50
longsleepoh ok12:50
ogra_just use the same mkenvimage call12:50
* mvo will explore to put uboot-go into the image, thats all a bit insane IMNSO12:51
longsleepi doo12:51
longsleepsee https://github.com/longsleep/snappy-odroidc/blob/uboot-env-support/oem.mk#L2912:51
ogra_mvo, +100012:51
mvoI mean, it seems bad to force everyone to use our env size just because of a silly config12:51
ogra_longsleep, no, you use -s 3276812:51
longsleepyes12:51
longsleepi was not aware that i have to use another size12:51
elopiofgimenez: so I'm thinking, on snappy/_integration-tests/main.go we can do a kvm-ok. If it succeeds, run adt-run ... -- snappy. If it doesn't, call your project and get an ip from canonistack, and then adt-run ... -- ssh ip.12:51
ogra_<ogra_> +$ mkenvimage -r -s 131072  -o uboot.env uboot.env.in12:51
longsleepbut no problem12:51
mvolongsleep: yeah, you wouldn't have to, actually you don't have to except for testing12:52
ogra_longsleep, well, preferably fw_* would autodetect it12:52
mvolongsleep: snappy itself is not touch fw_setenv/printenv at all12:52
ogra_but the command is originally for MTD devices12:52
longsleepyeah12:52
mvoit uses its own uboot env handling (thanks god for that)12:52
elopiofgimenez: also, I'm getting this error: http://paste.ubuntu.com/11925094/12:54
ogra_mvo, looks lilke the packages have built12:55
ogra_(ppc failing on vivid)12:55
* longsleep rebuilds u-boot with 128k env size12:55
fgimenezelopio, the error is because the credentials you are using, the key specified with -k is not present,12:56
mvoogra_: yeah, I triggered a rootfs build some minutes ago12:57
mvoso once that new image is available I guess QA needs to test the hell out of it12:57
ogra_wheee !!12:57
fgimenezelopio, when we meet later we can talk about the shared user credentials12:57
longsleepmvo, ogra_ ok confirmed fw_* works with 128k size - thanks!13:02
mvoyay!13:02
ogra_:)13:02
ogra_silly hardcoding in the confi file13:02
ogra_+g13:02
mvooh yes13:02
ogra_but i guess we get what we ask for ... abusing an MTD tool for a random file :)13:02
elopiofgimenez: ok, got it working now, thanks. I think the ssh security group is not needed, as the default is to allow the port 22.13:03
mvoohh, image build, now its just a matter of waiting for it to be imported13:03
ogra_yeah .... already uploading13:03
elopioutlemming: could you add the image # into the cloud image name?13:05
fgimenezelopio, ok thx, i'll correct that and some errors because of the import paths, at least when running from an instance without gopath defined13:10
* ogra_ builds a new image13:13
ogra_oh, i cant13:13
ogra_!13:13
ogra_mvo, where is your snap ? :)13:13
ogra_(could you upload it somewhere)13:16
ogra_oh man !13:17
ogra_ogra@anubis:~/datengrab/rpi/uboot/bbb/snappy/snappy-systems$ snappy revert13:17
ogra_Unknown command `revert'. Please specify one command of: booted, build, config, firstboot, hw-assign, hw-info, hw-unassign, info, install, internal-run-hooks, internal-unpack, list, login, purge, remove, rollback, search, set, update or versions13:17
* ogra_ makes snappy a hardlink to bzr on his machine :P13:17
mvoogra_: http://people.canonical.com/~mvo/tmp/beagleblack_1.11_all.snap13:18
ogra_thx13:18
mvoyw13:18
* rsalveti reads backlog13:18
mvoyay, looks like the image is there13:18
ogra_yep13:18
Chipacamvo: when you have a moment, and it's not urgent at all, i could use a review on https://code.launchpad.net/~chipaca/snappy/service/+merge/26565813:18
Chipacaalso on its pre-req13:18
mvoChipaca: sure13:18
* Chipaca ~> lunch13:19
mvorsalveti: executive summary: more fighting with uboot and its quirks, we *think* we have a final image13:19
ogra_yeah13:19
mvorsalveti: that just finished building ~2min ago13:19
ogra_we are pretty pretty sure we do :)13:19
mvorsalveti: if ${var_that_is_not_set} = "1"; then echo yes; fi returns yes in uboot, that took us a while to figure out (well, me at least)13:20
mvoeven with quotes its still not working on an older uboot13:20
ogra_boolean ftw :)13:20
Chipacamvo: ogra_: in uboot, does if "11" = "1"; then echo yes; fi produce yes?13:24
Chipacaie, is = a prefix search?13:24
ogra_no13:24
ogra_but if "" = "1" can produce yes in older versions13:25
ogra_Chipaca, http://git.denx.de/?p=u-boot.git;a=commit;h=2453de99df576fb907fe06cac58c628e3590833f13:25
* ogra_ twiddles thumbs waitin for dd13:26
mvoogra_: use godd, it tells me that I need to wait 8 more min utes13:26
mvothis makes the thumb twiddle much more planable13:26
ogra_mvo, but it doesnt speed up anything13:27
Chipacaor killall -USR1 dd13:27
* mvo thinks about complex patterns 13:27
ogra_i know how to get a progressbar ... i wrote usb-imagewrite 5 years ago using the USR hack13:27
mvoogra_: did you send a USR signal every N seconds? just curious?13:27
mvoChipaca: shhh, don't tell people that the 7 lines of go code for godd are not needed ;)13:28
* ogra_ would be more interested in a patch to dd so that it automatically determines the fastest blocksize for me and speeds up the write ;)13:28
Chipacaogra_: mvo: clearly, your computers need more ram! http://downloadmoreram.com/13:28
ogra_mvo, yeah ... two processes13:28
ogra_a shell wrapper to call the dd with a watch ... and a pygtk UI that reads from it to show a UI progressbar13:29
ogra_(i never found the time to port it away from hal though ... and left it die)13:29
mvoogra_: neat!13:29
ogra_heh, it is still promoted on https://help.ubuntu.com/community/Installation/FromImgFiles13:31
ogra_"for systems up to 12.10" ... :P13:31
* ogra_ boots the new image 13:32
* ogra_ reboots and crosses fingers13:36
ogra_yay ... boots from b13:37
mvosame here13:38
ogra_rebooting back to a13:38
ogra_works too :)13:38
mvoyay13:40
ogra_ok, lets torture it a bit with reset button and reboot -f13:40
mvogo go go13:40
mvoand someone needs to test upgrades from older image sto the new and check that the old uEnv.txt is still fully supported and understood13:40
mvoetc13:40
ogra_we need the images for that ... on the server i mean13:41
ogra_and the snap approved in the store13:41
ogra_(not sure how else you could upgrade manually ... does sideloadign the oem snap work ?13:41
ogra_mvo, btw, why do we need to give a and b ... wouldnt it be better to have something like "other" and snappy or the bootloader automatically pick the currently not used path ?13:43
mvoogra_: hm, upgrading the oem snap is actually a problem, we can't allow that before we can not also write a new uboot13:44
ogra_so i think it tried all possible ways to kill it now ... removing power, reset button "reboot -fp" ... no corruption13:45
ogra_(and it reacts as expected still)13:45
ogra_that shoudl also finally fix vmayorals issues with the erle bots13:46
mvoyeah, someone needs to send him a mail that its finally under control13:46
mvo(if he is not on irc)13:46
ogra_well, once we released it i'll write an announcement mail and also some documentation for porters13:46
ogra_i just dont want to do that before we have a 100% final implementation13:47
mvoogra_: uh, looks like someone approved beagleblack 1.9 in the store13:47
ogra_(seems we hit a roadblock every time we think we are done ... i got careful :) )13:47
ogra_mvo, eeek !13:47
ogra_so better push .11 over it13:48
mvoogra_: well, the remaining roadblock is what to do with existing users13:48
ogra_right13:48
rsalvetimvo: wow, that is annoying (the if check issue)13:54
rsalvetiand wow, you guys had a lot of fun :-)13:54
ogra_LOL13:55
ogra_FSVO fun :)13:55
rsalvetiso you guys had to path u-boot in the end?13:55
mvoogra_: puhh, all good, I *think* we are save, boot-assets are only handled by u-d-f so we are good for the upgrade13:55
ogra_no, in the beginning :)13:55
rsalveti*patch13:56
ogra_rsalveti, we only ptach the enabling of uboot.env into the config, nothing more13:56
rsalvetiright, cool13:56
ogra_*patch13:57
ogra_:P13:57
rsalvetimvo: ogra_: so did we approve the oem we didn't yet want to land?13:57
ogra_(such a hard word to type :P )13:57
rsalvetibeagleblack 1.913:57
ogra_yes13:57
rsalvetiwhy?13:57
ogra_but there is a 1.11 that we need anyway13:57
ogra_no idea, i dont know who approved and why13:57
rsalvetiso would 1.9 break the current stable image?13:57
ogra_yes13:57
rsalveticrap13:57
longsleepso is the new image ready - so i can give it another try?13:57
ogra_half breeded13:57
ogra_which is why we havent approved it13:58
ogra_longsleep, yeah13:58
rsalvetiwell, if 1.9 is already causing us pain, just push 1.1113:58
ogra_mvo, ^^^13:58
rsalvetiand let's hope we can release today13:58
=== zyga is now known as zyga-afk
* longsleep is downloading13:59
rsalvetiat least we can test it easily13:59
ogra_rsalveti, +1 ... that took way to long again :/13:59
rsalvetiogra_: might be a good time to promote latest edge to alpha13:59
ogra_does that make sense without the snap ?13:59
ogra_i think we need 1.11 first ... then promote13:59
rsalvetisure, I was assuming we can do both in parallel14:00
ogra_or that, yeah14:00
longsleepall right, booted into 129 - lets have some fun14:13
longsleepogra_, mvo : 129 works just fine (faking update by fw_setenv snappy_ab b; fw_setenv snappy_mode try; reboot)14:15
ogra_yay14:16
longsleeplet me try rollback14:16
longsleepogra_, mvo : Rollback works as well - so all green from me :)14:19
rsalvetiogra_: do we need to wait for mvo to upload a new oem?14:23
longsleepfrom what i understand is that old oem should work with new image but new oem will not work with old image14:24
longsleepthat the state for my odroidc oem at least14:24
ogra_longsleep, \o/14:26
ogra_rsalveti, it is uploaded but someone needs to approve it14:26
mvorsalveti: already uploaded, just needs approval14:27
rsalvetiI guess I can approve it, but would need to find it first14:27
rsalvetilet me check14:27
ogra_https://myapps.developer.ubuntu.com/dev/click-apps/2277/14:27
rsalvetiogra_: mvo: done14:28
mvolongsleep: thanks a bunch for all your help and testing and feedback14:29
mvorsalveti: \o/14:29
ogra_so let me push edge to alpha then14:30
mvoelopio, fgimenez do you guys have time to test the new 15.04 image in edge? we need to be sure that upgrades do not break, especially with beagleblack 1.8 from the last stable to the current alpha14:31
mvoogra_: cool14:31
fgimenezmvo, sure, on it14:31
mvothanks!14:32
elopiomvo: yes.14:34
ogra_mvo, hmm, that doesnt look right http://system-image.ubuntu.com/ubuntu-core/15.04/edge/generic_amd64/14:34
elopiofgimenez: mvo: current stable is the same as alpha#3, so we can start flashing that one.14:34
ogra_mvo, last build is from yesterday14:35
elopiofgimenez: want to meet, or do you prefer to spend the time testing?14:35
mvoogra_: oh, I did not triggered amd64, one sec14:36
ogra_mvo, did you buiuld with ARCHES= set when you re-triggered a build ?14:36
mvoogra_: I did14:36
ogra_ah14:36
mvoogra_: to speed it up14:36
ogra_yeah14:36
ogra_armhf is copied to alpha now14:36
mvoI triggered a full build now too14:37
ogra_waiting for amd64 now :)14:37
fgimenezelopio, as you like, i have the ho open :)14:38
mvoelopio: great, the important part is that beagleback is still 1.8 on the base image so that we are confident that existing users will not break with the new oem part. I'm 96% certain they won't but the remaining 4% worry me a bit14:38
* longsleep thinks i should implement that into the new oem as well14:38
longsleepmvo: how did you handle this case, how do you know if you have to load snappy-system.txt ?14:42
mvolongsleep: I check for /boot/uboot/uboot.env, if thats there I assume its the new system. this will only be put in place by u-d-f14:58
longsleepmvo: ah - you are saying that updating the oem snap from the store does not change stuff below /boot/uboot ?15:00
longsleepmvo: or where is this check?15:00
mvolongsleep: yes, new boot-assets are not put into place15:01
longsleepmvo: ok, that essentially means that there is no way to upgrade from old oem uboot to new one?15:02
ogra_longsleep, works in rollinng afaik15:03
vmayoralhi everyone, just realized https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/ changed15:04
vmayorali noticed that system-a is now "2 GB"15:04
vmayoraldo the new BeagleBone Black images includes this change?15:05
longsleepogra_: you mean in rolling, the boot-assets are put in place on update?15:05
vmayoralalso, what happened to "system-boot"?15:05
vmayoralmmm, the filesystem information conflicts with what's provided at https://developer.ubuntu.com/en/snappy/guides/transactional-updates/15:06
rsalvetihm, it shouldn't be 2gb, wonder what happened in there15:11
ogra_vmayoral, FYI we reworked the uboot bits the last days, i'll write an announcement and documentation soon, that should one and for all fix all your corruption issues15:12
vmayoralogra_: that's great, thanks a lot15:13
ogra_you likely want to adjust your oem snaps for that then15:13
vmayoralogra_: the oem snap?15:14
ogra_well, the ones you use for your bootloader15:14
ogra_(i think i saw a few in the store)15:15
vmayoralogra_: i'd expect to modify something within the boot partition (e.g. the initrd.img). Currently our oem snap does not contain any dtb15:15
ogra_oh, i didnt know, i thought you include uboot and a uboot confi for the dtb overrides15:16
vmayoralogra_: that'll happen soon i hope :)15:17
Chipacarsalveti: wrt bug 1466672, given that webdm isn't useful if there's no network, i think what we want to happen is it's only started when an external interface is brought up15:23
ubottubug 1466672 in Snappy trunk "webdm failed to start / Failed to listen 224.0.0.251:5353" [Undecided,New] https://launchpad.net/bugs/146667215:23
ogra_+115:23
ogra_its doesnt do that currently though15:24
ogra_there is no auto-starting15:24
Chipacarsalveti: given that, i propose we modify the generated service startup scripts so that, if a service specifies an external port, we make it depend on having an external network15:24
ogra_ok, seems the image is done15:25
elopiomvo: so, I can't flash alpha like this: http://paste.ubuntu.com/11925656/ ?15:25
* ogra_ copies again to alpha15:25
Chipacarsalveti: keying off of having an external port means we can implement it with no changes to published meta description15:25
ogra_elopio, oh, why ?15:25
elopioogra_: not sure, it's booting into debian.15:26
elopiomight be my sdcard, so I'll try with the new one.15:26
ogra_did you hold down the S2 button ?15:26
elopioogra_: no.15:27
elopiodidn't we change it so the s2 button does nothing anymore?15:28
ogra_well, try that :)15:28
ogra_no, we cant change the RM15:28
ogra_*ROM15:28
fgimenezelopio, mvo ogra_ mmm it seems to fail to rollback from 6 to 3 here http://paste.ubuntu.com/11925667/15:29
* ogra_ would like to see the bootloader messages on serial console for that 15:29
fgimenezhow can i get the output from the serial console?15:29
ogra_with your serial cable :)15:30
elopiofgimenez: ctrl+a + H saves it to a log file15:30
fgimenezogra_, yep :) but the screen... ok thx elopio15:30
elopiothat's ctrl+a and then H15:30
mvoelopio: might be that you get a beaglebone thats too new I wonder if the store can give you 1.8, let me see15:30
ogra_or if you use screen use the -L option15:30
ogra_it will create a screenlog.0 file and log everything in $(pwd)15:30
fgimenezogra_, ok thx, trying now15:30
longsleepmvo: just trying update from 129 to 130 - getting "can not find file /writable/cache/assets/vmlinuz" http://paste.ubuntu.com/11925676/ - any idea?15:31
longsleepupdate seems to work15:32
ogra_despite the errors ?15:32
ogra_*error15:32
longsleepwell, it wrote the other patition, trying boot now15:32
mvoelopio: could you please try if http://people.canonical.com/~mvo/tmp/beagleblack_1.8_all.snap with u-d-f works? so download and then --oem ./beagleblack_1.8_all.snap ?15:32
elopiomvo: sure.15:33
longsleepogra_: no - it seems it did not write the changes to the environment15:33
ogra_hrm15:33
longsleep(ODROIDC)root@odroid:~# snappy list -v15:33
longsleepName        Date       Version Developer15:33
longsleepubuntu-core 2015-07-23 129     ubuntu*15:33
longsleepubuntu-core 2015-07-23 130     ubuntu!15:33
longsleepodroidc     2015-07-23 0.3     *15:33
longsleepReboot to use the new ubuntu-core.15:33
longsleepwhen i reboot it boots into 12915:33
mvofgimenez: so you upgraded from 3->6 and then the rollback showed the behvior in the pastebin? could you pastebin ls -al /boot/uboot/ please15:34
mvolongsleep: so you just get this warning? let me look at the source, no ideas right from the top of my head15:34
elopiomvo: is there an option to allow-unauthenticated from udf? beagleblack_1.8_all.snap failed to install: Signature verification failed15:35
longsleepmvo: yes that warning and nothing more15:35
mvolongsleep: oh, so your changes got applied to the other partiton but it did not boot the other one?15:35
longsleepmvo: correct15:35
ogra_elopio, weird, that works locally15:35
fgimenezmvo, of course, this is the serial console log http://paste.ubuntu.com/11925689/15:35
mvoelopio: I thought it did that automatically with --developer-mode :/15:35
fgimenezogra_, ^15:35
longsleepmvo: probably stopped because of the vmlinuz error before modify of the uboot.env15:36
ogra_elopio, sudo ubuntu-device-flash core --channel=edge --oem beagleblack_1.8_all.snap --developer-mode -o bbb.img 15.0415:36
elopiomvo: That's it. I wasn't using dev mode.15:36
mvolongsleep: what does fw_printenv|grep ^snappy show? and ls -al /boot/uboot?15:36
mvolongsleep: aha, that makes sense, yes15:36
mvoelopio: cool15:36
longsleepmvo: http://paste.ubuntu.com/11925696/15:36
fgimenezmvo, http://paste.ubuntu.com/11925697/15:37
mvoogra_, fgimenez I wonder if the rollback failed because of spl_load_image_fat_os: error reading image args, err - -1 in the pastebin15:37
longsleepmvo: but why does it want an vmlinuz file - my oem snap provides uImage15:37
vmayoralguys, recently i've noticed that when creating some snaps, I get ".sideload" at the end. Can anyone explain why's that?15:37
ogra_mvo, no15:37
mvofgimenez: it looks like it tried booting a, then failed and reverted to b?15:37
mvoogra_: no?15:37
ogra_mvo, SPL doesnt need more than finding uboot.img15:37
longsleepmvo: sorry meant device tarball - that provides uImage and not vmlinuz15:38
ogra_you can ignore the messages15:38
mvolongsleep: ohhh, I think we may have hardcoded vmlinuz :/15:38
longsleepmvo: ah - well15:38
mvolongsleep: we call it "normalized" instead of hardcoded but its the same :(15:38
longsleepmvo: i guess i can write it to vmlinuz even if it is not a vmlinuz15:39
mvofgimenez: thanks, the uboot dir looks fine, you were not migrated to the new uboot.env which is what we expected15:39
ogra_riht15:39
ogra_the serial log looks ok too15:39
longsleepmvo: you should probablu use the name provided in device/hardware.yaml - there i say kernel: assets/uImage15:39
ogra_loads the old files, they seem to contain data too and it even writes snappy-stamp.txt15:39
mvoogra_: in the pastebin http://paste.ubuntu.com/11925689/ I see in line ~205 that it tries to load a/vmlinz, boots it, then 227 has the uboot prompt again and it boots b/ again, so I wonder if the kernel on a/ failed somehow15:40
mvolongsleep: *cough* indeed15:40
ogra_mvo, yeah, but why would it ? its the same kernel15:40
mvolongsleep: thats a diferent bug, I need to look at this (or sergio when he is back)15:40
mvoogra_: I have no clue, there is also no message15:40
ogra_right15:40
mvounless its the same corruption we are trying to fix with the new uboot.env15:41
mvobut that feels a bit too much like magic-rabitt-to-explain-this-problem15:41
ogra_yeah15:41
ogra_and that usually also errors15:41
ogra_there are no errors15:41
* mvo nods15:42
ogra_fgimenez, can you paste uEnv.txt and snappy-system.txt15:42
mvofgimenez: could you md5sum the kernels in /boot/uboot/?/vmlinuz15:42
rsalvetiChipaca: I think that's ok15:42
longsleepmvo: i will add a ticket, and change my device tarball to use vmlinuz15:42
mvolongsleep: thanks15:43
rsalvetibut yeah, we can start the service once we get the network I guess15:43
fgimenezogra_, http://paste.ubuntu.com/11925725/15:43
ogra_fgimenez, thanks, looks all as expected15:44
fgimenezmvo, http://paste.ubuntu.com/11925728/15:44
ogra_interesting !15:44
ogra_they should be the same binary15:45
ogra_i wonder if mvo is actually right and we hit fs corruption on the old version15:45
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ md5sum /boot/uboot/?/vmlinuz15:46
ogra_73d20f826ae7ec09671950057dee0db8  /boot/uboot/a/vmlinuz15:46
ogra_73d20f826ae7ec09671950057dee0db8  /boot/uboot/b/vmlinuz15:46
ogra_that is how it shoudl look like15:46
ogra_so i guess the a kernel got corrupted somehow15:46
mvoelopio: you are writing a alpha rev3 image too right? what md5sum do you have for the kernel(s). does it match http://paste.ubuntu.com/11925728/?15:47
mvolongsleep: thanks! this part the code in snappy needs some love iirc15:47
longsleepmvo: yeah - added bug #1477657 - now chaning stuff to be named vmlinuz (btw, that worked when updating from 2 to 3 in stable). Do you check for initrd name as well (because that is named uInitrd for me)15:49
nothalBug #1477657: Snappy update fails because of hardcoded assets/vmlinuz <Snappy:New> <http://launchpad.net/bugs/1477657>15:49
ubottubug 1477657 in Snappy "Snappy update fails because of hardcoded assets/vmlinuz" [Undecided,New] https://launchpad.net/bugs/147765715:49
mvoogra_: there were some more issues with non-store device part updates, right  ? longsleep is hitting some issue - or is the odroid oem in the store?15:50
ogra_the latter15:51
ogra_and no, updates in 15.04 should theoretically work, we never blocked them there15:51
ogra_(practically it is a matter of the uboot setup )15:52
ogra_if they used to work they shoudl still do15:52
longsleepright - but my uboot setup is fine and stable updates with my released stuff from https://www.stdin.xyz/downloads/snappy/odroidc/ work15:53
longsleep(that is the same snap as in the store)15:53
=== chihchun is now known as chihchun_afk
elopiomvo: nop: http://paste.ubuntu.com/11925776/15:57
ogra_lol15:57
ogra_so now we have 3 different md5 sums for the same kernel15:57
ogra_(... proposedly same kernel)15:58
fgimenezelopio, that's before the update + rollback, right?16:00
elopiofgimenez: yes, I've just flashed16:01
elopiowith http://paste.ubuntu.com/11925790/16:01
* mvo gets dinner16:02
fgimenezelopio, mine was after, i flashed the image with the normal --oem beagleblack16:03
elopioupdating now...16:03
Chipacawhy, oh why, has go decided that setsockopt is private?16:07
Chipaca:-(16:07
ogra_fgimenez, yeah, i dont think that works, you cant use the current snap in the store with an image 3 rootfs16:07
ogra_you would have to use the 1.8 version of it16:08
ogra_http://people.canonical.com/~mvo/tmp/beagleblack_1.8_all.snap16:08
fgimenezogra_, ok thx, i'll try that16:09
fgimenezogra_, elopio btw i flashed the alpha #3 -image for the previous16:13
fgimenezrelease, a week or so ago16:14
ogra_fgimenez, yes, but using the new oem snap from the store16:16
longsleepmvo: mhm even when i ship vmlinuz in my device tree it still fails with same error16:17
elopioso, I do snappy rollback ubuntu-core 316:17
elopioand I also have to rollback the beaglebone package, right?16:17
elopioor it will magically rollback?16:17
ogra_no, you dont16:17
ogra_it *should* be backwards compatible on upgrades16:17
ogra_"should"16:17
ogra_"should"....16:17
elopiolet's see...16:17
longsleep(the folder also does contain a initrd.img and initrd.img-3.19.0.0-23-generic)16:18
fgimenezogra_, ok, the oem snap was already the new one by then, thanks16:18
ogra_longsleep, yeah, thats something still to fix on sergiusens plate ... we need the versioned binary to make system-image recognize there is a new binary16:18
longsleepogra_: mhm i dont understand - the only thing which needs to happen is the change to the environment to try the update - isnt it?16:21
ogra_longsleep, yeah, the versioned vmlinuz is unrelated to that16:22
fgimenezleaving, nice evening o/16:22
longsleepogra_: ok - so now i am stuck, seems like the update does require a vmlinuz file in /writable/cache/assets which i have no way to provide16:23
elopionop, can't rollback.16:23
elopionow I get the same md5sums that fginther16:23
ogra_elopio, los ?16:23
ogra_*logs16:23
elopiosorry fginther. fgimenez left.16:24
elopioogra_: on their way.16:24
ogra_(serial specifically)16:24
fgintherelopio, nw16:24
mvoelopio: same output as well, i.e. it tries to boot a/ (or b/) and then you return to the uboot prompt?16:29
elopioogra_: mvo: http://people.ubuntu.com/~elopio/logs/bbb-rollback-alpha7-3.log.016:32
elopiomvo: yes.16:32
ogra_sigh, why cant any browser open that inline16:34
longsleepmvo: so seems i am unable to do an automatic update, because of it not finding vmlinuz - i updated #1477657 accordingly16:35
ogra_elopio, if you cp the b kernel to the a partition, does it work then (make a backup of the file in a first)16:37
=== chihchun_afk is now known as chihchun
ogra_mvo, elopio, hmmm, is that the cirrect uboot that is being used there ?16:41
ogra_*correct16:41
ogra_looks like the onboard one16:41
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
ogra_(iirc ours had a git hash in the version instead of -dirty, i could be wrong though)16:43
elopioogra_: $ sudo cp /boot/uboot/b/VMLINUZ /boot/uboot/a/ ?16:44
elopioit starts booting on a16:44
elopiobut it says LZMA data is corrupt16:44
ogra_elopio, right, it starts and then resets itself and boots b16:44
ogra_oh, you mena after the copy ?16:44
=== chihchun is now known as chihchun_afk
ogra_*mean16:45
elopioogra_: yes, after copy. It doesn't reset.16:45
ogra_ok, copy the initrd too16:45
elopioit's stuck waiting for root device ... system-a16:45
ogra_the lzma error likely talks about the initrd16:45
elopioogra_: emergency mode.16:50
ogra_did it load the initrd before going there ?16:50
elopioogra_: yes: http://people.ubuntu.com/~elopio/logs/bbb-rollback-alpha7-3-copying_b_kernel.log.016:53
ogra_oh, why can my browser open this one inline but couldnt the former ... weird16:53
ogra_elopio, ah, thats expected since you use a kernel that has no modules in that rootfs16:54
ogra_so yeah, your a kernel *and* your a initrd were corrupt ... wow, thats really gross16:54
ogra_rsalveti, ^^16:55
ogra_rsalveti, after upgrading from alpha 3 the original alpha3 kernel in /boot/uboot/a/ and the initrd get broken16:55
* ogra_ scratches head17:00
longsleepogra_: after update, should i still have the old version on the "other" partition?17:00
ogra_oh, meanwhile my 129 install upgraded in bg and asks me to reboot17:01
* ogra_ does so 17:01
longsleepogra_: nice - that is was failed for me because of bug #1477657 :(17:01
nothalBug #1477657: Snappy update fails because of its looking for non existing /writable/cache/assets/vmlinuz <Snappy:New> <http://launchpad.net/bugs/1477657>17:01
ubottubug 1477657 in Snappy "Snappy update fails because of its looking for non existing /writable/cache/assets/vmlinuz" [Undecided,New] https://launchpad.net/bugs/147765717:01
ogra_longsleep, yeah, a should still have the install kernel and b the one for the new image17:02
longsleepogra_: ok - so then i can confirm that update works fine when i set the uboot.env stuff manually17:03
longsleepi now have booted 130 and 129 on the other17:03
longsleepogra_: so for you there is a vmlinuz in /writable/cache/assets/ ?17:04
* longsleep wonders where this comes from17:04
ogra_Name        Date       Version Developer17:04
ogra_ubuntu-core 2015-07-23 129     ubuntu*17:04
ogra_ubuntu-core 2015-07-23 130     ubuntu!17:04
* ogra_ curses17:04
longsleepmhm - maybe your update also didnt set the env variables then17:05
ogra_so it clearly boots from the b partition ... i see it mounting system-b during boot as readonly partition ...17:05
ogra_but snappy thinks i'm still on 12917:05
longsleepmhm thats strange17:05
ogra_yes17:05
ogra_snappy bug most likely17:05
longsleepmine says i am on 13017:05
longsleepwhat does the exclamation mark mean?17:06
longsleepi am pretty sure it means something as mine does not have it17:06
ogra_/dev/mmcblk0p3 on / type ext4 (ro,relatime,data=ordered)17:06
ogra_definitely the b partition17:06
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ ls /writable/cache/assets/17:07
ogra_initrd.img  initrd.img-3.19.0-23-generic17:07
ogra_no vmlinuz here17:07
ogra_but i guess simply because we didnt update it (system-image strips it then)17:07
longsleepmhm - then maybe you have the same error but just didnt see it because you auto updated and i did it manually by calling snappy update ?17:08
ogra_no17:08
ogra_i called snappy update the second time17:08
ogra_didnt change a thing17:08
longsleepmhm17:08
ogra_it boots by default from b now17:08
longsleepok17:08
ogra_but snappy still thinks it is 12917:08
longsleepwhat if you boot from a ?17:09
ogra_hmpf17:11
ogra_snappy rollback also only boots from b17:11
* longsleep tries that17:12
longsleepogra_: yes confirmed - snappy rollback does not work for me either - still booted 130 / 129 now marked with !17:14
mvoogra_: what values do you have in /etc/system-image/channel.ini ?17:14
mvoogra_: and /writable/cache/system//etc/system-image/channel.ini ?17:15
ogra_http://paste.ubuntu.com/11926102/17:15
ogra_http://paste.ubuntu.com/11926112/17:16
ogra_writable has 13017:16
longsleepadded another bug #1477692 about the rollback issue17:19
nothalBug #1477692: snappy rollback ubuntu-core does not change uboot.env <Snappy:New> <http://launchpad.net/bugs/1477692>17:19
ubottubug 1477692 in Snappy "snappy rollback ubuntu-core does not change uboot.env" [Undecided,New] https://launchpad.net/bugs/147769217:19
longsleepis there a way to undo the rollback, unmark it somehow?17:20
* ogra_ doesnt know 17:20
ogra_this starts getting depressing :(17:21
longsleepdo it like me, grab some cuba libre from the bar next door17:21
ogra_no bars around me ...17:22
ogra_(i live in an awkward place in an awful city :/ )17:22
longsleepyou should grab your laptop and go to a bar :P17:23
ogra_well, the only bars kassel has are on the other side of the city17:23
ogra_and are not exciting either ...17:23
Chipacaogra_: longsleep: a manual update should undo the manual rollback17:25
ogra_Chipaca, well, whatever i do it boots from b17:26
ogra_neither update nor rollback change that17:26
ogra_(i guess i could enforce it by setting the uboot vars directly though, but not via any snappy command it seems)17:26
=== JamesTai1 is now known as JamesTait
mvoogra_: that means the snappy output is correct its really in 129, what does fw_printenv |grep ^snappy show?17:26
ogra_oh, wow, that works without sudo !17:27
ogra_mvo, everything as expected http://paste.ubuntu.com/11926167/17:28
mvoogra_: hm, except that it should be snappy_ab=a, no?17:28
ogra_for 129, yes17:28
ogra_for the state i'm in b is correct ... since it booted that17:28
ogra_(but indeed 129 isnt then)17:29
mvoyou are b with 129 but you actually want to be in a which is 130, do I understand that correctly?17:29
ogra_no17:29
ogra_b should be 13017:29
ogra_i got an auto upgrade and got asked to reboot17:29
ogra_that properly booted to b ... but still shows 12917:29
mvowhat was b before? and a?17:30
ogra_a was my original install of 12917:30
mvoand now a is 130?17:30
ogra_no idea, i cant boot to a17:30
ogra_unless i hack the vars directly17:30
ogra_(i guess, didnt try yet)17:30
mvooh, hm, what does snappy set ubuntu-core active=130 give you?17:31
mvowith sudo17:31
ogra_i installed 129 and booted to a ... then i got an auto update and was asked to reboot ... on reboot i see it booting to b proper ... but snappy list still shows i'm running 12917:31
ogra_nothing17:32
ogra_=129 doesnt return anything either though ...17:32
mvook, let me look deeper, thanks!17:32
ogra_just dumps me back to the shell prompt17:32
longsleepChipaca: mhm snappy-update ubuntu-core does nothing17:33
mvoI think there is another missing piece17:34
mvoI'm on it17:34
ogra_yeah17:34
ogra_looks like17:34
ogra_meanwhile i'll try to manually switch back to a to check potential corruption17:34
ogra_yup, manually works fine17:36
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v17:37
ogra_Name        Date       Version Developer17:37
ogra_ubuntu-core 2015-07-23 130     ubuntu*17:37
ogra_ubuntu-core 2015-07-23 129     ubuntu17:37
ogra_after manual switch to a17:37
longsleepyes i did that too17:38
ogra_so apparently a actually has 130 ... and b had 129 ...17:38
longsleepworked for me17:38
ogra_for whatever weird reason17:38
ogra_ok, snapy rollback doesnt roll me back17:39
ogra_still boots a17:39
longsleepyes - me neither17:39
ogra_but at least i dont have any coorruption here17:39
longsleepi am now stuck in this17:39
longsleep(ODROIDC)root@odroid:~# snappy list -v17:39
longsleepName        Date       Version Developer17:39
longsleepubuntu-core 2015-07-23 130     ubuntu*17:39
longsleepubuntu-core 2015-07-23 129     ubuntu!17:39
longsleepodroidc     2015-07-23 0.3     *17:39
longsleepReboot to use ubuntu-core version 129.17:39
longsleepcant seem to set it back to 13017:39
ogra_now ... why do we get corruption when switching from image 3 to the latest17:40
longsleepmhm - maybe the fat in 3 is already corrupted?17:40
ogra_longsleep, yeah ... mvo is on it17:40
ogra_longsleep, well, it isnt corrupted until you upgrade apparently17:41
mvolongsleep: I will have something ready RSN17:41
mvoChipaca: will you be around for a review?17:41
ogra_and the fat as a whole seems to be ok ... only the a directory contents are corrupted after upgrade17:41
davmor2ogra_: not using a big enough hammer17:41
ogra_davmor2, dude ... hammers all the way down here ... and from the sides too17:42
ogra_no dice though17:42
ogra_:)17:42
mvoogra_: hm, if we still have corruption :(17:43
ogra_mvo, i dont17:43
ogra_mvo, federico and elopio do when coming from image 317:44
longsleepSo, if you guys are interested in why i am working on the ODROID stuff with snappy - check out https://www.kickstarter.com/projects/spreed/spreedbox-the-most-private-video-chat-and-file-exc17:44
longsleepjust launched17:44
ogra_mvo, the old kernel and initrd are trashed if you upgrade from old to now17:44
ogra_i.e. from the snappy-system-txt way ...17:44
mvoogra_: aha, only with the old uboot? thats ok17:45
ogra_mvo, not really ok ... but yeah17:45
ogra_there is no reason why the a subdir content should get corrupted17:45
ogra_(b is fine)17:45
ogra_it only breaks rollback though17:46
=== zyga-afk is now known as zyga
mvoogra_: could you please put http://people.canonical.com/~mvo/tmp/snappy_armhf onto your image as /usr/bin/snappy and see if that helps?17:46
ogra_oh how i hate that we dont have wget on the image :P17:47
mvoChipaca: https://code.launchpad.net/~mvo/snappy/15.04-snappy-more-uboot-fiddling if you have a moment should unblock ogra and I will a version in trunk thats nicer17:48
ogra_mvo, rollback seems to work, update doesnt ...17:53
ogra_though i might have confused the system with my manual switching before upgrading in the beginning17:54
ogra_(by using fw_setenv for corruption tests)17:55
ogra_why does snappy update always re-download 13017:59
* ogra_ considers a fresh flash of 129, i think i cinfused the system to much18:00
rsalvetielopio: ogra_: usually when the kernel name is VMLINUZ instead of vmlinuz that means the fs got corrupted somehow18:05
ogra_rsalveti, well, only the a directory18:06
ogra_rsalveti, he can fix it by copying the b content to the a dir18:06
ogra_well, "fix" ... it then fails to find the modules indeed18:06
rsalvetiif you are coming from 3, that is expected, isn't it?18:08
rsalvetibecause it will still run fatwrite18:08
ogra_rsalveti, fatwrite writes to the toplevel dir18:08
rsalvetistill, that is the original behavior I had18:08
ogra_rsalveti, the a dir shouldnt be touched at all18:08
rsalvetifsck was later touching everything18:08
ogra_there was no fsck ... at least i didnt see it in the logs18:09
rsalvetithe long file names were all renamed to match 8 chars18:09
rsalvetishould be18:09
rsalvetiduring boot18:09
ogra_well, erhaps i didnt see all logs18:09
ogra_rsalveti, so not being able to roll back to 3 is acceptable ?18:09
rsalvetilet me start fresh with image 318:09
ogra_i wonder what happens for the next rollback then :/18:10
rsalvetiogra_: right, we can't avoid that18:10
rsalvetibecause we can't update the bootloader18:10
rsalvetiand the updater is not yet separated18:10
ogra_well, people using fatwrite will go on doing so18:10
ogra_while people installing freshly will get the new behavior18:10
rsalvetiright, what we said is that we'd ask people to manually update the bootloader18:10
rsalvetiat least for this release18:10
rsalvetiwhile we can fix the remaining issues, like splitting the updater and making it able to upgrade the bootloader18:11
ogra_k18:11
mvoChipaca: and https://code.launchpad.net/~mvo/snappy/snappy-more-uboot-fiddling18:11
mvoogra_: keep me updated, need to bring the kids to bed18:11
ogra_all i'm worried about now is what happens if you upgrade from 4 to 5 or some such18:11
mvoogra_: if the new snappy binary helps or not18:12
ogra_mvo, will do ... i just created a new 129 image and wont touch the bootloader vars this time18:12
ogra_mvo, rollback worked ... update didnt ... but i'm not sure thats not caused by my tinkering18:12
mvoogra_: cool, you can also just copy uboot.env from e.g. the beagleblack 1.11 snap, saves some time :)18:12
rsalvetiogra_: did we publish 2 images for alpha?18:13
mvoogra_: keep me updated if it updates the env vars etc, I will check back in some minutes18:13
ogra_rsalveti, yes, i didnt notice that there were no amd64 builds18:13
ogra_my fault, sorry18:13
ogra_(amd64 only had one promotion)18:13
rsalvetioh, but only for amd6418:13
rsalvetisorry, armhf18:13
ogra_yes18:13
rsalvetiwould like to align the numbers if possible18:14
ogra_to make sure we have the same content18:14
ogra_hmm18:14
rsalvetiotherwise this will create even more confusion18:14
rsalvetibut I also wanted us to release another image to alpha18:14
rsalvetiso we could test the upgrade from -1 to latest18:14
ogra_yeah, but i'm not sure thats easily doable if we dont do an amd64 only build18:14
rsalvetito make sure the new logic will handle the next update without corruption18:14
rsalvetilet's do one amd64 only build18:15
ogra_(though i guess we can do that to get them in line again)18:15
rsalvetiand do a build for both18:15
ogra_will do once we're ready18:15
ogra_there are still issues18:15
rsalvetiogra_: what are the current issues?18:15
ogra_rsalveti, rollback not working18:15
rsalvetirollback from what?18:15
ogra_(snappy rollback is a no-op)18:15
rsalveti3->7->3?18:16
rsalvetithat might indeed be a problem18:16
ogra_yes :)18:16
rsalvetibecause since we're not creating the stamp anymore18:16
ogra_mvo has a fix ... i'll test in a minute with a fresh 129 image18:16
rsalvetigreat18:16
mvowell still create the stamp if you start from 3, no? we do not change existing snappy-system.txt or uEnv.txt the new boot-assets are only applied on fresh u-d-f runs18:24
mvoof course, once a user manually flahes he/she can not go back18:24
ogra_yeah, afaik18:24
mvocool, so we are all aligned18:25
ogra_ok, so i'm booted into 129 on partition a ... i did put snappy_armhf in place and am now updating18:26
* ogra_ twiddles thumbs18:27
* ogra_ wonders why he gets to awful download rates18:28
ogra_mvo, hmm http://paste.ubuntu.com/11926470/18:31
ogra_(see the pre-last line)18:31
rsalvetiisn't this the issue longsleep had?18:31
ogra_bug #147765718:31
nothalBug #1477657: Snappy update fails because of its looking for non existing /writable/cache/assets/vmlinuz <Snappy:New> <http://launchpad.net/bugs/1477657>18:31
ubottubug 1477657 in Snappy "Snappy update fails because of its looking for non existing /writable/cache/assets/vmlinuz" [Undecided,New] https://launchpad.net/bugs/147765718:31
ogra_yes18:31
ogra_anything i should capture before reboot ?18:32
* ogra_ wnats to see if it at least boots to b now 18:32
longsleepogra_: ah - thats a relief you see that issue too18:33
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ ls /writable/cache/assets/18:33
ogra_initrd.img  initrd.img-3.19.0-23-generic18:33
ogra_and it is correct :)18:33
* ogra_ reboots anyway 18:34
longsleepwill not boot to the one it just updated as the env file was not updated18:34
ogra_yay18:34
ogra_boots from b18:34
longsleepoh18:34
longsleepthen something was fixed?18:34
ogra_well, i'm testing mvo's new snappy binary from above18:34
longsleepah i see18:35
longsleepthat makes sense18:35
longsleepso the error is no error and only a warning18:35
ogra_well, it might be an error ... the bootloader config is updated before though ... see my paste18:35
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v18:36
ogra_Name        Date       Version Developer18:36
ogra_ubuntu-core 2015-07-23 130     ubuntu*18:36
ogra_ubuntu-core 2015-07-23 129     ubuntu18:36
ogra_yay18:36
ogra_now lets see rollback18:36
* longsleep cheers18:36
rsalvetigreat18:36
ogra_nope ...18:36
ogra_still boots from b18:37
ogra_oh !18:37
ogra_wait :P18:37
rsalvetidid it work?18:37
ogra_i replaces snappy with the new binary on a but not on b18:37
ogra_rsalveti, no18:37
rsalvetisigh18:37
ogra_but the b partition has the wrong snappy binary18:37
ogra_once cloud-init is done and i can log in i'll try again18:38
ogra_*twiddle*18:38
ogra_YAY18:39
ogra_works18:39
ogra_rollback gets me back to a now18:39
* ogra_ will try that a few times to be sure18:39
ogra_sigh ... cloud-init ...18:40
ogra_another minute of wasted worktime18:40
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v18:41
ogra_Name        Date       Version Developer18:41
ogra_ubuntu-core 2015-07-23 129     ubuntu*18:41
ogra_ubuntu-core 2015-07-23 130     ubuntu18:41
* ogra_ snappy updates again 18:41
ogra_properly boots b18:42
hio_hey, i don't understand snappy. does it replace the old ubuntu completely?18:43
hio_will in the future all software on ubuntu be packaged as snappy?18:44
ogra_no, it will be developed in parallel18:44
hio_ok but in the future?18:44
ogra_somce new variants will only be available as snappy though18:44
hio_and i can have snappy installed on an old ubuntu?18:44
ogra_snappy is a special installation variant ... a special package manager and essentially a lot more ... you cant just install it on a deb based ubuntu. no18:45
hio_does snappy have a graphical desktop? can i use it as a desktop machine?18:46
ogra_(snappy systems also dont have dpkg or apt )18:46
hio_but i thought it was developed in parallel?18:46
ogra_there will be snappy variants with graphical desktop, yes18:46
ogra_mvo, all fine, get your MP in !18:47
hio_so for example, if i use snappy on my server right now and i need a specific package for my code to compile, maybe there won't be a snappy version yet and it won't work?18:47
* ogra_ has done 5 update/rollback cycles now ... no more issues18:47
ogra_hio_, for that there is a special tool in development that will bundle your deb packages for a project into a snap that you can install (or upload to the ubuntu store to provide it to others)18:48
ogra_rsalveti, ^^ with mvo's MP all is fine here ... update/rollback between edge 129/1330 works fine for me18:49
ogra_*13018:49
hio_what relation does it have to docker? none?18:49
ogra_you can use docker pretty easily with it18:49
ogra_there is already a docker framework in the store you can use18:49
mvoogra_: \o/ thank you so much for the testing18:49
hio_docker would be a mother layer on top of it ok, good18:50
hio_another*18:50
ogra_mvo, i still feel a bit uncomfortable that people going on to use the fatwrite stuff will get corruption18:50
mvonow someone just needs to review :)18:50
ogra_but i guess there is not much we can do18:50
rsalvetiogra_: that's great18:50
hio_ok how far long is the development? should i use it right now as my server ?18:50
rsalvetiyeah18:50
mvoogra_: we could auto-migrate them, but then there is really no rollback (automigrate via custom boot script)18:51
mvobut thats very scary18:51
rsalvetihio_: depends on what you want to run as your workload18:51
rsalvetiyou can run docker containers or you can create services that could be provided by a snap18:51
hio_a java webserver18:51
rsalvetiand push that in our store18:51
ogra_mvo, well, and indeed super dangerous to dd to the disk ... if power fails that moment you are completely bricked18:51
hio_i don't want to push things into the store, i might want my own store though18:52
hio_can i create my own snappy repo?18:52
ogra_no18:52
rsalvetiat least not yet18:52
ogra_you can set up a push service that sideloads the snaps18:52
rsalvetithere is an idea of having private store18:52
ogra_yeah18:53
ogra_which is essentially just a sub-store of the official store then18:53
hio_i don't want it to be online, its in my own LAN18:53
ogra_right, then you can script something that pushes snaps via ssh18:53
rsalvetithen for now you could create the snap and just sideload it18:53
hio_what exactly do you mean by "sideload"? i assume theres still just a simple cmdline so i can install my own snappy packages18:54
rsalvetiyeah, once you create it, you can install it locally or even remotely18:54
rsalvetiwith snappy-remote18:54
hio_ok good18:54
ogra_there is either a commandline or a remote tool18:54
rsalvetisideloaded means it's not coming from the store18:55
ogra_right18:55
rsalvetiogra_: will you take care of the reviews?18:55
ogra_rsalveti, of go code ? ...18:56
rsalvetiogra_: at least check if the logic is fine in there18:56
ogra_i can do that but cant give any guarantees if what i say makes even sense18:56
rsalvetilet me take a look as well18:56
rsalvetihttps://code.launchpad.net/~mvo/snappy/snappy-more-uboot-fiddling/+merge/26571518:56
rsalvetiright?18:56
ogra_looks like18:57
ogra_by the timestamp18:57
ogra_bah, thats big18:57
ogra_i'm not sure my judgement is helpful, it looks ok to me (and well, i just ran the binary and it worked :P )18:58
ogra_approved19:01
* longsleep is leaving for the night - check out our kickstarter bringing a Spreed hardware device powered by Snappy: https://www.kickstarter.com/projects/spreed/spreedbox-the-most-private-video-chat-and-file-exc19:04
longsleep(sorry for the spam) :)19:04
ogra_longsleep, dude ... i have quite a bunch of G+ followers, you need to ppaste such a thing earlier !19:04
longsleepwell it just started - there are 29 days to go19:05
longsleepany sharing would be very nice :)19:05
ogra_yeah, no prob19:06
longsleepcool thanks - see you tomorrow19:06
ogra_director of bits and bytes ... heh19:06
ogra_do you have that on your business card too ? :)19:06
longsleeponly the first part19:07
longsleepno idea where that came from :P19:07
ogra_heh19:07
* rsalveti waits mr to land before triggering a new image19:41
rsalvetiwebdm failed to install: Get https://myapps.developer.ubuntu.com/site_media/appmedia/2015/04/ubuntu.png: EOF19:41
rsalvetiwat19:41
mvoyay19:52
* mvo looks forward for the new image19:52
Chipacamvo: still needing that review?20:35
mvoChipaca: looks like rsalveti already did it, so all good :) tomorrow is enough20:38
mvoand we almost have a new image20:38
rsalvetiyeah, image 131 is currently being imported20:38
rsalvetithen will migrate to alpha and test it a bit more20:38
mvoyay20:38
rsalvetiand maybe, hopefully, we can release it tomorrow20:39
mvo*fingerscrossed*20:39
rsalvetiimage 131 seems to be out20:52
* ogra_ waits for 130 to tell him about the auto update :) 20:53
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v|tail -121:07
ogra_Reboot to use the new ubuntu-core.21:07
ogra_:D21:07
ogra_auto updated ...21:07
* ogra_ reboots21:07
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v21:09
ogra_Name        Date       Version Developer21:09
ogra_ubuntu-core 2015-07-23 131     ubuntu*21:09
ogra_ubuntu-core 2015-07-23 130     ubuntu21:09
ogra_:D21:09
* ogra_ tries a rollback21:09
ogra_(BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v21:12
ogra_Name        Date       Version Developer21:12
ogra_ubuntu-core 2015-07-23 130     ubuntu*21:12
ogra_ubuntu-core 2015-07-23 131     ubuntu21:12
ogra_looks good21:12
ogra_rsalveti, looks all good over here21:15
ogra_rollback and update work, no corruption21:15
rsalvetigreat, let me promote to alpha then21:16
ogra_+121:17
ogra_rsalveti, oh, wait21:17
rsalvetiwhat now? :-)21:17
ogra_didnt we want an amd64 only buuld first ?21:17
ogra_*build21:17
rsalvetialready did that21:17
ogra_oh, heh21:18
ogra_well, then go for it ... the copy-image should still be in cdimages history21:18
rsalvetialright, copied for armhf21:19
rsalveticopying for amd6421:19
ogra_yay21:19
rsalvetidone, image 8 is the latest edge21:19
rsalvetinow let me flash image 3 first :-)21:20
ogra_dont try to roll back :P21:20
rsalveti:-)21:21
ricmmstop breaking everything guys21:24
ricmmgeez21:24
ogra_ricmm, it was broken already21:26
* ogra_ blames microsoft ... for inventing vfat21:28
rsalvetiogra_: crap, need to use 3 with the sideloaded oem snap21:31
ogra_yeah21:31
rsalvetido you have the link for that in hands?21:31
rsalvetioh cloud-init21:31
ogra_rsalveti, http://people.canonical.com/~mvo/tmp/beagleblack_1.8_all.snap21:31
* rsalveti kicks it21:31
rsalvetithanks21:31
rsalvetiSignature verification failed21:33
rsalvetiogra_: how to skip that?21:33
ogra_--developer-mode21:33
rsalvetihaha, alright21:34
ogra_:)21:34
=== chihchun_afk is now known as chihchun

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