Earlier  
Posted Nick Remark
#openstack-nova - 2017-05-24
02:36:58 melwitt but the way it counts members is to find instances owned by the user that are also members of the group, and returns len(instances)
02:38:23 melwitt the problem is there's no user association with instance group members, so you can't just query the API db. have to lookup the group in the API db, then count how many instances belong to the user that are also in that group
02:39:32 melwitt so I would think if you boot an instance with some group, boot another instance with the same group that lands in a different cell, you're at the point where you have to query all cells. I dunno if it's possible for that to happen based on the available policies, which is what you were thinking about
02:40:45 openstackgerrit melanie witt proposed openstack/nova master: Add FixedIP.get_count_by_project() https://review.openstack.org/446246
02:40:45 openstackgerrit melanie witt proposed openstack/nova master: Add FloatingIP.get_count_by_project() https://review.openstack.org/446247
02:40:46 openstackgerrit melanie witt proposed openstack/nova master: Add get_count_by_vm_state() to Instance object https://review.openstack.org/446244
02:40:46 openstackgerrit melanie witt proposed openstack/nova master: Add SecurityGroup.get_counts() https://review.openstack.org/446245
02:40:46 openstackgerrit melanie witt proposed openstack/nova master: Remove 'reserved' count from used limits https://review.openstack.org/446242
02:40:47 openstackgerrit melanie witt proposed openstack/nova master: Remove useless quota_usage_refresh from nova-manage https://review.openstack.org/446243
02:40:48 openstackgerrit melanie witt proposed openstack/nova master: Count networks to check quota https://review.openstack.org/446241
02:40:50 openstackgerrit melanie witt proposed openstack/nova master: Count instances to check quota https://review.openstack.org/416521
02:40:51 openstackgerrit melanie witt proposed openstack/nova master: Count server group members to check quota https://review.openstack.org/457859
02:40:52 openstackgerrit melanie witt proposed openstack/nova master: Count security groups to check quota https://review.openstack.org/457860
02:40:54 openstackgerrit melanie witt proposed openstack/nova master: Make Quotas object favor the API database https://review.openstack.org/410945
02:40:54 openstackgerrit melanie witt proposed openstack/nova master: Count fixed ips to check quota https://review.openstack.org/457861
02:40:57 openstackgerrit melanie witt proposed openstack/nova master: Add online migration to move quotas to API database https://review.openstack.org/410946
02:40:58 openstackgerrit melanie witt proposed openstack/nova master: Count floating ips to check quota https://review.openstack.org/457862
02:51:23 mriedem melwitt: huh, not sure. we could write a tempest test or something for this which might tell us
02:51:32 mriedem and run that against dan's multi-cell devstack change
02:52:02 mriedem if you can come up with the test scenario i could help work on that in tempest
02:53:18 openstackgerrit jichenjc proposed openstack/nova master: Use plain routes list for os-migrations endpoint instead of stevedore https://review.openstack.org/461628
03:41:51 openstackgerrit OpenStack Proposal Bot proposed openstack/nova master: Updated from global requirements https://review.openstack.org/467344
04:22:07 openstackgerrit Tristan Cacqueray proposed openstack/nova master: Mask the token used to allow access to consoles https://review.openstack.org/220622
04:25:22 openstackgerrit Eric Berglund proposed openstack/nova master: Add strict option to discover_hosts https://review.openstack.org/467218
04:52:34 openstackgerrit Huan Xie proposed openstack/nova master: XenAPI use os-xenapi v2 in nova https://review.openstack.org/453493
05:34:28 openstackgerrit Huan Xie proposed openstack/nova master: XenAPI use os-xenapi v2 in nova https://review.openstack.org/453493
06:11:53 openstackgerrit falseuser proposed openstack/nova master: Clear instance root_device_name in rebuild operation https://review.openstack.org/464991
06:45:50 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Send out notifications when instance tags changed https://review.openstack.org/459923
07:30:31 openstackgerrit Li Yingjun proposed openstack/nova master: Fix duplicate Neutron ports on instance reschedule https://review.openstack.org/467509
07:35:06 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Exclude deleted service records when calling hyervisor statistics https://review.openstack.org/467220
08:06:38 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Use plain routes list for os-server-groups endpoint instead of stevedore https://review.openstack.org/462169
08:13:36 openstackgerrit Béla Vancsics proposed openstack/nova master: Transform keypair.import notification https://review.openstack.org/467514
08:35:27 openstackgerrit Gábor Antal proposed openstack/nova master: Add json style checking for sample notifications https://review.openstack.org/443677
09:21:04 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for DELETE RP inventory https://review.openstack.org/455215
09:21:05 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for PUT RP inventory https://review.openstack.org/455214
09:21:05 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for GET RP inventory https://review.openstack.org/455213
09:21:06 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Fix placement-api-ref check tool https://review.openstack.org/456198
09:21:06 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for GET RP inventories https://review.openstack.org/449765
09:21:07 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for DELETE RP inventories https://review.openstack.org/452708
09:21:07 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref POST resource provider https://review.openstack.org/456176
09:21:08 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for PUT RP inventories https://review.openstack.org/452707
09:21:08 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref GET resource provider https://review.openstack.org/467541
09:21:09 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref PUT resource provider https://review.openstack.org/467542
09:21:09 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref DELETE resource provider https://review.openstack.org/467543
09:37:39 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Send out notifications when instance tags changed https://review.openstack.org/459923
09:42:26 openstackgerrit John Haan proposed openstack/nova-specs master: Support volume_type with BDM paramter https://review.openstack.org/466595
09:47:27 openstackgerrit Stephen Finucane proposed openstack/nova master: nova-manage: Deprecate '--version' parameters https://review.openstack.org/453808
09:47:27 openstackgerrit Stephen Finucane proposed openstack/nova master: nova-manage: Rename 'api_db', 'cellsv2' commands https://review.openstack.org/453809
10:56:36 lyarwood mdbooth: ah sorry, I missed your summary note in https://review.openstack.org/#/c/443951/20 and just assumed you were suggesting we didn't need to wait for os-brick
11:10:09 openstackgerrit falseuser proposed openstack/nova master: Fix the rebuild operation bug https://review.openstack.org/467588
11:12:05 openstackgerrit Hong Hui Xiao proposed openstack/nova master: VMware: Check if network is ready on cluster host https://review.openstack.org/467589
11:13:25 openstackgerrit Claudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages https://review.openstack.org/447505
11:29:47 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for GET resource provider https://review.openstack.org/467541
11:29:48 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for PUT resource provider https://review.openstack.org/467542
11:29:48 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for DELETE resource provider https://review.openstack.org/467543
11:29:49 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for POST resource provider https://review.openstack.org/456176
11:29:49 openstackgerrit Andrey Volkov proposed openstack/nova master: [placement] Add api-ref for resource classes https://review.openstack.org/467596
12:23:20 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Send out notifications when instance tags changed https://review.openstack.org/459923
12:25:05 peter-hamilton hi all, hoping to get some reviews on cert validation patches: https://review.openstack.org/#/c/457711/, https://review.openstack.org/#/c/357202/, and https://review.openstack.org/#/c/457678/
12:25:15 peter-hamilton any and all reviews welcome :)
12:45:05 alex_xu nova api meeting is in 15 mins at #openstack-meeting-4
12:46:24 sfinucan alex_xu: Where would I find the agenda for that meeting?
12:47:36 alex_xu sfinucan: here is https://wiki.openstack.org/wiki/Meetings/NovaAPI
12:47:55 sfinucan alex_xu: ++
13:00:23 alex_xu nova api meeting is running now
13:26:40 openstackgerrit Jay Pipes proposed openstack/nova master: integrate trait cache with TraitList and Trait https://review.openstack.org/462770
13:26:41 openstackgerrit Jay Pipes proposed openstack/nova master: add cache which keeps DB and os_traits in sync https://review.openstack.org/462769
13:27:58 openstackgerrit Jay Pipes proposed openstack/nova master: integrate trait cache with TraitList and Trait https://review.openstack.org/462770
13:27:58 openstackgerrit Jay Pipes proposed openstack/nova master: add cache which keeps DB and os_traits in sync https://review.openstack.org/462769
13:34:08 openstackgerrit Hong Hui Xiao proposed openstack/nova master: VMware: Check if network is ready on cluster host https://review.openstack.org/467589
13:43:43 openstackgerrit Eric Berglund proposed openstack/nova master: Add strict option to discover_hosts https://review.openstack.org/467218
13:48:54 openstackgerrit Eric Berglund proposed openstack/nova master: Add strict option to discover_hosts https://review.openstack.org/467218
13:54:35 larsks The network_data.json provided by nova provides nameserver information globally in the "services" key, rather than scoping it per-interface. This would seem to mean that it's not possible to associate different sets of DNS servers with different interfaces.
13:54:44 larsks Am I reading the situation correctly?
13:57:18 sdague larsks: that sounds right
13:57:31 artom larsks, isn't that a limitation of networking in general though? I mean, nameservers are for the whole system, I don'tknow of a way to limit nameservers to an interface, with Nova or without
13:58:02 larsks artom: not at all. I mean, you may have interface that are only reachable via specific interfaces. If everything is up, that's fine, but if you bring down the corresponding interface you want those nameservers to go away.
13:58:09 openstackgerrit Daniel Pawlik proposed openstack/nova master: Add `hide_hypervisor_id` image property https://review.openstack.org/459753
13:58:53 sdague larsks: yeh, this is basically just the /etc/resolv.conf handled case, nothing fancier
13:59:06 sdague it's going to be processed by cloud-init
13:59:20 larsks sdague: well, the problem here is that since Nova doesn't provide interface-scoped DNS servers, cloud-init...or anything else...can't actually configure the system correctly.
13:59:35 larsks E.g., DNS information should be added to interface config files (like /etc/sysconfig/network-scripts/ifcfg-eth0).
13:59:47 larsks But we can't, since the servers are only listed globally.
14:00:02 artom larsks, ah, so you want DNS servers being dynamically added/removed based on if they'd be reachable or not
14:00:31 Guest36154 artom: no, you can put all the dns servers in resolv.conf and it'll use the right route to get to each server
14:00:33 larsks Right. That is typically how things are configured, and most distros have facilities for managing /etc/resolv.conf as interfaces come up and down.
14:00:36 sdague larsks: if you can figure out a way to get neutron to build that information that way, it's probably possible to make corresponding nova changes to expose this
14:00:45 danpawlik mriedem, efried, kashyap: I fixed all what you comment in my PS: https://review.openstack.org/#/c/459753
14:00:51 mriedem johnthetubaguy: got a policy question for you on https://github.com/openstack/nova/blob/master/nova/policies/quota_class_sets.py#L25
14:00:51 sdague but nova doesn't own that datastructure
14:00:59 kashyap danpawlik: Yep, will look in a bit; in the middle of something
14:01:08 mriedem johnthetubaguy: the quota_class is the id in the GET call,
14:01:18 mriedem so effectively it means: 'is_admin:True or quota_class:default'
14:01:32 larsks sdague: all right, I'll poke around neutron. Does network_data.json come directly from neutron (e.g., nova is just proxying the information)?
14:01:33 mriedem johnthetubaguy: does that mean you could just configure policy per quota class?
14:01:38 mriedem even though we only have one
14:01:44 artom dansmith, yeah, they end up being global for the system, but what I think larsks has in mind is to add them to the global pool based on what interface is up/down
14:02:09 dansmith artom: sure, but not like added and removed as they become dynamically reachable, just assumed reachable because the interface is up
14:02:25 dansmith artom: which is what I thought you meant
14:02:44 artom dansmith, right, the "reachable" part is meaning we humans assign

Earlier   Later