*** edcragg has quit IRC | 00:57 | |
*** locallycompact has quit IRC | 04:31 | |
*** gtristan has quit IRC | 04:35 | |
*** gtristan has joined #baserock | 05:03 | |
*** toscalix has joined #baserock | 07:51 | |
*** bruce_ has joined #baserock | 08:30 | |
*** edcragg has joined #baserock | 08:48 | |
*** paulw has joined #baserock | 08:56 | |
*** edcragg has quit IRC | 08:58 | |
*** franred has joined #baserock | 09:12 | |
*** CTtpollard has joined #baserock | 09:14 | |
*** locallycompact has joined #baserock | 09:16 | |
*** bashrc has joined #baserock | 09:17 | |
*** locallycompact has quit IRC | 09:18 | |
*** franred has quit IRC | 09:21 | |
*** bashrc has quit IRC | 09:23 | |
*** ssam2 has joined #baserock | 09:31 | |
*** ChanServ sets mode: +v ssam2 | 09:31 | |
*** bashrc has joined #baserock | 09:31 | |
*** tiagogomes has joined #baserock | 09:36 | |
*** franred has joined #baserock | 09:36 | |
*** edcragg has joined #baserock | 09:40 | |
*** ssam2 has quit IRC | 09:40 | |
*** mwilliams_ct has joined #baserock | 09:41 | |
*** gtristan has quit IRC | 09:52 | |
*** ssam2 has joined #baserock | 09:54 | |
*** ChanServ sets mode: +v ssam2 | 09:54 | |
*** edcragg has quit IRC | 09:56 | |
*** edcragg has joined #baserock | 09:57 | |
*** tiagogomes has quit IRC | 09:58 | |
*** jonathanmaw has joined #baserock | 10:01 | |
*** CTtpollard has quit IRC | 10:04 | |
*** CTtpollard has joined #baserock | 10:04 | |
*** tiagogomes has joined #baserock | 10:06 | |
*** locallycompact has joined #baserock | 10:09 | |
*** CTtpollard has quit IRC | 10:15 | |
*** CTtpollard has joined #baserock | 10:15 | |
*** CTtpollard has quit IRC | 10:18 | |
*** CTtpollard has joined #baserock | 10:18 | |
*** gtristan has joined #baserock | 10:33 | |
*** Lachlan1975 has joined #baserock | 10:43 | |
*** edcragg has quit IRC | 11:30 | |
*** edcragg has joined #baserock | 11:58 | |
*** edcragg has quit IRC | 12:44 | |
*** locallycompact has quit IRC | 13:00 | |
*** locallycompact has joined #baserock | 13:00 | |
*** gtristan has quit IRC | 13:31 | |
*** locallycompact has quit IRC | 13:49 | |
*** locallycompact has joined #baserock | 13:49 | |
*** lc_ has joined #baserock | 13:50 | |
*** locallycompact has quit IRC | 13:54 | |
*** toscalix has quit IRC | 13:58 | |
*** toscalix_ has joined #baserock | 13:58 | |
*** tiagogomes has quit IRC | 14:00 | |
*** tiagogomes has joined #baserock | 14:00 | |
*** edcragg has joined #baserock | 14:12 | |
*** cosm has quit IRC | 14:14 | |
franred | ssam2, I've received a message from openid@baserock.com saying "You (or someone pretending to be you) have asked to register an account at openid.baserock.org...." | 14:30 |
---|---|---|
*** Lachlan1975 has quit IRC | 14:31 | |
* franred follows instructions to ignore the test message | 14:31 | |
pedroalvarez | franred: could you msg me the contents of tha email? | 14:31 |
franred | pedroalvarez, sure | 14:31 |
franred | pedroalvarez, double biff | 14:33 |
pedroalvarez | oh, I see. That email was sent to <openid@baserock.org> that by default goes to baserock ops team | 14:35 |
pedroalvarez | I'll try to remove you from that list | 14:35 |
franred | pedroalvarez, cheers :) | 14:36 |
pedroalvarez | franred: done | 14:43 |
franred | ta! | 14:43 |
*** Lachlan1975 has joined #baserock | 14:44 | |
pedroalvarez | franred: and I think this is the last thing to let you go: https://gerrit.baserock.org/#/c/1970/ | 15:01 |
franred | pedroalvarez, go aheadd merging it | 15:02 |
franred | pedroalvarez, and thank you for doing this for me :) | 15:02 |
pedroalvarez | hah np :) | 15:02 |
lc_ | what does TROVE_GENERIC mean in this doc? http://wiki.baserock.org/guides/deploy-trove-to-openstack/ | 15:42 |
ssam2 | it means to configure at boot-time, instead of at deploy time | 15:44 |
ssam2 | well, that's not really true any more | 15:44 |
ssam2 | config is always done at boottime, by trove-setup.service | 15:44 |
ssam2 | but if you use TROVE_GENERIC, the machine doesn't contain /etc/trove/trove.conf, and won't "become a trove" til you create that file and run trove-setup.service (or reboot) | 15:45 |
ssam2 | which is what you want if creating an OpenStack image, for example | 15:45 |
ssam2 | without TROVE_GENERIC you set all of the config up at deploy-time and /etc/trove/trove.conf is present in the actual rootfs | 15:45 |
ssam2 | this should be documented somewhere | 15:46 |
ssam2 | but doesn't seem to be | 15:46 |
lc_ | Oh, so I can't have the cluster refer to the keys? | 15:46 |
ssam2 | you can if you don't set TROVE_GENERIC | 15:46 |
lc_ | And that works with openstack? | 15:47 |
ssam2 | the point is that with OpenStack, you deploy an image, and then you can instantiate the image many times | 15:47 |
ssam2 | but you probably don't want to create 3 troves containing the same SSH private keys | 15:47 |
ssam2 | and that could even be a security risk | 15:47 |
lc_ | I just want the one | 15:48 |
ssam2 | it will happily work that way | 15:48 |
lc_ | Ok | 15:48 |
lc_ | Why does the doc say | 15:48 |
lc_ | FSTAB_HOMES: /dev/vdb /home auto defaults,noatime,rw 0 2 | 15:48 |
lc_ | but no ATTACH_DISKS? | 15:48 |
ssam2 | not sure | 15:49 |
lc_ | how do I reference disks in openstack actually | 15:49 |
pedroalvarez | ATTACH_DISKS won't do anything in openstack deployments | 15:49 |
lc_ | Oh | 15:49 |
pedroalvarez | in those docs "--ephemeral size=160,format=ext4" will create /dev/vdb | 15:51 |
lc_ | what does ephemeral mean | 15:51 |
pedroalvarez | not sure, but sounds like you don't want that if you want your data to persist | 15:52 |
lc_ | it does sound like that | 15:52 |
pedroalvarez | that option means (i think) create an ephemeral disk for this instance | 15:52 |
franred | I thought ephemeral were the openstack volumes | 15:53 |
pedroalvarez | I think it's an ephemeral volume, that will be deleted whenever you delete the instance | 15:53 |
franred | so they are independent of the VM you have created being able to link it to another VM (after un-attaching them) | 15:53 |
franred | pedroalvarez, then why /dev/vdb and not /dev/vda ? | 15:54 |
pedroalvarez | well, it's difficult to explain, better you give it a try :) | 15:55 |
franred | :) - I will whenever I have some free time | 15:55 |
pedroalvarez | if you use a flavour that includes an ephimeral disk, it will appear in the instance as a new disk, so it won't be 'vda' because that is the image you are booting. This ephimeral disk won't be accesible from the volumes tab in horizon, so it's not a volume | 15:56 |
pedroalvarez | and it will be deleted whenever you remove the instance | 15:57 |
lc_ | what's a flavour | 15:57 |
franred | pedroalvarez, ooh, I see, it is extra-space attached to your disk image. | 15:58 |
pedroalvarez | lc_: "Virtual hardware templates are called "flavors" in OpenStack, defining sizes for RAM, disk, number of cores, and so on. " | 16:01 |
*** bashrc has quit IRC | 16:02 | |
*** bashrc has joined #baserock | 16:03 | |
*** fay_ has quit IRC | 16:03 | |
*** fay_ has joined #baserock | 16:03 | |
lc_ | ok | 16:03 |
pedroalvarez | https://www.youtube.com/watch?v=GtQaSZ7MRLE | 16:04 |
pedroalvarez | https://www.youtube.com/watch?v=JmH4cCjs5-M | 16:04 |
pedroalvarez | for deploying and configuring trove in openstack | 16:04 |
lc_ | nice | 16:05 |
pedroalvarez | I can't remember what I did in them, but I hope they help :) | 16:05 |
lc_ | hmm ybd seems not to support this trove.OPENSTACK_PASSWORD=your_openstack_password | 16:06 |
pedroalvarez | nope, you will have to put that within the cluster morphology | 16:07 |
pedroalvarez | and try to not commit/PUSH that into git :) | 16:08 |
lc_ | it says It says ERROR: API version must be v2.0 in https://...' | 16:09 |
lc_ | where that's the url | 16:09 |
lc_ | in openstack.check | 16:09 |
pedroalvarez | is your url like " example.com:5000/v2.0" ? | 16:11 |
lc_ | it is now | 16:11 |
lc_ | now I have a different error | 16:11 |
lc_ | keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure: Authorization Failed: SSL exception connecting to https://... [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590) | 16:12 |
pedroalvarez | are you sure it's in https? | 16:12 |
pedroalvarez | try http | 16:12 |
lc_ | ty | 16:13 |
lc_ | next one | 16:13 |
lc_ | 16-03-07 00:00:23 [0/6/256] [trove-system-x86_64] ERROR: configure extension failed: /src/definitions/extensions/cloud-init.configure | 16:13 |
lc_ | wait | 16:13 |
lc_ | /src/tmp/tmp9fa8wn: line 63: can't create : nonexistent directory | 16:13 |
lc_ | that first | 16:13 |
pedroalvarez | that's because you are wearing red socks | 16:14 |
pedroalvarez | I don't have a clue :/ | 16:14 |
lc_ | that's potentially difficult to debug | 16:14 |
pedroalvarez | heh, my guess is that is line 63 of /src/definitions/extensions/cloud-init.configure | 16:15 |
*** cosm has joined #baserock | 16:16 | |
lc_ | cool, makes no sense | 16:16 |
pedroalvarez | hangon | 16:16 |
franred | do your system has cloud-init? | 16:16 |
pedroalvarez | franred: it's a trove, so yes | 16:17 |
* lc_ tries morph | 16:17 | |
* paulsherwood sobs, quietly | 16:17 | |
pedroalvarez | franred: also, I included a check for that case | 16:17 |
franred | pedroalvarez, maybe some of the cloud-init services are not installed for some reason | 16:17 |
lc_ | can ybd and morph use the same artifact folder? | 16:17 |
pedroalvarez | paulsherwood: bad news | 16:17 |
pedroalvarez | lc_: nope | 16:17 |
lc_ | ouch | 16:17 |
pedroalvarez | well, yes, same folder | 16:17 |
pedroalvarez | but not same artifacts | 16:18 |
paulsherwood | pedroalvarez: more bad news than the above? | 16:18 |
pedroalvarez | paulsherwood: $MORPH_LOG_FD | 16:18 |
paulsherwood | what on tearth is that? | 16:18 |
pedroalvarez | paulsherwood: I think that might be the cause of lc_ 's error | 16:18 |
lc_ | ah | 16:19 |
* lc_ tries | 16:19 | |
paulsherwood | can we fix it? | 16:19 |
franred | pedroalvarez, urgh | 16:19 |
pedroalvarez | a fix would be possible | 16:19 |
pedroalvarez | (if that's the cause) | 16:19 |
pedroalvarez | lc_: just put /dev/null in there instead of that variable and try | 16:20 |
lc_ | it gets further but still no | 16:21 |
lc_ | sec paste | 16:21 |
lc_ | http://www.fpaste.org/335199/45736772/ | 16:22 |
pedroalvarez | oh yeah | 16:23 |
pedroalvarez | that other bug | 16:23 |
* paulsherwood wonders if lc should spend the rest of the day upstreaming patches for this | 16:24 | |
pedroalvarez | https://storyboard.baserock.org/#!/story/76 | 16:24 |
ssam2 | the extensions probably shouldn't break if MORPH_LOG_FD is set | 16:24 |
ssam2 | don't just remove that though, proper logs from deployment extensions is really useful | 16:25 |
ssam2 | patch for that is trivial I guess | 16:25 |
franred | ssam2, we should rename it and give a default value | 16:25 |
pedroalvarez | lc_: I commented a workaround in that link pasted before | 16:26 |
franred | paulsherwood, does ybd has a deployment log defined or just shows everything on stdout? | 16:27 |
lc_ | pedroalvarez, what? | 16:27 |
ssam2 | franred: yeah | 16:27 |
pedroalvarez | lc_: https://storyboard.baserock.org/#!/story/76 | 16:27 |
lc_ | oh | 16:27 |
pedroalvarez | that's the bug you have, right? | 16:27 |
paulsherwood | franred: everything in stdout | 16:27 |
franred | paulsherwood, ok, I'll make the patch. | 16:28 |
pedroalvarez | check if that variable is set and if not set to stdout? | 16:29 |
ssam2 | trove-setup.configure is actually doing this wrong anyway | 16:29 |
ssam2 | echo foo >"$MORPH_LOG_FD" | 16:29 |
ssam2 | it should be doing: echo foo >&"$MORPH_LOG_FD" right? | 16:30 |
ssam2 | otherwise the log just goes to a file named '3' or something stupid | 16:30 |
ssam2 | so MORPH_LOG_FD should default to 0, so that logs go to stdout by default | 16:31 |
ssam2 | making the name generic would make sense too | 16:31 |
ssam2 | cloud-init.configure, not trove-setup.configure | 16:31 |
franred | ssam2, yeah, but MORPH_LOG_FD is not defined like in ybd it will be to empty | 16:32 |
ssam2 | https://gerrit.baserock.org/#/c/1971/ | 16:36 |
pedroalvarez | lc_: could you try that patch? ^ | 16:37 |
lc_ | after this deployment | 16:38 |
franred | ssam2, https://gerrit.baserock.org/#/c/1971/1 - I have a question about your patch | 16:43 |
franred | in fact 0 is stdin :/ | 16:45 |
ssam2 | you're right, well spotted | 16:45 |
* benbrown_ should have noticed that. | 16:46 | |
benbrown_ | franred: nice catch | 16:46 |
franred | ssam2, merged, thanks for the fast patch | 16:49 |
franred | benbrown_, :), no probs | 16:49 |
*** bruce_ has quit IRC | 17:17 | |
*** jonathanmaw has quit IRC | 17:41 | |
*** franred has quit IRC | 18:00 | |
*** bashrc has quit IRC | 18:00 | |
*** gtristan has joined #baserock | 18:02 | |
*** lc_ has quit IRC | 18:42 | |
*** ssam2 has quit IRC | 18:59 | |
*** Lachlan1975 has quit IRC | 19:20 | |
*** tiagogomes has quit IRC | 19:24 | |
*** tiagogomes has joined #baserock | 19:30 | |
*** fay__ has joined #baserock | 19:36 | |
*** tom__ has joined #baserock | 19:36 | |
*** fay_ has quit IRC | 19:38 | |
*** CTtpollard has quit IRC | 19:39 | |
*** rdale_ct has joined #baserock | 20:20 | |
*** rdale_ct_ has joined #baserock | 20:22 | |
*** rdale has quit IRC | 20:23 | |
*** rdale has joined #baserock | 20:24 | |
*** rdale_ct has quit IRC | 20:25 | |
*** rdale_ct has joined #baserock | 20:26 | |
*** rdale_ct_ has quit IRC | 20:27 | |
*** rdale has quit IRC | 20:29 | |
*** toscalix_ has quit IRC | 20:43 | |
*** gtristan has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!