petefoth | pedroalvarez: proposed text for rawdisk.write.help is at http://paste.baserock.org/pikaxelega.vhdl .Please can you quickly check that it makes sense, and is an accurate reflection of our chat yesteday? Thanks | 08:56 |
---|---|---|
*** mariaderidder [~maria@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 08:59 | |
*** bashrc [~motters@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 09:05 | |
petefoth | Do we need to care about http://www.infoworld.com/article/2854642/javascript/nodejs-gains-a-new-fork-much-to-joyents-dismay.html and http://strongloop.com/strongblog/position-on-io-js/? | 09:08 |
pedroalvarez | petefoth: re rawdisk.write.help - I'm reviewing it | 09:09 |
petefoth | pedroalvarez: ta! | 09:09 |
*** zoli_ [~zoli_@linaro/zoli] has joined #baserock | 09:17 | |
pedroalvarez | petefoth: do you know that you can also use the rawdisk extension to deploy to storage devices? | 09:20 |
petefoth | pedroalvarez: no I didn't knwo that. Can you spare 5 minute to explain to me how that works? | 09:21 |
pedroalvarez | yeah, but actually is really easy to understand | 09:21 |
pedroalvarez | we probably should change the name of the rawdisk write extension :) | 09:24 |
pedroalvarez | so the thing is that a rawdisk image is like a "fake" disk, that you can plug into a VM | 09:24 |
pedroalvarez | you can do the same process to deploy to a real disk, and plug it into a laptop e.g. | 09:24 |
petefoth | pedroalvarez: so could you give me (or point me at) an example command line for deploying to a 'real' storage device? | 09:25 |
pedroalvarez | petefoth: the rawdisk.write extension detects if the "location" of your cluster morphology is a storage device or not | 09:25 |
pedroalvarez | if is not an storage device, then it creates the rawdisk image, etc. If it is, then it formats the device and installs | 09:26 |
pedroalvarez | petefoth: I'd change these two things: http://paste.baserock.org/wulotefamo.coffee | 09:30 |
petefoth | pedroalvarez: thank you | 09:30 |
*** jonathanmaw [~jonathanm@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 09:32 | |
bashrc | maybe there should be a morph format handling mode for emacs | 09:40 |
*** locallycompact [~lc@8.108.125.91.dyn.plus.net] has quit [Ping timeout: 255 seconds] | 09:42 | |
pedroalvarez | But Baserock doesn't have emacs | 09:43 |
pedroalvarez | and I find writting yaml really easy :) | 09:44 |
*** ssam2 [~ssam2@cpc7-asht7-2-0-cust170.10-1.cable.virginm.net] has joined #baserock | 09:44 | |
Mode #baserock +v ssam2 by ChanServ | 09:44 | |
*** tiagogomes [~tiagogome@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 09:48 | |
bashrc | https://github.com/yoshiki/yaml-mode | 09:48 |
*** Krin [~mikesmith@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 10:03 | |
ssam2 | I started reviewing a simple documentation change from petefoth and it's turned into debugging why `morph help-extensions` doesn't work :( | 10:08 |
ssam2 | on the plus side, 'pdb' exists | 10:09 |
petefoth | ssam2: I *love* it when that happens :) | 10:09 |
pedroalvarez | hm... `morph help rawdisk.write` seems to work here | 10:11 |
ssam2 | I've worked it out :) | 10:12 |
petefoth | ssam2: and the answer was...? | 10:12 |
ssam2 | it seems like `morph help-extensions` can't ever have worked, although I'm sure I remember using it | 10:12 |
ssam2 | petefoth: you'll have to wait for the patch series ;) | 10:12 |
ssam2 | well, path | 10:12 |
ssam2 | patch | 10:12 |
pedroalvarez | oh yeah, that doesn't work | 10:13 |
*** locallycompact [~lc@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 10:16 | |
* ssam2 discovers that if 'morph help-extension' is run in /, it tries to traverse the entire root file system | 10:23 | |
pedroalvarez | that's why it takes that long? | 10:24 |
ssam2 | yeah, it's trying to find if it's in a system branch | 10:26 |
ssam2 | help-extensions rather | 10:26 |
richard_maw | it should only need to look up to see if it's in a system branch | 10:33 |
ssam2 | or in the cwd, yeah | 10:38 |
ssam2 | but for some reason it calls morphlib.util.find_leaf() which searches every subdirectory under '.' | 10:38 |
ssam2 | I've added a 'recurse' flag to that function to make it more sensible | 10:38 |
rdale | my train from reading to gatwick stopped at redhill and they said 'the train is late, and so we won't be going to gatwick, and the next train is in 40 minutes' | 10:40 |
rdale | oops sorry wrong channel | 10:41 |
*** zoli_ [~zoli_@linaro/zoli] has quit [] | 10:48 | |
*** franred [~franred@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Remote host closed the connection] | 10:50 | |
*** franred [~franred@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 10:55 | |
*** terryhu [~kejiahu@access.ducie-dc1.codethink.co.uk] has joined #baserock | 11:19 | |
*** terry_ [~kejiahu@access.ducie-dc1.codethink.co.uk] has joined #baserock | 11:25 | |
*** terryhu [~kejiahu@access.ducie-dc1.codethink.co.uk] has quit [Quit: leaving] | 11:25 | |
bashrc | made an emacs mode for morph files, based upon yaml-mode https://github.com/bashrc/brmorph-mode | 11:32 |
*** flatmush [~flatmush@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Read error: Connection reset by peer] | 11:32 | |
*** flatmush1 [~flatmush@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 11:32 | |
franred | when adding openvswitch to the virtualization stratum and adding optional support for ingress policing on linux (probably it will be required by openstack depending on some configurations) I will add iptroute2 to baserock, which will be the better place to add this? | 11:32 |
bashrc | there was already a morph-mode, so I called it brmorph-mode instead | 11:32 |
ssam2 | bashrc: cool! I wonder if there's a good place to link to it on the wiki | 11:33 |
franred | https://github.com/openvswitch/ovs/blob/v2.3/INSTALL --> search by Iproute2 | 11:33 |
ssam2 | bashrc: I guess Kinnison will be happy. I'm a Vim user personally ;) | 11:33 |
ssam2 | franred: I don't jnow | 11:34 |
ssam2 | know | 11:34 |
jmacs | bashrc: Brilliant, thanks! | 11:34 |
bashrc | no doubt can be tweaked as required | 11:34 |
ssam2 | franred: some kind of networking-utils stratum? seems like 'connectivity' is a bit too generic | 11:34 |
franred | ssam2, if I create an stratum with this, I may move iptables to it then | 11:35 |
pedroalvarez | looks like iproute2 replaces ifconfig, route and arp | 11:36 |
pedroalvarez | s/replaces/also installs/ | 11:36 |
*** locallycompact [~lc@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 272 seconds] | 11:36 | |
franred | pedroalvarez, is that a problem? | 11:40 |
pedroalvarez | franred: I hope it isn't | 11:41 |
franred | pedroalvarez, Im going to use it in openstack system, so I will test it :) | 11:42 |
*** locallycompact [~lc@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 11:50 | |
*** flatmush [~flatmush@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 12:23 | |
*** flatmush1 [~flatmush@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Read error: Connection reset by peer] | 12:23 | |
robtaylor | ssam2: have you tried gnome builder yet? christan's doing some very cool stuff there | 12:37 |
ssam2 | robtaylor: having seen how fast he can write code in vim, I have high hopes for Builder ! | 12:46 |
ssam2 | but I've not tried it out, i figure it's quite unstable at the minute | 12:46 |
robtaylor | ssam2: yeah, haven't tried it myself yet, Quite cool to have a modern tool coming together that is vim user friendly :) | 12:47 |
* robtaylor will b very excited at the clang as you type compilation and buildtin clang-analyze | 12:47 | |
ssam2 | yeah. there seem to have been a fair few existing attempts that never made it | 12:47 |
ssam2 | http://www.freehackers.org/VimIntegration | 12:48 |
ssam2 | but those tried to actually embed Vim rather than just trying to act a bit like it | 12:48 |
robtaylor | yeah, they way he's handled modality is quite nice | 12:53 |
tiagogomes | gnome-builder seems to be progressing quite well: https://plus.google.com/s/gnome-builder%20worldofgnome | 12:56 |
* tiagogomes thinks in donating | 12:56 | |
franred | ssam2, Im having an error since yesterday when I try to deploy, sometimes and when I don't use --verbose deploy a system into a raw image fails but if I run the with --verbose it does not fail --> http://paste.baserock.org/moteqopeyu.pl | 13:25 |
franred | I imagine that this error is shown because your fixes | 13:25 |
franred | but I can be wrong | 13:25 |
franred | also the error message looks wrong: a .py is not a device | 13:26 |
franred | although it doesn't look like is related with your patches... I will investigate a little bit more | 13:31 |
robtaylor | a | 13:50 |
robtaylor | [A | 13:50 |
robtaylor | ~. | 13:50 |
robtaylor | ~. | 13:50 |
robtaylor | gosh, sorry for the noise | 13:50 |
* robtaylor was caught out my mosh actually working really well.. | 13:50 | |
richard_maw | pedroalvarez: I've reviewed [PATCHv2] Add tge ability to deploy installer systems | 14:00 |
pedroalvarez | richard_maw: you copied even the typo in de subject :/ | 14:02 |
pedroalvarez | s/de/the/ | 14:02 |
richard_maw | copy-paste | 14:03 |
pedroalvarez | Looks like it doesn't need more versions | 14:03 |
richard_maw | I had quite a few nit-picks, but they're simple things I'm happy with being fixed at merge time | 14:03 |
pedroalvarez | and all of them make sense, so nothing to discuss except init= overloading | 14:06 |
pedroalvarez | oh, just received the installer script review | 14:07 |
richard_maw | which also isn't anything to discuss, since we need this now, and systemd hasn't implemented the temporary service derived from a command passed on the kernel command-line yet | 14:08 |
richard_maw | yeah, there's a lot more nit-picks in the installer script review | 14:08 |
pedroalvarez | thanks for reviewing :) | 14:09 |
ssam2 | franred: i'm not sure what's going on with that error! | 14:30 |
ssam2 | the morph.log file should give you more of a clue though | 14:30 |
bashrc | can I specify a github repo within a morph file? | 14:31 |
richard_maw | yes | 14:31 |
richard_maw | pedroalvarez' patch currently does | 14:31 |
bashrc | something like github:username/repo | 14:31 |
richard_maw | yep | 14:32 |
ssam2 | bashrc: you can either use a full URL, or an alias. There is a predefined alias for github: | 14:32 |
bashrc | ok | 14:32 |
ssam2 | bashrc: the aliases are defined in the 'repo-alias' config setting, if you get curious | 14:32 |
paulsher1ood | franred: are you sure you do have enough space on the device? | 14:33 |
franred | paulsher1ood, I haven't done anything between the first and the second attempt, only add --verbose | 14:34 |
franred | s/add/added/ | 14:34 |
pedroalvarez | radiofree: hey, just seen your flashing script, and I see that you use fdisk on it. Would make sense to use sfdisk instead? | 14:43 |
*** thecorconian [~jte@75-27-44-31.lightspeed.orpkil.sbcglobal.net] has joined #baserock | 14:44 | |
radiofree | i have no idea what sfdisk is | 14:44 |
robtaylor | sfdisk doesnt undertand GPT, i think | 14:46 |
DavePage | I didn't think that fdisk understood GPT, but parted does. | 14:47 |
pedroalvarez | well, just for sharing some info: http://xmodulo.com/how-to-run-fdisk-in-non-interactive-batch-mode.html | 14:47 |
robtaylor | DavePage: i was just about to say that as well =) | 14:47 |
robtaylor | handn't realised fdisk didn't understand GPT either | 14:48 |
DavePage | I could be wrong :) | 14:48 |
robtaylor | DavePage: no, you're quite right :) | 14:50 |
robtaylor | parted is the right thing for partition manipluation nowadays | 14:50 |
ssam2 | robtaylor: including automated partition manipulation? | 14:59 |
robtaylor | ssam2: should be ok, you can pass commands on the commandline | 15:00 |
robtaylor | (or even a sequence of commands, i think) | 15:01 |
radiofree | fdisk g | 15:12 |
radiofree | create a new empty GTP partition table? | 15:12 |
radiofree | GPT even | 15:12 |
radiofree | i prefer parted but didn't want to use it since baserock doesn't have it on a devel system | 15:13 |
jmacs | Better than feeding stuff into fdisk's stdin | 15:13 |
radiofree | well i do warn of "catastrophic data loss" | 15:14 |
pedroalvarez | hah | 15:16 |
pedroalvarez | that's why I suggested sfdisk | 15:16 |
*** mdunford [~marcdunfo@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 244 seconds] | 15:19 | |
* pedroalvarez reads about GPT and wonders if he shouldn't use it when migrating to a SSD disk | 15:20 | |
*** genii [~quassel@ubuntu/member/genii] has joined #baserock | 15:22 | |
franred | ssam2, http://paste.baserock.org/qinikasere.vhdl -- 2 in a row | 15:30 |
franred | that is the morph.log | 15:30 |
*** bashrc [~motters@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Read error: Connection reset by peer] | 15:32 | |
*** bashrc [~motters@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 15:32 | |
pedroalvarez | this error is weird | 15:32 |
franred | http://paste.baserock.org/iputahohed.erlang_repl <-- I have plenty of space | 15:34 |
*** mdunford [~marcdunfo@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 15:34 | |
SotK | franred: what does `btrfs filesystem df /src` say? | 15:34 |
franred | SotK, http://paste.baserock.org/utubajirem.avrasm | 15:35 |
franred | why does the system think that a py file is a device? | 15:36 |
pedroalvarez | I thinkt that's the file that it was trying to write | 15:37 |
*** genii [~quassel@ubuntu/member/genii] has quit [Ping timeout: 245 seconds] | 15:38 | |
*** genii [~quassel@ubuntu/member/genii] has joined #baserock | 15:40 | |
richard_maw | solved? unhelpful error message combined with lack of space | 15:41 |
franred | richard_maw, yep | 15:42 |
*** bashrc [~motters@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Read error: Connection reset by peer] | 15:42 | |
*** bashrc [~motters@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 15:43 | |
*** thecorconian [~jte@75-27-44-31.lightspeed.orpkil.sbcglobal.net] has quit [] | 16:33 | |
*** tiagogomes_ [~tiagogome@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 16:35 | |
*** tiagogomes [~tiagogome@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Read error: Connection reset by peer] | 16:35 | |
*** jonathanmaw [~jonathanm@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Leaving] | 17:00 | |
*** Krin [~mikesmith@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Remote host closed the connection] | 17:56 | |
*** bashrc [~motters@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Lost terminal] | 18:03 | |
*** mariaderidder [~maria@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Ex-Chat] | 18:04 | |
*** franred [~franred@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Leaving] | 18:15 | |
*** locallycompact [~lc@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 260 seconds] | 18:40 | |
*** tiagogomes_ [~tiagogome@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 245 seconds] | 18:52 | |
*** locallycompact [~lc@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #baserock | 18:53 | |
*** genii [~quassel@ubuntu/member/genii] has quit [Read error: Connection reset by peer] | 18:56 | |
*** locallycompact [~lc@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 260 seconds] | 19:09 | |
*** ssam2 [~ssam2@cpc7-asht7-2-0-cust170.10-1.cable.virginm.net] has quit [Quit: Leaving] | 20:01 | |
*** genii [~quassel@ubuntu/member/genii] has joined #baserock | 23:02 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!