/srv/irclogs.ubuntu.com/2015/05/08/#snappy.txt

dholbachgood morning07:01
Halacshi08:32
Halacsmorning08:32
Halacssomebody know where are can find a snappy ubuntu core iso to install it my bare metal servers? BTW what is the difference between snappy ubuntu core and ubuntu core (without snappy)?08:33
HalacsI try to ask, but I am affraid everybody is sleeping right now08:34
JamesTaitGood morning all; happy Friday, and happy No Socks Day! 😃09:04
tbrHalacs: just a new user, but afaiu just core is deb based, while snappy core has all that stuff for app separation etc and no debs09:09
tbrHalacs: if your bare metal machine has traditional BIOS, then you can just use the x86_64 image09:10
tbrHalacs: if it only has UEFI, then you'll have to wait until they fix that09:10
tbrand by 'just use the image' I mean you can just dd it to a drive09:11
HalacsI have an IBM Balde Center H, and to be honest, currently I dont know whether is is UFI or not, but I will try this09:12
Halacsbut, could you give me a link for the image you mentioned?09:12
Halacsjust for sure09:12
tbrhttp://releases.ubuntu.com/15.04/ubuntu-15.04-snappy-amd64-generic.img.xz09:14
Halacsthanks tbr!09:14
tbrjust uncompress & write that to a disk or a usb device and boot it09:15
Halacsokay, thanks, I will try it09:17
dduffeyanyone have a dhcp-server snap app?11:59
ogra_dduffey, i would take a look at webdm ... not dhcp but avahi ...13:06
ogra_shouldnt be hard to deduct how to roll a dhcp server snap from that13:06
dduffeyogra_, what I want to do is setup a small snappy dhcpd server so all my other snappy devices will get an IP address from that server13:06
dduffeyogra_, ah, I see13:07
utlemmingdo we have an apparmor guide to debugging on Snappy? I'm having problems with NodeJS not playing well.13:17
alecusergiusens: hi! is the webdm package only released on armhf? I can't find it with "snappy search" on my amd64 kvm13:30
alecuChipaca: too ^13:31
Chipacaalecu: it's only released for rolingas13:32
* alecu gets a new haircut13:32
alecuChipaca: how can I enable rolingas?13:33
alecuis it a separate channel, or an installation option....13:34
Chipacaalecu: not sure whether you can easily switch; at image creation time, it's something like: sudo ubuntu-device-flash core rolling --channel edge --output 386.img --developer-mode --enable-ssh --device generic_i38613:34
alecugreat, thanks.13:34
alecukyrofa: ^13:34
alecuChipaca: no luck. I created the image with that command, booted it in kvm, but still snappy search can't find webdm13:44
alecuChipaca: I check the channel.ini, and it says:13:45
alecuchannel: ubuntu-core/rolling/edge13:45
alecuany ideas?13:45
beunomaybe it's only available for armhf?13:49
* beuno looks13:49
beunoSupported architectures:13:50
beuno    64-bit x86, ARM13:50
beunoso no13:50
beuno Supported releases:13:50
beuno    rolling-core13:50
sergiusensalecu: I have no idea why you can't find it.13:52
sergiusensalecu: https://search.apps.ubuntu.com/api/v1/package/webdm13:53
sergiusensbeuno: did me pushing a new version for only rolling automatically unpublish 0.5 for 15.04? It was one of the things I wanted to test13:54
beunosergiusens, it did, because the store only shows one version of an app atm13:54
sergiusensbeuno: is that by design?13:54
sergiusensor just something missing?13:55
beunosergiusens, by design originally, and now that's changed with snappy13:55
beunoso there's an item in the backlog to change that13:55
sergiusensbeuno: that's fine then, or else we will be living confusing times13:56
sergiusensbeuno: I guess I can just tick 15.04 then or else I'll get a bunch of people asking for the link13:56
beunotoday you wouldn't be able to install a specific version, for example13:56
beunosergiusens, indeed13:56
beunowe'll have channels soon to allow you to do releases better  )13:56
* sergiusens creates an image from scratch to see if he sees what alecu is seeing13:57
sergiusensbeuno: \o/13:57
alecusergiusens: I used the cmdline that chipaca pasted earlier, then started it with:13:57
alecukvm -m 768 -redir :8090::80 -redir :8022::22 386.img13:57
alecuthen I sshd into it, sudo snappy update, snappy search13:58
sergiusensalecu: you don't need to run update to search though ;-)13:58
alecusergiusens: I tried search first, and when it didn't find anything I muscle memoried apt-get update13:59
alecubut I see what you mean13:59
sergiusensalecu: alias kvm_snappy13:59
sergiusensalias kvm_snappy='kvm -m 1500 -redir :8022::22 -redir :8080::8080 -redir :4200::4200'13:59
sergiusensthat's what I use ;-)13:59
alecunice13:59
sergiusensalecu: I can't reproduce http://paste.ubuntu.com/11026375/14:01
sergiusensjust created a fresh image14:01
beowulfboo14:02
sergiusensalecu: I know, Chipaca told you to create an i386 image; there's no webdm for 386!14:02
alecusergiusens: what command did you use to create it?14:02
alecuah!14:02
beowulfmy snappy as vmware image workflow seems to be broken now :(14:02
sergiusensalecu: sudo ubuntu-device-flash core rolling --output amd64.img --developer-mode --channel edge14:02
sergiusensbeowulf: how so?14:02
alecusergiusens: I'll try that, thanks a bunch!14:02
sergiusensnp14:03
alecusergiusens: you don't use "--enable-ssh"?14:03
beowulfsergiusens: converting i get a error message/warning: http://pastebin.ubuntu.com/11026387/14:04
beowulfsergiusens: and vmware fails to ubuntu-core boot with that vmdk14:04
beowulfPXE-E53: No boot filename received14:05
sergiusensbeowulf: you are seeing kpartx issues14:05
sergiusensbeowulf: clear the mappings (quickest is to reboot ubuntu)14:05
beowulfsergiusens: does that make me special? do i get a badge14:06
beowulfsergiusens: yes, I'll reboot ubuntu.... *whistles*14:06
sergiusens@reviewlist14:35
nothalhttps://code.launchpad.net/~chipaca/ubuntu-core-launcher/unshare/+merge/258367 | No reviews (1 day old)14:35
nothalhttps://code.launchpad.net/~stephen-stewart/webdm/disabled-install-buttons-for-oem-types/+merge/258621 | No reviews (less than a day old)14:35
nothalhttps://code.launchpad.net/~jamesodhunt/snappy/install.yaml/+merge/256925 | Needs Information: 1, Needs Fixing: 1 (16 days old)14:35
sergiusensbeowulf: added a comment to your MP14:40
beowulfsergiusens: good spot, ta14:43
sergiusensbeowulf: Chipaca https://code.launchpad.net/~sergiusens/webdm/queryPackageNames/+merge/25863914:57
sergiusenshmmm14:58
* sergiusens resubmits14:58
beowulfsergiusens: you want me to take that and put search back?14:59
beowulfsergiusens: which might not happen today, as i'm still trying to get a working ubuntu-core15:00
sergiusensbeowulf: no worries, I also have an improvement to make to that MP15:01
Chipaca@reviewlist15:13
nothalhttps://code.launchpad.net/~chipaca/ubuntu-core-launcher/unshare/+merge/258367 | No reviews (1 day old)15:13
nothalhttps://code.launchpad.net/~sergiusens/webdm/queryPackageNames/+merge/258640 | No reviews (less than a day old)15:13
nothalhttps://code.launchpad.net/~jamesodhunt/snappy/install.yaml/+merge/256925 | Needs Information: 1, Needs Fixing: 1 (16 days old)15:13
beowulfsergiusens: know what this means? http://pastebin.ubuntu.com/11027355/15:13
sergiusensbeowulf: do you have the latest snappy?15:14
sergiusensbeowulf: how did this all start to happen?15:14
sergiusensmvo: ideas? ^15:14
beowulfsergiusens: on 14.04 i did udf, and vmware couldn't but the vmdk build from that img, so i've upgraded... and now i see this15:15
sergiusensbeowulf: trusty?15:15
beowulfnow on 15.0415:15
sergiusensoh15:15
beowulfsergiusens: which ppa should i be using?15:17
sergiusensbeowulf: snappy-dev/tools15:17
Chipacajdstrand: hullo hullo hullo!15:18
jdstrandChipaca: hi!15:20
jdstrandunfortunately, I need to step away for a few minutes. but ask in backscroll and I'll get back to you in a bit15:21
Chipacajdstrand: sure. It's about https://code.launchpad.net/~chipaca/ubuntu-core-launcher/unshare/+merge/25836715:23
mvosergiusens: meh, I thought we had fixed all the "exit status without further info " issues, is this u-d-f build against latest stable (or unstable) of u-d-f ? I wonder if that helps15:24
Chipacajdstrand: apparmor complains, not about unshare(2), but about mount15:24
sergiusensmvo: I think beowulf is on whatever is on vivid15:25
sergiusensmvo: and yeah, we didn't fix all the exit status messages which kind of sucks a bit :-/15:25
beowulfsergiusens: mvo: i initially added ppa:snappy-dev/beta, i don't know if that matters (looked at wrong docs)15:26
sergiusensmvo: maybe he is just on an out of date u-d-f (I hope it's that)15:26
Chipacasergiusens: mvo: i hope/plan to get to that next week15:26
sergiusensbeowulf: using beta should be fine15:26
Chipacasergiusens: mvo: i expect your first few days back are going to be spent reviewing :)15:26
beowulfsergiusens: mvo anything i can try to get a working img?15:27
sergiusensbeowulf: mvo I suspect snappy unpack is failing for some reason15:29
sergiusensbut that is just gut feeling15:29
mvobeowulf: hm, I am not sure, maybe a rebuild against a up-to-date snappy15:31
sergiusensmvo: does it fail for you using what's in the ppa?15:34
mvosergiusens: against what version is u-d-f in the ppa build?15:34
mvosergiusens: I need to check, give me a sec15:34
sergiusensmvo: Built-Using: golang (= 2:1.3.3-1ubuntu4), golang-ar (= 0.0~git20150512-0ubuntu2), golang-go-flags (= 0.0~git20141007-1), golang-gocheck (= 0.0~bzr20131118+85-2), golang-goconfigparser (= 0.2-0ubuntu1), golang-juju-loggo (= 0.0~git20150318-0ubuntu1), golang-pb (= 0.0~git20131219-1), golang-yaml.v2 (= 0.0~git20150225-0ubuntu1), ubuntu-snappy (= 1.0-1+424~ubuntu15.04.1)15:35
Chipaca424 is not latest15:36
sergiusensChipaca: no, it was until last night15:36
Chipacai mean, 439 is what's in the ppa from last night15:36
Chipaca*ancient* :-p15:36
mvosergiusens: I think r436 has some important error reporting fixes15:39
mvohaving that would be good15:39
sergiusensmvo: I can trigger a rebuild, we have recipes for everything now ;-)15:39
mvothat would be cool15:39
sergiusensmvo: Chipaca to bookmark https://code.launchpad.net/~snappy-dev/+recipes ;-)15:39
mvoyay! you found it!15:40
sergiusensmvo: btw https://code.launchpad.net/~sergiusens/goget-ubuntu-touch/bump_upstream/+merge/25865115:45
sergiusensor the recipe will fail...15:45
sergiusensmvo: and I've been thinking about snappy build and releases and rolling and haven't come up with anything smart yet, maybe we need to add the base release to packages.yaml15:46
jdstrandChipaca: what is the denial? I may be surprised if seccomp likes it too16:30
Chipaca[Fri May  8 16:31:01 2015] audit: type=1400 audit(1431102661.774:53): apparmor="DENIED" operation="mount" info="failed mntpnt match" error=-13 profile="/usr/bin/ubuntu-core-launcher" name="/tmp/" pid=1928 comm="ubuntu-core-lau" flags="rw, private"16:31
Chipacajdstrand: sneakily, I do it before seccomp16:31
jdstrandChipaca: is it possible to do it before apparmor? right now things are quite clean wrt apparmor rules-- we don't allow any mounts, umounts or remounts16:32
Chipacajdstrand: bah. i do it before loading seccomp for the target executable, but i guess it's run under a seccomp of its own?16:32
jdstrandChipaca: that said, we could probably craft a rule that is acceptable16:32
Chipacajdstrand: i think the launcher is run under apparmor already16:33
jdstrandthe launcher is not16:33
jdstrandthe launcher does the equivalant of an 'aa-exec'16:33
Chipacajdstrand: then what is debian/usr.bin.ubuntu-core-launcher ?16:34
jdstrandiirc, it do an aa_change_onexec16:34
jdstrandChipaca: oh, yes16:34
Chipaca:)16:34
jdstrandChipaca: right, the launcher does run under a profile, for some reason I read the above denial as an app denial, but it is a launcher denial16:34
jdstrandsorry16:34
Chipacayep yep, it's the launcher itself16:35
jdstrandyep, I'm there now16:35
jdstrandChipaca: mount rules are tricky, hold on a sec16:35
Chipacajdstrand: i do two mounts, fwiw16:36
Chipacawell, you can see 'em in the mp16:36
jdstrandmount options=(rw private) -> /tmp/,16:38
jdstrandChipaca: can you add the above to /etc/apparmor.d/usr.bin.ubuntu-core-launcher, then do: sudo apparmor_parser -r /etc/apparmor.d/usr.bin.ubuntu-core-launcher16:38
jdstrandChipaca: actually we should change that (feel free to test it for now while I get the other other one)16:42
Chipaca[Fri May  8 16:43:50 2015] audit: type=1400 audit(1431103430.829:55): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="/usr/bin/ubuntu-core-launcher" name="/tmp/" pid=1942 comm="ubuntu-core-lau" srcname="/tmp/snaps.1000/hello-world.canonical/1.0.15/tmp/" flags="rw, bind"16:44
Chipaca^ advanced to the second mount :)16:44
jdstrandChipaca: mount options=(rw bind) /tmp/snaps.[0-9]*/**/tmp/ -> /tmp/,16:45
Chipacajdstrand: \ooooooooo/16:46
jdstrandyay!16:46
jdstrandso feel free to add those to the profile with a comment16:46
jdstrandfyi, I asked Tyler to review the mp. he'll be back on monday16:47
jdstrand(he looked really hard at the launcher before)16:47
Chipacajdstrand: excellent; i'll wait for his review16:48
jdstrandChipaca: for Tyler's context, in the commit for the above profile changes, can you add the denials?16:48
jdstrandthe commit log that is16:48
Chipacai'll get mvo or sergiusens to +1 the basic code16:48
Chipacajdstrand: sure16:48
jdstrandcool16:49
jdstrandthanks16:49
Chipacajdstrand: thank you!16:50
beowulf'night all o/16:51
Chipacabeowulf: have a good weekend!16:52
Chipacajdstrand: there16:52
jdstrandChipaca: great, thanks again :)17:03
Chipacamvo: sergiusens: log juggling done, for now at least17:22
Chipacamvo: perhaps now the parallel between logger and interacter is more obvious :)17:22
Chipacamvo: and then again, perhaps you were right and i was overthinking it :)17:22
mvoChipaca: heh, I like what I see in the branches! simple and does all we need for now, I guess one more for the error logging will come later(?). but yeah, the similarities are striking now, I wonder how to combine the log and the progress, maybe we can have a "human-friendly" log that omits all the crazy timestamps(?)17:25
Chipacamvo: i think the one for error logging is up already17:25
mvoChipaca: but I may talk nonsesens, haven't really thought this through yet17:25
Chipacamvo: but maybe you're talking about a different one17:25
Chipacaoh17:26
Chipacaoooooh17:26
mvoChipaca: I was thinking if all the logging in  lp:~chipaca/snappy/die-LogError-die  is covered in the followups17:26
Chipacamvo: I'D ALREADY FORGOTTEN17:26
* Chipaca hides in shame17:26
mvoha! at least I'm not the only one with a memory like a goldfish :P17:26
* mvo hugs Chipaca17:26
Chipacamvo: there :)17:31
Chipacamvo: is the target for https://code.launchpad.net/~mvo/snappy/selftest-failover/+merge/258655 the right one?17:33
thesheff17is this what people are using for pip and snappy? http://www.wefearchange.org/2015/04/creating-python-snaps.html17:54
sergiusensChipaca: are you going to be around for a while longer?18:44
mvoChipaca: ups, its not, I updated the MP, silly me19:04
sergiusensmvo: Chipaca mind taking a look at https://code.launchpad.net/~sergiusens/webdm/oemBrokeFix/+merge/258681 ?19:24
Chipacasergiusens: I am going to be around a while, now19:36
sergiusensChipaca: heh, if you would of replied sooner I would of taken the complicated approach to fix https://code.launchpad.net/~sergiusens/webdm/oemBrokeFix/+merge/258681 :-P19:37
sergiusensnow I await the needs fixings ;-)19:37
Chipacasergiusens: ah, i haven't top-approved19:37
Chipacasergiusens: what was the complicated approach?19:37
sergiusensChipaca: extend packageYaml in snappy and add an interface to get the branding19:38
Chipacasergiusens: at this stage, what's another spot on the liger19:38
Chipaca... wait, ligers don't have spots19:38
Chipacasergiusens: top-approved19:39
sergiusensChipaca: thunder cats you mean?19:39
Chipacasergiusens: http://en.wikipedia.org/wiki/Liger19:40
mvoholly cow, I learned something new today (again!)19:42
Chipacamvo: no, that's Auðumbla19:56
Chipacaor maybe Gavaevodata19:56
sergiusensmvo: what is this version number's granularity btw ? 1.4.0.0.2 ?20:02
mvosergiusens: we have support for "-" so 1.4.0-220:02
mvosergiusens: maybe I'm not understanding the question actually20:02
sergiusensmvo: so many dots, that's all :-)20:03
mvoI think its a artifcat from the old days when we did not have a "-"20:03
mvoso many dots where used to simulate the packaging version20:03
* Chipaca is going to make packages versioned “.”, “..”, “...”. Because the docs say I can.20:04
Chipacamvo: does selftest have tarmac?20:06
Chipacaor otherwise auto-merge?20:06
mvoI don't think so20:06
Chipacamvo: i don't think i'm going to manage to review your selftest branches today though20:07
Chipacanot with any kind of proper testing20:07
sergiusensmvo: I think it does, but it doesn't any sanity checks20:08
sergiusensconfirmed, it's there20:10
mvoaha, ok20:10
mvohaving the selftest in tarmac and building a image etc would be cool, but I'm too tired to even think about this20:10
mvo(i.e. as test run it on a fresh image)20:10
* mvo will vanish into bed soon20:11
Chipacamvo: by "snappy install typo", you mean a snappy install of a package that can't be found?20:13
Chipacamvo: if so, yes, we log those20:13
Chipacawill reply on the mp, go to bed :)20:14
=== erkules_ is now known as erkules
sergiusensChipaca: one last one please https://code.launchpad.net/~sergiusens/webdm/policies/+merge/25868620:16
Chipacasergiusens: go20:17
mvoChipaca: yes, that, its fine, just wanted to check :)20:18
* mvo waves20:18
sergiusensChipaca: i'll bbl, which means you should nt even be here btw ;-)20:30
mhall119does snappy require root to install? I thought we got away from that with click.22:25

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