*** shuyingya has joined #openstack-sahara | 00:10 | |
*** shuyingya has quit IRC | 00:45 | |
*** shuyingya has joined #openstack-sahara | 01:17 | |
*** shuyingya has quit IRC | 01:18 | |
*** caowei has quit IRC | 01:45 | |
*** links has joined #openstack-sahara | 03:32 | |
*** esikachev has joined #openstack-sahara | 04:58 | |
*** hoonetorg has quit IRC | 05:05 | |
*** esikachev has quit IRC | 05:07 | |
*** caowei has joined #openstack-sahara | 05:08 | |
*** esikachev has joined #openstack-sahara | 05:09 | |
*** ssmith has joined #openstack-sahara | 05:16 | |
*** hoonetorg has joined #openstack-sahara | 05:22 | |
*** esikachev has quit IRC | 05:25 | |
*** esikachev has joined #openstack-sahara | 05:33 | |
*** links has quit IRC | 05:50 | |
*** links has joined #openstack-sahara | 06:01 | |
*** abalutoiu has joined #openstack-sahara | 06:03 | |
*** pgadiya has joined #openstack-sahara | 06:15 | |
*** pcaruana has joined #openstack-sahara | 06:17 | |
*** rcernin has joined #openstack-sahara | 06:33 | |
*** zemuvier has joined #openstack-sahara | 06:33 | |
*** pgadiya has quit IRC | 06:42 | |
*** tesseract has joined #openstack-sahara | 07:12 | |
*** shuyingya has joined #openstack-sahara | 07:16 | |
*** abalutoiu has quit IRC | 07:54 | |
*** abalutoiu has joined #openstack-sahara | 08:00 | |
*** ssmith has quit IRC | 08:10 | |
*** anshul has joined #openstack-sahara | 08:14 | |
rcernin | ping sahara, do we have any diagrams on sahara that would show us where the cluster copies the .authorized_keys from master to slaves ? In which phase of the cluster deployment is that? | 08:41 |
---|---|---|
*** tianqing has joined #openstack-sahara | 08:46 | |
tianqing | hello... | 08:46 |
tianqing | i found there only 2.2.1 for ambari in http://sahara-files.mirantis.com/images/upstream/newton/ | 08:47 |
tianqing | but the dashboard can only choose 2.3 or 2.4 when registrying image... | 08:48 |
tianqing | what's happend? | 08:48 |
tianqing | what's happened? | 08:48 |
remix_tj | rcernin: i suppose is with cloud-init | 09:05 |
remix_tj | tianqing: try http://sahara-files.mirantis.com/images/upstream/ocata/ | 09:06 |
tianqing | all right... | 09:06 |
tianqing | do we want to support tez? | 09:07 |
remix_tj | tez? | 09:08 |
remix_tj | apache tez? never heard before | 09:09 |
tianqing | oh, tez is hadoop 2.0, and built on yarn.... | 09:29 |
tianqing | yes,apache tez... | 09:29 |
*** tianqing has quit IRC | 09:55 | |
*** caowei has quit IRC | 10:12 | |
*** caowei has joined #openstack-sahara | 10:12 | |
*** caowei has quit IRC | 10:17 | |
*** tosky has joined #openstack-sahara | 10:55 | |
*** esikachev has quit IRC | 11:29 | |
shuyingya | tellesnobrega, as you said, the bug can't reproduce in the latest master branch. But I am sure it affects stable/ocata at least, maybe minor version in pike. and there is still some thing we can improve in such situation. | 11:37 |
*** abalutoiu has quit IRC | 11:52 | |
*** tellesnobrega has quit IRC | 11:56 | |
*** esikachev has joined #openstack-sahara | 12:16 | |
*** shuyingya has quit IRC | 12:28 | |
*** abalutoiu has joined #openstack-sahara | 12:46 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-saharaclient master: Updated from global requirements https://review.openstack.org/500032 | 12:47 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/sahara master: Updated from global requirements https://review.openstack.org/500038 | 12:48 |
*** shuyingya has joined #openstack-sahara | 12:51 | |
*** tellesnobrega has joined #openstack-sahara | 12:54 | |
iwonka | tellesnobrega: i looked at the docs | 12:54 |
iwonka | and apparently it's auto generated for openstack CLI | 12:54 |
tosky | yep | 12:54 |
iwonka | so probably one small commit to sahara is enough | 12:55 |
tosky | there is magicâ„¢ | 12:55 |
iwonka | :D | 12:55 |
*** shuyingya has quit IRC | 12:55 | |
iwonka | i like this magic tosky | 12:55 |
tosky | iwonka: for python-saharaclient, please wait for my reorganization patch: https://review.openstack.org/#/c/498580/ | 12:55 |
iwonka | tosky: i think i don't have to add anything to python-saharaclient | 12:56 |
tosky | if you need to touch anything in doc | 12:56 |
tosky | right, because it's not a new command | 12:56 |
iwonka | btw, tellesnobrega, tosky could you please explain me code review for this: https://review.openstack.org/#/c/485210/ ? | 12:56 |
tosky | oh, right | 12:57 |
iwonka | tosky: i added new commands, like four | 12:57 |
tosky | so, if I read this correctly, the API defined in saharaclient/api/node_group_templates.py returns | 12:57 |
tosky | return self._get('/node-group-templates/%s/export' % ng_template_id) | 12:57 |
tosky | what is the format of ng_template_id? The usual UUID, right? | 12:57 |
iwonka | i think sooo | 12:58 |
tosky | so what we were asking is to use something looking like an UUID in the test | 12:58 |
tosky | 'id' may be confusing | 12:59 |
tosky | that's it | 12:59 |
iwonka | so i should just rename it? | 12:59 |
tosky | but | 12:59 |
tosky | on the other side | 12:59 |
tosky | you were not the first one doing it, now that I check better the other tests | 12:59 |
tosky | all the other tests follow the same pattern, using 'id' | 13:00 |
tosky | ok, ok, so maybe better to think about changing this later | 13:00 |
tosky | added a comment, let's wait for the others | 13:02 |
iwonka | sure | 13:02 |
tosky | did you have some time to take a look at tempest? (probably not, but I should try ) | 13:04 |
openstackgerrit | Iwona Kotlarska proposed openstack/sahara master: Add docs about template portability. https://review.openstack.org/500044 | 13:04 |
iwonka | not really | 13:04 |
tellesnobrega | tosky, do you know when the keys are exchanged between instances during cluster creation? | 13:06 |
tellesnobrega | is that done on heat side? | 13:06 |
tosky | tellesnobrega: the ssh keys? No idea - but do each machine can access to the other through ssh? I thought that only the controller or the proxy accessed all instances | 13:07 |
tellesnobrega | yes | 13:07 |
tellesnobrega | they can | 13:07 |
tellesnobrega | iirc | 13:08 |
tellesnobrega | let me check | 13:08 |
tellesnobrega | eita | 13:08 |
openstackgerrit | Iwona Kotlarska proposed openstack/sahara master: Add docs about template portability. https://review.openstack.org/500044 | 13:11 |
*** esikachev has quit IRC | 13:22 | |
*** esikachev has joined #openstack-sahara | 13:23 | |
*** dave-mccowan has joined #openstack-sahara | 13:32 | |
*** links has quit IRC | 13:44 | |
*** zemuvier has quit IRC | 13:47 | |
tellesnobrega | tosky, the instances can access each other | 14:03 |
tellesnobrega | but, what I see is, they all have the same id_rsa | 14:04 |
tellesnobrega | so probably it is not copied from master to slave, it is generated by sahara and sent to all instances and added the same authorized_key on the .ssh/authorized_keys | 14:04 |
*** jeremyfreudberg has joined #openstack-sahara | 14:05 | |
tosky | tellesnobrega: so basically each instance reuses the basic configuration required by the controller to talk with the instances | 14:06 |
tellesnobrega | it seems so | 14:06 |
tosky | so it's easy, it's most likely done by heat by requesting a nova instance with a certain key | 14:06 |
jeremyfreudberg | the eavesdrop logs haven't quite caught up to this conversation - what's the topic here? | 14:08 |
jeremyfreudberg | (currently reading over the rest of what i missed) | 14:08 |
jeremyfreudberg | ^ tosky/tellesnobrega | 14:10 |
tellesnobrega | just wondering at what point configuration happens that allows instances to ssh to each other | 14:11 |
tellesnobrega | first question was at what point key is copied from master to slaves | 14:11 |
jeremyfreudberg | ssh between each other? something that vitaly worked on, i remember reading the patch | 14:11 |
jeremyfreudberg | i can probably find it | 14:11 |
tellesnobrega | but from what I saw the key is not copied from master to slaves | 14:11 |
tellesnobrega | they all have the same id_rsa | 14:12 |
jeremyfreudberg | i'll have to look closely then | 14:12 |
tellesnobrega | and the generated by sahara pub key on the authorized_keys | 14:12 |
tellesnobrega | so, probably this is created by heat and set up on all instances during creation | 14:12 |
jeremyfreudberg | well i have to check that too, one key (sahara key) is set by heat, and the other key (user key) is in the first-boot script, i can never remember which is which | 14:13 |
jeremyfreudberg | regardless, let me poke a round | 14:13 |
jeremyfreudberg | *around | 14:13 |
tellesnobrega | sure | 14:14 |
tosky | jeremyfreudberg: and when you can, we re-reviewed https://review.openstack.org/#/c/485210/ | 14:15 |
tosky | oh, in case you missed it: (cheap) Data Science books by O'Reilly through Humble Bundle https://www.humblebundle.com/books/data-science-books | 14:15 |
tosky | DRM-free | 14:15 |
jeremyfreudberg | tosky, noted | 14:18 |
jeremyfreudberg | tellesnobrega, this is the patch i was thinking of https://review.openstack.org/#/c/250830/ | 14:18 |
*** tellesnobrega has quit IRC | 14:20 | |
*** tellesnobrega has joined #openstack-sahara | 14:38 | |
*** esikachev has quit IRC | 14:38 | |
jeremyfreudberg | tellesnobrega, i think you were offline when i linked to this https://review.openstack.org/#/c/250830/ -- i was something about something for ssh specific to vanilla | 14:45 |
tellesnobrega | thanks jeremyfreudberg will look | 14:46 |
tellesnobrega | that is only for vanilla | 14:47 |
jeremyfreudberg | indeed it is | 14:47 |
tellesnobrega | i tried a spark cluster and there is access between them without that | 14:47 |
jeremyfreudberg | in fact only for hadoop user, not even ubuntu user | 14:47 |
tellesnobrega | ok | 14:47 |
tellesnobrega | so this is for allowing hadoop commands | 14:48 |
tellesnobrega | configuring hdfs probably | 14:48 |
tellesnobrega | not exactly what I was looking for | 14:48 |
tellesnobrega | probably my first assumption was right, they all have the same private key and its pub is added to authorized | 14:48 |
tellesnobrega | so they can ssh between each other | 14:48 |
tosky | uhm, but then the public key is added when you request a public key | 14:49 |
tosky | but the private key? | 14:50 |
tellesnobrega | checking that | 14:52 |
tellesnobrega | but probably is done on heat | 14:53 |
tellesnobrega | tosky, https://github.com/openstack/sahara/blob/master/sahara/service/engine.py#L197-L218 | 14:54 |
tellesnobrega | https://github.com/openstack/sahara/blob/master/sahara/service/heat/heat_engine.py#L249-L259 | 14:55 |
jeremyfreudberg | right, but that's only adding the public key to authorized_keys | 14:55 |
tellesnobrega | yes | 14:55 |
tellesnobrega | that the second part | 14:55 |
tellesnobrega | the private generation I didn't find it yet | 14:56 |
jeremyfreudberg | i feel like i've seen the private key file (that matches up with Generated-By-Sahara pubkey) hanging around the image before, but maybe i'm misremembering | 14:56 |
jeremyfreudberg | https://github.com/openstack/sahara/blob/master/sahara/plugins/spark/plugin.py#L288 | 14:59 |
*** tellesnobrega has quit IRC | 15:00 | |
*** anshul has quit IRC | 15:05 | |
*** links has joined #openstack-sahara | 15:18 | |
*** rcernin has quit IRC | 15:29 | |
*** pcaruana has quit IRC | 15:30 | |
*** abalutoiu_ has joined #openstack-sahara | 15:39 | |
*** abalutoiu__ has joined #openstack-sahara | 15:40 | |
*** abalutoiu has quit IRC | 15:42 | |
*** abalutoiu_ has quit IRC | 15:44 | |
*** abalutoiu__ has quit IRC | 15:45 | |
*** esikachev has joined #openstack-sahara | 15:50 | |
*** dave-mccowan has quit IRC | 16:20 | |
*** esikachev has quit IRC | 16:30 | |
*** links has quit IRC | 16:31 | |
*** jeremyfreudberg has quit IRC | 16:33 | |
openstackgerrit | Merged openstack/python-saharaclient master: Add export of node group templates https://review.openstack.org/485210 | 16:37 |
openstackgerrit | Merged openstack/sahara master: Updated from global requirements https://review.openstack.org/500038 | 16:37 |
openstackgerrit | Merged openstack/python-saharaclient master: Updated from global requirements https://review.openstack.org/500032 | 16:38 |
*** tellesnobrega has joined #openstack-sahara | 16:40 | |
*** tellesnobrega has quit IRC | 17:14 | |
*** tellesnobrega has joined #openstack-sahara | 17:14 | |
*** esikachev has joined #openstack-sahara | 17:16 | |
*** tosky has quit IRC | 17:17 | |
*** esikachev has quit IRC | 17:20 | |
*** esikachev has joined #openstack-sahara | 17:23 | |
*** esikachev has quit IRC | 17:27 | |
*** esikachev has joined #openstack-sahara | 17:30 | |
*** esikachev has quit IRC | 17:35 | |
*** esikachev has joined #openstack-sahara | 17:37 | |
*** jeremyfreudberg has joined #openstack-sahara | 17:39 | |
tellesnobrega | jeremyfreudberg, did you find where the private key is created? | 17:41 |
*** esikachev has quit IRC | 17:42 | |
*** esikachev has joined #openstack-sahara | 17:42 | |
jeremyfreudberg | i didn't quite finish looking into it yet, but it seems like it is plugin-specific | 17:43 |
jeremyfreudberg | and in fact limited to vanilla,spark,mapr | 17:43 |
jeremyfreudberg | for spark: https://github.com/openstack/sahara/blob/master/sahara/plugins/spark/plugin.py#L288 | 17:43 |
jeremyfreudberg | mapr https://github.com/openstack/sahara/blob/master/sahara/plugins/mapr/util/general.py#L174 | 17:45 |
jeremyfreudberg | interestingly the thing that we needed it for in mapr was removed in this commit https://github.com/openstack/sahara/commit/36640a8e19d423d0fbc740d3a5a5ccabe0800035#diff-f87878e92b3ead2040c2e4c7293532f2L168 | 17:46 |
jeremyfreudberg | so actually mapr plugin has the bits already there to accomplish it, it's just not being used | 17:47 |
*** esikachev has quit IRC | 17:50 | |
tellesnobrega | iirc correctly I think we can ssh from instances on storm as well | 17:59 |
*** tosky has joined #openstack-sahara | 18:01 | |
tellesnobrega | https://github.com/openstack/sahara/blob/master/sahara/utils/crypto.py#L32-L60 | 18:01 |
jeremyfreudberg | right, but does that actually end up stored in the instances .ssh folder | 18:01 |
tellesnobrega | jeremyfreudberg, tosky https://github.com/openstack/sahara/blob/master/sahara/conductor/manager.py#L188 | 18:02 |
jeremyfreudberg | my tentative answer to my own question is: only if the plugin asks to do that | 18:02 |
tosky | tellesnobrega: that's the generation | 18:03 |
tellesnobrega | yeah | 18:03 |
jeremyfreudberg | tellesnobrega, since you mentioned storm I was poking around in the storm plugin code, in this function https://github.com/openstack/sahara/blob/master/sahara/plugins/storm/config_helper.py#L43 shouldn't we have checks for storm 1.1.0 as well? | 18:04 |
tellesnobrega | we would have to check each plugin to see if this is possible on all of them | 18:04 |
tellesnobrega | jeremyfreudberg, yes, need to check if it is seeds or host on 1.1,0 | 18:05 |
tellesnobrega | and update the check | 18:05 |
openstackgerrit | Merged openstack/sahara-dashboard master: Add export of node group templates https://review.openstack.org/485215 | 18:09 |
*** esikachev has joined #openstack-sahara | 18:35 | |
openstackgerrit | Merged openstack/python-saharaclient master: Add import of node group templates https://review.openstack.org/487575 | 18:37 |
*** esikachev has quit IRC | 18:40 | |
*** esikachev has joined #openstack-sahara | 18:42 | |
*** esikachev has quit IRC | 18:48 | |
*** abalutoiu__ has joined #openstack-sahara | 20:13 | |
*** jeremyfreudberg has quit IRC | 20:20 | |
*** rcernin has joined #openstack-sahara | 20:31 | |
openstackgerrit | Iwona Kotlarska proposed openstack/sahara master: Add docs about template portability. https://review.openstack.org/500044 | 20:45 |
*** rcernin has quit IRC | 20:55 | |
openstackgerrit | Telles Mota Vidal Nóbrega proposed openstack/sahara-dashboard master: Fix issue creating NGT using dashboard https://review.openstack.org/500193 | 20:59 |
openstackgerrit | Iwona Kotlarska proposed openstack/python-saharaclient master: Add export of node group templates to CLI https://review.openstack.org/486721 | 20:59 |
openstackgerrit | Iwona Kotlarska proposed openstack/python-saharaclient master: Add export of cluster templates https://review.openstack.org/498520 | 21:02 |
iwonka | tellesnobrega: i have gate-tempest-dsvm-sahara-ubuntu-xenialFAILURE in one commit | 21:04 |
iwonka | recheck? | 21:04 |
tosky | iwonka: which job? | 21:08 |
tosky | aka: can you please give me the link to the failure? | 21:08 |
iwonka | https://review.openstack.org/#/c/500044/ | 21:09 |
*** esikachev has joined #openstack-sahara | 21:26 | |
*** esikachev has quit IRC | 21:31 | |
tellesnobrega | tosky, do you know how to setup devstack with for plugin installation? | 21:40 |
tosky | tellesnobrega: the usage if enable_plugin? | 21:40 |
tellesnobrega | for example i can enable_plugin sahara-dashboard git://git.openstack.org/openstack/sahara-dashboard stale/newton for branches | 21:40 |
tellesnobrega | I forgot the real part of the question | 21:40 |
*** abalutoiu__ has quit IRC | 21:41 | |
tellesnobrega | how to set up with a review for installation | 21:41 |
tosky | ehm, I didn't get the question | 21:41 |
tellesnobrega | yeah, it was very malformed | 21:41 |
tellesnobrega | let me try again | 21:41 |
tellesnobrega | I'm trying to test if my patch works. For that I want to force devstack plugin to use the patch I sent | 21:42 |
tellesnobrega | do you know to do that? | 21:42 |
tosky | oh, uh, in the jobs or manually? | 21:42 |
tosky | because in the jobs, I think that there is some magic that makes sure that the code is downloaded with the reviews | 21:43 |
tellesnobrega | manually | 21:43 |
tellesnobrega | something that I can add on local.conf that downloads that review for that plugin | 21:43 |
tosky | can't you specify a local directory as the last parameter of enable_plugin? | 21:44 |
tellesnobrega | not sure | 21:44 |
tellesnobrega | trying with review number after the enable plutin | 21:47 |
tellesnobrega | plugin | 21:47 |
tosky | if it accepts a local directory, or a local git checkout, where the patch is applied, it may work | 21:47 |
tellesnobrega | I will check | 21:47 |
*** tesseract has quit IRC | 22:09 | |
iwonka | what's wrong with cli patches? both fail on the same test and i can't get to any kind of resonable logs | 22:19 |
tellesnobrega | not sure iwonka | 22:21 |
tellesnobrega | we have to check what is going on, probably infra issues | 22:21 |
iwonka | how to check it? | 22:22 |
tellesnobrega | you would have to go deeper on logs | 22:24 |
tellesnobrega | and check other patches as well on zuul to see if failure is all around | 22:24 |
tosky | iwonka: the other review passed after the recheck; do you have another failure somewhere else? | 22:31 |
iwonka | tosky: https://review.openstack.org/#/c/486721/ and https://review.openstack.org/#/c/498520/ fail on the same gate and they are similar patches | 22:32 |
iwonka | so i'm wondering if it's problem with my patches or something external | 22:33 |
tellesnobrega | iwonka, just recheck and see how it goes | 22:33 |
tosky | one moment :) | 22:33 |
iwonka | i did a recheck and the failure was later | 22:34 |
tosky | http://logs.openstack.org/21/486721/8/check/gate-sahara-cli-ubuntu-xenial-nv/ae28e21/logs/devstacklog.txt.gz#_2017-09-01_21_15_44_078 | 22:34 |
tosky | it's something in the infrastructure | 22:34 |
tosky | blindly rechecking can make that pass, but it would be better to check if there is a reported bug for this | 22:34 |
tellesnobrega | sure | 22:36 |
tosky | but no recent changes in devstack | 22:37 |
tosky | or devstack-gate | 22:37 |
tellesnobrega | I have to drop now | 22:39 |
tellesnobrega | have a great weekend tosky and iwonka | 22:40 |
tellesnobrega | don't lose your minds on this | 22:40 |
tellesnobrega | it will get fixed soon | 22:40 |
tellesnobrega | you both should be enjoying your fridays at this point :) | 22:40 |
iwonka | you're probably right, have a nice weekend :) | 22:40 |
tosky | iwonka: ok, let's try one recheck, but if it fails, let's investigate better on Monday | 22:40 |
tosky | o/ | 22:40 |
iwonka | tosky: ok | 22:41 |
*** tosky has quit IRC | 22:59 | |
*** esikachev has joined #openstack-sahara | 23:09 | |
*** esikachev has quit IRC | 23:26 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!