/srv/irclogs.ubuntu.com/2015/12/22/#snappy.txt

=== chihchun_afk is now known as chihchun
dholbachgood morning07:37
=== dpm is now known as dpm-afk
livcdAnyone of you guys have tested snappy with vagrant and nfs ?09:51
Chipacalivcd: i know there was somebody having a lot of problems with vagrant, but it might have been you10:02
livcdChipaca: that was me10:11
livcd:D10:11
livcdI was asking because vagrant 1.8.0 has been released yesterday and it did not fix any of my issues10:11
livcdbut i might have just been unlucky10:11
=== dpm-afk is now known as dpm
=== chihchun is now known as chihchun_afk
mvoChipaca: I have two refactor branches that I would love to get your opinion on if you feel like diving into this stuff today11:03
Chipacamvo: bring it11:03
mvoChipaca: https://github.com/ubuntu-core/snappy/pull/271 is something I will need for u-d-f but it may pave the road to pull packageYaml out of "snappy"11:04
mvoChipaca: https://github.com/ubuntu-core/snappy/pull/272 kill the quantum state of SnapPart, i.e. that it can be both a snap for install and a snap on disk (which is frankly really bad)11:04
mvoChipaca: the later branch will probably help splitting the atom^Wpart interface. i.e. its much clearer now that there is something "installed" and "downloadable" and "installable" (not the right names probably but the concpets are better separated11:06
mvoat least that is my wishful thinking11:06
mvoChipaca: but no rush, I will have lunch soon etc so don't interrupt anything important (or even medium important :)11:07
Chipacamvo: ok, started looking at the first one already11:08
mvoChipaca: hm, the test failure in the second branch is odd, its failing in lightweight, I will check after lunch, its not obvious to me because AFAICT you don't really install anything in these lightweight tests, just construct the paths. I will figure it out after lunch11:36
Chipacak11:36
mvoChipaca: fwiw http://paste.ubuntu.com/14136584/ is the error and it seems like the sideload info is gone which may actually be correct, "" is no longer considered sideloaded11:37
Chipacamvo: https://gist.github.com/chipaca/680c7ae0b633077cc93a fwiw11:38
Chipacamvo: e.g. with your pastebin, it outputs, for the first failure:11:41
Chipacadiffering keys:11:41
Chipaca    'origin':  expected 'sideload', got ''11:41
Chipacasame with the second failure11:42
kyrofaGood morning12:51
kyrofaasac, ping13:00
asackyrofa: heya13:11
kyrofaasac, just saw bug #152850713:11
ubottubug 1528507 in Snapcraft "docopt package not installed ondemand when using latest master" [Undecided,New] https://launchpad.net/bugs/152850713:12
asackyrofa: right13:12
kyrofaasac, to make sure I understand, are you saying that running the main snapcraft binary is supposed to be calling apt-get install <all its dependencies> ?13:12
asaci remember we did that in the past for convenience13:12
asacif we dont run apt-get at all in the source anymore this bug is probably invalid13:13
asacotherwise all minimal deps should be installed on demand13:13
kyrofaasac, interesting okay. I'm not super familiar with the source yet, but I'm not seeing code that does that. I'll look a bit more before marking it invalid though13:13
asacright13:14
asaclet me look at history if that feature got killed13:14
asacok commented for sergio to check and invalidate accordingly13:16
asacthx!13:16
kyrofaHey mvo I wanted to ping you real quick regarding https://github.com/ubuntu-core/snappy/pull/269 . I'd like to get that released in Snappy before the next Snapcraft release. Any chance?13:34
mvokyrofa: looks fine, the rule is two reviews, maybe Chipaca can do the second? if so +1 for landing it13:37
kyrofamvo, ah, good rule13:37
Chipacawossit?13:37
kyrofaChipaca, https://bugs.launchpad.net/snappy/+bug/152761213:37
mvoChipaca: https://github.com/ubuntu-core/snappy/pull/269/files needs a pair of eyes :)13:37
ubottuLaunchpad bug 1527612 in Snappy "$SNAP_APP_USER_DATA_PATH points to non-existing directory for services" [Undecided,In progress]13:37
Chipacain my lunch break right now, but i'll look in a few13:38
mvoChipaca: no rush13:38
kyrofaThanks Chipaca :) . Indeed, no rush13:38
mvoChipaca: and thank you!13:38
Chipacano rush suits me right now :-)13:38
kyrofaChipaca, it's kinda that time of year13:38
renatHi all! It's renat from screenly. Can anyone help me with my question:13:40
renatWe plan to have our own store to distribute software updates. It's something pointer by oem.store.id config in the pakcage.yaml13:42
renatHow we can set-up such a store?13:42
kyrofarenat, thanks for the question. I personally do not know the answer, and I'm afraid there's a good chance the people who can are out for Christmas. I just wanted to reach out and make sure you weren't feeling neglected13:56
Chipacarenat: I think mectors is the person to go to for that question14:02
renatkyrofa, Chipaca, thank you. I will contact him later then.14:04
Chipacakyrofa: +1 on that branch, and i told mo to run the tests14:15
Chipacakyrofa: are you going to backport it to 15.04 also?14:15
kyrofaChipaca, thank you! I'd like to, but am not sure how. Pointers?14:15
kyrofaChipaca, or is it just another branch?14:15
Chipacakyrofa: start with the 15.04 branch, fork from there, git cherry-pick might work14:16
Chipacayes, just another branch14:16
Chipacathen another pull request, targeting 15.04 again14:16
kyrofaChipaca, ah, easy. Give me 514:16
Chipacawell, maybe14:16
Chipacarolling is rapidly diverging :-)14:16
kyrofaChipaca, uh oh :P14:16
Chipacaso it won't get any easier, for sure :-)14:17
Chipacakyrofa: but it's small enough that even if instead of cherrypicking you redo the whole thing, you're still ok :-)14:17
Chipacai mean, it's still quick to do, i reckon14:18
kyrofaChipaca, indeed14:18
kyrofaChipaca, 15.04 is failing tests with no changes14:47
kyrofaChipaca, daemon/daemon_test.go:94: arg d.router.NotFoundHandler for printf verb %p of wrong type: net/http.Handler14:47
kyrofaChipaca, am I doing something wrong?14:47
Chipacakyrofa: using the wrong go version14:48
kyrofaChipaca, noooooooo14:48
kyrofaToo new?14:48
Chipacakyrofa: you can comment out that test14:48
Chipacakyrofa: yeh14:48
Chipacakyrofa: go *really* doesn't want one comparing functions for pointer equality14:48
kyrofaChipaca, okay well everything else passes so I can safely make the PR, sounds like14:48
* Chipaca nods14:48
kyrofaChipaca, yeah I remember running into that when making unity app launch bindings in go14:48
Chipacamhmm14:49
Chipacakyrofa: apparently because go doesn't promise not to move from a simple pointer to something more complicated, or to inline stuff14:49
kyrofaChipaca, take a look at https://github.com/ubuntu-core/snappy/pull/273 when you're able?14:51
Chipacakyrofa: backports are ok to land with one +1, fwiw14:54
kyrofaChipaca, ah, good to know thank you!14:54
kyrofaChipaca, how often does Snappy get a new release on 15.04?14:55
Chipacakyrofa: supposed to be once a month, but i think we've slipped. But mvo knows better.14:55
Chipacai think i'm going to have lunch and then if everything continues to be not-on-fire i'll call it a year14:56
kyrofaChipaca, awesome, you have a great year then :)14:56
Chipaca(yes, my lunch break was before, but it got delayed...)14:56
kyrofaMerry Christmas!14:56
Chipacait's been great already! if the next one is half as interesting, it'll be good14:56
Chipacakyrofa: likewise!14:57
kyrofamvo, the integration tests failed on https://github.com/ubuntu-core/snappy/pull/269 but the error message told me absolutely nothing...15:26
renatkyrofa, hello again. What should I write to the "Canonical Project Manager or contact" field when filling contributor license agreement?15:59
kyrofaHey renat :) . You can probably put me there (Kyle Fazzari)16:00
kyrofaI'm not a project manager, but I'm a contact, heh16:01
renatkyrofa, thanks. I will do.16:01
shuduohi, there is an owncloud snap app can be installed but how i will use it? I mean which url I need point to login as admin?17:26
ogra_`just to port 80 in your browser17:31
shuduoogra_`: should i run something first? right now I use webdm.local:80 but get nothing but connection refused17:33
davmor2shuduo: are you running this on a board or a vm17:38
shuduodavmor2: on a vm17:39
davmor2shuduo: did you enable the port?17:39
shuduodavmor2: i'm running it in a qemu. i can use other port as a real device. i have no idea what else I need enable for the port.17:40
kyrofashuduo, it takes a minute to set itself up, too17:40
davmor2shuduo: you need the -redir commands from https://developer.ubuntu.com/en/snappy/start/17:40
kyrofashuduo, make sure it's actually up and running with netstat -tulpn or something17:41
davmor2shuduo: then for port 80 you would point your browser to localhost:8090 which links to the port 80 from the snappy vm17:42
davmor2shuduo: you can add more -redirs if you need other ports to be available too17:43
davmor2shuduo: is that working for you now?17:45
shuduodavmor2: no... i can use localhost:4200 for webdm. but localhost:8090 don't have owncloud17:47
shuduokyrofa: netstat -tulpn show some port number but no 80 now17:49
davmor2no sure if it uses port 80 or not so I can't help you there17:50
kyrofashuduo, check the status of owncloud: `sudo systemctl status owncloud_owncloud_8.0.2.006.service`17:50
kyrofadavmor2, indeed, 80 and 44317:50
kyrofashuduo, pastebin the output17:50
shuduodavmor2: kyrofa http://imgur.com/g47ZfTb17:57
shuduosorry i don't know how to grab text from qemu screen17:57
kyrofashuduo, can you SSH into it?17:58
shuduokyrofa: good point17:58
shuduokyrofa: http://pastebin.com/3f1LAxtF18:05
kyrofashuduo, run that with sudo. And also paste the systemctl output18:06
shuduokyrofa: http://pastebin.com/FmFzU4gY18:07
kyrofashuduo, hmm, yeah so the owncloud service died. Have you tried simply starting it up again?18:10
kyrofa(it just worked for me, so I'm not sure what the issue is)18:10
kyrofaI don't know why it would be trying to remove a container18:11
shuduokyrofa: sorry my stupid quesiton, how to start it?18:11
kyrofashuduo, `sudo systemctl start owncloud_owncloud_8.0.2.006.service`18:12
kyrofashuduo, and you can keep an eye on it with the status call, see if it fails again18:12
kyrofashuduo, syslog might give you more information, in that case18:12
shuduokyrofa: yes, it failed again as same log of system ctl status18:13
kyrofashuduo, yeah, take a look at your syslog. Something strange is happening18:13
kyrofashuduo, you can pastebin that too if you want me to take a look18:17
shuduokyrofa: thanks. i grab last 50 lines here. http://pastebin.com/LPV4beTL18:20
kyrofashuduo, it _seems_ like a docker problem, particularly relating to its iptables chain. Try removing both owncloud and docker, and install both again18:24
shuduokyrofa: okay18:24
shuduokyrofa: http://pastebin.com/71ys8Es0 looks better as docker-proxy running and owncloud is active. but  i can't see web page from localhost:809018:35
kyrofashuduo, yeah that looks more like it :)18:36
kyrofashuduo, and you're sure you have port 8090 redirected to port 80?18:36
shuduokyrofa: yes, i think so.  kvm -m 512 -redir :8090::80 -redir :8022::22 -redir :4200::4200 ubuntu-15.04-snappy-amd64-generic-16G.img18:36
shuduokyrofa: i have to go to sleep. not sure if it worth a bug report. BTW, i tried to demo ROS example app of snapcraft to a drone customer today. but snapcraft cannot complete. :(18:39
kyrofashuduo, the snapcraft ROS stuff is getting a lot better as soon as we crank out the next release18:40
kyrofashuduo, I'd be happy to help with that tomorrow if you like18:40
shuduokyrofa: good to know.18:40
shuduokyrofa: are you using qemu to run docker/owncloud as well?18:41
kyrofashuduo, no, I did it on my raspberry pi 218:41
shuduoif need i can install a fresh copy but i don't think I can mess up current one as snappy be designed not allow to be messy18:42
kyrofashuduo, yeah we should be able to get that working18:43
kyrofashuduo, go sleep. I start work at 0100 UTC, ping me :)18:43
shuduokyrofa: okay. let me try it on rpi too after I back to Beijing.18:43
shuduokyrofa: bye18:43
kyrofashuduo, err, 1300 UTC that is18:44
=== beowulf is now known as Guest88540
=== davmor2 is now known as davmor2_ho-ho-ho

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