Monday, 2018-01-08

*** ejat has joined #openstack-horizon00:09
*** idlemind has quit IRC00:14
*** idlemind has joined #openstack-horizon00:15
*** tosky has quit IRC00:41
*** hoangcx has joined #openstack-horizon01:04
*** dave-mccowan has joined #openstack-horizon01:06
*** btully has joined #openstack-horizon01:24
*** btully has quit IRC01:29
*** lblanchard has joined #openstack-horizon01:40
*** jafeha__ has joined #openstack-horizon02:13
*** jafeha has quit IRC02:16
*** zhurong has joined #openstack-horizon02:46
*** lblanchard has quit IRC02:52
*** dave-mccowan has quit IRC03:09
*** kong has quit IRC03:17
*** kong has joined #openstack-horizon03:17
*** flwang has quit IRC03:58
*** yamamoto has joined #openstack-horizon03:58
*** yamamoto has quit IRC04:03
*** rajalokan has quit IRC04:47
*** zhurong has quit IRC04:52
*** udesale has joined #openstack-horizon04:54
*** yamamoto has joined #openstack-horizon05:04
*** yamamoto has quit IRC05:12
*** rajalokan has joined #openstack-horizon05:33
*** zhurong has joined #openstack-horizon05:51
*** masco has joined #openstack-horizon06:21
*** udesale__ has joined #openstack-horizon06:45
*** udesale has quit IRC06:48
*** udesale has joined #openstack-horizon06:52
*** udesale__ has quit IRC06:54
*** rajalokan has quit IRC06:56
openstackgerritOpenStack Proposal Bot proposed openstack/horizon master: Imported Translations from Zanata  https://review.openstack.org/53158606:57
*** pcaruana has joined #openstack-horizon07:04
*** brad[] has quit IRC07:15
*** Krenair has quit IRC07:15
*** Krenair has joined #openstack-horizon07:22
*** cshen has joined #openstack-horizon07:27
*** makowals has joined #openstack-horizon07:36
*** lajoskatona has joined #openstack-horizon07:56
*** jafeha__ has quit IRC08:04
*** btully has joined #openstack-horizon08:06
*** rubasov has joined #openstack-horizon08:08
*** tesseract has joined #openstack-horizon08:09
*** namnh has joined #openstack-horizon08:09
*** jtomasek has joined #openstack-horizon08:12
*** honza has quit IRC08:20
*** honza has joined #openstack-horizon08:20
*** honza is now known as Guest1450008:20
*** lvdombrkr has joined #openstack-horizon08:28
*** jafeha has joined #openstack-horizon08:31
*** btully has quit IRC08:43
*** rcernin has quit IRC09:07
*** jpich has joined #openstack-horizon09:08
*** Guest14500 is now known as honza09:14
*** ircuser-1 has joined #openstack-horizon09:18
*** karmine has joined #openstack-horizon09:20
karminehi guys, i need help , for some reason i need to allow the image update metadata only to the root user, i try it with the policy.json files on the /etc/openstack-dashboard without success, now I'm trying to modify the class UpdateMetadata in the openstack_dashboard/dashboards/project/images/images/tables.py file, i need a function that return the role user.09:28
karmineAnyone have another idea to do this task? Thanks in advance09:29
*** e0ne has joined #openstack-horizon09:33
*** john51_ has joined #openstack-horizon09:44
*** udesale has quit IRC09:45
*** udesale has joined #openstack-horizon09:46
*** john51 has quit IRC09:46
*** e0ne has quit IRC09:47
*** zhurong has quit IRC10:02
*** tosky has joined #openstack-horizon10:04
*** hoangcx has quit IRC10:05
*** mrch has joined #openstack-horizon10:06
*** mrch has quit IRC10:06
*** hoangcx has joined #openstack-horizon10:11
*** namnh has quit IRC10:18
*** masco has quit IRC10:24
-openstackstatus- NOTICE: zuul has been restarted, all queues have been reset. please recheck your patches when appropriate10:25
*** btully has joined #openstack-horizon10:29
*** btully has quit IRC10:34
*** udesale has quit IRC10:34
*** udesale has joined #openstack-horizon10:35
*** masco has joined #openstack-horizon10:40
*** udesale has quit IRC10:54
*** wolverineav has joined #openstack-horizon11:00
*** mvk has quit IRC11:20
*** masco has quit IRC11:22
*** hoangcx has quit IRC11:23
*** masco has joined #openstack-horizon11:35
*** zhurong has joined #openstack-horizon11:35
tellesnobregahey guys, a quick question this time, what is the best way to change from one workflow to another sending information on the request to the new workflow?11:56
tellesnobregaI'm working on sahara dashboard, and the example I'm seeing uses javascript to do it, is it really necessary?11:57
*** masco has quit IRC11:58
*** dave-mccowan has joined #openstack-horizon12:09
*** udesale has joined #openstack-horizon12:16
openstackgerritAkihiro Motoki proposed openstack/horizon master: Switch project.routers.tests to mock  https://review.openstack.org/53172512:23
openstackgerritAkihiro Motoki proposed openstack/horizon master: Switch project.routers.tests to mock  https://review.openstack.org/53172512:25
openstackgerritAkihiro Motoki proposed openstack/horizon master: Convert project tests into mock  https://review.openstack.org/53172712:25
openstackgerritAkihiro Motoki proposed openstack/horizon master: Convert project tests into mock: api_access/backups/overview/snapshots  https://review.openstack.org/53172812:27
openstackgerritAkihiro Motoki proposed openstack/horizon master: Convert project tests into mock: cgroups/cg_snapshots  https://review.openstack.org/53172912:28
openstackgerritAkihiro Motoki proposed openstack/horizon master: Switch project.networks.subnets.tests to mock  https://review.openstack.org/53173012:30
*** mvk has joined #openstack-horizon12:37
openstackgerritLajos Katona proposed openstack/horizon master: Redirect back if deleting from image details  https://review.openstack.org/49086812:43
openstackgerritAkihiro Motoki proposed openstack/horizon master: Provide a way to disable mox completely  https://review.openstack.org/53053812:47
openstackgerritAkihiro Motoki proposed openstack/horizon master: Use mock.patch to setup test objects  https://review.openstack.org/53173812:47
*** dave-mccowan has quit IRC12:47
*** dave-mccowan has joined #openstack-horizon12:49
*** rcernin has joined #openstack-horizon12:59
*** zhurong has quit IRC13:01
*** lajoskatona has left #openstack-horizon13:14
*** rcernin has quit IRC13:16
*** pcaruana has quit IRC13:25
*** pcaruana has joined #openstack-horizon13:25
*** yamamoto has joined #openstack-horizon13:28
openstackgerritAkihiro Motoki proposed openstack/horizon master: Switch project/admin routers tests to mock  https://review.openstack.org/53172513:38
openstackgerritAkihiro Motoki proposed openstack/horizon master: Convert project tests into mock: fip/sg/key_pairs/topology  https://review.openstack.org/53172713:46
openstackgerritAkihiro Motoki proposed openstack/horizon master: Convert project tests into mock: api_access/backups/overview/snapshots  https://review.openstack.org/53172813:51
amotokikarmine: would you like to limit editing image metadata to admin only in GUI?13:54
*** yamamoto has quit IRC13:56
*** yamamoto has joined #openstack-horizon13:57
amotokikarmine: I think the project image angularjs implementation does not support the policy. perhaps it needs to be improved in the horizon side.13:58
amotokitellesnobrega: do you mean sending some data across tabs in a single workflow form?14:00
amotokitellesnobrega: or would you like to send some data among workflows?14:01
tellesnobregaamotoki, let me try to explain the best I can. First of all, this is my first time actually doing real work on front end, so experience is close to non14:01
tellesnobregaI'm not sure I'm taking the right approach either, so feel free to correct where I'm wrong (I'm sure I'm in a lot of steps)14:01
*** yamamoto has quit IRC14:01
openstackgerritAkihiro Motoki proposed openstack/horizon master: Convert project tests into mock: cgroups/cg_snapshots  https://review.openstack.org/53172914:02
tellesnobregaamotoki, what I'm aiming to do is to increment the scale cluster option. Right now we open a window and the user has some options to increase or decrease the amount of instances in the cluster14:02
*** dayou has joined #openstack-horizon14:03
*** dayou has quit IRC14:03
*** dayou has joined #openstack-horizon14:03
tellesnobregawe need to add the option to select the specific instances that the user wants to delete. My idea right now is keep the current window as is, and get the info from that and create new one for instance selection14:03
tellesnobregaamotoki, this is the current workflow I'm working on https://github.com/openstack/sahara-dashboard/blob/b05932f4fbb15a4be0569c4cd741111b18986a10/sahara_dashboard/content/data_processing/clusters/clusters/workflows/scale.py14:04
tellesnobregathis is the existing one14:04
tellesnobregaI have two starting questions, first is: does this idea makes sense? second is: if yes, how do I change from one workflow to another sending the data that I acquired earlier?14:05
amotokitellesnobrega: I am not familiar with sahara-dashboard code. exploring it14:07
tellesnobregaamotoki, thanks14:07
amotokitellesnobrega: do you wonder adding some tab to select specific instances?14:08
tellesnobregaamotoki, I'm 100% open to suggestions, will that make things simpler? and can the tab be updated by changes on other tab?14:09
amotokiat now, ScaleCluster workflow seems to have one tab (i.e. Step). If you would like to add a tab to select instances, you can do it.14:10
amotokitellesnobrega: at now, IIRC the workflow mechanism does not support such feature, so I think sahara dashboard do it by JS14:11
amotokitellesnobrega: let me ask. why do you need to pass changes across tabs?14:11
amotokiif a user tries to scale down 2 instances, do you want to allow users to select up to two instances in the other tab?14:12
tellesnobregaamotoki, the select instance would be done by a drop-down. The amount of drop-down would change depending on the number of instances the user wants to remove14:12
tellesnobregayes, exactly14:13
amotokitellesnobrega: IIUC there is a case where multiple instances are selected.14:14
amotokii think UI like "Edit Security Group" in the instance menu or "Project member selection" UI.14:15
amotokihave you looked at them?14:15
amotokiI think it allows users to select  multiple instances more easily14:15
tellesnobregaI have not14:17
* tellesnobrega looks14:17
amotokiI guess a user know the number of instances to decrease so it is not a problem we force users to select up to the specified number of instances in the next tab, and then we can check the number of instances after submitting the workflow.14:17
amotokitellesnobrega: I will be afk a while. I will be back after one hour (before going to bed)14:19
tellesnobregaamotoki, thanks, I think the sec group stuff should work14:19
tellesnobregadefinitely better than dropdown14:19
karmineamotoki: in the end i modify the file openstack_dashboard/dashboards/project/images/images/tables.py i add to the return of the method allowed of the class UpdateMetadata the String 'request.user.project_id == "project_admin_id"'14:20
karmineso now it works14:20
*** makowals has quit IRC14:27
*** dayou has quit IRC14:28
*** makowals has joined #openstack-horizon14:29
amotokikarmine: I see. it does not have the policy rules... so your approach looks good. i haven't checked the detail policy rule, but it can be added here.14:29
*** lblanchard has joined #openstack-horizon14:32
*** e0ne has joined #openstack-horizon14:37
*** makowals has quit IRC14:39
*** makowals has joined #openstack-horizon14:39
*** yamamoto has joined #openstack-horizon14:42
*** yamamoto has quit IRC14:47
*** dayou has joined #openstack-horizon14:55
openstackgerritAllen proposed openstack/horizon master: [doc] Correct the wrong 'System' tab  https://review.openstack.org/53181415:08
*** felipemonteiro has joined #openstack-horizon15:15
openstackgerritAllen proposed openstack/horizon master: [doc] Correct the wrong volumes tab  https://review.openstack.org/53181815:16
openstackgerritAllen proposed openstack/horizon master: [doc] Correct the wrong 'System' tab  https://review.openstack.org/53181815:21
*** makowals has quit IRC15:22
*** makowals has joined #openstack-horizon15:22
*** yamamoto has joined #openstack-horizon15:27
*** e0ne has quit IRC15:28
*** rmart04 has joined #openstack-horizon15:31
*** yamamoto has quit IRC15:32
*** makowals has quit IRC15:40
amotokiying_zuo: rdopiera: any chance to merge this? https://review.openstack.org/#/c/523928/ (d-o-a retirement patch)15:42
amotokithis almost completes the work. the remaining things are to announce it officially and cleanup devstack mater.15:43
amotokiunfortunately nobody helped me around the work....15:44
*** yamamoto has joined #openstack-horizon15:53
*** yamamoto has quit IRC15:53
*** felipemonteiro has quit IRC15:54
*** felipemonteiro has joined #openstack-horizon15:55
*** gary-smith has quit IRC15:55
*** gary-smith has joined #openstack-horizon15:56
*** e0ne has joined #openstack-horizon15:58
*** rmart04 has quit IRC16:03
*** brad[] has joined #openstack-horizon16:18
*** e0ne has quit IRC16:24
*** felipemonteiro has quit IRC16:27
*** udesale has quit IRC16:30
*** gyee has joined #openstack-horizon16:39
*** david-lyle has quit IRC16:47
*** david-lyle has joined #openstack-horizon16:48
*** ChanServ sets mode: +o david-lyle16:48
*** pcaruana has quit IRC16:48
*** david-lyle has quit IRC16:52
*** e0ne has joined #openstack-horizon16:53
*** yamamoto has joined #openstack-horizon16:53
*** yamamoto has quit IRC17:02
*** mvk has quit IRC17:09
*** itlinux_ has joined #openstack-horizon17:27
*** itlinux_ has quit IRC17:30
*** itlinux_ has joined #openstack-horizon17:30
*** itlinux_ has quit IRC17:31
*** itlinux_ has joined #openstack-horizon17:31
*** jpich has quit IRC17:33
*** david-lyle has joined #openstack-horizon17:34
*** ChanServ sets mode: +o david-lyle17:34
*** itlinux_ has quit IRC17:34
*** itlinux_ has joined #openstack-horizon17:36
*** itlinux_ has quit IRC17:37
*** itlinux_ has joined #openstack-horizon17:38
*** itlinux_ has quit IRC17:42
*** itlinux_ has joined #openstack-horizon17:42
*** itlinux_ has quit IRC17:43
*** yamamoto has joined #openstack-horizon17:43
*** yamamoto has quit IRC17:43
openstackgerritAkihiro Motoki proposed openstack/horizon master: Implement create_mocks decorator to make mocks easier  https://review.openstack.org/51506517:44
openstackgerritAkihiro Motoki proposed openstack/horizon master: Implement create_mocks decorator to make mocks easier  https://review.openstack.org/51506517:45
*** felipemonteiro has joined #openstack-horizon17:45
*** david-lyle has quit IRC17:47
*** itlinux_ has joined #openstack-horizon17:49
*** itlinux_ has quit IRC17:49
*** itlinux has joined #openstack-horizon17:50
*** itlinux has quit IRC17:55
*** e0ne has quit IRC17:55
*** itlinux has joined #openstack-horizon17:56
*** kristaps_ has joined #openstack-horizon18:06
openstackgerritAkihiro Motoki proposed openstack/horizon master: Convert project tests into mock: fip/sg/key_pairs/topology  https://review.openstack.org/53172718:06
*** lvdombrkr has quit IRC18:09
itlinuxhello all.. I think I found a bug on Ocata horizon, where I disable the security groups but I still have this popup showing up https://pasteboard.co/H20vsQW.png18:17
*** tesseract has quit IRC18:35
*** flwang has joined #openstack-horizon18:35
*** yamamoto has joined #openstack-horizon18:44
*** jafeha__ has joined #openstack-horizon18:48
*** jafeha has quit IRC18:49
*** yamamoto has quit IRC18:52
*** yamamoto has joined #openstack-horizon19:01
*** ellopunk has joined #openstack-horizon19:12
*** harlowja has joined #openstack-horizon19:19
*** pramodrj07 has joined #openstack-horizon19:22
*** e0ne has joined #openstack-horizon19:22
*** pramodrj07 has quit IRC19:22
*** wolverineav has quit IRC19:23
*** wolverineav has joined #openstack-horizon19:23
*** wolverineav has quit IRC19:26
*** wolverineav has joined #openstack-horizon19:26
*** btully has joined #openstack-horizon19:34
*** btully has quit IRC19:38
*** e0ne has quit IRC19:40
*** felipemonteiro_ has joined #openstack-horizon19:41
*** wolverineav has quit IRC19:42
*** david-lyle has joined #openstack-horizon19:43
*** ChanServ sets mode: +o david-lyle19:43
*** wolverineav has joined #openstack-horizon19:44
*** felipemonteiro has quit IRC19:45
*** flwang has quit IRC19:47
*** yamamoto has quit IRC19:53
*** ellopunk has quit IRC20:02
*** yamamoto has joined #openstack-horizon20:04
*** yamamoto has quit IRC20:09
*** itlinux has quit IRC20:19
*** ellopunk has joined #openstack-horizon20:20
*** itlinux has joined #openstack-horizon20:29
*** ellopunk has quit IRC20:38
*** openstack has quit IRC20:38
*** openstack has joined #openstack-horizon20:42
*** ChanServ sets mode: +o openstack20:42
*** ellopunk has joined #openstack-horizon20:53
*** flwang has joined #openstack-horizon20:55
*** ellopunk has quit IRC20:57
*** jtomasek has quit IRC20:58
*** ellopunk has joined #openstack-horizon20:58
*** openstackgerrit has quit IRC21:03
*** rcernin has joined #openstack-horizon21:17
*** Anticimex has joined #openstack-horizon21:27
*** r-daneel has joined #openstack-horizon21:27
*** david-lyle has quit IRC21:28
*** rcernin has quit IRC21:33
*** yamamoto has joined #openstack-horizon21:39
*** yamamoto has quit IRC21:47
*** itlinux has quit IRC21:52
*** lblanchard has quit IRC22:00
*** ellopunk has quit IRC22:03
*** rcernin has joined #openstack-horizon22:06
*** ellopunk has joined #openstack-horizon22:08
*** ellopunk has quit IRC22:08
*** e0ne has joined #openstack-horizon22:28
*** dave-mccowan has quit IRC22:37
*** wolverineav has quit IRC22:41
*** flwang has quit IRC22:49
*** e0ne has quit IRC22:49
*** itlinux has joined #openstack-horizon22:51
*** flwang has joined #openstack-horizon22:51
*** david-lyle has joined #openstack-horizon22:55
*** ChanServ sets mode: +o david-lyle22:55
*** kristaps_ has quit IRC22:59
*** kristaps_ has joined #openstack-horizon22:59
*** john51_ has quit IRC23:01
*** john51 has joined #openstack-horizon23:04
*** harsha has joined #openstack-horizon23:06
harshahello, can anyone let me know if the following bug is fixed in ocata? https://bugs.launchpad.net/horizon/+bug/102350223:06
openstackLaunchpad bug 1023502 in OpenStack Identity (keystone) "Horizon does not use the default tenant" [High,Fix released] - Assigned to Dolph Mathews (dolph)23:06
harshawe are using keystone v3 and still see horizon dashboard not using the default_project_id for users23:07
*** david-lyle has quit IRC23:12
*** harsha has quit IRC23:12
*** harsha has joined #openstack-horizon23:13
*** david-lyle has joined #openstack-horizon23:13
*** ChanServ sets mode: +o david-lyle23:13
*** lblanchard has joined #openstack-horizon23:37
david-lyleharsha, horizon does not use the default_project_id. As that value is not obtainable by non-cloud-admin users, we can't. Horizon uses the first enabled project in the project list returned. Although we do look for the last project that the user scoped to.23:45
david-lyledefault project id is a concept that isn't properly implemented to be useful at login time.23:46
*** felipemonteiro_ has quit IRC23:46
david-lyleand IIRC keystone was trying to get rid of the concept. But I don't see any deprecation notices about it23:46
harshadavid-lyle what about the project_id set in the cookie? https://github.com/openstack/django_openstack_auth/blob/master/openstack_auth/backend.py#L12123:48
david-lylethat is the last project the user was scoped to23:49
harshawhen the user changes from one region to other, I do see the recent_project being set in the cookie but it's not being used23:49
david-lyleif the cookie is present that value will be used.23:49
david-lylehmm cross region23:49
harshayes, when we change from one region to other23:50
david-lylehave to think about that, I think regions are sticky (stored in a cookie) too23:50
david-lyleharsha, yes I understand23:50
david-lylelet me look at the region scoping code23:51
harshasure thanks23:51
david-lyleharsha if the cookie is not set for regions, the first region found that is not from an identity endpoint is used23:53
david-lyleso sticky region and sticky project23:54
david-lylethat is last region and last project scoping should be used23:54
*** itlinux has quit IRC23:54
harshaso, the cookie is not being used when the user is logged in and changes to a different region23:56
*** tosky has quit IRC23:56
david-lyleharsha once logged in no, I don't think so23:57
david-lylechecking23:57
david-lylein that case project stays the same23:58
david-lylethere is no region specific project scope values23:58
david-lylewe store one region and one project23:58
harshaThat created a problem for us when a user switched to a different region, he was taken to a different project and unaware of this he just deleted some VM's of different usres as he had admin access in that particular project23:59
david-lylebecause the user didn't have access to the first project in a different region?23:59

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