Earlier  
Posted Nick Remark
#openstack-nova - 2017-08-16
07:55:12 jaypipes gibi: because instance.host has not yet been un-set and the allocation for the instance is going to be still in the placmeent API
07:55:41 jaypipes gibi: instead of modifying that code block, I'd prefer to add a new remove_offloaded_instance_allocation() method to the *resource tracker* and call that from the compute manager.
07:57:19 jaypipes gibi: I'll add a comment saying so
07:57:26 jaypipes gibi: does that make sense?
07:57:41 gibi jaypipes: that seems like an easy refactoring on the current patch
07:57:47 gibi jaypipes: so I can do that
07:57:48 jaypipes gibi: ya
07:58:03 jaypipes gibi: basically just hiding the reportclient interaction behind an RT call
07:58:13 gibi jaypipes: make sense
07:58:28 gibi jaypipes: especially as the current patch depends on the rt internals anyhow
08:01:20 jaypipes gibi: ya
08:05:06 maciejjozefczyk jaypipes: Hello, about https://review.openstack.org/#/c/491808/ ; I've removed those unit-tests are not testing anything. Tests for this case i think are already done with ./nova/tests/functional/db/test_build_request.py:test_get_by_filters*
08:05:46 jaypipes maciejjozefczyk: lol, I was just reviewing that :)
08:06:04 maciejjozefczyk jaypipes: :D
08:09:29 jaypipes maciejjozefczyk: k, reviewed. problem found. see review comments :)
08:09:42 gibi jaypipes: did you move to EU or it is just insomnia?
08:10:33 jaypipes gibi: I'm in Prague and Kharkiv for next two weeks at Mirantis offices :)
08:11:17 gibi jaypipes: cool. I like having more cores in EU timezones
08:13:16 openstackgerrit Gao Zexu proposed openstack/nova master: Fix a wrong link https://review.openstack.org/494109
08:14:05 jaypipes gibi: :)
08:14:07 maciejjozefczyk jaypipes: good point!
08:14:15 jaypipes maciejjozefczyk: makes sense, yeah?
08:15:05 gibi jaypipes: I guess your comment also applies to my evac patch as there I also call report client from compute.manager. https://review.openstack.org/#/c/493037/3/nova/compute/manager.py@677
08:16:28 maciejjozefczyk jaypipes: yeah, without this i till copy-paste all instances data from db to agent
08:16:51 maciejjozefczyk in case of driver that is not supporting uuids listening
08:18:01 maciejjozefczyk listining*
08:20:52 jaypipes maciejjozefczyk: right
08:21:08 jaypipes gibi: yup :)
08:30:46 openstackgerrit Chris Dent proposed openstack/nova master: Make scheduler.utils.merge_resources ignore zero values https://review.openstack.org/493963
08:53:59 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/nova master: Read Neutron port 'binding_profile' during boot https://review.openstack.org/449257
08:57:51 openstackgerrit Pavlo Shchelokovskyy proposed openstack/nova master: Shuffle best hosts from weighed hosts https://review.openstack.org/494136
08:58:32 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/nova master: Add Neutron port capabilities to devspec in request https://review.openstack.org/451777
09:15:17 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/nova master: Format NIC features using os-traits definitions https://review.openstack.org/466051
09:24:55 openstackgerrit Chris Dent proposed openstack/nova master: Optimize MiniDNS for fewer syscalls https://review.openstack.org/486829
10:18:59 openstackgerrit Kevin Zhao proposed openstack/nova master: Modify the test case of get_disk_mapping_rescue_with_config https://review.openstack.org/494156
10:46:35 openstackgerrit Maciej Jozefczyk proposed openstack/nova master: Remove host filter for _cleanup_running_deleted_instances periodic task https://review.openstack.org/491808
10:59:13 Borg- hi.
10:59:32 Borg- im trying to list instances from DB... but.. there is no instances table.. wtf?
11:00:57 Borg- ahhh nova_api
11:11:59 openstackgerrit David Rabel proposed openstack/nova master: Adds support for gracefull shutdown for VMware instances https://review.openstack.org/494169
11:27:14 openstackgerrit Takashi NATSUME proposed openstack/nova master: Amend the code review guide for microversion API https://review.openstack.org/494173
11:44:30 openstackgerrit Balazs Gibizer proposed openstack/nova master: delete allocation of evacuated instance https://review.openstack.org/493037
11:57:52 openstackgerrit David Rabel proposed openstack/nova master: Adds support for gracefull shutdown for VMware instances https://review.openstack.org/494169
12:17:22 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/os-vif master: Add ``HostPortProfileInfo`` class https://review.openstack.org/441590
12:19:19 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/os-vif master: Add __str__ method to Host* objects https://review.openstack.org/493082
12:29:09 openstackgerrit Pavlo Shchelokovskyy proposed openstack/nova master: Shuffle best hosts from weighed hosts https://review.openstack.org/494136
12:47:22 dtantsur folks, how do I find a flavor by its name from Python API?
12:47:34 dtantsur flavors.get('name') does not seem to work..
12:54:48 vdrok dtantsur: list with filter?
12:55:02 vdrok this is what I see happening in novaclient when getting flavor by name
12:55:11 dtantsur it does not even seem to have a support for filters... well, ok :)
12:56:14 vdrok hrm
12:56:22 jaypipes dtantsur: you can't :(
12:57:45 vdrok `GET call to compute for http://192.168.122.22/compute/v2.1/flavors/baremetal` returns 404, then `GET call to compute for http://192.168.122.22/compute/v2.1/flavors?is_public=None` happens
12:59:26 cdent dtantsur: yup, is a list, then filter of the list to get id, then get by id
12:59:28 cdent woot
12:59:53 dtantsur cdent: what does list() return? does it return full Flavor objects?
13:00:26 cdent dtantsur: I’m not sure of the actual python code that’s being called, just which api requests happen
13:00:42 dtantsur ok, I'll check I guess
13:02:07 dtantsur it seems to have a name and an ID, good enough for my case :)
13:08:19 jaypipes dtantsur: yeah, you need to use the id (which is a string, not an int) when get'ing the flavor :(
13:08:40 openstackgerrit Maciej Jozefczyk proposed openstack/nova master: Remove host filter for _cleanup_running_deleted_instances periodic task https://review.openstack.org/491808
13:08:52 dtantsur heh, okay
13:09:57 dtantsur jaypipes: have you seen https://review.openstack.org/#/c/494136/ ?
13:11:05 dtantsur dansmith: hi, around? wdyt about https://review.openstack.org/#/c/492964/ ?
13:12:36 jaypipes dtantsur: I had not. will look at that now...
13:12:55 dtantsur cool. there is a hope that it will bring a relief to our broken CI
13:34:40 openstackgerrit Ed Leafe proposed openstack/nova master: Remove the Pike migration code for flavor migration https://review.openstack.org/494206
13:35:22 dansmith dtantsur: sweet, I'll have a look again in a bit.. jaypipes can you review that?
13:35:45 dtantsur dansmith: he has his +2 there already
13:37:17 dansmith oh before the tripleo run even I see :)
13:37:24 dansmith okay, well, let me get coffee and then I will
13:39:25 openstackgerrit Eric Fried proposed openstack/nova master: [Trivial] docstrings, typos, minor refactoring https://review.openstack.org/493701
13:45:09 openstackgerrit Maciej Jozefczyk proposed openstack/nova master: Remove host filter for _cleanup_running_deleted_instances periodic task https://review.openstack.org/491808
13:50:23 jaypipes dansmith: the patch from pas-ha?
13:51:04 jaypipes dansmith: oh, the one from dtantsur. yeah, I'm good on that oie.
13:51:05 jaypipes one.
13:58:23 dansmith jaypipes: dtantsur: backport is here: https://review.openstack.org/#/c/494216/1
13:58:31 dtantsur nice, thanks!
13:58:33 dtantsur vdrok: ^^^
13:58:51 dtantsur I'll be out for PTO the next two days, vdrok will be your contact point wrt scheduling :)
13:58:51 vdrok oh, thanks dansmith ! also morning
13:58:58 dansmith vdrok: :P
14:33:03 mnaser in preparing for a newton -> ocata upgrade and to avoid accidentally having nova-compute instances that were somehow not running newton, is it reliable/accurate to verify the `version` field in the `services` table?
14:33:17 mnaser it looks like version 15 was newton, so assuming they're all 15, should be good to go
14:37:08 dansmith mnaser: meaning verify that if service.version==15, that means they're all running newton (i.e. no un-upgraded mitaka computes still left) ?
14:37:16 mnaser dansmith correct
14:37:46 dansmith mnaser: yeah that's a reasonably legit thing to do
14:38:00 mnaser dansmith also thinking now it would be nice if this is part of nova-status upgrade check
14:38:03 dansmith mnaser: you can get the number by looking at nova/objects/service.py
14:38:04 mnaser (but im sure contributions welcome)
14:38:21 mnaser yeah, i found that part, looks like master is up to 17, ocata is 16
14:38:34 dansmith it's not one per release, fyi,
14:38:47 dansmith but each release should have some terminal number which won't change until the next one
14:39:02 mnaser yeah i was going off the number in stable/<x>
14:39:14 mnaser which i assume won't change unless something major is going on
14:41:50 openstackgerrit Balazs Gibizer proposed openstack/nova master: Clean up resources at shelve offload https://review.openstack.org/493834
14:41:50 openstackgerrit Balazs Gibizer proposed openstack/nova master: test shelve and shelve offload with placement https://review.openstack.org/493062
14:42:52 openstackgerrit Balazs Gibizer proposed openstack/nova master: replace chance with filter scheduler in func tests https://review.openstack.org/491529
14:43:24 gibi jaypipes: If fixed your comments in the shelve offload bugfix ^^

Earlier   Later