Friday, 2016-07-01

*** shu-mutou has joined #openstack-searchlight00:14
*** ddieterly has joined #openstack-searchlight00:24
*** yingjun has joined #openstack-searchlight00:25
*** itisha has quit IRC00:30
openstackgerritMerged openstack/python-searchlightclient: Use osc-lib instead of openstackclient  https://review.openstack.org/33366100:31
*** ddieterly has quit IRC00:41
*** ddieterly has joined #openstack-searchlight01:38
*** ddieterly has quit IRC01:43
*** ddieterly has joined #openstack-searchlight01:57
*** GB21 has joined #openstack-searchlight02:15
*** ddieterly has quit IRC02:29
openstackgerritRick Aulino proposed openstack/searchlight: Add Neutron security group plugin  https://review.openstack.org/32676702:41
*** GB21 has quit IRC02:42
openstackgerritRick Aulino proposed openstack/searchlight: To speed up Searchlight indexing and re-indexing we should use threads instead of inexing resource types sequentially.  https://review.openstack.org/33364902:53
*** M00nr41n has joined #openstack-searchlight03:47
*** M00nr41n has quit IRC03:51
*** M00nr41n has joined #openstack-searchlight03:53
*** M00nr41n has quit IRC04:04
*** M00nr41n has joined #openstack-searchlight04:06
*** yingjun has quit IRC04:10
*** yingjun has joined #openstack-searchlight04:11
*** yingjun has quit IRC04:15
*** yingjun has joined #openstack-searchlight04:37
*** M00nr41n has quit IRC04:58
*** yingjun has quit IRC05:04
*** yingjun has joined #openstack-searchlight05:04
*** yingjun has quit IRC05:08
*** yingjun has joined #openstack-searchlight05:46
*** M00nr41n has joined #openstack-searchlight05:53
*** yingjun has quit IRC06:21
*** pcaruana has joined #openstack-searchlight06:57
*** openstackgerrit has quit IRC07:33
*** openstackgerrit has joined #openstack-searchlight07:33
*** openstackgerrit has quit IRC08:18
*** openstackgerrit has joined #openstack-searchlight08:18
*** shu-mutou has quit IRC09:28
*** david-lyle has quit IRC09:45
*** david-lyle has joined #openstack-searchlight09:59
*** ddieterly has joined #openstack-searchlight11:48
*** itisha has joined #openstack-searchlight11:55
*** ddieterly has quit IRC12:07
*** ddieterly has joined #openstack-searchlight12:24
*** ddieterly has quit IRC12:29
*** ddieterly has joined #openstack-searchlight12:46
*** matt-borland has joined #openstack-searchlight12:50
*** ddieterly has quit IRC12:56
*** M00nr41n has quit IRC13:14
matt-borlandtsufiev, I finally got around to testing your NG CORS Image upload...that is great!13:21
*** ddieterly has joined #openstack-searchlight13:30
*** ddieterly is now known as ddieterly[away]13:30
*** ddieterly[away] is now known as ddieterly13:39
*** david-lyle has quit IRC14:10
*** sjmc7 has joined #openstack-searchlight14:15
*** M00nr41n has joined #openstack-searchlight14:28
openstackgerritMerged openstack/python-searchlightclient: Use osc_lib instead of cliff  https://review.openstack.org/33540214:49
*** pcaruana has quit IRC15:08
*** M00nr41n has quit IRC15:32
*** david-lyle has joined #openstack-searchlight15:44
*** david-lyle_ has joined #openstack-searchlight15:57
*** david-lyle_ has quit IRC15:57
openstackgerritOpenStack Proposal Bot proposed openstack/python-searchlightclient: Updated from global requirements  https://review.openstack.org/33623816:00
*** david-lyle_ has joined #openstack-searchlight16:00
*** david-lyle has quit IRC16:04
*** david-lyle_ is now known as david-lyle16:04
*** GB21 has joined #openstack-searchlight16:06
GB21hi sjmc7 and TravT16:07
sjmc7hi16:07
GB21How are u sjmc716:07
sjmc7ok. you?16:07
GB21I am good, trying to finish the patch16:07
GB21actually, I had few questions, regarding that16:08
TravThi GB21 in a meeting, but will try to split attention16:08
GB21sure TravT , no isuues16:08
GB21I have done as TravT had mentioned in the review and added a tenant_id, but nova session we are using from openstack_clien.py16:09
GB21doesnot list the flavors on the basis of projects16:10
GB21I think it uses only the admin credentials16:10
sjmc7is a flavor actually “owned” by a tenant?16:11
TravTso, if you list all the flavors setting is_public=None16:11
sjmc7or are tenants only used as an access list?16:11
TravTyou don't get all of them?16:11
TravTi thought you'd list them all16:12
TravTthen in the function that serializes a flavor16:12
GB21I will paste u my code, gimme a monment16:12
TravTyou make the access call16:12
GB21I did everything16:12
TravTand it would show the current members.16:13
GB21http://paste.openstack.org/show/524648/16:16
GB21I did this16:16
sjmc7the tenant access_list is a separate call16:16
GB21sjmc7, I used that16:16
sjmc7even if i create a flavor with is_public=0 there doesn’t appear to be a record of the tenant who created it16:17
GB21yeah, I understand that16:17
GB21in my paste, I have used nova_flavor_client; this is something I created my self in openstack_clients.py because16:18
sjmc7if i explicitly add access to a private flavor:16:18
sjmc7clients.nova.flavor_access.list(flavor=7)16:19
sjmc7[<FlavorAccess flavor id: 7, tenant id: 3ac1408178d14285b754e4b5280487a4>]16:19
GB21yepp, I did that as well16:19
sjmc7ok. so what’s the question?16:19
GB21it's just that in the elasticsearch, I think the credentials passed are those of admin16:20
sjmc7not sure what you mean by ‘the credentials'16:20
GB21when we create a nova object using python nova client16:21
GB21we pass some credentials, right16:21
TravTGB21, sorry divided attention, but FYI, this is what horizon does to list the flavor access of each flavor16:21
sjmc7when we create a server, for example?16:21
TravThttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/flavors/workflows.py#L149-L15716:21
sjmc7or when we list them?16:21
TravTlooking at you code16:22
TravTi'm baffled16:22
GB21well, we use a common python nova client, I guess; I do something like nova = novaclient.client.Client("2", **nova_cred)16:22
TravTit is trying to get the flavor access list16:22
GB21shall I upload a patch16:23
TravTand then setting the first one as the tenant id on the flavor16:23
GB21if u say16:23
TravTthat is not quite what we're trying to do16:23
TravTwe need to set the whole array of members16:23
TravTas a property on the flavor16:23
GB21well, I am doing that in the serializer16:24
TravTline 11 - 13 in your paste16:24
GB21well, tenant id wont be available for the public members16:25
GB21I guess16:25
GB21so I have added an attribbute of tenant only to the non public members16:26
TravTso these are slightly different16:26
GB21and then, in serializer, for the non public members updated the dictionary with tenant id and the value as corresponding tenant id16:27
GB21line 24 - 2816:27
GB21and empty tenant id for public ones16:27
sjmc7GB21: if you look at the glance image mapping, the ‘members’ property is exactly the same as the access list for flavors16:29
TravTso line 11 - 13 in your paste.16:30
TravTdon't take the first one and set as tenant16:30
TravTset the whole array as a members field16:30
TravTGB 2116:34
TravTGB2116:34
GB21umm, I will change the code as done with glance members, but one small question16:34
GB21I am here TravT16:34
TravTsome of this might be easier to visualize if you go to admin --> flavors16:34
TravTin horizon16:34
TravTalthough, if i remember right, you can't create private flavors in horizon... let me check that16:35
TravTi had to do that via CLI16:35
GB21the example u gave me last time, where I changed the project id16:36
GB21while indexing these16:36
GB21that flavor did't show up16:37
TravTdid you change the flavor list input?16:38
GB21yepp16:38
TravTso you created a private flavor and gave it access to a project like i showed in this paste: http://paste.openstack.org/show/523797/16:40
TravT?16:40
GB21yes, I did exactly like this16:40
TravTand you modified line 104 of this file like i mentioned: https://review.openstack.org/#/c/315409/8/searchlight/elasticsearch/plugins/nova/flavors.py16:40
TravTbut it doesn't come through for you?16:40
GB21okay, I did't pass this parameter16:42
GB21I will try with it once16:42
*** M00nr41n has joined #openstack-searchlight16:47
*** ddieterly is now known as ddieterly[away]16:52
*** ddieterly[away] is now known as ddieterly16:58
*** ddieterly is now known as ddieterly[away]17:19
*** ddieterly[away] has quit IRC18:19
*** GB21 has quit IRC18:36
*** GB21 has joined #openstack-searchlight18:52
*** ddieterly has joined #openstack-searchlight19:09
*** sjmc7_ has joined #openstack-searchlight19:39
*** GB21 has quit IRC19:42
*** sjmc7 has quit IRC19:42
*** sjmc7_ is now known as sjmc719:42
*** notmyname has quit IRC19:42
*** jaimguer has quit IRC19:42
*** M00nr41n_ has joined #openstack-searchlight19:42
*** M00nr41n has quit IRC19:42
*** notmyname has joined #openstack-searchlight19:47
*** jaimguer has joined #openstack-searchlight19:48
-openstackstatus- NOTICE: The infrastructure team is taking Gerrit offline for maintenance beginning shortly after 20:00 UTC to upgrade the Zuul and static.openstack.org servers. We aim to have it back online around 22:00 UTC.19:54
*** ddieterly is now known as ddieterly[away]20:03
-openstackstatus- NOTICE: Gerrit is offline for maintenance until approximately 22:00 UTC20:07
*** ChanServ changes topic to "Gerrit is offline for maintenance until approximately 22:00 UTC"20:07
*** ddieterly[away] is now known as ddieterly20:26
*** RickA-HP has quit IRC21:46
*** ddieterly is now known as ddieterly[away]21:49
*** david-lyle has quit IRC21:51
*** sigmavirus24 has quit IRC21:53
*** sigmavirus24 has joined #openstack-searchlight21:54
*** ddieterly[away] is now known as ddieterly22:12
*** matt-borland has quit IRC22:14
*** ddieterly is now known as ddieterly[away]22:55
*** ddieterly[away] has quit IRC22:55
*** sjmc7 has quit IRC22:57

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