*** shu-mutou has joined #openstack-searchlight | 00:14 | |
*** ddieterly has joined #openstack-searchlight | 00:24 | |
*** yingjun has joined #openstack-searchlight | 00:25 | |
*** itisha has quit IRC | 00:30 | |
openstackgerrit | Merged openstack/python-searchlightclient: Use osc-lib instead of openstackclient https://review.openstack.org/333661 | 00:31 |
---|---|---|
*** ddieterly has quit IRC | 00:41 | |
*** ddieterly has joined #openstack-searchlight | 01:38 | |
*** ddieterly has quit IRC | 01:43 | |
*** ddieterly has joined #openstack-searchlight | 01:57 | |
*** GB21 has joined #openstack-searchlight | 02:15 | |
*** ddieterly has quit IRC | 02:29 | |
openstackgerrit | Rick Aulino proposed openstack/searchlight: Add Neutron security group plugin https://review.openstack.org/326767 | 02:41 |
*** GB21 has quit IRC | 02:42 | |
openstackgerrit | Rick 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/333649 | 02:53 |
*** M00nr41n has joined #openstack-searchlight | 03:47 | |
*** M00nr41n has quit IRC | 03:51 | |
*** M00nr41n has joined #openstack-searchlight | 03:53 | |
*** M00nr41n has quit IRC | 04:04 | |
*** M00nr41n has joined #openstack-searchlight | 04:06 | |
*** yingjun has quit IRC | 04:10 | |
*** yingjun has joined #openstack-searchlight | 04:11 | |
*** yingjun has quit IRC | 04:15 | |
*** yingjun has joined #openstack-searchlight | 04:37 | |
*** M00nr41n has quit IRC | 04:58 | |
*** yingjun has quit IRC | 05:04 | |
*** yingjun has joined #openstack-searchlight | 05:04 | |
*** yingjun has quit IRC | 05:08 | |
*** yingjun has joined #openstack-searchlight | 05:46 | |
*** M00nr41n has joined #openstack-searchlight | 05:53 | |
*** yingjun has quit IRC | 06:21 | |
*** pcaruana has joined #openstack-searchlight | 06:57 | |
*** openstackgerrit has quit IRC | 07:33 | |
*** openstackgerrit has joined #openstack-searchlight | 07:33 | |
*** openstackgerrit has quit IRC | 08:18 | |
*** openstackgerrit has joined #openstack-searchlight | 08:18 | |
*** shu-mutou has quit IRC | 09:28 | |
*** david-lyle has quit IRC | 09:45 | |
*** david-lyle has joined #openstack-searchlight | 09:59 | |
*** ddieterly has joined #openstack-searchlight | 11:48 | |
*** itisha has joined #openstack-searchlight | 11:55 | |
*** ddieterly has quit IRC | 12:07 | |
*** ddieterly has joined #openstack-searchlight | 12:24 | |
*** ddieterly has quit IRC | 12:29 | |
*** ddieterly has joined #openstack-searchlight | 12:46 | |
*** matt-borland has joined #openstack-searchlight | 12:50 | |
*** ddieterly has quit IRC | 12:56 | |
*** M00nr41n has quit IRC | 13:14 | |
matt-borland | tsufiev, I finally got around to testing your NG CORS Image upload...that is great! | 13:21 |
*** ddieterly has joined #openstack-searchlight | 13:30 | |
*** ddieterly is now known as ddieterly[away] | 13:30 | |
*** ddieterly[away] is now known as ddieterly | 13:39 | |
*** david-lyle has quit IRC | 14:10 | |
*** sjmc7 has joined #openstack-searchlight | 14:15 | |
*** M00nr41n has joined #openstack-searchlight | 14:28 | |
openstackgerrit | Merged openstack/python-searchlightclient: Use osc_lib instead of cliff https://review.openstack.org/335402 | 14:49 |
*** pcaruana has quit IRC | 15:08 | |
*** M00nr41n has quit IRC | 15:32 | |
*** david-lyle has joined #openstack-searchlight | 15:44 | |
*** david-lyle_ has joined #openstack-searchlight | 15:57 | |
*** david-lyle_ has quit IRC | 15:57 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-searchlightclient: Updated from global requirements https://review.openstack.org/336238 | 16:00 |
*** david-lyle_ has joined #openstack-searchlight | 16:00 | |
*** david-lyle has quit IRC | 16:04 | |
*** david-lyle_ is now known as david-lyle | 16:04 | |
*** GB21 has joined #openstack-searchlight | 16:06 | |
GB21 | hi sjmc7 and TravT | 16:07 |
sjmc7 | hi | 16:07 |
GB21 | How are u sjmc7 | 16:07 |
sjmc7 | ok. you? | 16:07 |
GB21 | I am good, trying to finish the patch | 16:07 |
GB21 | actually, I had few questions, regarding that | 16:08 |
TravT | hi GB21 in a meeting, but will try to split attention | 16:08 |
GB21 | sure TravT , no isuues | 16:08 |
GB21 | I have done as TravT had mentioned in the review and added a tenant_id, but nova session we are using from openstack_clien.py | 16:09 |
GB21 | doesnot list the flavors on the basis of projects | 16:10 |
GB21 | I think it uses only the admin credentials | 16:10 |
sjmc7 | is a flavor actually “owned” by a tenant? | 16:11 |
TravT | so, if you list all the flavors setting is_public=None | 16:11 |
sjmc7 | or are tenants only used as an access list? | 16:11 |
TravT | you don't get all of them? | 16:11 |
TravT | i thought you'd list them all | 16:12 |
TravT | then in the function that serializes a flavor | 16:12 |
GB21 | I will paste u my code, gimme a monment | 16:12 |
TravT | you make the access call | 16:12 |
GB21 | I did everything | 16:12 |
TravT | and it would show the current members. | 16:13 |
GB21 | http://paste.openstack.org/show/524648/ | 16:16 |
GB21 | I did this | 16:16 |
sjmc7 | the tenant access_list is a separate call | 16:16 |
GB21 | sjmc7, I used that | 16:16 |
sjmc7 | even if i create a flavor with is_public=0 there doesn’t appear to be a record of the tenant who created it | 16:17 |
GB21 | yeah, I understand that | 16:17 |
GB21 | in my paste, I have used nova_flavor_client; this is something I created my self in openstack_clients.py because | 16:18 |
sjmc7 | if i explicitly add access to a private flavor: | 16:18 |
sjmc7 | clients.nova.flavor_access.list(flavor=7) | 16:19 |
sjmc7 | [<FlavorAccess flavor id: 7, tenant id: 3ac1408178d14285b754e4b5280487a4>] | 16:19 |
GB21 | yepp, I did that as well | 16:19 |
sjmc7 | ok. so what’s the question? | 16:19 |
GB21 | it's just that in the elasticsearch, I think the credentials passed are those of admin | 16:20 |
sjmc7 | not sure what you mean by ‘the credentials' | 16:20 |
GB21 | when we create a nova object using python nova client | 16:21 |
GB21 | we pass some credentials, right | 16:21 |
TravT | GB21, sorry divided attention, but FYI, this is what horizon does to list the flavor access of each flavor | 16:21 |
sjmc7 | when we create a server, for example? | 16:21 |
TravT | https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/flavors/workflows.py#L149-L157 | 16:21 |
sjmc7 | or when we list them? | 16:21 |
TravT | looking at you code | 16:22 |
TravT | i'm baffled | 16:22 |
GB21 | well, we use a common python nova client, I guess; I do something like nova = novaclient.client.Client("2", **nova_cred) | 16:22 |
TravT | it is trying to get the flavor access list | 16:22 |
GB21 | shall I upload a patch | 16:23 |
TravT | and then setting the first one as the tenant id on the flavor | 16:23 |
GB21 | if u say | 16:23 |
TravT | that is not quite what we're trying to do | 16:23 |
TravT | we need to set the whole array of members | 16:23 |
TravT | as a property on the flavor | 16:23 |
GB21 | well, I am doing that in the serializer | 16:24 |
TravT | line 11 - 13 in your paste | 16:24 |
GB21 | well, tenant id wont be available for the public members | 16:25 |
GB21 | I guess | 16:25 |
GB21 | so I have added an attribbute of tenant only to the non public members | 16:26 |
TravT | so these are slightly different | 16:26 |
GB21 | and then, in serializer, for the non public members updated the dictionary with tenant id and the value as corresponding tenant id | 16:27 |
GB21 | line 24 - 28 | 16:27 |
GB21 | and empty tenant id for public ones | 16:27 |
sjmc7 | GB21: if you look at the glance image mapping, the ‘members’ property is exactly the same as the access list for flavors | 16:29 |
TravT | so line 11 - 13 in your paste. | 16:30 |
TravT | don't take the first one and set as tenant | 16:30 |
TravT | set the whole array as a members field | 16:30 |
TravT | GB 21 | 16:34 |
TravT | GB21 | 16:34 |
GB21 | umm, I will change the code as done with glance members, but one small question | 16:34 |
GB21 | I am here TravT | 16:34 |
TravT | some of this might be easier to visualize if you go to admin --> flavors | 16:34 |
TravT | in horizon | 16:34 |
TravT | although, if i remember right, you can't create private flavors in horizon... let me check that | 16:35 |
TravT | i had to do that via CLI | 16:35 |
GB21 | the example u gave me last time, where I changed the project id | 16:36 |
GB21 | while indexing these | 16:36 |
GB21 | that flavor did't show up | 16:37 |
TravT | did you change the flavor list input? | 16:38 |
GB21 | yepp | 16:38 |
TravT | so 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 |
GB21 | yes, I did exactly like this | 16:40 |
TravT | and you modified line 104 of this file like i mentioned: https://review.openstack.org/#/c/315409/8/searchlight/elasticsearch/plugins/nova/flavors.py | 16:40 |
TravT | but it doesn't come through for you? | 16:40 |
GB21 | okay, I did't pass this parameter | 16:42 |
GB21 | I will try with it once | 16:42 |
*** M00nr41n has joined #openstack-searchlight | 16:47 | |
*** ddieterly is now known as ddieterly[away] | 16:52 | |
*** ddieterly[away] is now known as ddieterly | 16:58 | |
*** ddieterly is now known as ddieterly[away] | 17:19 | |
*** ddieterly[away] has quit IRC | 18:19 | |
*** GB21 has quit IRC | 18:36 | |
*** GB21 has joined #openstack-searchlight | 18:52 | |
*** ddieterly has joined #openstack-searchlight | 19:09 | |
*** sjmc7_ has joined #openstack-searchlight | 19:39 | |
*** GB21 has quit IRC | 19:42 | |
*** sjmc7 has quit IRC | 19:42 | |
*** sjmc7_ is now known as sjmc7 | 19:42 | |
*** notmyname has quit IRC | 19:42 | |
*** jaimguer has quit IRC | 19:42 | |
*** M00nr41n_ has joined #openstack-searchlight | 19:42 | |
*** M00nr41n has quit IRC | 19:42 | |
*** notmyname has joined #openstack-searchlight | 19:47 | |
*** jaimguer has joined #openstack-searchlight | 19: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 UTC | 20:07 | |
*** ChanServ changes topic to "Gerrit is offline for maintenance until approximately 22:00 UTC" | 20:07 | |
*** ddieterly[away] is now known as ddieterly | 20:26 | |
*** RickA-HP has quit IRC | 21:46 | |
*** ddieterly is now known as ddieterly[away] | 21:49 | |
*** david-lyle has quit IRC | 21:51 | |
*** sigmavirus24 has quit IRC | 21:53 | |
*** sigmavirus24 has joined #openstack-searchlight | 21:54 | |
*** ddieterly[away] is now known as ddieterly | 22:12 | |
*** matt-borland has quit IRC | 22:14 | |
*** ddieterly is now known as ddieterly[away] | 22:55 | |
*** ddieterly[away] has quit IRC | 22:55 | |
*** sjmc7 has quit IRC | 22:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!