Earlier  
Posted Nick Remark
#openstack-sdks - 2017-11-13
15:41:24 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add ability to work in other auth contexts https://review.openstack.org/519394
15:41:35 mordred kuzko: ^^ maybe that will actually give you the tools you need
15:42:35 mordred kuzko: also - list_domains IS a thing, but it's in the OperatorCloud object, so instead of shade.openstack_cloud() you need to use shade.operator_cloud() ... and thanks, that points out a bug in the patch above
15:43:53 Shrews mordred: k, I get it now. Thx
15:43:54 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add ability to work in other auth contexts https://review.openstack.org/519394
15:47:31 mordred kuzko, Shrews: ^^ ... if that looks good to folks, I'll add some tests for it ... I tested it locally with http://paste.openstack.org/show/626175/ ... although I just added one more line to that test and found a place it's unhappy
15:54:06 kuzko hummmm... I didn't expect to raise a patch ... so I'm kinda stuck because the public cloud I use seems to lock access to operator_cloud() stuff (quite understandable) so ... hmmmmm
15:54:58 mordred kuzko: well - the patch I've got above should handle the domain stuff without needing operator cloud or list_domains ...
15:55:51 mordred kuzko: if the projects are in different domains, then list_projects should return domain-id in the project payload - and connect_as_project / as_project should properly pull that from the project dict returned from list_projects
15:57:10 mordred kuzko: you can TOTALLY copy-pasta code from those methods in to your program - but we can also likely get a new shade release cut with those methods within the day if they work for you
15:57:32 mordred speaking of - I should really get a cloudwatt acount ...
15:57:52 kuzko oh right, i'll try to copy paste my way out of this...
15:58:47 kuzko and I don't really suggest this, they are quite terrible... for them, an horizon console unavailable is not considered downtime if the API's endpoints on one of the two regions are available...
16:03:02 mordred kuzko: well - that may be - but I like to have accounts on all the public clouds so that I can do testing against them from time to time
16:03:29 mordred kuzko: it wasn't an issue this time, but sometimes if you have an issue on cloudwatt and I try to reproduce it on citycloud I can't ...
16:03:42 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add ability to work in other auth contexts https://review.openstack.org/519394
16:03:45 mordred this time with tests
16:04:58 mordred kuzko: if you copy/paste those methods into your program, just replace the self parameter with a parameter that you can pass a cloud object too and they should otherwise work - you'll need to add imports for keystoneauth1.session, copy and contextlib
16:05:03 mordred Shrews: ^^ added tests
16:06:14 kuzko well, I modified openstackcloud.py, and now I'll try to find a way to change that self stuff you mentionned
16:10:40 GreenBlood mordred: kuzko and I, at the office, are always amazed by your work on shade and the speed at which you program stuff
16:18:10 kuzko mordred by any means, do you have an account on opentelekom cloud?
16:31:16 mordred kuzko: I do not - I had one for a little bit but I don't think it works any more - I keep meaning to follow up on that
16:32:04 mordred GreenBlood: thanks - well, it's usually because there is something that's been on the TODO list for a while and someone just gives an excuse to do it - it makes it look like I'm thinking faster than I actually am :)
16:33:01 kuzko well, I was asking because telefonica's public cloud, t-system open public cloud and oranges cloud for business are the same backend, so verifying on one of these is pretty much validating the 3 of them...
16:33:39 mordred ah - neat
16:34:08 mordred cloudwatt moved to using the huawei openstack stuff? I didn't realize that
16:35:41 briancurtin mordred: i’ll look around for that mailing list thread and try to prioritize a few of them. i normally do some open source stuff in the morning before start The Real Job, so i’ll try to get a few of them looked at this week
16:37:14 mordred briancurtin: woot. the big ugly patch (https://review.openstack.org/#/c/519029/) or its non-squashed equiv (https://review.openstack.org/#/c/501428 through https://review.openstack.org/#/c/519024) is the thing I think your eyes and background are the most essential for - a bunch of the others are just mechanical
16:38:25 mordred briancurtin: but the stuff that mucks around with Connection and turns the Proxy objects in to subclasses of keystoneauth Adapter are things where you're going to know WAY more about edge cases and gotchas
16:39:24 mordred (that's likely apparent from the email (I hope) - but since you're doing off-hours open source I figure I should try to point out things where your brain is more specifically important)
16:45:55 kuzko mordred : nope cloudwatt and orange cloud for business public cloud based on huawei and cuccurent offers from the same brand...
16:46:12 mordred briancurtin: also - while I'm bugging you - is there an overview doc anywhere describing what's needed to migrate something from Resource/Proxy to Resource2/Proxy2?
16:46:17 kuzko french people, don't try to make sense out of it... cloudwatt is still going vanilla openstack
16:46:53 briancurtin mordred: there’s nothing documented, but i can write something up for that
16:47:37 kuzko s/and cuccurent/are competing
16:48:20 mordred kuzko: awesome. good to know :)
16:48:33 mordred briancurtin: cool, thanks! I started just trying to infer what was needed by looking at previous patches that had done migrations, but I figured there's probably a saner-way to work on that
17:34:57 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add ability to work in other auth contexts https://review.openstack.org/519394
17:47:41 SamYaple mordred: yep will get on the reviews today now that all the traveling isdone
17:49:21 mordred SamYaple: were you in Sydney and I just didn't see you?
17:49:58 SamYaple nah ihad to be in california for other business
17:56:43 mordred ah. ok.
19:35:38 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add ability to work in other auth contexts https://review.openstack.org/519394
20:56:32 briancurtin mordred: the resource/resource2 move is, as you noticed, mostly easily picked up just by looking at other changes, but i can’t really think of anything special outside of what i just wrote here: https://etherpad.openstack.org/p/sdk-resource-transition
20:58:00 briancurtin most of that work is done, but just a matter of picking up a few remaining ones and making sure they work. i had always wanted to get around to getting object_store done, but i think that’s probably the biggest gap right now
21:09:43 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/519107
21:09:53 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/519107
21:10:14 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/519107
21:11:49 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/519107
21:15:24 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/519107
21:16:45 openstackgerrit OpenStack Proposal Bot proposed openstack/osc-lib master: Updated from global requirements https://review.openstack.org/519134
21:17:05 openstackgerrit OpenStack Proposal Bot proposed openstack/osc-lib master: Updated from global requirements https://review.openstack.org/519134
21:23:15 openstackgerrit OpenStack Proposal Bot proposed openstack/osc-lib master: Updated from global requirements https://review.openstack.org/519134
21:23:55 openstackgerrit OpenStack Proposal Bot proposed openstack/osc-lib master: Updated from global requirements https://review.openstack.org/519134
21:40:15 openstackgerrit OpenStack Proposal Bot proposed openstack/osc-lib master: Updated from global requirements https://review.openstack.org/519134
21:47:06 openstackgerrit Hongbin Lu proposed openstack/python-openstackclient master: Add RemoveNetwork command to server https://review.openstack.org/515453
22:07:54 openstackgerrit Merged openstack/cliff master: add bandit to pep8 job https://review.openstack.org/518994
23:33:36 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Fix all of the unit tests https://review.openstack.org/519024
23:33:37 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Use task_manager and Adapter from shade https://review.openstack.org/519505
23:33:37 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Add syntatic sugar alias for making connections https://review.openstack.org/519504
23:36:00 mordred briancurtin: sweet! thanks, the writeup is helpful for looking at the remaining ones
#openstack-sdks - 2017-11-14
00:13:40 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add ability to work in other auth contexts https://review.openstack.org/519394
00:13:41 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add helper property to get the current user id https://review.openstack.org/519511
00:14:36 openstackgerrit Hongbin Lu proposed openstack/python-openstackclient master: Add RemoveNetwork command to server https://review.openstack.org/515453
01:21:05 openstackgerrit Merged openstack/osc-lib master: Updated from global requirements https://review.openstack.org/519134
03:59:24 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/519107
10:01:36 openstackgerrit Merged openstack/cliff master: sphinxext: Support cliff application https://review.openstack.org/483147
12:31:42 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add ability to work in other auth contexts https://review.openstack.org/519394
12:52:08 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Use task_manager and Adapter from shade https://review.openstack.org/519505
13:19:42 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add helper property to get the current user id https://review.openstack.org/519511
14:05:33 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Use task_manager and Adapter from shade https://review.openstack.org/519505
14:43:39 openstackgerrit Merged openstack/os-client-config master: Add shade-functional-tips jobs https://review.openstack.org/514067
15:04:42 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Use task_manager and Adapter from shade https://review.openstack.org/519505
16:15:46 openstackgerrit Daniel Speichert proposed openstack/python-openstackclient master: Send 'changes-since' instead of 'changes_since' query parameter https://review.openstack.org/519693
17:20:16 openstackgerrit Christian Groschupp proposed openstack-infra/shade master: Creating a server and specifying scheduler_hints fails https://review.openstack.org/519705
17:40:01 openstackgerrit Christian Groschupp proposed openstack-infra/shade master: Fix creating a server with specifying scheduler_hints https://review.openstack.org/519705
18:36:44 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Rework config and rest layers https://review.openstack.org/519029
18:36:58 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Add notes about moving forward https://review.openstack.org/501438
18:38:58 mordred Shrews, dtroyer, briancurtin: end of the stack is green, so I squashed into https://review.openstack.org/519029 - I expect it to be green now
18:41:51 Shrews mordred: I think there are a few files left that you could have modified. :-P
18:44:52 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Add notes about moving forward https://review.openstack.org/501438
18:45:00 mordred Shrews: I'll try harder next time
18:49:05 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/519107
19:03:18 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/519107
19:18:24 openstackgerrit Daniel Speichert proposed openstack/python-openstackclient master: Send 'changes-since' instead of 'changes_since' query parameter https://review.openstack.org/519693
20:38:16 openstackgerrit Merged openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/519107
21:37:10 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Rework config and rest layers https://review.openstack.org/519029
21:37:11 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Add notes about moving forward https://review.openstack.org/501438
22:10:30 openstackgerrit Monty Taylor proposed openstack/python-openstacksdk master: Move task_manager and adapter up a level from cloud https://review.openstack.org/519772
22:23:24 openstackgerrit OpenStack Proposal Bot proposed openstack-infra/shade master: Updated from global requirements https://review.openstack.org/519785
22:36:51 openstackgerrit OpenStack Proposal Bot proposed openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/519807
22:40:15 SamYaple ok mordred.ive got a 2 hour confrence call starting soon. im going to spend that time reviewing that massive stack of patches. youre welcome
22:47:54 mordred SamYaple: you're going to love it
22:48:13 mordred SamYaple: https://review.openstack.org/#/c/519029/ is green now - so woot
22:49:36 openstackgerrit OpenStack Proposal Bot proposed openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/519807
23:29:32 openstackgerrit Hongbin Lu proposed openstack/python-openstackclient master: Show detailed message of neutron exception https://review.openstack.org/519831
23:57:38 openstackgerrit Merged openstack-infra/shade master: Updated from global requirements https://review.openstack.org/519785
#openstack-sdks - 2017-11-15
00:42:48 openstackgerrit OpenStack Proposal Bot proposed openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/519807
01:53:54 openstackgerrit OpenStack Proposal Bot proposed openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/519807

Earlier   Later