=== chihchun_afk is now known as chihchun | ||
dholbach | good morning | 08:01 |
---|---|---|
mvo | fgimenez: good morning! I will preare another stable release of 15.04 today, anything looking risky here? | 09:25 |
JamesTait | Good morning all; happy Wednesday, and happy International Anti-Corruption Day! 😃 | 09:29 |
fgimenez | hey mvo! not AFAIK, moreover once the image is published a new cloud image would be generated and the suite will be executed in http://162.213.35.179:8080/ | 09:29 |
mvo | fgimenez: awsome | 09:29 |
fgimenez | mvo, i'm off this week, anyway if you need anything from my side don't hesitate to ping me, i'll be available from 14:00 CET onwards | 09:30 |
mvo | ogra_, ricmm: fwiw, I triggered a new 15.04 build preparing a new stable | 09:30 |
mvo | fgimenez: uh, if you are off then enjoy your time off :) I will bother elopio | 09:30 |
fgimenez | mvo, thx, anyway i'm not very afk, so if you need a hand just ping me :) | 09:31 |
mvo | fgimenez: thanks! much appreciated | 09:32 |
liuxg | dholbach, ping | 09:35 |
dholbach | liuxg, pong | 09:37 |
liuxg | dholbach, for python package installation, can we put the packages into the setup.py like the way for webcam? | 09:38 |
liuxg | dholbach, this is the example https://github.com/ubuntu-core/snapcraft/blob/master/examples/webcam-webui/setup.py | 09:38 |
dholbach | liuxg, I don't understand | 09:41 |
dholbach | which packages do you want to install? which do you want to add to setup.py? | 09:41 |
liuxg | dholbach, for example, we can put the django packages into the "install_requires" field in the file if the package is needed for the app. Currently, it is suggested using the requirements.txt file to do it. | 09:42 |
dholbach | IIRC "install_requires" will make the build/installation fail if the package is not available | 09:43 |
dholbach | requirements.txt is a mechanism to obtain and install the package | 09:44 |
dholbach | (I personally would still go for using the archive unless you need a specific version which is not available in the archive, it should be the easiest) | 09:44 |
dholbach | but maybe zyga, sergiusens and others have an opinion on that too | 09:44 |
liuxg | dholbach, the problem with the archive one is that we need to use the fileset stuff to choose the files and then combine them into a snap. it is a little more complex in this sense. | 09:45 |
dholbach | why do you need the filesets? to make the package smaller? | 09:45 |
dholbach | ... I mean to limit the number of installed files? | 09:45 |
dholbach | I'll be right back... I need to take care of something else for a few minutes | 09:46 |
liuxg | dholbach, yeah, that could be the purpose for it. | 09:46 |
liuxg | dholbach, sure, it is OK:) | 09:47 |
dholbach | strictly speaking for this example you either don't need the filesets or you would use it as well for the other methods of installing django | 09:47 |
dholbach | all of them are likely going to install a lot of files you don't strictly need | 09:48 |
liuxg | dholbach, do you mean if I just simply put " stage-packages: -Django", it will install all of the files for django? | 09:49 |
dholbach | liuxg, the package name in Ubuntu is python-django, but yes | 09:57 |
dholbach | and without the '-' | 09:57 |
liuxg | dholbach, thanks. I will try it later on. | 09:58 |
dholbach | great | 09:59 |
=== Guest65640 is now known as beowulf | ||
=== beowulf is now known as Guest86859 | ||
=== vrruiz_ is now known as rvr | ||
Sweet5hark | Hi there! So Im looking at snappy and wonder how I get to tell snappy on how to order the builds and stages for the parts of a package ... | 11:43 |
Sweet5hark | any hints? | 11:43 |
=== greyback__ is now known as greyback | ||
livcd | does anyone have an experience with snappy vagrant box ? | 12:03 |
mvo | elopio: I pushed candidates to alpha, could you trigger the automatic snappy update test when you are online? | 12:11 |
mvo | elopio: there is a new released planned :) | 12:11 |
=== verterok is now known as verterok-away | ||
livcd | i get ssh timeout with snappy on vagrant. Does anyone experience the same issue ? | 12:25 |
=== verterok-away is now known as verterok | ||
livcd | oh ok that happens only when i try to set a private network | 12:29 |
livcd | what are the default credentials ? | 12:38 |
stevebiscuit | livcd: ubuntu:ubuntu I believe | 12:41 |
livcd | sheesh this is annoying | 12:45 |
=== dholbach_ is now known as dholbach | ||
Sweet5hark | so, I try to build something with snapcraft that depends on libxml2. The ./configure is all happy about it, build gcc doesnt find headers like libxml/xpath.h when compiling. libxml2-dev is install on the host system and is listed in the snapcraft.yaml as "build-packages: [... ,"libxml2-dev", ...]". What am I doing wrong? | 12:51 |
=== chihchun is now known as chihchun_afk | ||
Sweet5hark | so ... whats the difference between "snap-packages" and "build-packages" in a snapcraft.yaml? | 13:57 |
=== verterok is now known as verterok-away | ||
=== fginther` is now known as fginther | ||
elopio | mvo: yes! | 14:50 |
=== chihchun_afk is now known as chihchun | ||
elopio | mvo: what's the trick now to flash this? --oem generic-amd64/alpha doesn't seem to work. | 15:01 |
kyrofa | Sweet5hark, where are you getting `snap-packages`? I don't believe such a key exists in the snapcraft.yaml | 15:02 |
elopio | Sweet5hark: the build-packages will be installed in the host. You require them to perform the build step and generate the files that will be installed. | 15:07 |
livcd | does anyone know how to set a private_network with snappy's vagrant box ? | 15:07 |
livcd | it won't let me login | 15:07 |
elopio | Sweet5hark: to define the order in which the parts are built, use the after keyword. | 15:08 |
kyrofa | Sweet5hark, in case we're misreading that question, snap packages are what are generated by snapcraft, and build-packages are the .deb dependencies required on the host to build the snap packages | 15:09 |
elopio | livcd: I haven't tried vagrant in a long time, sorry. I'll give it a try when I have some free time today. | 15:09 |
Chipaca | elopio: "alpha" isn't a channel | 15:10 |
Chipaca | elopio: generic-amd64/stable should work | 15:10 |
livcd | elopio: thanks. :-/ default settings work fine but I want to use nfs and for that i need private network :/ | 15:10 |
elopio | Chipaca: ah, I see. | 15:11 |
Chipaca | livcd: what's the name of the ethernet device when in private_network? | 15:11 |
livcd | Chipaca: i do not specify that | 15:11 |
Chipaca | livcd: i didn't say you did | 15:12 |
livcd | all i do is config.vm.network :private_network, ip: "10.1.0.10" | 15:12 |
Chipaca | livcd: and when you do that, and boot, and log in, what interface name do you find? | 15:12 |
livcd | vagrant up shows adapter 1: nat, adapter 2: hostonly | 15:12 |
livcd | Chipaca: can't log in | 15:12 |
Chipaca | livcd: you don't even have a serial console? | 15:13 |
livcd | nope | 15:13 |
Chipaca | so how do you debug boot issues, for example? | 15:14 |
livcd | mmnt i'll run it with debug mode | 15:15 |
Chipaca | livcd: alternatively boot something else with private_network and check the interface names there | 15:15 |
Chipaca | livcd: I'm taking a wild guess that it's naming the interface something non-standard that snappy firstboot doesn't recognise as an ethernet device | 15:16 |
livcd | thanks for input | 15:16 |
livcd | i'll try that | 15:16 |
Chipaca | so to use private_network you'd need to write an oem snap that specified an interface file, or that installed network-manager | 15:17 |
Chipaca | livcd: but maybe vagrant lets you name interfaces something more standard :-) | 15:17 |
Chipaca | livcd: alternatively it's possible that you're not setting up dhcp on the private network | 15:18 |
Chipaca | in fact, pretty sure that's what you're doing | 15:19 |
Chipaca | as you seem to be specifying a static ip | 15:19 |
Chipaca | to vagrant | 15:19 |
Chipaca | but not to snappy | 15:19 |
Chipaca | so that won't work :-) | 15:19 |
Chipaca | livcd: ^ | 15:19 |
Chipaca | livcd: if you absolutely need a static ip, you can probably: boot snappy with dhcp, so you can log in, then overwrite the interfaces file from the booted system | 15:20 |
Chipaca | livcd: then shutdown, change the vagrant config, and boot again | 15:20 |
Chipaca | livcd: this is assuming you don't want to write an oem snap, which would be the 'right' way to do this | 15:20 |
livcd | Chipaca: i am just trying snappy | 15:21 |
livcd | Chipaca: ok i'll try dhcp first and report | 15:21 |
Chipaca | livcd: yep, it sounded like you were just tinkering, hence my tinker-y suggestion | 15:21 |
Chipaca | livcd: specifying all this in a snap is the more scalable/robust/production way :-) | 15:22 |
livcd | first of all i need to know more about snap :-). I was planning to use snappy as a bare image for docker and orchestrate with terraform | 15:24 |
livcd | ok specifying dhcp has the same effect | 15:25 |
Chipaca | livcd: same effect == no network? | 15:27 |
elopio | mvo: flashed 19, updated to 20, rolled back, updated to 20 again, and the full suite is running now on that image for kvm amd64. | 15:28 |
elopio | mvo: can you push the rpi alpha to try there too? | 15:28 |
livcd | Chipaca: yeah | 15:29 |
Chipaca | livcd: and does it work without private_network? | 15:30 |
livcd | with the default settings that work there's lo and eth0 | 15:30 |
livcd | yeah | 15:30 |
livcd | i am somehow dissappointed :/ | 15:35 |
mvo | elopio: many thanks, rip2 is also copied | 15:42 |
mvo | elopio: eh, not quite | 15:42 |
mvo | elopio: but soon | 15:42 |
mvo | elopio: now | 15:42 |
elopio | I see it, thanks mvo. | 15:43 |
livcd | i am out of options...not sure what else should i try | 15:43 |
elopio | mvo: should we document the need of /stable when flashing before the new release? Or is that going to be fixed before we release? | 15:44 |
mariogrip | when i try to reboot my raspberry pi, it seem like it doesn't reboot correctly. is this known issue? | 16:05 |
dholbach | ogra_: jcastro made something for you: http://i.imgur.com/CcwkgN7.jpg :-) | 16:08 |
elopio | :D | 16:13 |
ogra_ | dholbach, hah ! cool ! | 16:27 |
ogra_ | thats a really nice pic, i have never seen it | 16:27 |
livcd | Chipaca: the private_network setting has lo,eth0 and eth1 adapters | 16:28 |
elopio | ogra_: I get choppy output on the serial console of the rpi. Does it have a different rate? I'm using 115200 | 16:39 |
ogra_ | elopio, nope, 115200 is correct | 16:43 |
ogra_ | works fine here | 16:43 |
elopio | ogra_: it's not garbage, it's just misaligned. | 16:43 |
elopio | maybe the cable. | 16:44 |
ogra_ | what terminal program do you use ? | 16:44 |
elopio | ogra_: screen | 16:48 |
ogra_ | hmm, me too | 16:48 |
ogra_ | so yeah, probably the cable | 16:49 |
=== verterok-away is now known as verterok | ||
xnox | what is ubuntu-core-meta and should i care? | 16:50 |
elopio | mvo: On rpi, flashed 3, updated to 4, rolled back, updated to 4 again, and the full suite is starting. | 16:50 |
mariogrip | reboot -f does not work either | 16:50 |
elopio | mvo: is there something special you would like me to check or explore? | 16:50 |
elopio | mvo: is there something special you would like me to check or explore? | 16:51 |
ogra_ | xnox, good question, i didnt think there exists a meta for -core | 16:51 |
elopio | sorry, hiccup. | 16:51 |
ogra_ | xnox, -core only uses tasks, we do not have a meta | 16:51 |
ogra_ | s/have/need/ | 16:51 |
ogra_ | xnox, perhaps that meta is from infinitys "ubuntu-core" (not snappy) ? | 16:52 |
xnox | probably | 16:52 |
mariogrip | how do i switch channel on the rpi? (stable -> rolling/edge ) | 16:53 |
elopio | mariogrip: there is no supported way yet. You can edit /etc/system-image/channel.ini, but for that you have to make the partition writable, and we don't guarantee success | 16:57 |
mariogrip | thanks, I'll give it a try | 16:58 |
mariogrip | but do you know if there is any known issue with reboot on the rpi? | 16:58 |
mariogrip | on version 3 | 16:59 |
mariogrip | sorry i mean version 2 | 16:59 |
elopio | mariogrip: not that I know of. Please report a bug if you see something weird. | 17:04 |
mvo | elopio: nothing in particular 15.04 has not changed much so we should be mostly fine | 17:24 |
elopio | mvo: things look good from here. I'll go and have lunch and can run the tests on bbb. | 18:21 |
mvo | elopio: thanks | 18:28 |
=== bschaefer_ is now known as bschaefer | ||
kyrofa | elopio, I want to make a helper class for my plugin. How should I organize that? Clutter up the plugin file with another class, or is there a sensible place to extract it? | 20:18 |
mvo | elopio: amd64/armhf/rpi2 released to stable | 20:36 |
sergiusens | kyrofa, elopio just a tiny hello :-) | 20:52 |
kyrofa | sergiusens, hey, been a while! | 20:52 |
kyrofa | sergiusens, how's it going? | 20:52 |
sergiusens | kyrofa, fine, 7PM and still discussing things here... talking is tiresome :-P | 20:53 |
kyrofa | sergiusens, yeah... exhausting | 20:53 |
sergiusens | kyrofa, how's it going with you? | 20:53 |
kyrofa | sergiusens, I hope you're sleeping alright | 20:53 |
kyrofa | sergiusens, things are going well! Still adding some ROS features, figuring out snapcraft, whining about the lack of a clean build, etc | 20:54 |
sergiusens | kyrofa, yeah, more than ever, but having to follow conversations for 9 hours straight and then do the same during dinner gets you really tired | 20:54 |
kyrofa | sergiusens, definitely | 20:54 |
sergiusens | kyrofa, hah, clean build I can implement on the way back :-) | 20:54 |
kyrofa | sergiusens, :D | 20:54 |
kyrofa | sergiusens, you should relax on the way back though | 20:55 |
sergiusens | kyrofa, I really want to land the new-cli branch into master ASAP, but I haven't had a chance to fix the integration tests | 20:55 |
kyrofa | sergiusens, ah, yeah that'll be nice | 20:55 |
sergiusens | and it has been a laptops closed meeting | 20:55 |
kyrofa | Oh man... so you REALLY have to pay attention | 20:56 |
sergiusens | yeah | 20:57 |
kyrofa | sergiusens, don't worry man, we'll get there. You can slow down a little :) | 20:58 |
sergiusens | hah | 21:03 |
sergiusens | kyrofa, I am suffering from depravation | 21:03 |
sergiusens | ;-) | 21:03 |
kyrofa | I can't get to Universe. Anyone else? | 21:43 |
kyrofa | Rather, I'm getting a hash mismatch of some kind | 21:45 |
kyrofa | Ah, looks like it's working now | 21:47 |
Sweet5hark | sooo, I have libxml2-dev installed on the host system and have "stage-packages: - libxml2-dev" in my snapcraft.yaml. I see my configure using getting a .../snap/usr/include/stage/usr/include/libxml2 from pkg-config. However that dir does not exist .... | 22:11 |
Sweet5hark | shouldnt "stage-packages" ummm ... stage packages? | 22:12 |
Sweet5hark | ... so that they are actually found where pkg-config claims them to be in the snapcraft env? | 22:12 |
elopio | kyrofa: if the helpers are only used in your .py, put them in there with _ in front. | 22:17 |
elopio | then if we need them in other module, we can discuss if removing the _, or putting them in a different .py, or both. | 22:18 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!