Wednesday, 2017-04-19

openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Move user list to REST and build API URL  https://review.openstack.org/45774500:08
*** topol has quit IRC00:54
*** rods has quit IRC01:12
*** rods has joined #openstack-shade01:14
*** rods has quit IRC01:15
*** ioggstream has quit IRC01:15
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Discover the identity endpoint  https://review.openstack.org/45783201:30
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Move user list to REST  https://review.openstack.org/45774501:38
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Move user list to REST  https://review.openstack.org/45774501:51
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Move user list to REST  https://review.openstack.org/45774501:56
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Discover the identity endpoint  https://review.openstack.org/45783201:56
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Move user list to REST  https://review.openstack.org/45774501:58
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Discover the identity endpoint  https://review.openstack.org/45783201:58
samueldmqOk I messed up with gerrit enough for today02:00
*** yolanda has quit IRC02:26
*** yolanda has joined #openstack-shade02:26
*** gouthamr has quit IRC03:32
*** gkadam has joined #openstack-shade03:43
*** gkadam is now known as Guest7939403:43
*** Guest79394 has quit IRC03:44
*** gkadam_ has joined #openstack-shade03:44
*** gkadam_ is now known as gkadam03:45
*** yfried has joined #openstack-shade05:18
*** yfried has quit IRC05:40
*** yfried has joined #openstack-shade05:54
*** ioggstream has joined #openstack-shade07:27
*** slaweq has joined #openstack-shade07:43
*** yolanda has quit IRC07:54
*** yolanda has joined #openstack-shade08:30
ioggstreamhi@all08:53
ioggstreamI've stumbled upon this while openshift-on-openstack with 3.5 https://bugzilla.redhat.com/show_bug.cgi?id=144327008:54
openstackbugzilla.redhat.com bug 1443270 in Installer "Broken rpm dependencies during installation" [Unspecified,Closed: duplicate] - Assigned to sdodson08:54
ioggstreamanyone on openshift-on-openstack playbooks ?08:56
*** yolanda_ has joined #openstack-shade08:59
*** yolanda_ has quit IRC09:01
*** yolanda_ has joined #openstack-shade09:01
*** yolanda has quit IRC09:03
*** cdent has joined #openstack-shade09:08
*** slaweq has quit IRC09:09
ioggstreamooops ;) sorry, bad chat :D09:28
*** cdent has quit IRC10:00
*** cdent has joined #openstack-shade11:01
*** yfried has quit IRC11:02
*** ioggstream has quit IRC11:26
*** ioggstream has joined #openstack-shade11:53
*** ioggstream has quit IRC12:00
*** yolanda_ has quit IRC12:04
*** yolanda has joined #openstack-shade12:04
*** yolanda has quit IRC12:04
*** yolanda has joined #openstack-shade12:05
*** cdent has quit IRC12:18
*** ioggstream has joined #openstack-shade12:33
*** ioggstream has quit IRC12:37
openstackgerritMerged openstack-infra/shade master: Use REST for cinder list volumes  https://review.openstack.org/45766512:38
openstackgerritMonty Taylor proposed openstack-infra/shade master: Clarify some variable names in glance discovery  https://review.openstack.org/45805512:42
*** ioggstream has joined #openstack-shade12:53
*** gouthamr has joined #openstack-shade12:59
*** ioggstream has quit IRC13:02
*** rods has joined #openstack-shade13:03
*** ioggstream has joined #openstack-shade13:04
openstackgerritMerged openstack-infra/shade master: _discover_latest_version is private and not used  https://review.openstack.org/45778713:09
*** gkadam has quit IRC13:17
*** yolanda has quit IRC13:20
mordredjamielennox: if you're still awake, samueldmq wrote up a doc string describing the process we're going to use for getting an identity adapater that works on all the clouds and honors user's override config: https://review.openstack.org/45783213:21
mordredjamielennox: I'd love a sanity check from you on it - to see if we missed anything13:21
mordredjamielennox: one of the end results once we're done with this for each service is that we should be able to drop those default api_version override values out of os-client-config, which I know you've wanted for a while13:21
jamielennoxmordred: is that discover something you're implementing?13:24
jamielennoxkeystoneauth has a process fairly similar - but not exactly that13:24
jamielennoxmordred: if you pass version=(X,Y) to the get_endpoint function it invokes keystoneauth's discover which i know is good for identity13:27
jamielennoxand will do the /v2.0 strip13:27
mordredjamielennox: oh neat. so - lemme go look at that. if that's pretty much good, can would you accept patches to keystoneauth to support the other services too?13:31
mordred(if they need it)13:31
jamielennoxmordred: i know it works for the primary ones, but yea, absolutely we'd support the others13:31
mordredcool13:31
mordredI'll go poke at that in just a second- thanks13:32
jamielennoxmordred: https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/identity/base.py#L221 down is the logic for this13:32
mordredjamielennox: what if the user doens't pass a version and you just want the latest?13:32
jamielennoxmordred: yea, the comment basically under ^ says that we return the service catalog url by default13:33
*** yolanda has joined #openstack-shade13:33
mordredah  I see you just return the catalog url there ...13:33
jamielennoxand acknowledges it's a bad idea13:33
mordredcould we maybe support another param like latest=True or something?13:33
jamielennoxyea, something like that is fine13:33
mordredcool. we'll get a patch cookedup13:33
jamielennoxor version=LATEST13:33
*** rods has quit IRC13:34
mordredyah13:34
jamielennoxlet me know tomorrow - night13:38
mordredjamielennox: there's one more case I'd like to add, maybe also by a flag - I'll just write a couple of patches for that and see what you think - it should be _very_ simple - also- thank you13:38
jamielennoxok13:38
mordredthe get_discovery caching the discovery stuff is all great13:38
jamielennoxno worries13:39
jamielennoxwe should probably etag that or something - but no one does that13:39
mordredwell, we should anyway :)13:39
jamielennoxship cachecontrol by default :)13:40
samueldmqmorning all13:43
samueldmqmordred: jamielennox o/13:43
*** rods has joined #openstack-shade13:46
*** yolanda has quit IRC14:08
*** yolanda has joined #openstack-shade14:08
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Use requests-mock for all the test_attach_volume_* tests  https://review.openstack.org/45810014:15
rodsanother small step :)14:16
rodsI hope to get all the tests in the test_volume.py module updated by today14:16
mordredrods: awesome. so - there is a thing you probably want to do on POST calls - which is add a validate= field. validate then itself takes a dictionary similar to the dictionary in register_uris ...14:21
mordredso you can do validate=dict(json={...  to verify that the payload sent to the POST by the application is correct14:22
mordredyou can see an example around line 171 here: https://review.openstack.org/#/c/457548/4/shade/tests/unit/test_security_groups.py14:23
rodsmordred sure, I'll fix it14:25
*** yolanda has quit IRC14:38
*** yolanda has joined #openstack-shade14:39
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Use requests-mock for all the test_attach_volume_* tests  https://review.openstack.org/45810015:28
*** yolanda has quit IRC15:28
*** yolanda has joined #openstack-shade15:29
mordredrods: couple of more small things - the assert_calls() are important - if you want to deal with the normalize_volume_attachment in a different patch / later that's fine by me15:40
openstackgerritMonty Taylor proposed openstack-infra/shade master: Strip trailing slashes in test helper method  https://review.openstack.org/45813915:41
mordredrods: also - that ^^ should fix the // issue - but I don't think stripping it in the catalog in your patch is fine - really either way15:41
mordred(mostly wrote that patch in case someone else hit the same thing in the future)15:42
rodsmordred makes sense, I'll move the _normalize_volume_attachment into attach_volume and revert the slash stripping15:50
mordredcool16:32
*** ioggstream has quit IRC17:20
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Use requests-mock for all the test_attach_volume_* tests  https://review.openstack.org/45810018:38
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Use requests-mock for all the test_attach_volume_* tests  https://review.openstack.org/45810018:47
*** rods has quit IRC18:58
*** rods has joined #openstack-shade19:01
*** cdent has joined #openstack-shade20:08
*** cdent has quit IRC20:17
*** gouthamr has quit IRC21:29
*** rods has quit IRC22:20
*** rods has joined #openstack-shade22:28
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Move user list to REST  https://review.openstack.org/45774523:39
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Discover the identity endpoint  https://review.openstack.org/45783223:39

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