IRC logs for #baserock for Thursday, 2014-11-20

*** ridgerunner [] has quit [Ping timeout: 240 seconds]00:03
*** ridgerunner [] has joined #baserock00:05
*** cyndis [] has quit [Ping timeout: 272 seconds]00:45
*** cyndis [] has joined #baserock00:46
*** zoli_ [] has joined #baserock05:51
*** zoli_ [] has quit [Changing host]05:51
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock05:51
*** cosm [] has quit [Ping timeout: 240 seconds]05:58
*** zoli_ [~zoli_@linaro/zoli] has quit []06:24
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock06:25
*** cosm [] has joined #baserock06:44
*** zoli_ [~zoli_@linaro/zoli] has quit [Remote host closed the connection]08:06
*** wdutch [] has joined #baserock08:10
*** elevenarms_ [] has joined #baserock08:23
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock08:25
*** tiagogomes [~tiagogome@] has joined #baserock08:41
*** rdale [] has quit [Ping timeout: 250 seconds]08:54
*** bashrc [] has joined #baserock08:58
*** rdale [] has joined #baserock09:05
*** mariaderidder [] has joined #baserock09:10
paulsher1oodstraycat: there are no commands - it's just ybd relative/path/to/definition. i recommend using the script to drive it since by default ybd leaves staging areas around. clears up09:16
paulsher1oodstraycat: it's far from a prototype of a new morph, so far. doesn't actually build anything. i'm just trying to iron out the overall logic at this point09:17
*** ssam2 [] has joined #baserock09:23
Mode #baserock +v ssam2 by ChanServ09:23
*** jonathanmaw [] has joined #baserock09:31
straycatjjardon, If you want to move setuptools out of core that's fine by me in a separate series, as I said on the list we need to find out how many things above core build using setuptools before doing anything, I'm quite busy at the moment and moving setuptools out of core isn't important for what I'm trying to get done.09:40
straycatpaulsher1ood, yes I managed to get it to 'build' definitions in the end09:41
jjardonstraycat: yeah, sure; it was only a suggestion. But still i think it would be less confusing if you can change the name of the new stratum to something different to 'python'09:51
straycatjjardon, ssam2's already noted that and yes I agree09:52
*** jonathanmaw [] has quit [Ping timeout: 250 seconds]09:57
straycatssam2, the python-setuptools-bitbucket repo is the current setuptools10:01
straycati chose not to link to the bugtracker because i'll sort it out if upstream merge my stuff10:01
ssam2straycat: I don't understand that reasoning for not linking to the bug tracker. What if you're be super busy with something else for a while and someone else on the Baserock team needs to update setuptools ?10:05
ssam2re. python-setuptools-bitbucket, is there any reason for not updating the existing python-setuptools.lorry? I guess it depends whether they share any history or not10:05
straycatthere are two versions of setuptools10:06
ssam2right :( setuptools got super-forked10:06
straycatthe "main" hg version on pypa, and a 0.6 branch in svn 'sandbox'10:06
straycatto be honest any details i've ommitted are more to do with me being very busy10:07
straycatwell, in part, i don't have time to worry too much about commit message right now, is what i'm saying10:08
straycatand since i have 2 +1s now, i'm going to merge with the name change you suggest10:08
ssam2ok. I think you're creating extra work for future integrators who'll need to go digging to find out the things you've just told me.10:09
ssam2so I'd appreciate if you could put the info in the commit message10:09
* straycat nods10:12
*** jonathanmaw [] has joined #baserock10:13 = ([mkdir.....)10:14
radiofreeno wonder everything was failing after that10:14
straycatradiofree, weren't you using check_call? Am I missing some detail about how that works?10:16
franredor better use os.mkdir10:18
*** locallycompact [] has joined #baserock10:41
richard_mawradiofree: function call got translated to an assignment between brain and keyboard?10:41
radiofreestraycat: it was actually another .call() that was failing, for the reason richard_maw described!10:45
radiofreefranred: thanks, i'll use that instead10:45
radiofreethe default path for extlinux.conf files seems to be /extlinux/extlinux.conf rather than /extlinux.conf10:46
* radiofree will send a patch that tries both of those directories10:47
straycatradiofree, ahh :)10:48
*** locallycompact [] has quit [Ping timeout: 264 seconds]10:58
*** locallycompact [] has joined #baserock11:05
straycatjjardon, In fact now that I've had a little more thought, regardless of how many things above core require setuptools to build there's always the possibility that somebody will want something in core that requires setuptools to build, setuptools being an extension of distutils makes me feel that it rightfully belongs with cpython.11:06
pedroalvarezstraycat: I'm slightly worried about pip being removed of the webtools stratum and not being added to the systems that are using it. I wonder if pip was being used in any of them 11:34
straycatIt would be the web system and the gitlab system11:36
richard_mawradiofree: IIRC it looks for /extlinux.conf /boot/extlinux.conf and /boot/extlinux/extlinux.conf11:36
straycatI don't know much about those systems or whether they need pip11:36
straycatif they do then they should add the python-tools stratum11:36
pedroalvarezit's ok11:37
pedroalvarezI just wanted to raise the point11:37
radiofreerichard_maw: yes i thought that too11:39
radiofreerichard_maw: however in upstream it's now extlinux/extlinux.conf11:39
richard_mawoh, u-boot, I thought you were talking about syslinux11:39
*** aananth [~caananth@] has joined #baserock11:44
aananthI am able to build a new jetson image and wandboard image from jetson board which is configured to use vtsc-trove. The build times are considerably faster. Great support team!11:46
*** aananth [~caananth@] has quit [Client Quit]11:47
pedroalvarezaananth: that is really good to hear :)11:53
robtaylorwoohoo! :)11:59
radiofreepatches to boot off separate partition sent!12:36
paulsher1oodradiofree: i'd like to test it...12:45
paulsher1oodi just need to establish how i update tbdiff in my current machine12:45
paulsher1ooddo i need to cycle into that, then test something from there?12:45
radiofreepaulsher1ood: you don't need to update it in your current machine12:46
radiofreecycle a system with that version of tbdiff in it12:46
radiofreethe version of system-version-manager in the system you are deploying gets used, not the hosts12:47
pedroalvarezindeed, the upgrade uses the tbdiff of the system being deployed12:47
radiofreewhich is pretty neat12:47
franredjjardon, pedroalvarez, looks like gstreamer compiles with my patch in common when checking bison - maybe is time to polish it and send it for review13:01
pedroalvarezfranred: let's see if they like it13:02
franredpedroalvarez, I imagine I need to file a bug, add the use case and send the patch in the bug report13:02
pedroalvarezfranred: hm.. I was going to point you to :
pedroalvarezfranred: but yes, you are right. Here says: file a new bug and then attach the patch to the bug (
franredummm, looks like ssam2 sent a patch long time ago about this:
*** rdale [] has quit [Ping timeout: 250 seconds]13:17
*** rdale [] has joined #baserock13:22
pedroalvarezyay! they said that they will merge it :)13:29
*** Krin [] has joined #baserock13:35
pedroalvarezssam2: congratulations for your contribution to gstreamer:
straycatmy import of python-keystoneclient fails because of some alternative tagging scheme in some of the repos (r122 rather than 1.2.2) :/13:40
straycatthe tool decided to lorry from a hg repo on, the import tool doesn't recognise the tags in that repo13:47
straycatdon't think there's much we can do about that really13:47
straycatSo we need a very good error message that explains exactly why the ref couldn't be found13:48
pedroalvarezRight, so mason has been redeployed, and has been created13:55
pedroalvarezfor now is the old baserock-clone, with a DNS13:56
ssam2straycat: i'm going to change the import tool so that it doesn't stick version numbers on the end of the chunk names by default14:10
ssam2i've been meaning to do this for ages and thinking it'd be simple but having come to do it I l realised that it's actually the *.to_chunk programs that need to be changed to make this happen14:10
ssam2it's inconsistent with the existing Baserock reference system definitions otherwise14:11
ssam2I'm finding when importing Rails 'master' that there are two versions of some components in the build graph, so I guess i'm about to find out what happens when there are conflicts like that ;)14:11
ssam2it kind of sucks that we lose the upstream version number in this scheme, though14:13
paulsher1oodssam2: why not keep them?14:15
paulsher1oodfoo|version would be better than n definitions of foo imo14:15
* persia agrees14:16
* richard_maw is going to leave that discussion alone for now14:16
ssam2foo|version would be better where there are more than one14:16
ssam2but is it going to be common to want multiple versions of every RubyGem in the universe in Baserock ?14:16
straycati'm quite confused, two versions of one thing will conflict, unless you start messing around with paths.14:17
ssam2if there are two versions the tool will have to detect that and append a version number to at least one of them14:17
straycatin certain situtations python can manipulate sys.path to import the 'right' thing if it has enough information to do that14:17
ssam2RubyGems are parallel-installable14:17
ssam2I'm worrying only about what's in definitions.git here14:18
straycatoh okay14:18
paulsher1oodssam2: sadly it is quite common, yes. to the extent that devs have a couple of options to allow multiple stacks to coexist (rbenv, rvm)14:18
ssam2hmm, I suppose so14:18
ssam2well it's much less work to keep things working as they do now14:18
ssam2I expected everyone to be dismayed by having version numbers in the names of all the chunks, to be honest!14:19
* paulsher1ood loves how organisations that aren't involved in foo can leverage foo by spouting about 'The future of foo'14:19
straycatwell, I've not been doing it for python14:19
paulsher1oodstraycat: not all the chunks. just the ones where we have more than one14:20
ssam2oh, right. That's the thing that's difficult.14:20
straycatit's not possible to import two chunks with different versions with the python exts14:20
ssam2straycat: right.14:21
doffm_jmacs: How is the ceph stuff going? Did I help yesterday?14:21
doffm_ is now known as doffm14:21
straycatssam2, oh, well, it might be, an import isn't aware of what's currently in definitions14:22
paulsher1oodssam2: what's the difficulty? we have lots of unique chunks, no versioning need. we encounter a need to have another version of foo - that one gets imported/added as foo|version ?14:23
jmacsdoffm: I wasn't able to figure it out unfortunately; I've written up what I did at and I'm going to shelve that for now.14:23
ssam2paulshe1ood: the difficulty is explaining what you just said in terms that a computer can understand :)14:24
ssam2it may not be so hard. I'm working on it now so we'll find out soon enough14:24
straycatif ruby gems are parallel installable then it seems reasonable to put version numbers in the names of gems14:27
straycatso I guess I was suggesting making the extension control whether or not version numbers were appended14:47
ssam2right. Currently it seems the .to_chunk extension decides on the name of the chunk and baserock-import decides on the filename of the morphology14:48
* straycat nods14:48
ssam2currently baserock-import hardcodes the name 'strata/$stratumname/$chunkname-$version.morph'14:48
paulsher1oodwhat was the umount magic if deploy to self runs out of space?15:04
* paulsher1ood works it out ... umount /tmp/tmp.whatever is full15:06
*** wdutch [] has quit [Quit: Quit]15:38
persiaIn, should one be creating admin.key as well (as is referenced later)?15:50
paulsher1oodradiofree: ok i've cycled into your tbdiff branch (after some other priorities...) what shall i test ?15:51
pedroalvarezpersia: if you want to attach a volume to the trove I don't recommend you to follow those instructions15:54
persiaAh, OK.  And if I don't attach a volume, then I lose all my trove data when my instance dies?15:54
persiaThat makes sense.15:55
persiaIf I am using those instructions, should create an admin key?15:55
pedroalvarezpersia: it depends if you want to create a new ssh key for the admin user, or use yours15:56
persiaAha.  That makes sense.  I'll create a new one for play: I think adding one means I have to do fussy things to instantiate, rather than it just working.15:57
persia(and I have no idea what "admin" means, nor do I see it documented anywhere, so I imagine I can safely do without access to the key)15:58
persiaBut I think the wiki probably should be clearer about this.  I fear that if the instructions are followed blindly, the user will encounter an error.15:58
pedroalvarezyeah, I had documented in multiple ways before15:59
pedroalvarezbut I think I failed to make them easy to understand15:59
*** zoli_ [~zoli_@linaro/zoli] has quit [Remote host closed the connection]16:01
pedroalvarezthis admin is going to be the gitano admin, the one that can create/destroy/modify users/repos/etc..16:02
pedroalvarezbut if you have root access, you can do the same from the git user :)16:02
persiaThat needs some documentation :)16:02
persiaAnd to confirm, once I have a trove, I just add TROVE: (except with a real IP) to morph.conf?16:03
pedroalvarezthat is the TROVE_HOST16:06
pedroalvarezyou have to add also the TROVE_ID16:07
pedroalvarezpersia: btw, just found this video:
persiaSo add "TROVE_HOST" and "TROVE_ID"?16:07
* persia refuses to watch any videos over a mobile data connection16:07
persiaIs it safe for both "TROVE_HOST" and "TROVE_ID" to be bare IP addresses?16:08
pedroalvarezpersia: you have to use the same values that you used in TROVE_ID16:09
pedroalvarezI mean16:09
pedroalvarez*... that you used when deploying the trove16:09
pedroalvarez(my brain left my head for some seconds)16:09
persiaWhat if there is no working DNS?16:09
pedroalvarezthen TROVE_HOST is the IP16:09
persiaAnd this has to be listed in the initial configuration?16:10
* persia believes this incompatible with launching from nova16:10
pedroalvarezand TROVE_ID is "my-trove-foo" or whatever16:10
radiofreepaulsher1ood: that system-version-manager still works16:10
pedroalvarezand I'm not sure about TROVE_HOSTNAME16:10
persiaRight.  Trove is still broken.  When can we not have troves anymore? :)16:10
pedroalvarezpersia: why do you think that is broken?16:12
persiapedroalvarez: Because it means I need to know the IP before I run the nova command to launch the trove, but cannot assign an IP until after the instance is up, leading to a chicken-and-egg condition, especially in highly-used environments where I can't expect a recently allocated IP to remain mine while nova launches (because someone else could use it).16:13
persiaThe result of this is it is impossible to configure a trove reliably16:14
pedroalvarezthe trove will work without the  right ip, but then the urls to clone repos will be wrong16:14
persiaSo morph will break?16:14
pedroalvarezso it's not very broken :)16:15
SotKthe clone urls on cgit are the ones which will be wrong I think16:15
persiaIf the urls to clone repos are wrong, how will morph clone git repos?16:15
persiaOh, that's not so bad.  Still, something to make go away someday :)16:15
pedroalvarezpersia: morph will translate "upsgream:" and "baserock:"  usiing your morph.conf16:16
persiaAh, that is excellent design.  Separation of concerns :)16:16
pedroalvarezpersia: sorry for the confusion before. The trove only needs TROVE_ID to work. TROVE_HOST doesn't even exist.16:19
pedroalvarezTROVE_HOSTNAME exists, but is optional only for cgit to show  the clone urls16:19
pedroalvarezeverything else will be fine16:19
persiaAh, good :)  I'm glad things can work.16:19
* persia was a bit confused, because things seemed sane previously16:20
* Kinnison notes you can also set TROVE_HOSTNAME to the IP address to be used to talk to the trove16:30
pedroalvarezyeah, but at the moment that he is configuring TROVE_HOSTNAME he doesn't know the real IP16:31
Kinnisonaah :-(16:31
*** jonathanmaw [] has quit [Quit: Leaving]16:34
*** genii [~quassel@ubuntu/member/genii] has joined #baserock16:40
persiaKinnison: More specifically, I *cannot* know the IP at the time I configure it, which means whether it is a hostname or IP, it will always be wrong.16:46
*** tiagogomes [~tiagogome@] has quit [Quit: Leaving]16:50
rdaleif branch 'baserock/morph' already exists, does that mean i can't push a 'baserock/morph/1.4.6' branch?17:12
KinnisonGit doesn't allow foo and foo/bar to exist :-(17:13
rdaleah ok thanks17:13
richard_mawbecause you can't have a directory entry be both a directory and a file17:13
pedroalvarezrdale: baserock/1.4.6 can be a good name17:14
*** sambishop [] has quit [Remote host closed the connection]17:14
rdaleok, i'll use that. i am a bit unsure of branch naming conventions, use of 'unpetrify-morph' and so on17:15
*** Krin [] has quit [Remote host closed the connection]17:27
persiaSo, I've set up a trove, and ${IP}/lc_status.html reports "New jobs are allowed" and "There are no jobs running at this time".  What ought happen to start the mirroring process?17:40
straycatiirc it spends a little while creating the repos to lorry into17:42
straycatbefore it starts lorrying17:42
persiaOK.  So I shouldn't worry?17:43
straycatjournalctl should help you see what's going on17:43
persiaGrr.  I seem to have lost the ability to insert keystrokes.  I'll check later.  Thanks.17:44
*** bashrc [] has quit [Quit: Lost terminal]17:59
persiaSo, my trove still isn't proxying.  Testing locally, it seems that I need to set a proxy server.  Where in the trove and/or lorry configuration do I do that?18:00
ssam2persia: adding a proxy.conf is described here:
ssam2I found it quite painful when I tried to do it18:02
* persia tries18:02
paulsher1oodbut at least one person has achieved it, on another continent... 18:02
persiaWhere is "local-config/lorries.git"?18:04
franredpersia ^^18:04
Kinnisonpersia: It will be in your trove prefix18:04
ssam2persia: the first section 'Accessing the local-config repositories' should cover that18:04
persiaWhat is a "trove prefix"?18:04
paulsher1oodct-mcr-1 for example18:05
paulsher1oodsame as trove_id18:05
persiaWhere am I supposed to run these commands?18:05
paulsher1oodall references to prefix should have been switched to trove_id i believe18:05
*** mariaderidder [] has quit [Quit: Ex-Chat]18:05
ssam2persia: on a machine which can SSH to the Trove, and has the trove-admin private key available18:05
paulsher1oodhe is in a place with no ssh i fear18:06
* persia will see if such a machine can be made to exist18:06
* persia suspects not18:06
paulsher1oodpersia: could you ssh in from the trove itself?18:06
paulsher1oodi know it's ridiculous18:06
ssam2that's a new problem to me.18:06
ssam2how will users of the Trove access it in an authenticated way?18:06
ssam2we apparently have HTTPS support, but I've never tried to use it18:07
persiaIf this requires ssh, they won't.18:07
persiaDoes this make trove not work?18:07
ssam2all the Troves we've deployed so far have required SSH for push access, so for current values of trove, I think so18:07
persiapaulsher1ood: Actually, that works.  heh.  Now I wonder if it is useful.18:08
persiassam2: Ah, OK.  Thanks.18:08
ssam2as I said, there is HTTPS support which I don't think I've ever used18:08
* paulsher1ood wonders if users can push via https?18:09
ssam2that's the plan, I think18:10
ssam2I don't know much about it, I'm afraid18:11
radiofreegitano supports https push, we use it quite often18:12
radiofreedon't know if gbo is setup for that though18:13
paulsher1oodradiofree: that should be fine and give some confidence for persia's purposes18:14
persiaNeeds investigation, I frequently find fun pockets of odd infrastructure :)18:15
persiaSo, I found a way to ssh to the trove: what sort of keys do I want to use to do so?  How do I know the name of the "adminuser" as specified on that page?18:16
pedroalvarezpersia: do you remember the admin.key?18:17
persiaMy trove has an /etc/trove/admin.key : that one?18:17
pedroalvarezusing that key you can do gitano administration, and clone the lorries.git repo18:18
pedroalvarez(I normally avoid this using the git user: `su git; cd; git clone localhost/{TROVE_ID}/local_config/lorries.git`18:19
pedroalvarezthis is not documented because it shouldn't be done this way18:20
pedroalvarezI tink I'm missing ssh:// in localhost18:21
persiaIt should stay undocumented, but this means of configuration makes too many assumptions about infrastructure.18:21
persiaSo, again, how do I determine the right value for "adminuser"?18:22
persiaIs that TROVE_ADMIN_USER from the configuration?18:22
persia(this is not an actual user as far as the system is concerned)18:22
persiaCool.  That works.18:23
pedroalvarez`ssh -i admin.key git@{IP} whoami` can give you information about the admin user18:24
persiaAnd after all that, "CRIT: Repository local-config/lorries does not exist"18:25
pedroalvarezthat's odd18:28
persiaYes :)18:29
pedroalvarezdoes the system have: /home/git/repos/{TROVE_ID}/local-config/lorries.git ?18:29
*** robtaylor [] has quit [Remote host closed the connection]18:30
*** rdale_ [] has joined #baserock18:31
* pedroalvarez has to head off18:32
persiaHave a good night.18:33
*** rdale [] has quit [Ping timeout: 245 seconds]18:34
persiaThat repo *does* exist.18:35
* persia does it locally18:35
persiaIt seems that the lorry proxy configuration requires a username and password, but not all proxies require them :(18:40
*** ssam2 [] has quit [Remote host closed the connection]18:55
*** cosm [] has quit [Ping timeout: 258 seconds]19:05
*** elevenarms__ [] has joined #baserock19:17
*** locallycompact [] has quit [Ping timeout: 265 seconds]19:19
*** elevenarms_ [] has quit [Ping timeout: 245 seconds]19:20
*** robtaylor [] has joined #baserock19:41
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock19:51
*** zoli_ [~zoli_@linaro/zoli] has quit [Remote host closed the connection]19:59
*** zoli_ [] has joined #baserock21:28
*** zoli_ [] has quit [Changing host]21:28
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock21:28
*** zoli_ [~zoli_@linaro/zoli] has quit [Remote host closed the connection]21:29
*** JPohlmann [~jannis@xfce/core-developer/JPohlmann] has quit [Ping timeout: 256 seconds]21:36
*** JPohlmann [] has joined #baserock21:38
*** JPohlmann [] has quit [Changing host]21:38
*** JPohlmann [~jannis@xfce/core-developer/JPohlmann] has joined #baserock21:38
*** genii [~quassel@ubuntu/member/genii] has quit [Read error: Connection reset by peer]22:07

Generated by 2.15.3 by Marius Gedminas - find it at!