Tuesday, 2017-03-28

*** hongbin_ has quit IRC00:07
*** jamielennox is now known as jamielennox|away00:54
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Change noauth strategy for plugin loading  https://review.openstack.org/45045300:58
*** jamielennox|away is now known as jamielennox00:59
*** hoangcx has joined #openstack-sdks01:05
*** amotoki has joined #openstack-sdks01:08
*** reedip has quit IRC01:12
*** markvoelker has quit IRC01:13
*** amotoki has quit IRC01:14
*** markvoelker has joined #openstack-sdks01:14
*** john-davidge has joined #openstack-sdks01:22
*** yanyanhu has joined #openstack-sdks01:24
*** timburke has quit IRC01:25
*** nakul_d has quit IRC01:25
*** nakul_d has joined #openstack-sdks01:27
*** timburke has joined #openstack-sdks01:28
*** john-davidge has quit IRC01:28
*** bobh has quit IRC01:28
*** huanxuan has joined #openstack-sdks01:41
*** markvoelker has quit IRC01:42
*** markvoelker has joined #openstack-sdks01:44
*** annp has joined #openstack-sdks01:45
openstackgerritAkira Yoshiyama proposed openstack/os-client-config master: Add allow_identity_admin to CloudConfig.get_session_endpoint()  https://review.openstack.org/45050001:47
*** reedip has joined #openstack-sdks02:00
*** bobh has joined #openstack-sdks02:53
*** markvoelker has quit IRC02:54
*** markvoelker has joined #openstack-sdks02:54
*** bobh has quit IRC03:10
*** john-davidge has joined #openstack-sdks03:23
*** john-davidge has quit IRC03:27
*** jkilpatr has quit IRC03:50
openstackgerritJamie Lennox proposed openstack/os-client-config master: Stop special-casing idenity catalog lookups  https://review.openstack.org/45025903:54
*** prg3 has quit IRC04:02
*** prg3 has joined #openstack-sdks04:03
*** jamielennox is now known as jamielennox|away04:09
*** markvoelker has quit IRC04:21
*** gouthamr has quit IRC04:23
*** markvoelker has joined #openstack-sdks04:23
*** jamielennox|away is now known as jamielennox04:30
*** shu-mutou has joined #openstack-sdks04:31
*** markvoelker has quit IRC05:04
*** john-davidge has joined #openstack-sdks05:24
*** john-davidge has quit IRC05:29
*** jamielennox is now known as jamielennox|away06:36
*** john-davidge has joined #openstack-sdks06:52
*** john-davidge has quit IRC06:58
*** fzdarsky has joined #openstack-sdks07:00
openstackgerritRui Chen proposed openstack/python-openstacksdk master: Find floating ip by ip address  https://review.openstack.org/44987907:10
*** amotoki has joined #openstack-sdks07:13
*** amotoki has quit IRC07:18
*** jamielennox|away is now known as jamielennox07:21
*** aarefiev_afk is now known as aarefiev07:24
*** rabel has joined #openstack-sdks07:28
rabelgood mornin!07:30
*** Cagelin has quit IRC07:31
*** ssbarnea has joined #openstack-sdks07:41
*** john-davidge has joined #openstack-sdks07:48
RuiChenmorning rabel :-)07:51
rabelhi RuiChen :)07:52
rabelhow are you?07:52
RuiChenyeah, have a pretty sunshine day, what about you?07:54
openstackgerritTakashi NATSUME proposed openstack/python-openstackclient master: List/Show all server migration types  https://review.openstack.org/45011907:59
*** jpich has joined #openstack-sdks08:01
*** ssbarnea has quit IRC08:10
rabelRuiChen: here too. :(08:14
rabel:)08:14
*** amotoki has joined #openstack-sdks08:14
rabelreedip, reedip_: i have a question about a note from you in the openstackclient source.08:14
rabel:q08:14
reedipfire away08:15
rabelin common/quota.py there is a check if network_quota_info is dict or not08:15
rabelat ShowQuota08:15
rabelthe node says this will not be necessary when using sdk 0.9.12 or above08:16
*** ralonsoh has joined #openstack-sdks08:16
reediprabel ; I made a patch for that08:16
reediprabel : but its in failed state, I will push it again08:16
reediprabel :https://review.openstack.org/#/c/439299/08:18
rabelreedip: i tried this, but it does not seem to work08:19
*** amotoki has quit IRC08:19
reediprabel : yes, I need to relook into this08:19
rabelok. feel free to add me to reviewers, if you upload more patches. :)08:20
reedipI will take it today ..08:20
reedipsure thing rabel ...08:20
rabelsince you already worked on the quota thing, maybe you can answer me another question08:21
reediprabel ... yessss08:21
rabelthe help text of argument "--default" says "Show default quotas for <project>". but isn't it the idea behind default quotas, that they don't belong to a certain project?08:21
reediprabel : IIUC , we can change the default quotas of a project08:23
*** dgonzalez has quit IRC08:24
rabelreedip: i thought the default quotas are the quotas that are applied to a new project. what are default quotas for a project then?08:25
reediprabel : https://docs.openstack.org/admin-guide/cli-networking-advanced-quotas.html#configure-per-project-quotas08:26
reedipneutron quota-default-show08:26
rabelreedip: "neutron quota-default-show" as well as "openstack quota show --default" do work without providing a project08:28
reediprabel : they take the current user as the project08:29
rabelreedip: ah, ok.08:29
rabelreedip: but what are default quotas then?08:29
reediprabel : and the interesting thing may be here08:30
*** dgonzalez has joined #openstack-sdks08:30
reedipConfigure Networking to show per-project quotas08:30
reedipSet the quota_driver option in the /etc/neutron/neutron.conf file.08:30
reedipquota_driver = neutron.db.quota_db.DbQuotaDriver08:30
reedipthis is the default quota driver, but any variant ( like RHOS, Canonical Openstack ) can create their own Quota drivers as well08:31
reedipthe neutron/db/quota_db.py DbQuotaDriver will have the default quotas which you want08:32
reediprabel as you see in the file ( neutron/db/quota/driver.py ) which is loaded up by neutron/db/quota_db.py08:33
reedipthey have created a --tenant for now, as it is possible to change default quotas per tenant in the future08:34
reedip and that can be done by any third party in their own variant of the code :)08:34
*** e0ne has joined #openstack-sdks08:35
rabelreedip: i see the comment in the file. but i don't understand the idea behind default quotas for a project.08:36
*** yuvalb has quit IRC08:36
reedipIts like differentiating the quality of service of a cloud08:37
reedipif a user wants to have a Gold Standard QoS, then they may have a specific default quota08:38
openstackgerritRodolfo Alonso Hernandez proposed openstack/python-openstackclient master: Add "qos-policy" option to "port create" & "port set"  https://review.openstack.org/41923608:38
reedipIf they have platinum , then .... you can have better number of resources in default08:38
openstackgerritReedip proposed openstack/python-openstackclient master: Add "qos-policy" option to "port create" & "port set"  https://review.openstack.org/41923608:40
reedipralonsoh : you forgot to add yourself as the author ^^08:40
ralonsohNo, no problem08:40
ralonsohreedip: it was just a forgotten patch I wanted to be fixed08:41
reedipI added you as well ralonsoh ... you are working on it right now08:41
reedipyeah, you are working on it.... so I added you :)08:41
ralonsohreedip: okidoki!!08:41
rabelreedip: in this case the customer would have one openstack-project, not? so you could just adjust the quotas for the project.08:42
rabeli still don't understand. sorry ;)08:42
reediprabel : see it from a Public cloud perspective08:42
reedipwhere multiple users can request for quotas08:42
reedipsomething like AWS ?08:42
rabelnever worked with aws.08:43
rabelbut quotas in openstack are always project-based, right?08:43
reediprabel : neither did I , but I checked their business model08:43
reediprabel : yes08:43
rabelreedip: so one project has one set of quotas.08:44
reediprabel : yes08:44
rabelreedip: and additionally you have one cloud-wide default set of quotas, which is applied when a new project is created.08:44
rabelreedip: or wait08:45
reediprabel : thats the thing ...  you can also have a default quota for a tenant08:45
rabelreedip: and when this is used? when i create a new tenant with --parent to that other tenant?08:46
RuiChendtroyer: stevemar hi, I'm drafting new commands to add network interface for a server, I have two object name "interface" and "nic" now, which one you favor? the command looks like: server add interface <server> [--network | --port]08:50
*** ssbarnea has joined #openstack-sdks08:59
rabelreedip: and also in this context: i do not understand, what a quota class is :D09:00
reedipsorry , in another meeting rabel :)09:00
reedipwill be back in sometime09:00
rabelreedip: np09:00
rabelreedip: and thank you!09:00
*** amotoki has joined #openstack-sdks09:15
*** Serlex has joined #openstack-sdks09:16
reediprabel : hi09:18
rabelreedip: welcome back :)09:19
reedipcurrently there is no discrimination between tenants for default quotas in vanilla flavor of Openstack09:19
reedipbut it can be done.....09:19
*** amotoki has quit IRC09:19
reedipquota class in SDK ?09:19
rabelyes, i think so09:22
rabelreedip: i have seen it in the openstackclient09:22
rabelp.e. openstack quota set --class09:22
reedipohh that ? its similar to the project attribute09:23
reedipbut I am also confused a bit about its implementation, IMHO09:23
rabelwhat i already found out: you can use this to set default quotas, by using --class default09:24
reedipis it ? :D09:24
rabelyes :D09:24
rabelwhile "openstack quota set default" without --class does not work. i think it probably tries to set quotas for a project called "default". but it doesn't fail either, it just does not have the desired outcome ;)09:25
reediprabel whoa... wait !09:27
reediprabel : okay, I see your point09:28
reedipSo default is type of a Class09:29
reedipand we can create more classes09:29
reedipand set quotas as per classes on the tenants (??)09:29
rabelthat would be reasonable, but i think the last point is not right. because you can only either specify a project or a class (at least with openstackclient)09:30
rabelactually i get the feeling, that the whole quota concept has some weaknesses ;)09:31
reediprabel thats y I had the ?? in my understanding09:35
rabelreedip: do you know who could clarify this?09:37
reediprabel : as of now, I am not sure myself.. I am investigating your point09:38
rabelreedip: k, thank you09:38
reediprabel : well , the openstacksdk states that network/v2/quota.py QuotaDefault should be picked up when setting the default quota09:39
reediprabel : interesting point is that --class only stores True or False :D09:40
reediprabel : python-openstackclient/openstackclient/common/quota.py09:41
reedipLine#27609:41
reedipand for network , it should fail ..... ??? !!!09:42
rabelreedip: yes, the class is the positional argument instead of project in this case09:42
reedipLine #330 states that it ignores the Quota class for networks :D09:43
rabelreedip: you're right09:43
rabel:D09:43
reediprabel : so ... we need to find how the quota_classes for compute client and volume client are to be done09:44
reedipbut cant do anything about network :)09:45
reedipleaving ... catch u in 2 hours , I guess09:47
rabelkk, cu09:47
rabeli'll have a look at nova09:47
*** brianw has joined #openstack-sdks09:50
*** reedip has quit IRC09:51
*** shu-mutou is now known as shu-mutou-AWAY10:10
*** fzdarsky has quit IRC10:14
*** amotoki has joined #openstack-sdks10:16
*** amotoki has quit IRC10:20
*** yanyanhu has quit IRC10:25
*** sdague has joined #openstack-sdks10:27
*** hoangcx has quit IRC10:27
*** jkilpatr has joined #openstack-sdks11:00
*** amotoki has joined #openstack-sdks11:17
*** amotoki has quit IRC11:21
*** openstackgerrit has quit IRC11:33
*** fzdarsky has joined #openstack-sdks11:35
*** rabel has quit IRC11:35
*** rabel has joined #openstack-sdks11:36
*** erlon has joined #openstack-sdks11:38
rabelsomeone could have a loot at https://review.openstack.org/#/c/444924/ ? it is without review for a week now11:46
*** reedip has joined #openstack-sdks11:50
*** annp has quit IRC12:08
reedipo/12:14
*** chlong has joined #openstack-sdks12:16
*** fzdarsky has quit IRC12:21
*** openstackgerrit has joined #openstack-sdks12:24
openstackgerritMonty Taylor proposed openstack/os-client-config master: Stop special-casing idenity catalog lookups  https://review.openstack.org/45025912:24
*** dave-mccowan has joined #openstack-sdks12:25
*** gouthamr has joined #openstack-sdks12:46
*** huanxuan has quit IRC12:51
*** fzdarsky has joined #openstack-sdks13:01
*** fzdarsky has quit IRC13:05
*** amotoki has joined #openstack-sdks13:18
*** jkilpatr has quit IRC13:22
*** jkilpatr has joined #openstack-sdks13:22
*** amotoki has quit IRC13:23
*** bobh has joined #openstack-sdks13:23
kuzko_hello, I encounter an issue using the openstack python sdk giving me an OpenSSL.SSL.Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert handshake failure')] what does that imples?13:32
*** amotoki has joined #openstack-sdks13:34
*** bobh has quit IRC13:35
*** bobh has joined #openstack-sdks13:35
*** cleong has joined #openstack-sdks13:38
*** markvoelker has joined #openstack-sdks13:49
*** hoangcx has joined #openstack-sdks13:53
*** hongbin has joined #openstack-sdks14:01
*** fzdarsky has joined #openstack-sdks14:13
*** markvoelker has quit IRC14:17
openstackgerritAkihiro Motoki proposed openstack/python-openstacksdk master: Filtering support by is_router_external to network resource  https://review.openstack.org/45015214:26
*** fzdarsky has quit IRC14:29
*** fzdarsky has joined #openstack-sdks14:33
*** fzdarsky has quit IRC14:44
*** fzdarsky has joined #openstack-sdks14:45
openstackgerritAkihiro Motoki proposed openstack/python-openstacksdk master: Filtering support by is_router_external to network resource  https://review.openstack.org/45015214:59
*** hoangcx has quit IRC15:00
*** rabel has quit IRC15:05
dtroyerstevemar, ankur-gupta-f1, RuiChen:  could you guys give https://review.openstack.org/450452 and https://review.openstack.org/450453 a look?  They handle the problem with the current master os-client-config that needs to be released in both osc and osc-lib before we can release another o-c-c.15:13
dtroyerthat fixes our functional-tips job15:13
*** corey_ has joined #openstack-sdks15:14
*** cleong has quit IRC15:15
ankur-gupta-f4K will check in a bit after next meeting15:15
*** sfinucan has joined #openstack-sdks15:18
sfinucandtroyer: RE [1], do you want me to squash all those fixup patches? [1] https://review.openstack.org/#/q/topic:sphinx15+project:openstack/python-openstackclient15:19
dtroyersfinucan: if you have to touch any of them again I would, otherwise I'm on the fence.  I know I prefer to review stuff like that (all-docs, etc) together because it is just simpler for me mentally.15:22
sfinucandtroyer: I have one or two to clean up so yeah, I'll squash them15:23
dtroyerWe normally don't need to be concerned about the resource usage of running all of those duplicate jobs for no code changes15:23
dtroyerexcept in deadline weeks15:23
dtroyerbut it is good to be aware of that15:23
dtroyerok, thanks15:24
sfinucandtroyer: Yeah, I was thinking along the lines of keeping the commits self-contained15:24
*** aarefiev is now known as aarefiev_afk15:24
ankur-gupta-f4sfinucan: o/15:24
sfinucan...but that doesn't really make sense when I need all of them to switch the warning-is-error toggle15:24
sfinucanankur-gupta-f4: o/15:24
dtroyerright.  that's always a balance, but with docs I push that line waaaaay over the other way most of the time.15:25
sfinucanankur-gupta-f4: what happened to ankur-gupta-{f1,f2,f3}? :)15:25
dtroyerright. you can argue that they are all realted to that and I'd buy it :)15:25
sfinucanjob15:25
ankur-gupta-f4I believe i have IRC clients running on various machines. Probably15:26
*** bobh has quit IRC15:27
reediphe is a Drone !15:32
reediphe is Ankur in a Shell :D15:32
*** Serlex has quit IRC15:35
*** e0ne has quit IRC15:46
*** bobh has joined #openstack-sdks15:47
*** fzdarsky has quit IRC15:52
openstackgerritStephen Finucane proposed openstack/python-openstackclient master: doc: Remove local fork of apidoc  https://review.openstack.org/44758915:54
openstackgerritStephen Finucane proposed openstack/python-openstackclient master: doc: Correct Sphinx warnings  https://review.openstack.org/44759015:54
openstackgerritStephen Finucane proposed openstack/python-openstackclient master: Use Sphinx 1.5 warning-is-error  https://review.openstack.org/44662915:54
sfinucandtroyer: ^15:55
sfinucanreedip: Shh! No spoilers!15:56
sfinucan(Ghost in the Shell isn't out in Ireland yet :))15:56
reedipsfinucan : Oh you didnt see the 1995 version15:56
reedipthe original Japanese Magna15:57
* sfinucan had no idea there _was_ a 1995 version15:57
reedipThere are 2 versions15:57
reedipone 199515:57
reedipone 200315:57
reedipthe 2003 one is of the Laughing Man15:57
reedipthe 1995 is of the Puppetier15:57
reedipthe 2003 one is taken up for the Live Action movie :)15:57
reedipWell .. thats all I will say ...15:58
reedipI have to also see the Ghost in the Shell15:58
reedipit will release a month later, but this is the official release notes of the movie :D15:59
openstackgerritMonty Taylor proposed openstack/os-client-config master: Remove out of date comment  https://review.openstack.org/45087115:59
dtroyersfinucan: thanks, I should get to that after the noon meetings15:59
*** erlon has quit IRC16:05
*** chlong has quit IRC16:34
*** jpich has quit IRC16:44
*** fzdarsky has joined #openstack-sdks16:49
*** chlong has joined #openstack-sdks16:49
openstackgerritMerged openstack/os-client-config master: Stop special-casing idenity catalog lookups  https://review.openstack.org/45025917:21
*** amotoki has quit IRC17:31
openstackgerritMerged openstack/python-openstackclient master: Fix volume transfers request commands  https://review.openstack.org/38677017:33
*** efried has joined #openstack-sdks17:33
efriedGreetings!17:34
efriedHow do I create a VM with no network?  Used to be I could say --nick none (which the usage statement & help claim is fine) - but that's now telling me "nics must be a list".17:34
efried(via openstack CLI, btw)17:34
ankur-gupta-f4efried: looking into it. You might have hit a bug since you should be able to specify --nic none17:38
efriedankur-gupta-f4 Okay, thanks.  Let me know if I can help.17:39
efriedankur-gupta-f4 Where can I clone the source from?  (Apparently it's not https://review.openstack.org/#/admin/projects/openstack/openstackclient - that guy is pretty empty.)17:39
ankur-gupta-f4github.com/openstack/python-openstackclient17:39
efriedthanks17:40
ankur-gupta-f4https://github.com/openstack/python-novaclient/blob/master/novaclient/v2/servers.py#L129517:45
ankur-gupta-f4efried: ^^^17:45
efriedYup, just found that.17:46
efriedLooks like _validate_create_nics should be tolerating a value of 'none' (str); or that should be getting cast to an actual None and _validate_create_nics should be tolerating *that* value.17:49
ankur-gupta-f4should be. May need to wrangle some Nova folk. Regardless its a bug and if Nova  no longer accepts server creation with no NIC then it needs to be noted in the OpenStack Client.17:51
efriedankur-gupta-f4 The docstring in the caller of that method clearly states that 'none' should be allowed, so I suspect it's a functional (rather than help text) bug.17:53
efriedThanks for the help; I'll follow up with mriedem in #openstack-nova.17:53
ankur-gupta-f4good luck17:53
*** prg3 has quit IRC18:02
*** prg3 has joined #openstack-sdks18:05
*** jkilpatr has quit IRC18:09
*** jkilpatr has joined #openstack-sdks18:09
*** fzdarsky has quit IRC18:30
*** markvoelker has joined #openstack-sdks18:32
*** markvoelker has quit IRC18:57
*** e0ne has joined #openstack-sdks18:58
*** ralonsoh has quit IRC19:00
efriedankur-gupta-f4 Turns out I needed to specify --os-compute-api-version 2.3719:01
*** corey__ has joined #openstack-sdks19:04
ankur-gupta-f4Ah okay. Good to know19:05
ankur-gupta-f4Altho i think there should be some doc note so future users know19:05
efriedankur-gupta-f4 Well, the help text does mention that 'none' is for 2.37+.  I just didn't have any idea what that meant.19:07
efried  --nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid,auto,none>19:07
efried                        Create a NIC on the server. Specify option multiple19:07
efried                        times to create multiple NICs. Either net-id or port-19:07
efried                        id must be provided, but not both. net-id: attach NIC19:07
efried                        to network with this UUID, port-id: attach NIC to port19:07
efried                        with this UUID, v4-fixed-ip: IPv4 fixed address for19:07
efried                        NIC (optional), v6-fixed-ip: IPv6 fixed address for19:07
efried                        NIC (optional), none: (v2.37+) no network is attached,19:07
efried                        auto: (v2.37+) the compute service will automatically19:07
efried                        allocate a network. Specifying a --nic of auto or none19:07
efried                        cannot be used with any other --nic value.19:07
*** corey_ has quit IRC19:08
ankur-gupta-f4Ah okay. I didnt see it19:09
dtroyerSo in the case of none or auto, we need to attempt to do the microversion thing and just handle that if possible, otherwise throw an error.19:10
efriedbleh, now it's not working again.19:40
efriednope, cause I'm a doofus.  I was spelling 2.37 as 2.7.19:41
*** e0ne has quit IRC19:46
*** e0ne has joined #openstack-sdks19:49
efriedankur-gupta-f4 dtroyer Apparently novaclient will detect and use the latest possible version.  But openstackclient will default to 2.1 if not otherwise specified via OS_COMPUTE_API_VERSION/--os-compute-api-version: https://github.com/openstack/python-openstackclient/blob/master/openstackclient/compute/client.py#L2619:51
openstackgerritMerged openstack/os-client-config master: Remove out of date comment  https://review.openstack.org/45087120:00
efriedPhilosophically, is there a reason openstackclient doesn't detect and use the latest?20:16
*** jkilpatr has quit IRC20:16
dtroyerno, it should, but there is some trickiness with microversions, and with the upcoming novaclient 8.0 release that'll break us like it breaks Horizon.20:18
*** jkilpatr has joined #openstack-sdks20:18
efriedBreaks who?  The openstackclient... uh, client?20:20
dtroyeryup, we'll be supporting nova-net for a lot longer than Novaclient20:21
*** annegentle has joined #openstack-sdks20:22
*** e0ne has quit IRC20:26
*** e0ne has joined #openstack-sdks20:30
*** corey__ has quit IRC20:33
*** e0ne has quit IRC20:47
*** e0ne has joined #openstack-sdks20:58
*** markvoelker has joined #openstack-sdks20:59
*** e0ne has quit IRC21:01
*** e0ne has joined #openstack-sdks21:02
*** e0ne has quit IRC21:02
*** e0ne has joined #openstack-sdks21:02
*** e0ne has quit IRC21:03
*** e0ne has joined #openstack-sdks21:04
*** markvoelker has quit IRC21:04
*** e0ne has quit IRC21:04
*** e0ne has joined #openstack-sdks21:04
*** e0ne has quit IRC21:05
*** e0ne has joined #openstack-sdks21:05
*** e0ne has quit IRC21:05
*** e0ne has joined #openstack-sdks21:06
*** e0ne has quit IRC21:06
*** john-davidge has quit IRC21:08
*** gouthamr has quit IRC21:10
*** john-davidge has joined #openstack-sdks21:12
*** john-davidge has quit IRC21:16
*** annegentle has quit IRC21:19
*** prg3 has quit IRC21:31
*** prg3 has joined #openstack-sdks21:35
*** annegentle has joined #openstack-sdks21:56
*** markvoelker has joined #openstack-sdks21:59
*** gouthamr has joined #openstack-sdks22:01
*** bobh has quit IRC22:05
*** markvoelker has quit IRC22:06
*** john-davidge has joined #openstack-sdks22:13
*** john-davidge has quit IRC22:18
*** annegentle has quit IRC22:55
*** markvoelker has joined #openstack-sdks23:02
*** markvoelker has quit IRC23:06
*** sdague has quit IRC23:15
*** dave-mccowan has quit IRC23:31
*** prg3 has quit IRC23:43
*** erlon has joined #openstack-sdks23:44
*** prg3 has joined #openstack-sdks23:48

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