Wednesday, 2018-06-13

*** masber has joined #openstack-sahara00:10
*** masuberu has quit IRC00:13
*** masuberu has joined #openstack-sahara00:26
*** masber has quit IRC00:29
openstackgerritMerged openstack/sahara master: Improve force delete  https://review.openstack.org/57245501:04
openstackgerritZhuang Changkun proposed openstack/sahara master: Replace the deleted keypair in clusters for API v2  https://review.openstack.org/53985601:55
*** dave-mccowan has quit IRC02:57
*** hoonetorg has joined #openstack-sahara03:28
*** Bhujay has joined #openstack-sahara04:04
*** links has joined #openstack-sahara04:24
*** pcaruana has joined #openstack-sahara04:50
*** pcaruana has quit IRC05:18
*** pcaruana has joined #openstack-sahara06:06
*** Bhujay has quit IRC06:13
*** masber has joined #openstack-sahara06:35
*** masuberu has quit IRC06:38
*** tosky has joined #openstack-sahara06:40
*** masuberu has joined #openstack-sahara06:41
*** masber has quit IRC06:45
*** masuberu has quit IRC06:54
*** masuberu has joined #openstack-sahara06:54
*** masuberu has quit IRC06:55
*** masuberu has joined #openstack-sahara06:55
*** masuberu has quit IRC06:57
*** masuberu has joined #openstack-sahara06:57
*** masuberu has quit IRC06:58
*** masuberu has joined #openstack-sahara06:59
*** rcernin has quit IRC07:00
*** masuberu has quit IRC07:00
*** masuberu has joined #openstack-sahara07:00
*** masuberu has quit IRC07:01
*** masuberu has joined #openstack-sahara07:01
*** masuberu has quit IRC07:02
*** masuberu has joined #openstack-sahara07:03
*** tesseract has joined #openstack-sahara07:07
openstackgerritMerged openstack/puppet-sahara master: fix tox python3 overrides  https://review.openstack.org/57356308:33
*** links has quit IRC09:08
*** mtsv has joined #openstack-sahara09:21
*** links has joined #openstack-sahara09:25
*** masuberu has quit IRC10:10
*** links has quit IRC10:12
*** links has joined #openstack-sahara10:25
mtsvHi guys, I'm trying to set up a Cloudera CDH 5.11.0 cluster on openstack pike using the horizon UI and the cluster creation guide. My cluster passes validation but then fails with the following error https://hastebin.com/rugigoxaxo.sql Any ideas what I might be missing?11:25
toskyuhm, most likely a configuration problem; how did you configure the cluster and the node groups?11:54
mtsvAttempting to create the cluster using the cli interface resulted in the following error: "internal endpoint for data-processing service in RegionOne region not found" I guess this could be the problem.12:09
toskythat may be a different problem - I guess that the first creation happened through the web UI?12:10
toskyanyway, that error about internal endpoint missing points to something missing in the configuration of the service12:11
toskyhow was sahara (and openstack) deployed?12:11
mtsvThe first creation was through the web UI. I deployed openstack using kolla.12:14
toskyoh, my practical knowledge of kolla is basically 012:14
toskyI can only suggest you to ask on kolla channels about this error12:14
toskyregarding the first part, I was asking about the setting of the cluster12:15
toskybut in fact there may be other configuration issues12:15
mtsvI followed this guide https://blog.cloudera.com/blog/2015/05/how-to-get-started-with-cdh-on-openstack-with-sahara/ to set up the cluster12:18
toskydid you create the image yourself with sahara-image-elements?12:20
mtsvYes, I also tried downloading one of the prebuilt images from cloudera but it resulted in the same error.12:20
toskythe prebuilt images are up until ocata, we don't distribute them anymore12:21
mtsvThe endpoint error is confusing as the endpoint does appear when I do "openstack endpoint list" "| 1002fc0e21d14b58975b291df3a78497 | RegionOne | sahara | data_processing| True| internal| http://192.168.137.86:8386/v1.1/%(tenant_id)s |"12:21
toskydata_processing vs data-processing12:21
mtsvah12:22
toskyso kolla has some issues :)12:22
mtsvAs for the prebuilt image I figured I'd give it a try on pike anyway. I used version 5.9 of the plugin with a 5.9 image. Would that not work?12:22
toskyI advise to rebuild the image anyway12:23
toskybut the guide is not correct12:23
toskyapart from the main address of the repository is on git.openstack.org, not github, you should switch to the stable/pike branch before building the image12:23
mtsvOkay, I'll give it a try, thanks.12:23
toskyand no need to export a variable to select the version of CDH, there is a switch for the CLI command12:23
toskysee https://docs.openstack.org/sahara/latest/user/cdh-imagebuilder.html12:24
toskyalso, if you have some time, and the generated image does not work, try to build it with the other operating system (ubuntu vs centos 7)12:25
*** hoonetorg has quit IRC12:37
*** dave-mccowan has joined #openstack-sahara12:41
*** hoonetorg has joined #openstack-sahara12:47
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Adding CDH 5.13  https://review.openstack.org/57380213:03
*** dave-mccowan has quit IRC13:21
*** dave-mccowan has joined #openstack-sahara13:59
tellesnobregajeremyfreudberg, are you around?14:03
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Adding CDH 5.13  https://review.openstack.org/57380214:06
tellesnobregatosky, about boot from volume14:07
toskyyes?14:08
tellesnobregathe client part, it worked setting to None, but I'm not convinced that is the right way to go14:08
tellesnobregalooking at other properties, is_protected and some other14:09
tellesnobregaothers14:09
tellesnobregathey set default to False14:09
toskythey didn't have the problem of keeping compatibility with the older sahara14:10
toskymaybe14:10
tellesnobregahuum, they are probably there from the start14:11
toskymy understanding is this one of the things that can be solved with microversioning, but not on v114:11
tellesnobregamakes sense14:13
*** jeremyfreudberg has joined #openstack-sahara14:31
jeremyfreudberghey guys -- does my comment on the cdh 5.13 make sense? i was having trouble finding the right way to explain it14:31
toskyoh, yes, it makes sense14:34
toskyit's pretty straightforward14:34
toskyaka: read only values, extracted by magic from the plugin, used to present the keys and the defaults in the UI14:34
jeremyfreudbergyep, actually the concept is simple enough -- but the code which implements that magic is... magic14:35
*** hoonetorg has quit IRC14:35
jeremyfreudbergactually, what is interesting that in the cdh validation of node processes hive metastore is not a requirement of sentry14:40
jeremyfreudbergactually, let me think about that, it might not be as interesting/not interesting as i thought14:41
jeremyfreudbergyeah, it doesn't matter14:43
toskydo you think that we could validate the validity of a sentry service against that configuration option?14:46
jeremyfreudbergshort answer: yes. long answer:14:48
jeremyfreudbergremember this patch: https://review.openstack.org/#/c/572198/1/sahara/service/api/v2/clusters.py14:48
jeremyfreudbergfirst step is "recommend configs"14:48
toskyyep14:48
jeremyfreudbergsecond step is "validate plugin" (i.e. node processes)14:48
jeremyfreudbergso there is a choice14:49
jeremyfreudbergA) in the validation of sentry, see if the user has passed in the special hive config value explicitly14:49
jeremyfreudbergor14:49
jeremyfreudbergB)14:49
jeremyfreudbergchange the recommedation step to emit the special hive config value14:50
tellesnobregaI think B is the safest choice14:50
jeremyfreudbergyeah, B is what i'm looking into now14:51
jeremyfreudbergthe code is a bit convoluted14:51
tellesnobregaif the config is a must, we should not give the user the option to screw it up14:51
jeremyfreudbergagreed14:51
toskyso now the question is: follow-up patch? The basic CDH 5.13 patch is big enough14:51
jeremyfreudberga followup patch is fine by me14:52
jeremyfreudbergi do have one more thought, though14:52
tellesnobregago ahead14:53
jeremyfreudbergshould we emit hive_enable_db_notification=true only when sentry is present? or should we emit it as true always?14:53
jeremyfreudberg(By emit, I mean, the config-recommending step that is part of the plugin code)14:53
toskyso far, I only know that it's a new requirement for sentry14:54
toskyI don't know how to easily check if it's a requirement for more cases14:54
tellesnobregadoes it affect anything else?14:54
toskyapart from downloading the cloudera documentation and running a diff14:54
jeremyfreudbergerr, i guess it uses a little more disk space to be storing those notifications... but i'm not sure if it really matters14:56
jeremyfreudberglet's make it true always, for simplicity14:58
jeremyfreudbergbecause then i can edit the json, too, to reflect it nicely in the ui14:58
jeremyfreudbergotherwise there are too many branches of options14:58
jeremyfreudbergif that makes sense14:58
tellesnobregait works for me14:59
jeremyfreudbergcool14:59
tellesnobregaand if we see that is causing trouble later we can always revisit it14:59
jeremyfreudbergso i guess it's good to merge the patch then15:00
jeremyfreudbergand i will do a follow-up once i figure things out15:00
tellesnobregathanks15:00
tellesnobregayou can do the honors and +A it please15:00
jeremyfreudbergtosky: do you want to wait for the experimntal job to finish again? or do we get the idea at this point15:00
toskyjeremyfreudberg: I tested it manually (image generation and cluster creation) with the patch 4, which is basically the same as the last version15:01
tellesnobregaheading out for lunch15:02
jeremyfreudbergtosky: sounds good15:02
jeremyfreudbergtellesnobrega: enjoy it15:02
tellesnobregaI will be back for the downstream meeting15:02
tellesnobregathanks15:02
tellesnobregasee you in a bit15:02
toskythanks!15:02
*** links has quit IRC15:36
*** tesseract has quit IRC16:33
openstackgerritMerged openstack/sahara master: Adding CDH 5.13  https://review.openstack.org/57380217:35
jeremyfreudbergtosky: if you're still around, i have some doubts about this https://github.com/openstack/sahara/blob/master/sahara/plugins/cdh/v5_9_0/resources/images/common/install_extjs17:46
toskyjeremyfreudberg: yes, it's buggy17:46
tosky«if [ ! -f "${EXTJS_DESTINATION_DIR}/${extjs_archive}" ]; then» does not work when extjs_archive=/tmp/$(basename $EXTJS_DOWNLOAD_URL)17:47
toskyit should be a bit different17:47
jeremyfreudbergso in my case what i'm seeing is that when this code gets run again during cluster validation(?) the zip file extraction hangs because it is prompting the user if it wants to overwrite some file17:48
toskyyes, exactly17:54
toskyone of my pending task is to open the story for it17:54
toskyfeel free to open it of course :)17:54
jeremyfreudbergi'll let you do the honors17:55
toskydid you generate the image with sahara-image-elements?17:55
jeremyfreudbergtosky: i'm being lazy and using the cdh 5.9 ocata image, but it is supposed to be almost the same as the 5.9 image pack17:55
toskyalmost17:56
jeremyfreudberghave you seen this zip file problem when launching image pack images?17:57
toskya double error makes that working with image pack, because the content is not uncompressed17:57
toskyonly with sie images17:57
jeremyfreudberghmm, i see17:57
jeremyfreudbergto be honest i don't really use image pack images ever, because i rarely use vendor plugins17:58
toskyyeah, we need pack for vanilla too18:00
*** jeremyfreudberg has quit IRC18:04
*** openstackgerrit has quit IRC18:04
*** dave-mccowan has quit IRC18:15
*** hoonetorg has joined #openstack-sahara19:04
*** dave-mccowan has joined #openstack-sahara20:07
*** openstackgerrit has joined #openstack-sahara20:15
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Updating plugins status for Rocky  https://review.openstack.org/56613020:15
tellesnobregatosky, on boot from volume, should we have it only for api v2 or do we want on v1 as well?20:30
toskytellesnobrega: aka "let's fix the problem with the client"?20:33
tosky:D20:33
tellesnobregaa little more than that20:33
tellesnobregashould we add new features to v1 at this point?20:33
tellesnobregabut I just tested locally and it is creating templates with boot from volume flag20:34
tellesnobregausing CLI20:34
tellesnobregatrying UI now20:34
toskyuhm, it depends on the feature and the expected time before we can make v2 stable20:34
toskyif it's Stein, maybe20:34
toskywe can talk about it tomorrow20:35
tellesnobregaI will keep the code in for now20:35
tellesnobregaand we talk more tomorrow20:35
tellesnobregagood to see it working :)20:35
tellesnobregaUI is looking good to20:37
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara-dashboard master: Boot from volume  https://review.openstack.org/57522720:49
*** openstackgerrit has quit IRC21:04
*** openstackgerrit has joined #openstack-sahara21:31
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara-dashboard master: Boot from volume  https://review.openstack.org/57522721:31
*** dave-mccowan has quit IRC21:43
openstackgerritMerged openstack/python-saharaclient master: Reflect change to multiple clusters creation  https://review.openstack.org/57486121:49
openstackgerritMerged openstack/python-saharaclient master: Support of the improved force-delete in client  https://review.openstack.org/57485421:51
*** rcernin has joined #openstack-sahara22:26
*** rcernin is now known as rcernin|brekkie22:27
*** rcernin|brekkie is now known as rcernin22:27
*** dave-mccowan has joined #openstack-sahara23:22
*** tosky has quit IRC23:51

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!