Thursday, 2015-05-07

*** britthou_ has joined #openstack-sdks00:29
*** britthouser has quit IRC00:31
*** sigmavirus24 is now known as sigmavirus24_awa00:56
*** shakamunyi has quit IRC01:02
*** Qiming has joined #openstack-sdks01:15
*** Qiming_ has joined #openstack-sdks01:16
*** Qiming has quit IRC01:19
*** britthou_ has quit IRC01:20
*** britthouser has joined #openstack-sdks01:21
*** Qiming_ is now known as Qiming01:23
*** britthouser has quit IRC01:49
*** britthouser has joined #openstack-sdks01:50
*** Qiming_ has joined #openstack-sdks01:55
*** Qiming has quit IRC01:58
*** stevemar has joined #openstack-sdks02:04
*** Qiming_ is now known as Qiming02:04
*** shakamunyi has joined #openstack-sdks02:09
*** stevemar has quit IRC05:03
*** Qiming_ has joined #openstack-sdks06:23
*** Qiming has quit IRC06:26
*** aufi has joined #openstack-sdks06:41
*** chlong has quit IRC08:23
*** aufi has quit IRC08:24
*** aufi has joined #openstack-sdks08:24
*** Miouge has quit IRC09:08
*** jlibosva has joined #openstack-sdks09:21
*** Miouge has joined #openstack-sdks09:23
*** Miouge has quit IRC09:24
*** thrash|g0ne is now known as thrash10:29
*** Miouge has joined #openstack-sdks10:37
*** Miouge has quit IRC10:45
openstackgerritJakub Libosvar proposed openstack/cliff: Set encoding to streams  https://review.openstack.org/18058710:49
*** Miouge has joined #openstack-sdks10:58
*** Qiming_ has quit IRC10:59
*** Miouge has quit IRC11:03
jlibosvadhellmann: hello - re cliff encoding11:06
dhellmannjlibosva: hi11:07
jlibosvadhellmann: I'm trying to make it work with py34 but I'm getting lost a bit with all the string stuff there11:07
jlibosvadhellmann: should I continue working on that or can I simply skip test cases that doesn't support py34?11:08
dhellmannjlibosva: well, the library needs to work on 3.4, so I think this change does, too11:08
dhellmannit is very possible you will need different logic for the different versions of python11:09
jlibosvadhellmann: I'm just having troubles with the testing data11:09
jlibosvadhellmann: should it be str or bytes?11:09
* jlibosva isn't python 3.4 aware :(11:10
dhellmannjlibosva: that's a good question. I would think bytes, since you're simulating a pipe with encoded input & output11:11
jlibosvadhellmann: I thought so too11:11
jlibosvabut11:11
jlibosva$ echo 'č' | python3.4 py34_input.py11:11
jlibosva<class 'str'>11:11
jlibosvait prints the type of what's got from stdin, but maybe stdin already encodes ...11:12
dhellmannjlibosva: quite possibly -- I haven't had time to do the research into that, and probably won't until after the summit11:14
jlibosvadhellmann: oki doki, I'll keep digging11:14
dhellmannI would have to look at the interpreter startup code to see where it configures those streams11:14
jlibosvadhellmann: I'll read py34 doc on strings11:15
openstackgerritJuan Antonio Osorio Robles proposed openstack/python-openstackclient: Enable specifing domains in "role add"  https://review.openstack.org/18071211:52
*** jaosorior has joined #openstack-sdks11:52
*** openstackgerrit has quit IRC11:52
*** openstackgerrit has joined #openstack-sdks11:52
*** trown|outttypeww is now known as trown12:05
*** pm90_ has joined #openstack-sdks12:16
aufiHi, I have a question related to openstack image create command (v1). It behaves like create_or_update (if image with name specified for create already existed, it is updated). I got an internal bug saying, that osc does not allow create multiple images with same name. It looks like an intention in the code, so I would like ask what do you thing about that?12:23
aufiRelated code: https://github.com/openstack/python-openstackclient/blob/master/openstackclient/image/v1/image.py#L247-L26912:23
*** jlibosva has quit IRC12:58
*** openstackstatus has quit IRC13:25
*** openstackstatus has joined #openstack-sdks13:26
*** ChanServ sets mode: +v openstackstatus13:26
*** sigmavirus24_awa is now known as sigmavirus2413:38
*** joesavak has joined #openstack-sdks13:39
*** chlong has joined #openstack-sdks13:39
*** jamielennox is now known as jamielennox|away13:51
*** SpamapS has quit IRC13:58
openstackgerritMerged stackforge/python-openstacksdk: Proxy update method  https://review.openstack.org/17914114:05
openstackgerritMerged stackforge/python-openstacksdk: Fix docs for volume proxy delete  https://review.openstack.org/17999314:05
openstackgerritMerged stackforge/python-openstacksdk: proxy update database changes  https://review.openstack.org/17999914:16
*** aufi is now known as aufi|afk14:36
*** mattfarina has joined #openstack-sdks14:39
openstackgerritMerged stackforge/python-openstacksdk: Synchronize global requirements  https://review.openstack.org/17851014:40
openstackgerritMerged stackforge/python-openstacksdk: Proxy update identity changes  https://review.openstack.org/17999814:42
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Proxy create method  https://review.openstack.org/16844814:42
openstackgerritMerged stackforge/python-openstacksdk: Initial version of clustering service support  https://review.openstack.org/18037914:44
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/17988214:48
*** jsavak has joined #openstack-sdks14:53
openstackgerritMerged stackforge/python-openstacksdk: Proxy update telemetry changes  https://review.openstack.org/17999414:54
*** joesavak has quit IRC14:55
*** joesavak has joined #openstack-sdks14:56
*** jsavak has quit IRC14:58
openstackgerritMerged stackforge/python-openstacksdk: Proxy update image changes  https://review.openstack.org/17999715:00
openstackgerritMerged stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/17988215:01
openstackgerritMerged stackforge/python-openstacksdk: Proxy create method  https://review.openstack.org/16844815:19
etoewsmmmmmerge it!15:30
mattfarinanotmyname got a minute for a PM on go and swift?15:35
notmynamesure. or call me if you want15:36
openstackgerritMerged stackforge/python-openstacksdk: Move network example into directory  https://review.openstack.org/17873815:51
openstackgerritMerged stackforge/python-openstacksdk: Remove references to v2_0 from examples  https://review.openstack.org/17874115:51
*** mattfarina has quit IRC15:51
openstackgerritMerged openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/18060415:51
dtroyeruh oh, playing 'chicken' with a lightning-filled thunderstorm here…15:56
dtroyerpower hit #1...15:57
*** trown is now known as trown|lunch16:05
*** jsavak has joined #openstack-sdks16:05
*** pm90_ has quit IRC16:06
*** joesavak has quit IRC16:08
*** joesavak has joined #openstack-sdks16:23
*** SpamapS has joined #openstack-sdks16:24
*** jsavak has quit IRC16:26
*** shakamunyi has quit IRC16:29
*** pm90_ has joined #openstack-sdks16:32
openstackgerritQiming Teng proposed stackforge/python-openstacksdk: Add Heat resource support  https://review.openstack.org/18106316:33
*** pm90__ has joined #openstack-sdks16:35
*** pm90_ has quit IRC16:35
*** pm90__ has quit IRC16:41
*** aufi|afk is now known as aufi16:50
*** aufi has quit IRC16:50
*** joesavak has quit IRC17:03
*** joesavak has joined #openstack-sdks17:07
*** terrylhowe has joined #openstack-sdks17:16
*** mattfarina has joined #openstack-sdks17:20
openstackgerritMonty Taylor proposed openstack/os-client-config: Also accept .yml as a suffix  https://review.openstack.org/18030617:21
mordredShrews: ok. I think that ^^ should address your concern?17:21
*** terrylhowe has quit IRC17:27
*** anteaya has quit IRC17:45
*** trown|lunch is now known as trown17:48
*** pm90_ has joined #openstack-sdks18:01
openstackgerritgreghaynes proposed openstack/os-client-config: get_one_cloud should use auth merge  https://review.openstack.org/18109818:01
greghaynesmordred: ^18:01
*** pm90_ has quit IRC18:01
*** pm90_ has joined #openstack-sdks18:02
mordredgreghaynes: +218:02
mordredgreghaynes: maybe Shrews will bring it home for us18:02
Shrewslooking18:03
Shrewsat both18:03
*** mattfarina has quit IRC18:04
openstackgerritMerged openstack/os-client-config: Also accept .yml as a suffix  https://review.openstack.org/18030618:08
Shrewsgreghaynes: one minor issue18:08
greghaynesright, missed that when refactoring18:11
openstackgerritgreghaynes proposed openstack/os-client-config: get_one_cloud should use auth merge  https://review.openstack.org/18109818:14
Shrewsgreghaynes: i hate to ask, but it might be good to have a test for this18:15
greghaynesheh18:15
greghaynesfine with me18:15
Shrewsgreghaynes: thx18:16
openstackgerritgreghaynes proposed openstack/os-client-config: get_one_cloud should use auth merge  https://review.openstack.org/18109818:33
*** jsavak has joined #openstack-sdks18:35
greghaynesShrews: ^18:35
*** joesavak has quit IRC18:39
*** joesavak has joined #openstack-sdks18:39
*** jsavak has quit IRC18:41
*** jsavak has joined #openstack-sdks18:41
*** joesavak has quit IRC18:45
*** joesavak has joined #openstack-sdks19:02
*** jsavak has quit IRC19:03
*** stevemar has joined #openstack-sdks19:03
openstackgerritTerry Howe proposed openstack/python-openstackclient: Security group rule delete broken  https://review.openstack.org/17944619:10
openstackgerritgreghaynes proposed openstack/os-client-config: get_one_cloud should use auth merge  https://review.openstack.org/18109819:16
openstackgerritgreghaynes proposed openstack/os-client-config: get_one_cloud should use auth merge  https://review.openstack.org/18109819:45
*** b3nt_pin has quit IRC19:56
greghayneswah, only pypy failed?19:57
greghaynesbizzare19:57
ShrewsIt is at this point in the day that greghaynes curses me for asking for a unit test19:59
* greghaynes shakes fist at Shrews20:06
greghaynessee, this is why we dont test things, the tests just end up failing ;)20:07
Shrewsyeah, they're inconvenient that way20:07
*** beagles has joined #openstack-sdks20:08
*** beagles has left #openstack-sdks20:08
*** bknudson has joined #openstack-sdks20:09
stevemardtroyer, GO https://review.openstack.org/#/c/178851/520:22
sigmavirus24greghaynes: wait... why would you listen to someone asking for a unit test?20:24
sigmavirus24What's wrong with you?20:24
greghaynesyes, its a lesson that is quickly learned20:25
jaosoriorstevemar: Hey man, quick question. Say userA belongs to domainA. Is it possible for userA to get a role in domainB?20:25
dtroyerstevemar: yup, and in openstack/ namespace… maybe we can just pull roscoe in-tree like that?  ;)20:25
jaosoriorJust trying to verify, might have gotten confused myself O_o20:26
stevemarjaosorior, yep, they can, thats premise of trusts20:29
stevemarjaosorior, double check with ayoung in -keystone to be sure :P20:30
jaosoriorstevemar: thanks, now I'm doing a quick test, I have two users called demo (same name) in different domains, and it should be possible for demo from test_domain1 to have a role in test_domain220:31
stevemarjaosorior, even better, trying it yourself :P20:33
jaosoriorhaha yeah, this stuff still confuses me sometimes, so I need to revise it often20:33
*** bnemec has quit IRC20:36
jaosorioryup, it's possible20:38
greghayneshrm, is there some funkyness around netifaces on pypy?20:38
greghaynesmy tox explodes making pypy venv when trying to install it20:38
openstackgerritJuan Antonio Osorio Robles proposed openstack/python-openstackclient: Enable specifing domains in "role add"  https://review.openstack.org/18071220:39
jaosoriorhad missed a spot in that CR :P20:39
stevemarjaosorior, thanks boss :)20:41
*** stevemar has quit IRC20:42
jaosoriordtroyer: do you have strong feelings about the function that I added in this CR? https://review.openstack.org/180712 I can change it if you really think it's not appropriate20:44
dtroyerI was just leaving a comment about that, I see it has a hinderance actually, if it moved a large number of lines for example, that would be different.20:45
jaosoriorhinderance... so you think it causes problems?20:47
jaosorior* it's not an excuse, but english is not my first language *20:47
dtroyersorry…I think it makes it harder to read20:48
jaosoriordtroyer: just read your comment. Alright, I don't have strong feelings about that function. And it probably doesn't add much value20:49
dtroyerI think in cases like this, inline is better, unless you need that logic to be the same for a lof of places20:49
openstackgerritJuan Antonio Osorio Robles proposed openstack/python-openstackclient: Enable specifing domains in "role add"  https://review.openstack.org/18071220:50
jaosoriordtroyer: I answered to you other comment regarding the domain argument20:51
dtroyerthanks…you still need to add those options to the docs in doc/source/command-objects/role.rst20:51
*** bnemec has joined #openstack-sdks20:51
jaosoriordtroyer: was the explanation alright?20:51
jaosoriordtroyer: ah! thanks, missed that20:52
dtroyeryes.  this domains-for-everything just confuses me and makes for a confusing ui20:52
dtroyerfortunately in this case it is an admin ui20:52
jaosoriordtroyer: haha I know the feel, I had to ask and double check20:52
dtroyerwe really should have tests for this to make sure the right combinations are allowed and wrong ones are caught.20:53
jaosoriordtroyer: that would definitely be useful20:54
jaosoriordtroyer: I think functional tests for the openstack client in a gate in devstack would be nice. Are there any plans for that, or to talk about that in the Summit?20:55
dtroyerwe have some functional tests, terry and steve have been driving most of that.  we do individual command option checking in the unit tests too, I'm looking for a decent example20:56
dtroyeractually, v3/test_role.py has the structure in place, it just needs to have the right combinations added20:57
jaosoriordtroyer: just a quick question regarding the documentation that I need to update. There is no 80 character limit there, right?20:58
dtroyerits a soft limit but not enforced20:58
openstackgerritJuan Antonio Osorio Robles proposed openstack/python-openstackclient: Enable specifing domains in "role add"  https://review.openstack.org/18071221:01
openstackgerritgreghaynes proposed openstack/os-client-config: get_one_cloud should use auth merge  https://review.openstack.org/18109821:02
greghayneshilarious bug pypy found, cpython caches strings so foo is 'bar' works as ==, but no pypy21:05
greghaynesShrews: ^ I think thatll work now21:05
greghaynesyep, mordred ^ you too21:10
*** bnemec has quit IRC21:25
*** pm90_ has quit IRC21:31
*** britthouser has quit IRC21:33
*** britthouser has joined #openstack-sdks21:41
*** trown is now known as trown|outttypeww21:48
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Create changes for compute proxy  https://review.openstack.org/18116721:57
*** chlong has quit IRC21:59
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Database create changes for proxy  https://review.openstack.org/18117122:08
*** joesavak has quit IRC22:38
openstackgerritMerged openstack/os-client-config: get_one_cloud should use auth merge  https://review.openstack.org/18109822:42
openstackgerritDean Troyer proposed openstack/python-openstackclient: Add cli tests for --verify and friends  https://review.openstack.org/17943022:43
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Identity create proxy changes  https://review.openstack.org/18118422:45
openstackgerritMonty Taylor proposed openstack/os-client-config: Add flag to indicate where floating ips come from  https://review.openstack.org/18118722:52
mordredgreghaynes, Shrews: ^^22:52
mordredHOWEVER22:52
greghaynesHOW EVER?22:52
mordredShrews: I was just thinking ... there is another way we could potentially learn whether floating ips should use nova or neutron22:53
mordredbut it's ugly22:53
mordredbasically, the network dict on a nova server object is different depending on if nova or neutron is being used22:53
Shrewsmordred: before i review, i want to hear the story of where little floating IPs come from... is it the floating IP stork?22:53
mordredhowever, that would undercut the ability to create a floating ip without a server dict22:53
mordredShrews: hahahaha22:54
mordredShrews: so, I still think we should have a flag - but I wanted to brainvomit that other thought22:54
Shrewsthat sounds dangerously hacky22:55
greghaynesShrews: Well, when a stateful firewall and a hypervisor really love each other...22:58
Shrewsmordred: what's with image_api_use_tasks=False in defaults.py of that change? I thought we had added that already22:59
Shrewsgreghaynes: :)22:59
mordredShrews: oh, we did - it just didn't have a defaults.py entry23:00
mordredShrews: which is probably not great :)23:00
Shrewsmordred: it's in CLOUD_DEFAULTS23:01
mordredShrews: aroo?23:02
Shrewsmordred: vendors.py23:02
mordredyes23:02
mordredbut only with an entry for rackspace23:02
Shrewsoh, we weren't setting the global default for it. ok23:03
mordredyah23:05
openstackgerritMerged openstack/python-openstackclient: Security group rule delete broken  https://review.openstack.org/17944623:13
*** chlong has joined #openstack-sdks23:24
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Keystore proxy create changes  https://review.openstack.org/18119423:27
openstackgerritOpenStack Proposal Bot proposed openstack/cliff: Updated from global requirements  https://review.openstack.org/18119823:30
*** terrylhowe has joined #openstack-sdks23:34
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/18123923:37
openstackgerritOpenStack Proposal Bot proposed stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/18125123:38
openstackgerritMerged stackforge/python-openstacksdk: Database create changes for proxy  https://review.openstack.org/18117123:40
openstackgerritMerged stackforge/python-openstacksdk: Identity create proxy changes  https://review.openstack.org/18118423:49
*** rmcall has joined #openstack-sdks23:53

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