Monday, 2021-03-29

*** rcernin has joined #openstack-trove00:00
*** sapd1 has quit IRC00:34
*** rcernin has quit IRC03:06
*** rcernin has joined #openstack-trove03:11
__ministryHi, lxkong03:18
__ministryI was contributing to trove for support meta_data field. but I  see we can crud with metadata in link: https://docs.openstack.org/python-troveclient/ussuri/cli/trove.html#trove-metadata-create03:18
__ministryCan you tell me about this metadata?03:18
__ministryI also see in python-trove client have class: https://github.com/openstack/python-troveclient/blob/master/troveclient/v1/metadata.py but I can't run it.03:20
*** sapd1 has joined #openstack-trove03:23
*** sapd1 has quit IRC05:09
*** yasemind has joined #openstack-trove05:26
*** Reepicheep has quit IRC05:52
*** Reepicheep has joined #openstack-trove05:53
yasemindlxkong lxkong in stable/victoria devstack, postgre is working successfully, it is suprising for me but i didnt understand why not running in our HA stable/victoria test enviroment, building with openstack-ansible, do you have any idea?06:30
lxkong> <__ministry> I was contributing to trove for support meta_data field06:34
lxkongi am still not sure about your requirements06:35
lxkongyasemind: i've no idea. If it's working in devstack, it should also work in your deployment. I don't know how openstack-ansible deploys trove.06:35
lxkongi remember in Victoria, there are some functions missing for postgresql06:36
lxkongI've proposed several patches in Wallaby for postgresql, it's better than V.06:36
yaseminddo you recommend to use W ?06:37
lxkongyasemind: depends on your requirements06:37
yasemindwe want to support mysql, mariadb and postgresql06:38
yasemindafter, redis cassansdra etc.06:38
yasemindmongo06:38
lxkongyasemind: you can try first in devstack to see if the existing functions could satisfy your requriements.06:39
__ministrylxkong: I have 3 type of database instance that are: basic, premium, enterprise, each type will be limited data transfer, bandwidth, iops, ... I want save it to metadata to not need an other database to save this informations. Can you give advice to me?06:39
lxkongif not, we could see if the missing features are supported in W, if not neither, we could discuss how we could implement06:40
yasemindlxkong okey i will build to devstack with W06:40
lxkong__ministry: if tags are supported, do you think it will do what you want?06:40
__ministryYep, sure.06:42
__ministrybut can you talk about metadata in this link: https://docs.openstack.org/python-troveclient/ussuri/cli/trove.html#trove-metadata-create? I can't use it.06:43
lxkong__ministry: the links you provided make sense. I remember Trove supported metadata before, but I need to check if it's still the case now.06:43
__ministryyes, many thanks.06:44
lxkongWhen I started contributing Trove, I didn't see the metadata thing in API doc, not in trove openstack CLI implementation.06:45
*** ahsen has joined #openstack-trove06:50
__ministryCan you check it? I thinks this is an important field, it can help we very other if you want save some data without other database.06:51
lxkong__ministry: I just checked, I didn't see there is any db table related to metadata06:53
lxkongso to make consistent with other openstack services, we could add tag support06:54
lxkong__ministry: are familar with tag support in other openstack services?06:54
lxkongare you familiar with tag support in other openstack services?06:54
lxkongyou can take a look at their API doc first, have a try in CLI, then (if you want to save time) read their source code for implementation.06:57
lxkongtag support shouldn't be related to datastore functions, so the implementation should only touch API layer.06:58
__ministry i can familiar with metadata in some openstack service, and tag - i just see in neutron to set for networks and subnets.07:04
__ministrybut, it is array not string.07:05
lxkong__ministry: Nova: https://docs.openstack.org/api-ref/compute/#server-tags-servers-tags; Octavia: https://docs.openstack.org/api-ref/load-balancer/v2/index.html#filtering-by-tags07:07
lxkongtag is an array of strings.07:07
lxkong__ministry: yeah, you can choose to implement metadata (key-value pairs)07:08
lxkongup to you.07:08
__ministryby the way, can you tell me why you suggest me use tag?07:08
lxkongin the history, tags were recommended in openstack services for filtering07:10
lxkongbut that's history, not many services were following that way07:10
__ministryyep, I want use metadata to save custom my information like as other services in openstack. because not need to filtering.07:15
__ministryI just want read data from that.07:15
__ministryso can you approved my commit?07:19
*** e0ne has joined #openstack-trove07:22
*** rcernin has quit IRC07:29
*** sapd1 has joined #openstack-trove08:15
*** tosky has joined #openstack-trove08:28
*** rcernin has joined #openstack-trove08:48
yasemindlxkong i want to functional test in our test environment, how can i run functional test without devstack?08:56
*** rcernin has quit IRC09:00
*** rcernin has joined #openstack-trove09:52
*** rcernin has quit IRC10:07
*** rcernin has joined #openstack-trove10:07
*** rcernin has quit IRC10:20
*** rcernin has joined #openstack-trove10:27
*** rcernin has quit IRC10:38
lxkongyasemind: you can run trove tempest10:43
lxkong__ministry: i will review your code before approving10:43
__ministryyep, thank you.10:43
yasemindlxkong do trove tempest run in stable/victoria ?10:44
*** e0ne has quit IRC10:51
*** rcernin has joined #openstack-trove10:52
*** e0ne has joined #openstack-trove10:56
*** e0ne has quit IRC10:58
lxkong__ministry: I left a comment in https://review.opendev.org/c/openstack/trove/+/78282910:59
lxkongAdding a field in instance table will make it hard for filtering by metadata11:00
lxkongfiltering by metadata is a very useful feature for users.11:00
lxkongand please use `metadata` instead of `meta_data`11:01
*** rcernin has quit IRC11:05
*** e0ne has joined #openstack-trove11:47
*** e0ne has quit IRC12:09
__ministryyes, and I also want add metadata to nova vm. so I think we still need pass to task manager.12:13
*** sapd1 has quit IRC12:25
*** sapd1 has joined #openstack-trove13:40
*** rcernin has joined #openstack-trove14:01
*** rcernin has quit IRC14:06
*** __ministry1 has joined #openstack-trove15:09
*** ahsen has quit IRC15:39
*** __ministry1 has quit IRC16:53
*** yasemind has quit IRC17:03
lxkong> __ministry> yes, and I also want add metadata to nova vm. so I think we still need pass to task manager.19:31
lxkongok, make sense19:31
*** e0ne has joined #openstack-trove20:51
*** e0ne has quit IRC22:13
*** e0ne has joined #openstack-trove22:18
*** e0ne has quit IRC22:19
*** rcernin has joined #openstack-trove22:24
*** rcernin has quit IRC22:24
*** rcernin has joined #openstack-trove22:24

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!