Wednesday, 2018-01-17

openstackgerritEmilien Macchi proposed openstack/puppet-sahara stable/pike: Prepare for Pike post release  https://review.openstack.org/53453300:41
*** dave-mccowan has joined #openstack-sahara00:49
*** tosky has quit IRC00:54
openstackgerritEmilien Macchi proposed openstack/puppet-sahara stable/ocata: Prepare for Ocata post release  https://review.openstack.org/53456800:59
*** shuyingya has joined #openstack-sahara01:17
*** shuyingy_ has joined #openstack-sahara01:27
*** shuyingya has quit IRC01:30
*** dave-mccowan has quit IRC01:42
*** dave-mccowan has joined #openstack-sahara01:43
openstackgerritJeremy Freudberg proposed openstack/sahara-dashboard master: Support of S3 binaries in dashboard  https://review.openstack.org/53067202:08
*** dave-mccowan has quit IRC02:19
openstackgerritMerged openstack/sahara-dashboard master: Fix the quickstart url and participate url  https://review.openstack.org/53414102:30
*** shuyingya has joined #openstack-sahara02:47
*** shuying__ has joined #openstack-sahara02:48
*** shuyingy_ has quit IRC02:49
*** shuyingya has quit IRC02:51
*** dave-mccowan has joined #openstack-sahara02:52
openstackgerritMerged openstack/sahara master: [APIv2]Enable APIv2, experimentally  https://review.openstack.org/52493403:05
openstackgerritMerged openstack/sahara master: add bugs link in README.rst  https://review.openstack.org/53344303:05
openstackgerritsunqingliang proposed openstack/sahara-dashboard master: fix wrong url in bindep.txt, replate http with https  https://review.openstack.org/53460603:30
*** caowei has joined #openstack-sahara03:46
*** caowei has quit IRC04:25
*** caowei has joined #openstack-sahara04:25
*** dave-mccowan has quit IRC04:32
*** links has joined #openstack-sahara04:49
*** caowei has quit IRC04:55
*** alinanesterova has joined #openstack-sahara05:32
*** caowei has joined #openstack-sahara05:34
*** caowei has quit IRC05:59
*** caowei has joined #openstack-sahara06:01
*** caowei has quit IRC06:03
openstackgerritsunqingliang proposed openstack/sahara-dashboard master: lack of comma  https://review.openstack.org/53463606:11
*** caowei has joined #openstack-sahara06:32
openstackgerritShangXiao proposed openstack/sahara-dashboard master: Update url links in doc file of sahara-dashboard  https://review.openstack.org/53464106:33
*** pgadiya has joined #openstack-sahara06:39
*** caowei has quit IRC07:17
*** caowei has joined #openstack-sahara07:21
*** caowei has quit IRC07:25
*** gokhan_ has quit IRC07:29
*** gokhan_ has joined #openstack-sahara07:46
*** pcaruana has joined #openstack-sahara07:48
*** pcaruana has quit IRC07:55
*** pcaruana has joined #openstack-sahara07:55
gokhan_hi tellesnobrega, we can not create cluster template on sahara dashboard because of DATA_UPLOAD_MAX_NUMBER_FIELDS.08:10
*** hoonetorg has quit IRC08:10
gokhan_error is : [Wed Jan 17 08:03:43.324827 2018] [wsgi:error] [pid 18712:tid 139951544997632] DeprecationWarning: Passing authentication parameters to saharaclient is deprecated. Please construct and pass an authenticated session object directly.The number of GET/POST parameters exceeded settings.DATA_UPLOAD_MAX_NUMBER_FIELDS.08:10
gokhan_tellesnobrega, ^^08:10
*** hoonetorg has joined #openstack-sahara08:26
ltosky[m]gokhan_: this was fixed with https://review.openstack.org/500193/08:27
ltosky[m]which version of openstack are you using?08:27
*** caowei has joined #openstack-sahara08:28
*** tesseract has joined #openstack-sahara08:29
*** caowei has quit IRC08:39
*** rcernin has quit IRC08:45
*** caowei has joined #openstack-sahara08:50
*** shuying__ is now known as shuyingya09:09
*** alinanesterova has quit IRC09:10
openstackgerritMerged openstack/sahara master: Rename 'SAHARA_AUTO_IP_ALLOCATION_ENABLED' config parameter  https://review.openstack.org/53106909:14
*** alinanesterova has joined #openstack-sahara09:17
*** caowei has quit IRC09:20
*** caowei has joined #openstack-sahara09:21
*** alinanesterova has quit IRC09:21
*** rcernin has joined #openstack-sahara09:40
*** caowei has quit IRC10:01
*** tosky has joined #openstack-sahara10:23
gokhan_ltosky[m], yes I see this commit but again get same error.sahara dashboard version is 7.0.1.dev10:32
gokhan_my openstack version is pike10:32
toskygokhan_: so try to manually apply the patch and see if it fixes the problem10:39
toskythe patch was applied only to master, so queens10:39
toskyif it works for you, we can backport it10:40
gokhan_tosky, it was alreday applied on pike because I controlled it on sahara-dashboard code and I see this commit. but it doesn't work unfortunately10:45
toskygokhan_: right, it was installed; is the file _12_toggle_data_upload_max_number_fields.py really copied?10:47
toskyor does it work if you increase the value?10:48
toskycan you see the problem with any node group template, or specifically bigger ones?10:49
gokhan_tosky, ı see this file under the sahara_dashboard/local_settings.d/_12_toggle_data_upload_max_number_fields.py10:49
gokhan_tosky, on node group template it is working successfully10:50
toskyuh, cluster templates10:50
gokhan_when I try to create cluster template, it is failed10:50
toskygokhan_: ok, but do you see the file deployed on the system, not just in the source code?10:50
toskyif it is a devstack deployment, it should be in /opt/stack/new/horizon/openstack_dashboard/local/local_settings.d/10:52
gokhan_tosky, I have a HA environment which is created by openstack ansible10:53
gokhan_I am looking now10:53
toskyoh, maybe the ansible installer didn't copy the file10:53
gokhan_tosky, yes you are right it didn't copy this file to openstack_dashboard/local/local_setings.d10:56
toskyah!10:56
gokhan_tosky, how sahara dashboard copies this file to openstack_dashboard10:58
gokhan_tosky, may be need a patch on openstack ansible-os_saha10:58
gokhan_*openstack-ansible-os_sahara10:58
toskygokhan_: but the code is there: https://review.openstack.org/#/c/516748/10:59
toskygokhan_: when did you deploy this openstack installation? Maybe openstack-ansible-os_horizon was not up-to-date10:59
tosky(or maybe it is broken :)10:59
toskyopenstack-ansible-os_sahara does not install the dashboard; the horizon module installs all the dashboards (I'm not sure I agree with that, but I don't contribute to that project)11:00
gokhan_tosky, ok I am controlling horizon role11:01
toskyand also please check if copying the file (and restarting apache) really fixes the issue :)11:01
gokhan_tosky, yes I installed my environment 2 monts ago and see that it is previous version. thanks for help.11:03
toskyoh, good, I like when a problem is already solved!11:04
gokhan_tosky, yes it is already solved :) also I entered a bug for ambari centos 7 images. hdp plugin can only work with centos6 images11:04
gokhan_tosky, https://bugs.launchpad.net/sahara/+bug/174013311:05
openstackLaunchpad bug 1740133 in Sahara "when try to create HDP cluster with centos7 image, get timeout error on registration of hosts event." [Undecided,New]11:05
toskygokhan_: there was an bug reported on HDP 2.5 some time ago, but it was not reproduced and closed11:06
toskybut then I think that you hit the same11:06
toskylet me find the link11:06
toskygokhan_: does it look the same? http://bugs.launchpad.net/sahara/+bug/1672218/11:07
openstackLaunchpad bug 1672218 in Sahara "Using ambari 2.4 with 2.4.0.1 image - inconsistent server/agent version" [Undecided,Invalid]11:07
gokhan_tosky, no it is not same11:09
gokhan_I created image11:10
gokhan_and I am using ambari 2.4.2.011:10
toskygokhan_: it may be the same11:10
gokhan_it fails on registration of hosts11:10
toskyyes, like the other bug11:10
tosky"It fails to deploy at step "Wait registration of hosts" in Horizon."11:11
toskythe reporter of the other bug didn't report the content of sahara-engine.log, but he did report the content of ambari-server.log on the ambari host11:12
toskyI pretty much think that this is the same error11:12
gokhan_tosky, I am not sure but I created sahara image with ambari 2.4.2.011:16
gokhan_may be your new image generation tool can solve this situation11:16
gokhan_I am following your commits about ambari images :)11:16
toskygokhan_: right, but for ambari is not 100% ready/tested, and we should have something working in the meantime11:17
toskyso if you happen to retest that image and grab the logs from the ambari node, that would be great!11:17
openstackgerritShu Yingya proposed openstack/sahara-tests master: Fix APIExcetion if cinder is not installed  https://review.openstack.org/53473712:02
toskyAPIException :)12:06
*** alinanesterova has joined #openstack-sahara12:06
*** alinanesterova has quit IRC12:11
*** pgadiya has quit IRC12:12
*** rcernin has quit IRC12:14
*** pgadiya has joined #openstack-sahara12:15
*** pgadiya has quit IRC12:21
openstackgerritShu Yingya proposed openstack/sahara-tests master: Fix APIException if cinder is not installed  https://review.openstack.org/53473712:21
openstackgerritLuigi Toscano proposed openstack/sahara-extra master: Enable also building Oozie for 2.7.1  https://review.openstack.org/53269012:27
openstackgerritLuigi Toscano proposed openstack/sahara-extra master: WIP Add a native Zuul v3 build job  https://review.openstack.org/53269112:27
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/python-saharaclient master: Beginnings of APIv2 support in client  https://review.openstack.org/53306612:32
*** pgadiya has joined #openstack-sahara12:33
*** dave-mccowan has joined #openstack-sahara12:45
tellesnobregajeremyfreudberg, I added a new patch to APIv2 stuff, can you take a look and see if it makes sense12:53
tellesnobregatosky, please take a look too ^12:54
tellesnobregashuyingya, also ^12:54
shuyingyatellesnobrega, going back home.  will review it ASAP.13:01
tellesnobregathanks shuyingya13:01
shuyingyahttps://github.com/openstack/sahara-tests/blob/master/sahara_tempest_plugin/tests/clients/test_job_executions.py#L313-L316   tellesnobrega, tosky. tempest run has an error "AttributeError: type object 'JobExecutionTest' has no attribute ‘client’". What do you think about removing it directly? or do you have any idea about fixing it?13:06
toskyshuyingya: always? Or only when there is an error?13:07
shuyingyaalways.13:07
shuyingyajob execution test case is skipped.13:08
shuyingyaI think this method has syntax error.13:08
toskywell, client is an attribute of the instance for sure, but it should work for the class too once initialized13:09
shuyingyayes, that is it.13:09
toskyanyway, there is a bug for that, and there were some (proposed but unsuccessful) patches13:09
toskyI'd rather had it fixed13:10
toskyjust... priorities13:10
shuyingyathanks.13:10
shuyingyaIt's quite hard for me to fix it. happy to hear that you will fix it.13:11
shuyingyadon't worry. It's not so urgent13:11
shuyingyabye. I need gooooo back home. :) and will review apiv2 client patch when I arrived13:12
toskybye!13:12
*** shuyingya has quit IRC13:13
toskytellesnobrega: one thing I didn't get from Jeremy's comment on devstack: if we don't deploy the new endpoint, how does it work?13:51
openstackgerritMerged openstack/puppet-sahara master: Prepare for Queens Milestone 3  https://review.openstack.org/53449413:52
tellesnobregaI think he meant that we can add the endpoint creation on devstack later, this patch should work if installed by pip, and we can always add the endpoint manually on devstack for testing13:54
toskyit works because we don't need new endpoints for now due to some magic? That's the part I didn't get well13:55
gokhan_tosky, ok I will again retest13:56
toskygokhan_: thanks!13:58
*** pgadiya has quit IRC13:58
openstackgerritMerged openstack/puppet-sahara master: Remove pinned versions from test-requirements.txt  https://review.openstack.org/53411213:59
tellesnobregatosky, what I understood, and I might be wrong, is that with the saharaclient version discovery it should just work14:00
tellesnobregabut we can ask jeremy for a better explanation14:00
toskyack14:00
toskybut anyway, your patch failed :P14:00
tellesnobregait did14:00
tellesnobregait is considering saharaclient.api.v2 as third-party import14:04
tellesnobreganot sure why14:04
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/python-saharaclient master: Beginnings of APIv2 support in client  https://review.openstack.org/53306614:20
tellesnobregatosky, fixed ^14:20
toskyuh, missing module init14:21
toskyoki14:21
tellesnobregaexactly14:21
*** jeremyfreudberg has joined #openstack-sahara14:25
jeremyfreudbergguys, here's what i meant14:25
jeremyfreudberga devstack might have client installed from pip or from git. the current version of client needs a v1.1 endpoint in catalog. so if i change the endpoint creation from versioned to unversioned it will break until minimum version of client is changed14:27
jeremyfreudbergafter we merge the v2 client patch, and you request saharaclient to be from git master not from pip, then you can still do v2 stuff with a v1.1 endpoint in the catalog14:27
jeremyfreudberg^ tellesnobrega tosky14:28
toskybut then, if I want to test v2, with the client patch (or without if I would use curl directly), do I simply need to create the unversioned endpoints manually?14:29
jeremyfreudbergsaharaclient.client.Client('2', ...) or saharaclient.api.client.ClientV2(...) will mutate any endpoint it finds in the catalog into a proper v2 endpoint14:31
toskyah14:31
toskyso basically the "form" of the endpoint does not matter really14:32
toskytoo magic, I will need to study it :)14:32
tellesnobregajeremyfreudberg, let me see if I fully understand. Once the client patch merges, we only need to force devstack to install saharaclient from master and we are using apiv2?14:32
jeremyfreudbergtosky: yes, exactly, the form of the endpoint does not matter. and my magic is only slightly magical, i'm still hoping monty will rewrite it with the real magic14:33
jeremyfreudbergtellesnobrega: yes, when client patch merges then sahara master + client master will give a functioning v2 deployment14:34
tellesnobregajeremyfreudberg, awesome14:34
tellesnobregajeremyfreudberg, also, take a look at the patch I sent, if it makes sense to you14:35
jeremyfreudbergtellesnobrega, yes, i'll review it soon14:35
tellesnobregathanks14:35
*** shuyingy_ has joined #openstack-sahara14:48
jeremyfreudbergtellesnobrega, it's looking good, i have a few suggestions but i think it's faster if i just write the new patchset14:49
tellesnobregajeremyfreudberg, please do14:49
openstackgerritEmilien Macchi proposed openstack/puppet-sahara stable/newton: Prepare for Newton post release  https://review.openstack.org/53480115:03
*** links has quit IRC15:11
openstackgerritJeremy Freudberg proposed openstack/python-saharaclient master: Beginnings of APIv2 support in client  https://review.openstack.org/53306615:55
jeremyfreudbergthat's it for me for today, unfortunately16:02
jeremyfreudbergi'm sure the patch is still imperfect, i think once we have sahara-tests using the v2 client we'll be able to tell what to prioritize16:03
*** jeremyfreudberg has quit IRC16:03
openstackgerritMerged openstack/sahara master: Changing expected value to job_template_id  https://review.openstack.org/53442216:42
*** pcaruana has quit IRC16:46
*** shuyingy_ has quit IRC17:05
*** tesseract has quit IRC17:21
*** ukaynar has joined #openstack-sahara17:31
*** openstackstatus has quit IRC18:40
*** openstackstatus has joined #openstack-sahara18:42
*** ChanServ sets mode: +v openstackstatus18:42
*** ukaynar has quit IRC20:15
tellesnobregatosky, looks like swift worked20:18
*** ukaynar has joined #openstack-sahara20:19
toskytellesnobrega: so it was a leftover20:23
toskygood20:23
tellesnobregabasically removed the v2.0 and it worked, not sure about the user_domain_proxy stuff20:24
tellesnobregait currently returns v3/auth, but I believe that it will break20:24
tellesnobregait should be always v320:24
toskyI'm not even sure if a v3 url should always end by v320:27
tellesnobregahmm20:30
tellesnobregahttps://github.com/openstack/sahara/blob/master/sahara/swift/utils.py#L3920:36
tellesnobregatosky, basically changed that to v3 and other place that requests from swiftclient to request api v320:37
-openstackstatus- NOTICE: Zuul will be offline for a few minutes; existing changes will be re-enqueued; approvals during the downtime will need to be re-added.20:39
toskytellesnobrega: on the other side, I just discovered that, despite the unit tests, sahara-templates seems to be broken20:47
toskyapparently (from initial investigation) a change in validation20:47
tellesnobregasahara-tempest?20:47
toskysahara-templates20:48
toskydefault templates20:48
tellesnobregaoh20:55
tellesnobregaI see, I will take a look into them20:55
*** ukaynar has quit IRC20:55
tellesnobregatosky, about the file transfer bug, I was able to get a 115MB file transfer from 7 minutes to about 320:55
toskywhich is already better, even if not optimal20:56
tellesnobregayes, optimal would be getting to maximum 2 minutes which is the default timeout20:56
tellesnobregabut we can increase timeout to 5 minutes if necessary20:56
tellesnobregaso we can work with even bigger files20:56
toskyor at least in line with a normal transfer between the same hosts20:56
toskybut does if it scales linearly, 5 minutes will be ~250 MB at most20:57
tellesnobregahmm, we have to work out the best option21:04
tellesnobregalet me see if this 3 minute is reproducible21:04
toskyhow much does it take a normal scp between the nodes?21:06
tellesnobregashould be about 3 or 4 seconds IIRC21:06
tellesnobregathe problem is with paramiko sftp file transfer21:07
*** alinanesterova has joined #openstack-sahara21:07
tellesnobregaI'm removing buffering and setting pipelined to see if it improves21:07
tellesnobregatosky, maybe the case is to see if there is anything better than paramiko for us to use21:07
toskyif I remember the discussion, removing the buffering and setting pipeline was one of the solutions, hopefully the less impacting21:08
tellesnobregayes21:08
tellesnobregathis was the combination that took it down to 3 minutes21:08
tellesnobregatrying to reproduce it now21:08
tellesnobregawent down to less than 3 minutes21:11
tellesnobregaI believe this is the right way to go21:11
toskyI wonder if it scales linearly due to some initial cost (and it speeds up later)21:11
tellesnobregaI will try bigger files as well21:11
tellesnobregaand let you know21:11
*** alinanesterova has quit IRC21:12
*** rcernin has joined #openstack-sahara22:02
*** ukaynar has joined #openstack-sahara22:38
*** ukaynar has quit IRC22:39
openstackgerritinspurericzhang proposed openstack/sahara-dashboard master: horizon misspelling in README.rst  https://review.openstack.org/53497623:58

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