*** slaweq has joined #openstack-sdks | 00:10 | |
*** slaweq has quit IRC | 00:15 | |
openstackgerrit | Bharat Kunwar proposed openstack/openstacksdk master: Do not disregard tags when updating stacks https://review.openstack.org/643195 | 00:16 |
---|---|---|
openstackgerrit | Bharat Kunwar proposed openstack/openstacksdk master: Do not disregard tags when updating stacks https://review.openstack.org/643195 | 00:22 |
openstackgerrit | Bharat Kunwar proposed openstack/openstacksdk master: Do not disregard tags when updating stacks https://review.openstack.org/643195 | 00:25 |
*** holser_ has quit IRC | 00:56 | |
*** slaweq has joined #openstack-sdks | 01:11 | |
*** slaweq has quit IRC | 01:16 | |
*** adriant has joined #openstack-sdks | 01:33 | |
*** whoami-rajat has joined #openstack-sdks | 02:02 | |
adriant | mordred: patch is good. And I forget I still have +2 powers on the SDK. But with the cleanup goal coming that will probably be useful! | 02:33 |
adriant | I just tested it with: conn = connection.Connection(auth=dict(auth_url=os.environ.get('OS_AUTH_URL'), username=os.environ.get('OS_USERNAME'), password=os.environ.get('OS_PASSWORD'), user_domain_name='default')) | 02:33 |
adriant | and then: list(conn.identity.user_projects(conn.session.get_user_id())) | 02:33 |
*** dave-mccowan has joined #openstack-sdks | 02:49 | |
*** dave-mccowan has quit IRC | 02:54 | |
*** slaweq has joined #openstack-sdks | 03:11 | |
*** slaweq has quit IRC | 03:15 | |
*** kailun has quit IRC | 03:32 | |
*** kailun has joined #openstack-sdks | 03:44 | |
*** slaweq has joined #openstack-sdks | 04:11 | |
*** slaweq has quit IRC | 04:15 | |
*** gtema has joined #openstack-sdks | 06:05 | |
*** gtema has quit IRC | 06:06 | |
*** slaweq has joined #openstack-sdks | 06:11 | |
*** slaweq has quit IRC | 06:16 | |
*** slaweq has joined #openstack-sdks | 06:18 | |
*** Luzi has joined #openstack-sdks | 06:46 | |
*** markvoelker has quit IRC | 07:19 | |
*** tosky has joined #openstack-sdks | 07:23 | |
*** e0ne has joined #openstack-sdks | 07:45 | |
*** gkadam_ has joined #openstack-sdks | 07:50 | |
*** gtema has joined #openstack-sdks | 07:54 | |
openstackgerrit | Artem Goncharov proposed openstack/openstacksdk master: WIP Split OpenStackCloud into reasonable pieces https://review.openstack.org/642218 | 07:58 |
*** holser_ has joined #openstack-sdks | 08:03 | |
*** tssurya has joined #openstack-sdks | 08:12 | |
*** holser_ has quit IRC | 08:17 | |
*** holser_ has joined #openstack-sdks | 08:22 | |
*** ttsiouts has joined #openstack-sdks | 08:37 | |
*** slaweq has quit IRC | 08:53 | |
openstackgerrit | Bharat Kunwar proposed openstack/openstacksdk master: Do not disregard tags when updating stacks https://review.openstack.org/643195 | 08:53 |
*** slaweq has joined #openstack-sdks | 08:55 | |
*** dtantsur|afk is now known as dtantsur | 08:59 | |
*** jpena|off is now known as jpena | 09:00 | |
*** jpich has joined #openstack-sdks | 09:24 | |
*** e0ne has quit IRC | 09:43 | |
*** e0ne has joined #openstack-sdks | 09:46 | |
*** gtema has quit IRC | 10:03 | |
*** gtema has joined #openstack-sdks | 10:09 | |
*** cdent has joined #openstack-sdks | 10:11 | |
*** jpich has quit IRC | 11:01 | |
*** jpich has joined #openstack-sdks | 11:02 | |
*** yolanda has quit IRC | 11:02 | |
*** yolanda has joined #openstack-sdks | 11:03 | |
*** zbr has quit IRC | 11:16 | |
*** ttsiouts has quit IRC | 11:44 | |
*** dave-mccowan has joined #openstack-sdks | 11:45 | |
*** zbr has joined #openstack-sdks | 11:59 | |
openstackgerrit | Pierre Riteau proposed openstack/openstacksdk master: Do not disregard tags when updating stacks https://review.openstack.org/643195 | 12:01 |
*** jpena is now known as jpena|lunch | 12:12 | |
*** ttsiouts has joined #openstack-sdks | 12:17 | |
openstackgerrit | Pierre Riteau proposed openstack/openstacksdk master: Do not disregard tags when updating stacks https://review.openstack.org/643195 | 12:24 |
*** e0ne has quit IRC | 12:31 | |
*** e0ne has joined #openstack-sdks | 13:32 | |
*** elmiko has joined #openstack-sdks | 13:43 | |
*** gtema has quit IRC | 13:50 | |
*** jpena|lunch is now known as jpena | 13:50 | |
mordred | adriant: \o/ | 13:51 |
mordred | Shrews: if you have a minute - mind reviewing https://review.openstack.org/#/c/614834 today ? we need it for the nodepool patches | 14:18 |
Shrews | mordred: ack | 14:19 |
Shrews | mordred: are counter stats for statsd the only thing we're going to use? | 14:25 |
Shrews | s/thing/stats type/ | 14:26 |
mordred | Shrews: they're the only thing we have been using I think? | 14:28 |
mordred | Shrews: I basically grabbed the statsd code from the nodepool taskmanager and shoved it in there | 14:29 |
Shrews | mordred: hrm, i thought nodepool made use of gauge stats somewhere | 14:29 |
Shrews | mordred: i'll look more in a bit. gotta afk for an appt for a few | 14:30 |
mordred | Shrews: I think it does - but not for sdk operations | 14:30 |
mordred | Shrews: fwiw - I also started working on an abstraction library: https://review.openstack.org/#/c/621295/ | 14:31 |
openstackgerrit | Merged openstack/promstat master: Change openstack-dev to openstack-discuss https://review.openstack.org/622346 | 14:40 |
*** ttsiouts has quit IRC | 14:50 | |
*** ttsiouts has joined #openstack-sdks | 14:51 | |
*** Shrews has quit IRC | 14:51 | |
*** mordred has quit IRC | 14:51 | |
*** ttsiouts has quit IRC | 14:51 | |
*** ttsiouts has joined #openstack-sdks | 14:52 | |
*** holser_ has quit IRC | 14:53 | |
*** Shrews has joined #openstack-sdks | 14:53 | |
*** mordred has joined #openstack-sdks | 14:57 | |
*** yolanda has quit IRC | 14:57 | |
edleafe | For you DST-challenged folks, the API-SIG Office hour starts one hour from now | 15:01 |
*** mordred has quit IRC | 15:23 | |
*** gtema has joined #openstack-sdks | 15:29 | |
*** mordred has joined #openstack-sdks | 15:29 | |
*** yolanda has joined #openstack-sdks | 15:45 | |
gtema | dtantsur: where have you left your mobile in Frankfurt going to USA Embassy? I am hopefully going to the Summit I will manage everything in time | 15:56 |
dtantsur | gtema: I left at the hotel. but in practice, despite ugly warnings, they accept mobile phones for storing at the security | 15:57 |
gtema | dtantsur: ok, thanks. It is really interesting. I am traveling with a train for a day, so hotel is no option. | 15:58 |
dtantsur | gtema: I guess it takes you less time to get there :) | 15:58 |
gtema | that's for sure | 15:59 |
dtantsur | for me the fastest ICE is 4 hours, I think | 15:59 |
gtema | but not if you mean train - 3 hours | 15:59 |
gtema | ah, ok | 15:59 |
gtema | and I am not with ICE: RB+RE+ICE | 15:59 |
dtantsur | brutal | 16:00 |
elmiko | API SIG office hour is now starting! | 16:00 |
edleafe | Let the API-SIG Office Hour begin! | 16:00 |
edleafe | jinxish | 16:00 |
dtantsur | gtema: it may make sense to get there 30 minutes before your appointment. lines everywhere. | 16:00 |
elmiko | haha ^5 edleafe =) | 16:00 |
dtantsur | lol | 16:00 |
dtantsur | today we discuss US visas \o/ | 16:00 |
elmiko | i like that we both thought it was exciting enough to add an exclamation mark to the end | 16:01 |
gtema | pure drive - 2 Std, plus lots of waitings and delays | 16:01 |
edleafe | elmiko: well, duh! They are always exciting! | 16:01 |
elmiko | hahaha =) | 16:01 |
elmiko | edleafe++ | 16:01 |
edleafe | dtantsur: so are you having an issue getting a visa for Denver? | 16:01 |
gtema | dtantsur: thanks for hint. Will be there anyway earlier due to the schedule. How much time did it took you in the embassy? | 16:02 |
*** jangutter has quit IRC | 16:02 | |
dtantsur | edleafe: I've got mine already. As unpleasant as usual, and now more expensive. | 16:02 |
*** jangutter has joined #openstack-sdks | 16:03 | |
gtema | edleafe: it is not easy. To apply you need to fill a form with 1000 of questions, with contact data of everyone, each previous employee, address of the university, DNA sample end so on ;-) | 16:03 |
dtantsur | gtema: forever. arrived there around 11:00, I got back to the main station around 14:00 | 16:03 |
edleafe | dtantsur: just curious - what does a visa cost for you? | 16:03 |
*** Luzi has quit IRC | 16:03 | |
gtema | ah, ok. My appointment is also at 11 | 16:03 |
gtema | edleafe: around 180Euro | 16:04 |
dtantsur | edleafe: (fortunately not for me, for Red Hat) $160 is application, $143 to issue a 3 year visa for a Russian | 16:04 |
gtema | plus travel costs to embassy | 16:04 |
dtantsur | and then I had to stay overnight and the trains are pretty expensive too | 16:04 |
cdent | ooph | 16:04 |
edleafe | ugh | 16:04 |
dtantsur | (actually, the hotel was the cheapest part) | 16:04 |
edleafe | I thought with Trump in office Russians get in for free! | 16:04 |
elmiko | lol | 16:05 |
gtema | in addition to application you need to pay immediately for the passport delivery back to you (I think it was aroung 20€) | 16:05 |
dtantsur | weeellll... these things work on high levels :) | 16:05 |
dtantsur | gtema: right, 18+ EUR | 16:05 |
edleafe | gtema: I don't envy you | 16:05 |
edleafe | Sounds like a super hassle | 16:05 |
dtantsur | edleafe: you may get some taste of it with the Summit in China ;) | 16:06 |
gtema | it's quite unique - they send your pass back to you per UPS | 16:06 |
gtema | and if you need it in the meanwhile - no luck | 16:06 |
elmiko | seems like travel to the EU might be changing for us as well | 16:06 |
dtantsur | gtema: it was less than a week for me though | 16:06 |
edleafe | dtantsur: yeah, if IBM ever gets their shit together. I still haven't gotten approval for Denver! | 16:06 |
dtantsur | unlike for Canada, where I had to send my passport THERE by post, and then receive it back. | 16:06 |
elmiko | ouch edleafe | 16:07 |
elmiko | dtantsur: w.t.f. | 16:07 |
dtantsur | edleafe: 1. wait for the acquisition, 2. move to the Red Hat part, 3...., 4. PROFIT | 16:07 |
gtema | I got my approval just last week, and it is recommended to start whole visa process minimum 2 month in advance | 16:07 |
elmiko | dtantsur++ | 16:07 |
dtantsur | gtema: don't want to scare you, but the worst case is 6 months :) | 16:08 |
gtema | ha-ha. Let's see. The money is anyway already "gone" | 16:08 |
dtantsur | oh, and for Canada the embassy was in a different country (Austria covers for CZ) | 16:08 |
dtantsur | indeed :) | 16:08 |
* cdent is reminded to check his esta | 16:08 | |
gtema | German visa from Ukraine was a half day activity (plus 1-2 month waiting for an appointment) | 16:09 |
dtantsur | waiting for appointments is a national thing here :) | 16:09 |
gtema | yupp | 16:09 |
dtantsur | gtema: are you coming for the whole week? | 16:10 |
edleafe | Well, after all that effort, the least we from the US can do is by a beer for all of you! | 16:10 |
gtema | hopefully: 27.04-04.05 | 16:10 |
dtantsur | neat! | 16:11 |
dtantsur | edleafe++ | 16:11 |
gtema | and from the whole travel the hotel is the most expensive - 2000$. It's crazy | 16:11 |
dtantsur | yeah, it's ridiculous. I even got a relatively cheap flight ("only" ~700 EUR). but the hotel... | 16:12 |
elmiko | is that the denver renaissance hotel that is $2000? | 16:12 |
dtantsur | yeah, the default one | 16:12 |
elmiko | yikes! | 16:12 |
elmiko | did they raise their prices or something? | 16:12 |
dtantsur | I think it is $1400+ for me with all discounts | 16:12 |
elmiko | wow | 16:12 |
dtantsur | it's $250 per night | 16:13 |
dtantsur | + taxes if I recall correctly | 16:13 |
elmiko | for 1 week, 1400 seems about right | 16:13 |
elmiko | but i mean, it's not like that hotel is "downtown" | 16:13 |
dtantsur | well, wait | 16:13 |
dtantsur | this is a different place now, not the choo-choo hotel | 16:13 |
elmiko | oooh, ok | 16:13 |
elmiko | i thought it was the same | 16:13 |
dtantsur | it IS downtown, like very-very fancy downtown | 16:13 |
gtema | Hyat | 16:13 |
dtantsur | right | 16:14 |
edleafe | yeah, no trains for the Train summit | 16:14 |
elmiko | alright then, that seems more "reasonable" XD | 16:14 |
gtema | are there any additional discounts available? I get only 250$ per night | 16:15 |
gtema | wow, just recognized. If I am departing on 27.04 I am there on 28.04, so I need only 7 days, and not 8. Whew, -250$ | 16:17 |
elmiko | \o/ | 16:17 |
dtantsur | gtema: depends on your flight, but usually road to the west is the same day | 16:19 |
gtema | yes, you are right. Checking math of my daughter confused me. Hi-hi | 16:20 |
gtema | so back to 8 nights | 16:20 |
elmiko | /o\ | 16:21 |
edleafe | I added an item to the agenda https://wiki.openstack.org/wiki/Meetings/API-SIG#Agenda | 16:21 |
edleafe | "Discuss the advice on setting tags on existing resources. Why should that be a separate call? See https://review.openstack.org/#/c/642497/1/guidelines/tags.rst@141 for the background discussion. | 16:22 |
dtantsur | ah, that patch I was too lazy to review :) | 16:22 |
edleafe | Basically, it comes down to: why do tags need a distinct endpoint to be set? Why can't they be treated like any other attribute of a resource | 16:23 |
gtema | and I had absolutely no time to make a patch for keystone region configuration. Spending the whole day on the phone or writing emails | 16:23 |
elmiko | edleafe: that seems entirely reasonable to me, on the surface | 16:23 |
dtantsur | edleafe: it may depend on the exact API, I guess? | 16:24 |
dtantsur | if tags are just a field of an object - fine | 16:24 |
dtantsur | if you can do something like PUT /v1/bananas/b1/tags/VERY_TASTY, it's a bit different story | 16:24 |
gtema | I also dislike requirement to PUT tags in a separate call and sometimes need to fetch them separately | 16:25 |
elmiko | that latter style seems painful to some part of me | 16:25 |
edleafe | dtantsur: it's PUT /resouce/{id}/tags with a body containing the list of tags | 16:25 |
dtantsur | edleafe: then I agree with you | 16:26 |
edleafe | I'm not understanding why tags were considered special in the first place as far as URIs are concerned. The guidance about tag limitations make sense | 16:26 |
*** jangutter_ has joined #openstack-sdks | 16:27 | |
edleafe | Does anyone here know Miguel Grinberg? Git blame shows him as the primary author of that guideline | 16:27 |
dtantsur | The first time I hear this name | 16:28 |
elmiko | i know him | 16:28 |
elmiko | he was active in the "wg" when we first started, pretty sure you might have met him at one of those meetings edleafe | 16:28 |
elmiko | he's also highly active in the flask community | 16:29 |
edleafe | elmiko: do you recall any of the discussions about tag URIs? | 16:29 |
*** jangutter has quit IRC | 16:30 | |
elmiko | edleafe: only very vaguely, dtantsur callout of the `PUT /v1/bananas/b1/tags/VERY_TASTY` kicks some dust, but not enough | 16:30 |
elmiko | fwiw, i tend to agree with the discussion now about making this like a normal resource update | 16:31 |
gtema | I would prefer if both ways work: normal resource op and a separate | 16:32 |
edleafe | Here is the original patch that created that guideline: https://review.openstack.org/#/c/155620/1/guidelines/tags.rst@15 | 16:32 |
elmiko | as far as guidance goes, i like the idea of prescribing the normal resource op, but not making that the /only/ option | 16:33 |
edleafe | well, ignore the @15 part | 16:33 |
edleafe | but it seems that the idea was to give the ability to set and delete individual tags using /resource/{id}/tags/foo | 16:33 |
edleafe | with no body | 16:34 |
elmiko | hmm, the "Tags Resource URLs" sheds some light on the reasoning imo | 16:34 |
elmiko | heh, you and me edleafe, just same thought train today lol | 16:34 |
edleafe | elmiko: so it seems that the idea is to provide some shortcuts when creating/deleting/searching tags | 16:36 |
elmiko | ++, certainly seems so | 16:36 |
edleafe | instead of "you must work with tags this way!" | 16:36 |
elmiko | "Note that this representation differs from the one adopted by Nova." | 16:37 |
elmiko | XD | 16:37 |
gtema | btw about searching tags. Is there any guidance/service/project/etc to search all resources based on tags? | 16:37 |
elmiko | good question, i'm not sure immediately. would have to check | 16:38 |
*** e0ne has quit IRC | 16:38 | |
elmiko | gtema: would that be guidance about creating an api for doing that type of search? | 16:39 |
elmiko | or on the merits of that type of search? | 16:39 |
edleafe | gtema: there is http://specs.openstack.org/openstack/api-sig/guidelines/tags.html#filtering-and-searching-by-tags | 16:39 |
edleafe | gtema: or did you mean something more? | 16:39 |
elmiko | edleafe++ | 16:39 |
gtema | well, I was meaning more global. I.e. in AWS you can search all different resource types having specific tag set | 16:40 |
elmiko | imo, that would be highly project dependent but could still follow the advice that edleafe linked | 16:40 |
elmiko | like if your project wanted it, why not have a `GET /all?tags=foo` or whatever makes sense | 16:41 |
elmiko | or are you talking about cross-project? | 16:41 |
gtema | well, even only project base is already a very good beginning | 16:41 |
gtema | this is to some extend same issue as with project cleanup - find everything in a project | 16:42 |
edleafe | gtema: and it would be an equally difficult task to do that across OpenStack | 16:43 |
*** jangutter_ is now known as jangutter | 16:43 | |
gtema | but here users might mark all own resources with a specific tag and would probably like to find all resources they have created to clean them up | 16:43 |
gtema | edleafe: I know | 16:43 |
elmiko | yeah, for cross-project stuff i think about searchlight. weren't they doing stuff in this area about finding resources? | 16:43 |
gtema | that is simply something with exist as a ugly bad custom "solution" in our cloud | 16:44 |
edleafe | gtema: So I understand the benefit of resource cleanup when a project is deleted. What would the benefit of tag search be? | 16:44 |
gtema | s/with/which/ | 16:44 |
elmiko | gtema: have you seen https://wiki.openstack.org/wiki/Searchlight ? | 16:44 |
gtema | as a user I want to find all resources in a project, that belong to me | 16:44 |
gtema | no, not yet | 16:44 |
*** tssurya has quit IRC | 16:45 | |
gtema | my problem is that I need to fight (and will definitely loose) the game - let us also use this project | 16:45 |
elmiko | i just remembered it as an effort to do something similar to what you are talking about | 16:46 |
gtema | use = install | 16:46 |
elmiko | understood | 16:46 |
gtema | ok, thanks for point. Will dig further | 16:46 |
gtema | one reasonable use case: I leave the company (or go for a longer vacation, etc) and would like to clean only my resources (which were tagged) from the shared project | 16:48 |
elmiko | makes sense to me | 16:50 |
elmiko | but like, you will need to query multiple servies to get that info | 16:50 |
edleafe | gtema: I agree that that would be useful. I just cringe at the thought of getting all OpenStack teams to implement it | 16:50 |
elmiko | i had /thought/ that's what searchlight was about | 16:50 |
gtema | :D | 16:50 |
*** gkadam_ has quit IRC | 16:50 | |
elmiko | edleafe: cringe is a good reaction, iiuc searchlight uses elasticsearch to index all the info, so it's no lightweight solution | 16:52 |
gtema | definitely | 16:53 |
edleafe | elmiko: True, but again that requires that all OpenStack projects either a) agree to push their information to searchlight, or b) provide an API that searchlight can query for the info | 16:53 |
elmiko | right | 16:54 |
elmiko | and i am not sure how they addressed that issue, i just remember watching some cool talks and demos about it =) | 16:54 |
gtema | current list of supported OpenStack services are: Cinder, Designate, Glance, Neutron, Nova, Swift | 16:56 |
edleafe | Elasticsearch is pretty awesome. Getting OpenStack projects to agree on something isn't :) | 16:57 |
gtema | Each OpenStack service will place notifications for any state change in RabbitMQ | 16:57 |
elmiko | edleafe: LOL yes!!! | 16:57 |
gtema | that's what API-SIG is doing, isn't it ;-) | 16:57 |
edleafe | gtema: yeah, let's re-invent distributed databases! | 16:57 |
elmiko | gtema: well, we provide guidance but we have always said that we are not the api police ;) | 16:58 |
gtema | and that's sad. Sometimes the police (or even S.W.A.T.) is necessary to bring things back | 16:58 |
edleafe | Although we might look pretty snazzy in our API Police uniforms! | 16:59 |
elmiko | haha | 16:59 |
edleafe | gtema: unfortunately, OpenStack has always been more about not hurting anyone's feelings than creating great software | 16:59 |
* gtema is crying | 17:00 | |
* edleafe hands gtema a tissue | 17:00 | |
gtema | thanks | 17:00 |
edleafe | Well, the office hour is over, and I have to run out for a bit. | 17:00 |
elmiko | well, also, in the beginning there was no api guidance and to empower open collaboration and development you kinda have to let everyone in if you don't have standards ;) | 17:00 |
elmiko | later edleafe o/ | 17:00 |
gtema | yeah | 17:01 |
elmiko | it's a tough issue | 17:01 |
gtema | I know. Closed-source is bad, but opensource has also problems | 17:02 |
elmiko | yup, no magic solutions | 17:02 |
elmiko | i'm gonna grab some lunch, take care o/ | 17:02 |
gtema | yup. have a nice day | 17:03 |
*** gtema has quit IRC | 17:11 | |
*** dtantsur is now known as dtantsur|afk | 17:18 | |
*** cdent has quit IRC | 17:32 | |
*** jpich has quit IRC | 17:38 | |
*** cdent has joined #openstack-sdks | 17:46 | |
*** e0ne has joined #openstack-sdks | 17:46 | |
*** ttsiouts has quit IRC | 17:55 | |
*** ttsiouts has joined #openstack-sdks | 17:56 | |
*** ttsiouts has quit IRC | 18:00 | |
*** jpena is now known as jpena|off | 18:27 | |
*** e0ne has quit IRC | 18:33 | |
*** e0ne has joined #openstack-sdks | 18:40 | |
*** cdent has quit IRC | 18:48 | |
*** gmann is now known as gmann_afk | 18:51 | |
*** yolanda has quit IRC | 19:46 | |
*** whoami-rajat has quit IRC | 21:31 | |
*** e0ne has quit IRC | 22:28 | |
*** gmann_afk is now known as gmann | 22:40 | |
openstackgerrit | Rodolfo Alonso Hernandez proposed openstack/openstacksdk master: Add "name" filter in "list" call when retrieving a single register https://review.openstack.org/637238 | 23:15 |
*** slaweq has quit IRC | 23:25 | |
*** tosky has quit IRC | 23:26 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!