Earlier  
Posted Nick Remark
#openstack-sdks - 2017-03-27
17:57:18 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Add flavor value options https://review.openstack.org/302795
18:56:19 dtroyer mordred, stevemar: I'm adding the osc-functional-tips job to osc-lib (https://review.openstack.org/450419), should we add it to os-client-config too?
18:57:55 mordred dtroyer: I'm a fan of any functional testing that's good
18:58:35 mordred dtroyer: I'm assuming that's running OSC's functional tests with the tips of the things?
18:59:51 dtroyer yes
19:00:18 dtroyer it's broken at the moment due to the removing-ksc review in o-c-c
19:00:39 dtroyer which is next up for me to sort out. Time to squash that instead of always going backward
19:02:05 dtroyer ok, added to occ too
20:04:03 openstackgerrit Merged openstack/osc-lib master: Nit: Reorder some util methods in alphabetic order https://review.openstack.org/444086
20:59:27 openstackgerrit Dean Troyer proposed openstack/osc-lib master: Change noauth strategy for plugin loading https://review.openstack.org/450452
21:01:01 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Change noauth strategy for plugin loading https://review.openstack.org/450453
#openstack-sdks - 2017-03-28
00:58:55 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Change noauth strategy for plugin loading https://review.openstack.org/450453
01:47:28 openstackgerrit Akira Yoshiyama proposed openstack/os-client-config master: Add allow_identity_admin to CloudConfig.get_session_endpoint() https://review.openstack.org/450500
03:54:44 openstackgerrit Jamie Lennox proposed openstack/os-client-config master: Stop special-casing idenity catalog lookups https://review.openstack.org/450259
07:10:32 openstackgerrit Rui Chen proposed openstack/python-openstacksdk master: Find floating ip by ip address https://review.openstack.org/449879
07:30:30 rabel good mornin!
07:51:40 RuiChen morning rabel :-)
07:52:34 rabel hi RuiChen :)
07:52:43 rabel how are you?
07:54:22 RuiChen yeah, have a pretty sunshine day, what about you?
07:59:08 openstackgerrit Takashi NATSUME proposed openstack/python-openstackclient master: List/Show all server migration types https://review.openstack.org/450119
08:14:09 rabel RuiChen: here too. :(
08:14:12 rabel :)
08:14:51 rabel reedip, reedip_: i have a question about a note from you in the openstackclient source.
08:14:56 rabel :q
08:15:09 reedip fire away
08:15:44 rabel in common/quota.py there is a check if network_quota_info is dict or not
08:15:54 rabel at ShowQuota
08:16:22 rabel the node says this will not be necessary when using sdk 0.9.12 or above
08:16:39 reedip rabel ; I made a patch for that
08:16:51 reedip rabel : but its in failed state, I will push it again
08:18:10 reedip rabel :https://review.openstack.org/#/c/439299/
08:19:09 rabel reedip: i tried this, but it does not seem to work
08:19:26 reedip rabel : yes, I need to relook into this
08:20:32 rabel ok. feel free to add me to reviewers, if you upload more patches. :)
08:20:35 reedip I will take it today ..
08:20:46 reedip sure thing rabel ...
08:21:05 rabel since you already worked on the quota thing, maybe you can answer me another question
08:21:30 reedip rabel ... yessss
08:21:55 rabel the 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:23:28 reedip rabel : IIUC , we can change the default quotas of a project
08:25:20 rabel reedip: i thought the default quotas are the quotas that are applied to a new project. what are default quotas for a project then?
08:26:17 reedip rabel : https://docs.openstack.org/admin-guide/cli-networking-advanced-quotas.html#configure-per-project-quotas
08:26:29 reedip neutron quota-default-show
08:28:49 rabel reedip: "neutron quota-default-show" as well as "openstack quota show --default" do work without providing a project
08:29:05 reedip rabel : they take the current user as the project
08:29:39 rabel reedip: ah, ok.
08:29:50 rabel reedip: but what are default quotas then?
08:30:20 reedip rabel : and the interesting thing may be here
08:30:21 reedip Configure Networking to show per-project quotas
08:30:21 reedip Set the quota_driver option in the /etc/neutron/neutron.conf file.
08:30:21 reedip quota_driver = neutron.db.quota_db.DbQuotaDriver
08:31:11 reedip this is the default quota driver, but any variant ( like RHOS, Canonical Openstack ) can create their own Quota drivers as well
08:32:04 reedip the neutron/db/quota_db.py DbQuotaDriver will have the default quotas which you want
08:33:32 reedip rabel as you see in the file ( neutron/db/quota/driver.py ) which is loaded up by neutron/db/quota_db.py
08:34:00 reedip they have created a --tenant for now, as it is possible to change default quotas per tenant in the future
08:34:20 reedip and that can be done by any third party in their own variant of the code :)
08:36:15 rabel reedip: i see the comment in the file. but i don't understand the idea behind default quotas for a project.
08:37:24 reedip Its like differentiating the quality of service of a cloud
08:38:17 reedip if a user wants to have a Gold Standard QoS, then they may have a specific default quota
08:38:40 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/python-openstackclient master: Add "qos-policy" option to "port create" & "port set" https://review.openstack.org/419236
08:38:59 reedip If they have platinum , then .... you can have better number of resources in default
08:40:15 openstackgerrit Reedip proposed openstack/python-openstackclient master: Add "qos-policy" option to "port create" & "port set" https://review.openstack.org/419236
08:40:28 reedip ralonsoh : you forgot to add yourself as the author ^^
08:40:40 ralonsoh No, no problem
08:41:07 ralonsoh reedip: it was just a forgotten patch I wanted to be fixed
08:41:13 reedip I added you as well ralonsoh ... you are working on it right now
08:41:29 reedip yeah, you are working on it.... so I added you :)
08:41:46 ralonsoh reedip: okidoki!!
08:42:04 rabel reedip: in this case the customer would have one openstack-project, not? so you could just adjust the quotas for the project.
08:42:16 rabel i still don't understand. sorry ;)
08:42:27 reedip rabel : see it from a Public cloud perspective
08:42:37 reedip where multiple users can request for quotas
08:42:43 reedip something like AWS ?
08:43:04 rabel never worked with aws.
08:43:32 rabel but quotas in openstack are always project-based, right?
08:43:42 reedip rabel : neither did I , but I checked their business model
08:43:47 reedip rabel : yes
08:44:24 rabel reedip: so one project has one set of quotas.
08:44:29 reedip rabel : yes
08:44:54 rabel reedip: and additionally you have one cloud-wide default set of quotas, which is applied when a new project is created.
08:45:40 rabel reedip: or wait
08:45:55 reedip rabel : thats the thing ... you can also have a default quota for a tenant
08:46:43 rabel reedip: and when this is used? when i create a new tenant with --parent to that other tenant?
08:50:45 RuiChen dtroyer: 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]
09:00:11 rabel reedip: and also in this context: i do not understand, what a quota class is :D
09:00:39 reedip sorry , in another meeting rabel :)
09:00:46 reedip will be back in sometime
09:00:53 rabel reedip: np
09:00:57 rabel reedip: and thank you!
09:18:53 reedip rabel : hi
09:19:29 rabel reedip: welcome back :)
09:19:36 reedip currently there is no discrimination between tenants for default quotas in vanilla flavor of Openstack
09:19:52 reedip but it can be done.....
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

Earlier   Later