| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2017-03-28 | |||
| 09:19:57 | reedip | quota class in SDK ? | |
| 09:22:16 | rabel | yes, i think so | |
| 09:22:35 | rabel | reedip: i have seen it in the openstackclient | |
| 09:22:44 | rabel | p.e. openstack quota set --class | |
| 09:23:00 | reedip | ohh that ? its similar to the project attribute | |
| 09:23:17 | reedip | but I am also confused a bit about its implementation, IMHO | |
| 09:24:03 | rabel | what i already found out: you can use this to set default quotas, by using --class default | |
| 09:24:33 | reedip | is it ? :D | |
| 09:24:44 | rabel | yes :D | |
| 09:25:57 | rabel | while "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:27:44 | reedip | rabel whoa... wait ! | |
| 09:28:51 | reedip | rabel : okay, I see your point | |
| 09:29:08 | reedip | So default is type of a Class | |
| 09:29:15 | reedip | and we can create more classes | |
| 09:29:35 | reedip | and set quotas as per classes on the tenants (??) | |
| 09:30:37 | rabel | that 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:31:10 | rabel | actually i get the feeling, that the whole quota concept has some weaknesses ;) | |
| 09:35:58 | reedip | rabel thats y I had the ?? in my understanding | |
| 09:37:39 | rabel | reedip: do you know who could clarify this? | |
| 09:38:03 | reedip | rabel : as of now, I am not sure myself.. I am investigating your point | |
| 09:38:37 | rabel | reedip: k, thank you | |
| 09:39:40 | reedip | rabel : well , the openstacksdk states that network/v2/quota.py QuotaDefault should be picked up when setting the default quota | |
| 09:40:48 | reedip | rabel : interesting point is that --class only stores True or False :D | |
| 09:41:18 | reedip | rabel : python-openstackclient/openstackclient/common/quota.py | |
| 09:41:27 | reedip | Line#276 | |
| 09:42:43 | reedip | and for network , it should fail ..... ??? !!! | |
| 09:42:51 | rabel | reedip: yes, the class is the positional argument instead of project in this case | |
| 09:43:09 | reedip | Line #330 states that it ignores the Quota class for networks :D | |
| 09:43:22 | rabel | reedip: you're right | |
| 09:43:25 | rabel | :D | |
| 09:44:56 | reedip | rabel : so ... we need to find how the quota_classes for compute client and volume client are to be done | |
| 09:45:55 | reedip | but cant do anything about network :) | |
| 09:47:02 | reedip | leaving ... catch u in 2 hours , I guess | |
| 09:47:37 | rabel | kk, cu | |
| 09:47:46 | rabel | i'll have a look at nova | |
| 11:46:07 | rabel | someone could have a loot at https://review.openstack.org/#/c/444924/ ? it is without review for a week now | |
| 12:14:26 | reedip | o/ | |
| 12:24:32 | openstackgerrit | Monty Taylor proposed openstack/os-client-config master: Stop special-casing idenity catalog lookups https://review.openstack.org/450259 | |
| 13:32:15 | 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? | |
| 14:26:38 | openstackgerrit | Akihiro Motoki proposed openstack/python-openstacksdk master: Filtering support by is_router_external to network resource https://review.openstack.org/450152 | |
| 14:59:03 | openstackgerrit | Akihiro Motoki proposed openstack/python-openstacksdk master: Filtering support by is_router_external to network resource https://review.openstack.org/450152 | |
| 15:13:31 | dtroyer | stevemar, 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:44 | dtroyer | that fixes our functional-tips job | |
| 15:15:34 | ankur-gupta-f4 | K will check in a bit after next meeting | |
| 15:19:40 | sfinucan | dtroyer: RE [1], do you want me to squash all those fixup patches? [1] https://review.openstack.org/#/q/topic:sphinx15+project:openstack/python-openstackclient | |
| 15:22:54 | dtroyer | sfinucan: 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:23:30 | sfinucan | dtroyer: I have one or two to clean up so yeah, I'll squash them | |
| 15:23:35 | dtroyer | We normally don't need to be concerned about the resource usage of running all of those duplicate jobs for no code changes | |
| 15:23:46 | dtroyer | except in deadline weeks | |
| 15:23:54 | dtroyer | but it is good to be aware of that | |
| 15:24:14 | dtroyer | ok, thanks | |
| 15:24:32 | sfinucan | dtroyer: Yeah, I was thinking along the lines of keeping the commits self-contained | |
| 15:24:46 | ankur-gupta-f4 | sfinucan: o/ | |
| 15:24:47 | sfinucan | ...but that doesn't really make sense when I need all of them to switch the warning-is-error toggle | |
| 15:24:59 | sfinucan | ankur-gupta-f4: o/ | |
| 15:25:04 | dtroyer | right. that's always a balance, but with docs I push that line waaaaay over the other way most of the time. | |
| 15:25:19 | sfinucan | ankur-gupta-f4: what happened to ankur-gupta-{f1,f2,f3}? :) | |
| 15:25:34 | dtroyer | right. you can argue that they are all realted to that and I'd buy it :) | |
| 15:25:43 | sfinucan | job | |
| 15:26:36 | ankur-gupta-f4 | I believe i have IRC clients running on various machines. Probably | |
| 15:32:32 | reedip | he is a Drone ! | |
| 15:32:50 | reedip | he is Ankur in a Shell :D | |
| 15:54:28 | openstackgerrit | Stephen Finucane proposed openstack/python-openstackclient master: doc: Remove local fork of apidoc https://review.openstack.org/447589 | |
| 15:54:29 | openstackgerrit | Stephen Finucane proposed openstack/python-openstackclient master: Use Sphinx 1.5 warning-is-error https://review.openstack.org/446629 | |
| 15:54:29 | openstackgerrit | Stephen Finucane proposed openstack/python-openstackclient master: doc: Correct Sphinx warnings https://review.openstack.org/447590 | |
| 15:55:52 | sfinucan | dtroyer: ^ | |
| 15:56:09 | sfinucan | reedip: Shh! No spoilers! | |
| 15:56:37 | sfinucan | (Ghost in the Shell isn't out in Ireland yet :)) | |
| 15:56:47 | reedip | sfinucan : Oh you didnt see the 1995 version | |
| 15:57:00 | reedip | the original Japanese Magna | |
| 15:57:16 | reedip | There are 2 versions | |
| 15:57:18 | reedip | one 1995 | |
| 15:57:20 | reedip | one 2003 | |
| 15:57:28 | reedip | the 2003 one is of the Laughing Man | |
| 15:57:41 | reedip | the 1995 is of the Puppetier | |
| 15:57:52 | reedip | the 2003 one is taken up for the Live Action movie :) | |
| 15:58:34 | reedip | Well .. thats all I will say ... | |
| 15:58:45 | reedip | I have to also see the Ghost in the Shell | |
| 15:59:04 | reedip | it will release a month later, but this is the official release notes of the movie :D | |
| 15:59:42 | openstackgerrit | Monty Taylor proposed openstack/os-client-config master: Remove out of date comment https://review.openstack.org/450871 | |
| 15:59:48 | dtroyer | sfinucan: thanks, I should get to that after the noon meetings | |
| 17:21:45 | openstackgerrit | Merged openstack/os-client-config master: Stop special-casing idenity catalog lookups https://review.openstack.org/450259 | |
| 17:33:26 | openstackgerrit | Merged openstack/python-openstackclient master: Fix volume transfers request commands https://review.openstack.org/386770 | |
| 17:34:18 | efried | Greetings! | |
| 17:34:24 | efried | How 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:43 | efried | (via openstack CLI, btw) | |
| 17:38:37 | ankur-gupta-f4 | efried: looking into it. You might have hit a bug since you should be able to specify --nic none | |
| 17:39:01 | efried | ankur-gupta-f4 Okay, thanks. Let me know if I can help. | |
| 17:39:25 | efried | ankur-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:46 | ankur-gupta-f4 | github.com/openstack/python-openstackclient | |
| 17:40:01 | efried | thanks | |
| 17:45:47 | ankur-gupta-f4 | https://github.com/openstack/python-novaclient/blob/master/novaclient/v2/servers.py#L1295 | |
| 17:45:51 | ankur-gupta-f4 | efried: ^^^ | |
| 17:46:04 | efried | Yup, just found that. | |
| 17:49:28 | efried | Looks 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:51:55 | ankur-gupta-f4 | should 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:53:15 | efried | ankur-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:23 | efried | Thanks for the help; I'll follow up with mriedem in #openstack-nova. | |
| 17:53:44 | ankur-gupta-f4 | good luck | |
| 19:01:27 | efried | ankur-gupta-f4 Turns out I needed to specify --os-compute-api-version 2.37 | |