Thursday, 2017-11-30

mriedeme.g. https://review.openstack.org/#/c/517158/00:00
mriedemmgagne: btw, that's another reason people can't/shoudn't literally skip through releases for upgrades00:01
*** sdague has quit IRC00:01
*** suresh12 has joined #openstack-nova00:01
mgagnemriedem: I can't afford to not skip versions ;)00:02
mriedemfast forwarding through versions is fine00:02
*** yamamoto has joined #openstack-nova00:02
mriedembut you have to run the data migratoins00:02
mriedemper release00:02
mriedemsame issues with dropping config options after n+100:02
mgagneyes, but with cells, I'm not sure if I will be able to skip anymore, too many unknown for now00:03
*** david-lyle has quit IRC00:03
*** dklyle has joined #openstack-nova00:03
mgagnemriedem: configs are fine, we have funky stuff in puppet to support multiple versions00:03
mriedemlike aliases?00:03
*** slaweq has joined #openstack-nova00:04
mgagnevery funky stuff: https://gist.github.com/mgagne/7146424416eda597563c4018ce50cf9700:06
mgagnecopied as-is so you can see our mess00:06
mgagnethis class is included in our main nova.pp which does the main configuration00:06
*** thorst has joined #openstack-nova00:07
*** david-lyle has joined #openstack-nova00:07
mgagneso I just make it so puppet-nova for newton works with mitaka. and I do the same with other services/modules00:08
*** dklyle has quit IRC00:08
*** hongbin has quit IRC00:08
tssurya_mriedem : actually belmiro is currently on newton, moving to ocata (which would be only for a short duration), but main goal is pike.00:08
*** slaweq has quit IRC00:09
*** Sukhdev has joined #openstack-nova00:09
tssurya_mridem, dansmith : http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2017-10-24.log.html#t2017-10-24T13:12:39 , the conversation you guys had regarding placement,00:09
mriedemtssurya_: thanks, put that into https://etherpad.openstack.org/p/cellsv1-to-v2-migration00:10
tssurya_mriedem : sure !00:10
*** Sukhdev has quit IRC00:10
*** thorst has quit IRC00:11
openstackgerritMatt Riedemann proposed openstack/nova master: Enable cold migration with target host(2/2)  https://review.openstack.org/40896400:14
openstackgerritMatt Riedemann proposed openstack/nova master: Add multi-cell negative test for cold migration with target host  https://review.openstack.org/52402700:14
*** moshele has quit IRC00:14
*** edmondsw has quit IRC00:15
mgagnemriedem: ok so if you run Cellsv1, you should run placement per cell otherwise nova-scheduler in cell *could* pickup hosts from a different cell?00:16
dansmithit will00:16
dansmithand will have to filter them out00:17
mgagne"and will have to filter them out" how?00:17
mriedemthe scheduler does a db query to the compute_nodes table per cell00:17
dansmithby the ones it has host state for00:17
*** Sukhdev has joined #openstack-nova00:17
mriedem1. scheduler asks placement for resource providers (compute nodes) for a given request (flavor)00:17
mriedem2. scheduler queries the cell db for the compute nodes by the list of uuids from placement00:18
mriedem3. scheduler converts those compute nodes to HostState objects and those go through the enabled filters00:18
mgagnedoes it mean UUID returned by 2) from placement would be filtered by the ones found in compute nodes in cell db?00:18
*** tssurya_ has quit IRC00:19
mriedemyeah https://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L62800:19
mriedemstarts here https://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L64500:19
*** ijw has quit IRC00:20
mriedemalthough, that's pike+00:20
mriedemhttps://github.com/openstack/nova/commit/d1de5385233ce4379b17a7404557c6724dc37cd400:20
*** threestrands has quit IRC00:21
*** yangyapeng has quit IRC00:22
*** ijw has joined #openstack-nova00:22
mgagneI'm more concerned about cellsv1, I feel like linked commit is for cellsv2 where scheduling happens in api/top cell? Or am I mistaken?00:23
*** salv-orlando has joined #openstack-nova00:23
mriedemwith cells v2 yeah there is just a flat scheduler00:23
mriedemwhich is multi-cell aware starting in pike00:23
*** thorst has joined #openstack-nova00:25
mriedemmy brain is getting fried and i can already hear my wife getting mad because i'm in my office after 6pm,00:25
mriedembut i'm not sure if https://review.openstack.org/#/c/436648/ makes a significant difference in the decision to run per-cell placement or not in ocata00:25
mriedembecause the nova-scheduler in each cell in ocata would only query computes from the cell db it's configured for00:25
mriedemso placement might say there are 1000 computes that could satisfy a request, but only 100 of those might be in the cell db that that cell knows about00:26
mriedemwhich is this https://github.com/openstack/nova/blob/stable/ocata/nova/scheduler/host_manager.py#L57900:26
mriedemso i think global placement is still ok in ocata (still not sure why belmiro wanted per-cell placement, would have to read the notes again)00:26
*** salv-orlando has quit IRC00:27
mgagnealright, I guess it addresses my concern. would need to test for sure but I get the idea00:28
mriedemi put more notes about this in https://etherpad.openstack.org/p/cellsv1-to-v2-migration00:29
mriedemwould need dansmith to confirm my thinking, but i think global placement would be fine00:29
*** dklyle has joined #openstack-nova00:29
dansmithwe get the host list from placement in ocata IIRC, so I think its' the same as pike00:29
mriedemgiven that plus the catalog issue, i think global placement would be the way to go unless i'm missing something00:30
*** david-lyle has quit IRC00:30
dansmithbut I am also rather fried for the day00:30
mriedemright, we get the host list from placement in ocata,00:30
mriedemand then get the compute nodes from the uuids placement returned https://etherpad.openstack.org/p/cellsv1-to-v2-migration00:30
mriedemoops00:30
mriedemhttps://github.com/openstack/nova/blob/stable/ocata/nova/scheduler/host_manager.py#L57900:30
mriedemwhich in ocata are just for the cell that the scheduler has access to00:30
mriedembut, that's fine, it's just an IN query00:30
mriedemyo'ud get the subset that the child cell db knows about00:30
mriedemthe inefficiency would be on the placement side00:31
dansmithit's still going to return all the nodes in the system from the placement call00:31
dansmithand make a massive SQL query00:31
mriedemthat's no different in pike though00:31
dansmiththat's what I said00:31
mriedemheh, yeah00:31
mriedemwell, shit, let's just add a cell mapping to placement, i'm sure cdent and edleafe and jaypipes would be on board with that00:32
* dansmith pulls the pin from the grenade and stares into mriedem's eyes with that "your move" look00:32
mriedemwith a grenade, we're both going to die right?00:32
mriedemin close proximity00:32
*** chyka has quit IRC00:32
dansmithif I let go00:33
dansmiththat's the idea00:33
mgagnecan those details be added to the etherpad? like you should be running global placement. it will return all UUIDs of all compute nodes but scheduler will filter them out. And there are plans to optimize that.00:33
mriedemmgagne: i added something along those lines in the pros/cons sections for global vs local placement00:33
mriedemmight not be coherent at this point00:33
mgagneok, I didn't fully understand what it meant ^^'00:33
mriedemdansmith: i just like the idea of saying we should do that and watching heads explode00:34
mriedemmgagne: probably need some kind of summary section00:35
mgagneyea00:35
mgagneperfect00:35
mgagneI think we should make it clear which use case is addressed: placement with cellsv1 vs cellsv200:36
mgagneI think the summary section is good. does it apply to newton too?00:38
mriedemnewton scheduler didn't talk to placement00:38
mriedemi think, have to check00:38
mgagneoooooh00:38
mgagneso...00:38
mgagneplacement in newton, compute reports resources but nothing is consuming from placement?00:39
* dansmith wonders if he should hand this live grenade to mriedem's wife00:39
mriedemmgagne: correct00:39
mgagneholy cow00:39
mriedemhttps://docs.openstack.org/releasenotes/nova/ocata.html00:39
mriedem"The Nova FilterScheduler driver is now able to make scheduling decisions based on the new Placement RESTful API endpoint that becomes mandatory in Ocata. "00:39
mriedemand in ocata, the scheduler only starts asking placement once all compute are upgraded00:40
mriedemknowing they are reporting in to placement00:40
mgagnewell, if i'm upgrading to newton, I might not read ocata release notes (yet) =)00:40
mriedemmgagne: it's done that way for rolling upgrades00:40
mriedemthat's why we do a min service version check00:40
mgagneawesome news then00:40
mriedemdansmith: yeah she poked her head in here about 2 minutes after i said htat00:41
mgagnefinally understood something today :D00:41
dansmithmriedem: mmhmm, I can hear her from oregon00:41
mriedemmgagne: https://github.com/openstack/nova/blob/stable/ocata/nova/scheduler/filter_scheduler.py#L16900:41
*** Sukhdev has quit IRC00:41
mriedemshe sent our daughter in to yell at me00:42
mriedemso ttyl00:42
mgagneI'm off for today too, have a good one. thanks for all the explanations!00:42
*** yamamoto has quit IRC00:45
*** Sukhdev has joined #openstack-nova00:52
*** yangyapeng has joined #openstack-nova00:55
*** david-lyle has joined #openstack-nova00:55
*** dklyle has quit IRC00:55
*** yangyapeng has quit IRC00:59
*** ijw has quit IRC00:59
*** jose-phillips has joined #openstack-nova01:00
*** david-lyle has quit IRC01:01
*** jichen has joined #openstack-nova01:03
*** yangyapeng has joined #openstack-nova01:04
openstackgerritJackie Truong proposed openstack/python-novaclient master: Microversion 2.56 - Add trusted_image_certificates  https://review.openstack.org/50039601:04
*** thorst has quit IRC01:05
openstackgerritJackie Truong proposed openstack/python-novaclient master: Microversion 2.56 - Add trusted_image_certificates  https://review.openstack.org/50039601:08
*** links has joined #openstack-nova01:09
*** liverpooler has joined #openstack-nova01:13
*** smatzek has joined #openstack-nova01:19
*** mriedem has quit IRC01:21
*** nicolasbock has quit IRC01:22
*** mriedem has joined #openstack-nova01:23
*** smatzek has quit IRC01:24
*** salv-orlando has joined #openstack-nova01:24
*** yamamoto has joined #openstack-nova01:24
*** edmondsw has joined #openstack-nova01:24
*** gbarros has joined #openstack-nova01:25
*** armax has quit IRC01:26
*** salv-orlando has quit IRC01:29
*** edmondsw has quit IRC01:29
Kevin_Zhengmriedem, Hi, what is the -1 for in https://review.openstack.org/#/c/523653/ ? I saw that you are suggesting to make change on manager.py in a follow up patch01:30
mriedemnot a follow up patch,01:30
mriedema preceeding patch01:30
mriedemyour patch introduces a bug01:30
Kevin_ZhengAh, OK, got it.01:32
*** priteau has joined #openstack-nova01:32
*** thorst has joined #openstack-nova01:34
*** thorst has quit IRC01:34
*** priteau has quit IRC01:37
openstackgerritMatt Riedemann proposed openstack/nova master: Assert that we restrict cold migrations to the same cell  https://review.openstack.org/52403501:37
mriedemtakashin: i split this test out into it's own patch https://review.openstack.org/#/c/524027/01:38
mriedemand added this https://review.openstack.org/#/c/524035/101:38
*** sree has joined #openstack-nova01:40
openstackgerritMatt Riedemann proposed openstack/nova master: Enable cold migration with target host(2/2)  https://review.openstack.org/40896401:44
openstackgerritMatt Riedemann proposed openstack/nova master: Add multi-cell negative test for cold migration with target host  https://review.openstack.org/52402701:44
openstackgerritMatt Riedemann proposed openstack/nova master: Assert that we restrict cold migrations to the same cell  https://review.openstack.org/52403501:44
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P):Get vgpu info from `allocations`  https://review.openstack.org/52171701:45
*** sree has quit IRC01:46
*** Apoorva has quit IRC01:51
*** Apoorva has joined #openstack-nova01:52
openstackgerritMatt Riedemann proposed openstack/nova master: Enable cold migration with target host(2/2)  https://review.openstack.org/40896401:56
openstackgerritMatt Riedemann proposed openstack/nova master: Add multi-cell negative test for cold migration with target host  https://review.openstack.org/52402701:56
openstackgerritMatt Riedemann proposed openstack/nova master: Assert that we restrict cold migrations to the same cell  https://review.openstack.org/52403501:56
*** annp has joined #openstack-nova01:56
*** litao__ has joined #openstack-nova01:56
*** Apoorva has quit IRC01:57
*** claudiub|2 has quit IRC02:00
*** coreywright has quit IRC02:00
openstackgerritAndreas Karis proposed openstack/nova master: Fixes 'Not enough available memory' log message  https://review.openstack.org/52403802:00
Kevin_Zhengmriedem: for your comment on https://review.openstack.org/#/c/523653/ , we have a instance uuid lock here, if directly call _shelve_offload_instance might be a problem ? https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L463702:01
mriedemKevin_Zheng: that was added for a race tempest was hitting https://github.com/openstack/nova/commit/e285eb1a382e6d3ce1cc596eeb5cecb3b165a22802:03
mriedemKevin_Zheng: you could do the same instance lock in the periodic task when calling _shelve_offload_instance02:03
Kevin_ZhengAh, right, I'm so stupid...02:04
*** namnh has joined #openstack-nova02:11
*** mriedem has quit IRC02:11
*** Apoorva has joined #openstack-nova02:14
openstackgerritTakashi NATSUME proposed openstack/nova master: [placement] Fix foreign key constraint error  https://review.openstack.org/51688002:16
*** dave-mccowan has quit IRC02:18
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P):Get vgpu info from `allocations`  https://review.openstack.org/52171702:19
*** coreywright has joined #openstack-nova02:19
*** phuongnh has joined #openstack-nova02:21
*** yamamoto has quit IRC02:22
*** yamamoto has joined #openstack-nova02:24
*** salv-orlando has joined #openstack-nova02:24
openstackgerritHuan Xie proposed openstack/nova master: XenAPI: Don't use nicira-iface-id for XenServer VIF  https://review.openstack.org/45164102:25
*** tbachman has quit IRC02:25
*** vks1 has joined #openstack-nova02:26
*** salv-orlando has quit IRC02:29
*** hongbin has joined #openstack-nova02:32
*** gbarros has quit IRC02:39
*** yamamoto has quit IRC02:40
*** gcb has joined #openstack-nova02:40
*** vivsoni has quit IRC02:41
*** vivsoni has joined #openstack-nova02:41
*** liverpooler has quit IRC02:43
*** Apoorva_ has joined #openstack-nova02:44
*** dave-mccowan has joined #openstack-nova02:45
openstackgerritZhenyu Zheng proposed openstack/nova master: Modify _poll_shelved_instances periodic task call _shelve_offload_instance()  https://review.openstack.org/52404702:46
*** zhurong has joined #openstack-nova02:46
*** Apoorva has quit IRC02:47
*** yamahata has quit IRC02:54
*** tbachman has joined #openstack-nova02:54
*** yamamoto has joined #openstack-nova02:54
*** threestrands has joined #openstack-nova02:55
*** diga has joined #openstack-nova02:55
*** thorst has joined #openstack-nova02:59
*** Apoorva_ has quit IRC03:01
*** Apoorva has joined #openstack-nova03:01
*** trungnv has quit IRC03:03
*** masber has joined #openstack-nova03:03
*** trungnv has joined #openstack-nova03:04
*** yamamoto has quit IRC03:05
*** Apoorva has quit IRC03:06
*** Sukhdev has quit IRC03:07
*** masuberu has quit IRC03:07
*** tbachman has quit IRC03:08
*** fragatina has quit IRC03:09
*** fragatina has joined #openstack-nova03:09
*** fragatin_ has joined #openstack-nova03:12
*** edmondsw has joined #openstack-nova03:13
*** bkopilov has quit IRC03:13
*** fragatina has quit IRC03:14
*** fragatin_ has quit IRC03:16
*** edmondsw has quit IRC03:17
*** fragatina has joined #openstack-nova03:19
*** vladikr has quit IRC03:23
*** vladikr has joined #openstack-nova03:23
*** fragatina has quit IRC03:24
*** abhishekk has joined #openstack-nova03:25
*** gcb has quit IRC03:25
*** salv-orlando has joined #openstack-nova03:25
*** gcb has joined #openstack-nova03:26
openstackgerritZhenyu Zheng proposed openstack/nova master: Modify _poll_shelved_instances periodic task call _shelve_offload_instance()  https://review.openstack.org/52404703:26
*** gbarros has joined #openstack-nova03:28
*** salv-orlando has quit IRC03:30
*** masber has quit IRC03:30
*** priteau has joined #openstack-nova03:33
*** masber has joined #openstack-nova03:34
*** awaugama has quit IRC03:35
*** priteau has quit IRC03:38
*** amodi has quit IRC03:39
*** thorst has quit IRC03:46
*** zhurong has quit IRC03:46
*** kalyan has quit IRC03:52
*** tetsuro_ has joined #openstack-nova03:54
*** tetsuro_ has quit IRC03:55
*** sridharg has joined #openstack-nova03:57
*** yingjun has joined #openstack-nova03:57
*** tbachman has joined #openstack-nova04:00
*** diga has quit IRC04:07
*** dave-mccowan has quit IRC04:07
*** gcb has quit IRC04:09
*** sree has joined #openstack-nova04:11
*** AlexeyAbashkin has joined #openstack-nova04:15
*** Apoorva has joined #openstack-nova04:16
*** thorst has joined #openstack-nova04:16
*** hongbin has quit IRC04:20
*** AlexeyAbashkin has quit IRC04:20
*** psachin has joined #openstack-nova04:20
*** mdnadeem has joined #openstack-nova04:21
*** udesale has joined #openstack-nova04:21
*** thorst has quit IRC04:22
*** thorst has joined #openstack-nova04:25
*** gbarros has quit IRC04:25
*** yamahata has joined #openstack-nova04:25
*** salv-orlando has joined #openstack-nova04:26
*** thorst has quit IRC04:29
*** bkopilov has joined #openstack-nova04:30
*** salv-orlando has quit IRC04:30
*** priteau has joined #openstack-nova04:37
*** Jeffrey4l has quit IRC04:42
*** priteau has quit IRC04:43
*** thorst has joined #openstack-nova04:55
*** Sukhdev has joined #openstack-nova04:57
*** thorst has quit IRC04:57
*** suresh12 has quit IRC04:57
*** ratailor has joined #openstack-nova04:59
*** xinliang has quit IRC05:00
*** xinliang has joined #openstack-nova05:01
*** Jeffrey4l has joined #openstack-nova05:04
*** suresh12 has joined #openstack-nova05:06
*** suresh12 has quit IRC05:07
*** suresh12 has joined #openstack-nova05:07
*** janki has joined #openstack-nova05:21
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P):Get vgpu info from `allocations`  https://review.openstack.org/52171705:23
*** Sukhdev has quit IRC05:25
*** fragatina has joined #openstack-nova05:26
*** fragatina has quit IRC05:27
*** fragatina has joined #openstack-nova05:27
*** salv-orlando has joined #openstack-nova05:27
*** chyka has joined #openstack-nova05:27
*** tetsuro has quit IRC05:27
*** fragatina has quit IRC05:28
*** fragatina has joined #openstack-nova05:29
*** thorst has joined #openstack-nova05:31
*** armax has joined #openstack-nova05:31
*** salv-orlando has quit IRC05:32
*** chyka has quit IRC05:32
*** thorst has quit IRC05:35
*** yamamoto has joined #openstack-nova05:39
*** yamamoto has quit IRC05:43
*** moshele has joined #openstack-nova05:43
*** moshele has quit IRC05:45
*** moshele has joined #openstack-nova05:46
*** mikal has quit IRC05:47
*** yamamoto has joined #openstack-nova05:53
*** suresh12 has quit IRC05:54
*** mikal has joined #openstack-nova05:55
*** yamamoto has quit IRC05:57
*** udesale__ has joined #openstack-nova06:01
*** udesale has quit IRC06:04
*** pcaruana has joined #openstack-nova06:05
*** mikal_ has joined #openstack-nova06:06
*** armax has quit IRC06:07
*** mdnadeem_ has joined #openstack-nova06:07
*** thorst has joined #openstack-nova06:07
*** mdnadeem has quit IRC06:09
*** mikal has quit IRC06:10
*** vks1 has quit IRC06:10
*** armax has joined #openstack-nova06:10
*** diga has joined #openstack-nova06:12
*** tbachman has quit IRC06:12
*** thorst has quit IRC06:12
*** salv-orlando has joined #openstack-nova06:12
*** cfriesen has quit IRC06:13
*** Apoorva has quit IRC06:14
*** pcaruana has quit IRC06:16
*** suresh12 has joined #openstack-nova06:16
*** Alex_Staf has joined #openstack-nova06:20
*** suresh12 has quit IRC06:21
*** vks1 has joined #openstack-nova06:25
*** moshele has quit IRC06:31
*** yamamoto has joined #openstack-nova06:31
*** moshele has joined #openstack-nova06:31
openstackgerritZhenyu Zheng proposed openstack/nova master: Modify _poll_shelved_instances periodic task call _shelve_offload_instance()  https://review.openstack.org/52404706:36
*** armax has quit IRC06:40
*** xinliang has quit IRC06:41
*** damien_r has joined #openstack-nova06:42
*** masuberu has joined #openstack-nova06:42
*** yamamoto has quit IRC06:43
*** mikal_ has quit IRC06:45
*** masber has quit IRC06:46
*** thorst has joined #openstack-nova06:46
*** mikal has joined #openstack-nova06:47
*** armax has joined #openstack-nova06:48
*** andreas_s has joined #openstack-nova06:49
*** edmondsw has joined #openstack-nova06:49
*** threestrands has quit IRC06:50
*** vladikr has quit IRC06:50
*** vladikr has joined #openstack-nova06:51
*** thorst has quit IRC06:51
*** xinliang has joined #openstack-nova06:54
*** edmondsw has quit IRC06:54
*** yamamoto has joined #openstack-nova06:59
*** damien_r has quit IRC07:02
*** lei-zh has joined #openstack-nova07:02
*** Guest72929 has joined #openstack-nova07:03
Guest72929>>> youtube.com/watch?v=X8qL6cAI0zQ07:03
*** edand has joined #openstack-nova07:05
*** yamamoto has quit IRC07:06
*** sshwarts has joined #openstack-nova07:06
*** Guest72929 has quit IRC07:08
*** lajoskatona has joined #openstack-nova07:11
*** armax has quit IRC07:11
*** andreas_s has quit IRC07:12
*** andreas_s has joined #openstack-nova07:13
*** Alex_Staf has quit IRC07:13
*** andreas_s has quit IRC07:14
*** andreas_s has joined #openstack-nova07:14
*** Oku_OS-away is now known as Oku_OS07:18
*** vivsoni has quit IRC07:19
*** david-lyle has joined #openstack-nova07:19
*** vivsoni has joined #openstack-nova07:19
*** edand_ has joined #openstack-nova07:20
*** rcernin has quit IRC07:20
*** thorst has joined #openstack-nova07:20
*** gouthamr has quit IRC07:20
*** lei-zh has quit IRC07:22
*** lei-zh has joined #openstack-nova07:23
*** edand has quit IRC07:23
*** diga has quit IRC07:25
*** thorst has quit IRC07:25
*** damien_r has joined #openstack-nova07:26
*** damien_r has quit IRC07:27
*** ijw has joined #openstack-nova07:28
*** cheneydc has joined #openstack-nova07:33
openstackgerritTakashi NATSUME proposed openstack/nova master: [placement] Fix an error message in API validation  https://review.openstack.org/52408807:34
*** andreas_s has quit IRC07:36
*** andreas_s has joined #openstack-nova07:37
*** mdnadeem_ has quit IRC07:37
*** markvoelker has quit IRC07:37
openstackgerritMerged openstack/nova master: Enable cold migration with target host(2/2)  https://review.openstack.org/40896407:38
*** udesale has joined #openstack-nova07:38
*** andreas_s has quit IRC07:38
*** yamahata has quit IRC07:38
*** andreas_s has joined #openstack-nova07:39
*** udesale__ has quit IRC07:39
*** fragatina has quit IRC07:41
*** mdnadeem has joined #openstack-nova07:44
*** cheneydc has quit IRC07:48
*** sahid has joined #openstack-nova07:49
*** yamamoto has joined #openstack-nova07:49
*** yamamoto has quit IRC07:51
*** thorst has joined #openstack-nova07:52
*** ralonsoh has joined #openstack-nova07:53
*** pcaruana has joined #openstack-nova07:55
*** thorst has quit IRC07:57
*** yamamoto has joined #openstack-nova07:57
*** aloga has quit IRC08:03
*** aloga has joined #openstack-nova08:03
*** ijw has quit IRC08:04
*** ijw has joined #openstack-nova08:05
*** slaweq has joined #openstack-nova08:06
*** AlexeyAbashkin has joined #openstack-nova08:06
*** TuanLA has joined #openstack-nova08:07
*** rcernin has joined #openstack-nova08:07
*** ijw has quit IRC08:09
*** hoonetorg has quit IRC08:11
*** edand__ has joined #openstack-nova08:12
*** jaosorior has quit IRC08:13
*** edand_ has quit IRC08:16
*** alexchadin has joined #openstack-nova08:17
*** claudiub has joined #openstack-nova08:22
*** hoonetorg has joined #openstack-nova08:25
*** hoonetorg has quit IRC08:26
*** sree_ has joined #openstack-nova08:26
*** sree_ is now known as Guest8818408:26
*** hoonetorg has joined #openstack-nova08:27
*** thorst has joined #openstack-nova08:27
*** slaweq has quit IRC08:27
*** sree has quit IRC08:28
*** slaweq has joined #openstack-nova08:31
*** thorst has quit IRC08:32
openstackgerritTakashi NATSUME proposed openstack/nova master: [placement] Add functional tests for traits API  https://review.openstack.org/52409408:32
*** ragiman has joined #openstack-nova08:33
*** yamamoto has quit IRC08:33
*** jaosorior has joined #openstack-nova08:34
*** ttsiouts has quit IRC08:34
openstackgerritTakashi NATSUME proposed openstack/nova master: Fix 500 error while passing 4-byte unicode data  https://review.openstack.org/40751408:34
openstackgerritTakashi NATSUME proposed openstack/nova master: [cellv2] Improve getting BDMs in multiple cells  https://review.openstack.org/52140008:35
openstackgerritTakashi NATSUME proposed openstack/nova master: Fix missing marker functions  https://review.openstack.org/51457908:35
*** alexchadin has quit IRC08:36
openstackgerritTakashi NATSUME proposed openstack/nova master: Add a warning in 'nova-manage cell_v2 delete_cell'  https://review.openstack.org/51377108:36
openstackgerritTakashi NATSUME proposed openstack/nova master: [placement] Fix format in placement API ref  https://review.openstack.org/52148308:36
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.56 - Enable cold migration with target host  https://review.openstack.org/40670708:37
*** damien_r has joined #openstack-nova08:37
*** edmondsw has joined #openstack-nova08:38
*** markvoelker has joined #openstack-nova08:38
openstackgerritTakashi NATSUME proposed openstack/nova master: List/show all server migration types (1/2)  https://review.openstack.org/43060808:38
*** priteau has joined #openstack-nova08:40
*** yamamoto has joined #openstack-nova08:40
*** gmann is now known as gmann_afk08:41
*** slaweq has quit IRC08:41
*** AlexeyAbashkin has quit IRC08:41
*** edmondsw has quit IRC08:42
*** AlexeyAbashkin has joined #openstack-nova08:42
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add migration db and object pagination support.  https://review.openstack.org/51490408:42
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Implement query param schema for migration index  https://review.openstack.org/51864408:42
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Extract SortContext/SortWrapper of instance_list into utils  https://review.openstack.org/51887108:42
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add cross cell sort support for get_migrations  https://review.openstack.org/51727308:42
*** slaweq has joined #openstack-nova08:44
*** jpena|off is now known as jpena08:44
*** yamamoto has quit IRC08:44
*** priteau has quit IRC08:45
*** alexchadin has joined #openstack-nova08:49
*** Alex_Staf has joined #openstack-nova09:00
*** thorst has joined #openstack-nova09:00
*** chyka has joined #openstack-nova09:03
*** yamamoto has joined #openstack-nova09:04
*** thorst has quit IRC09:05
*** ttsiouts has joined #openstack-nova09:07
*** adisky_ has joined #openstack-nova09:08
*** chyka has quit IRC09:08
*** belmoreira has joined #openstack-nova09:13
*** yamamoto has quit IRC09:19
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add pagination and Changes-since filter support for os-migrations.  https://review.openstack.org/33040609:21
*** namnh has quit IRC09:21
*** sree has joined #openstack-nova09:28
*** andreas_s has quit IRC09:29
*** andreas_s has joined #openstack-nova09:29
*** cdent has joined #openstack-nova09:29
*** Guest88184 has quit IRC09:30
*** udesale has quit IRC09:31
*** udesale has joined #openstack-nova09:31
*** thorst has joined #openstack-nova09:32
*** andreas_s has quit IRC09:34
*** takashin has left #openstack-nova09:35
*** andreas_s has joined #openstack-nova09:35
*** alexchad_ has joined #openstack-nova09:36
openstackgerritChen Hanxiao proposed openstack/nova master: libvirt: throw NotImplementedError if qga is not responsive when setting password  https://review.openstack.org/52382809:36
*** thorst has quit IRC09:37
*** yingjun has quit IRC09:38
*** asettle_ has joined #openstack-nova09:38
*** EmilienM_ has joined #openstack-nova09:39
*** _pewp_ has quit IRC09:39
*** asettle has quit IRC09:39
*** alexchadin has quit IRC09:39
*** EmilienM has quit IRC09:39
*** dr_gogeta86 has quit IRC09:39
*** andymccr has quit IRC09:39
*** pcaruana has quit IRC09:39
*** anthonyper has quit IRC09:39
*** stelucz has quit IRC09:39
*** dr_gogeta86_ has joined #openstack-nova09:39
*** anthonyper_ has joined #openstack-nova09:39
*** _pewp_ has joined #openstack-nova09:39
*** stelucz has joined #openstack-nova09:39
*** andreas_s has quit IRC09:39
*** anthonyper_ is now known as anthonyper09:40
*** lucas-afk is now known as lucasagomes09:40
*** pcaruana has joined #openstack-nova09:40
*** EmilienM_ is now known as EmilienM09:40
*** andymccr has joined #openstack-nova09:40
*** jichen has quit IRC09:40
*** EmilienM has quit IRC09:41
*** EmilienM has joined #openstack-nova09:41
*** john51 has quit IRC09:41
*** john51 has joined #openstack-nova09:42
*** purplerbot has quit IRC09:42
*** david-lyle has quit IRC09:46
openstackgerritMerged openstack/nova master: XenAPI: resolve VBD unplug failure with VM_MISSING_PV_DRIVERS error  https://review.openstack.org/51490209:46
*** lei-zh has quit IRC09:48
ebbexnova-compute[5505]: 2017-11-30 09:14:28.222 5505 WARNING os_brick.initiator.connectors.iscsi [req-e7903a5a-325e-4a69-9bd7-f6ea60d02c36 a4401f306bfc4d4eaa35fa8a61037268 9fd9ce5c36694a99824c50806496b581 - default default] Could not find the iSCSI Initiator File /etc/iscsi/initiatorname.iscsi: ProcessExecutionError: Unexpect09:54
ebbexed error while running command.09:54
ebbexCommand: cat /etc/iscsi/initiatorname.iscsi09:54
ebbexWhat is that warning/error, and why is it even running?09:55
*** TuanLA has quit IRC09:58
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Update Instance action's updated_at when action event updated.  https://review.openstack.org/50747310:00
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add pagination and changes-since for instance-actions  https://review.openstack.org/32632610:00
*** purplerbot has joined #openstack-nova10:03
*** danpawlik_ has joined #openstack-nova10:03
*** belmoreira has quit IRC10:03
*** migi_ has joined #openstack-nova10:04
*** ttsiouts has quit IRC10:04
*** sshwarts_ has joined #openstack-nova10:04
*** stephenfin has left #openstack-nova10:04
*** stephenfin has joined #openstack-nova10:04
*** ttsiouts has joined #openstack-nova10:06
*** belmoreira has joined #openstack-nova10:07
*** anthonyper has quit IRC10:08
*** MasterofJOKers has quit IRC10:09
*** MasterofJOKers has joined #openstack-nova10:09
*** sshwarts has quit IRC10:09
*** danpawlik has quit IRC10:09
*** hieulq has quit IRC10:09
*** Kevin_Zheng has quit IRC10:09
*** fmccrthy has quit IRC10:09
*** fyxim has quit IRC10:09
*** zhenguo has quit IRC10:09
*** dgonzalez has quit IRC10:09
*** khappone has quit IRC10:09
*** dtantsur|afk has quit IRC10:09
*** raorn has quit IRC10:09
*** tommylikehu has quit IRC10:09
*** migi has quit IRC10:09
*** sgordon has quit IRC10:09
*** sree has quit IRC10:10
*** damien_r has quit IRC10:11
*** anthonyper has joined #openstack-nova10:11
stephenfinbauzas: Could you sanity check this for me? I really don't understand the problem they're trying to solve https://review.openstack.org/#/c/523828/10:11
stephenfinJust a quick gawk is fine ;)10:12
*** damien_r has joined #openstack-nova10:12
*** sree has joined #openstack-nova10:12
*** dtantsur has joined #openstack-nova10:15
*** hieulq has joined #openstack-nova10:15
*** Kevin_Zheng has joined #openstack-nova10:15
*** fyxim has joined #openstack-nova10:15
*** fmccrthy has joined #openstack-nova10:15
*** zhenguo has joined #openstack-nova10:15
*** dgonzalez has joined #openstack-nova10:15
*** khappone has joined #openstack-nova10:15
*** raorn has joined #openstack-nova10:15
*** tommylikehu has joined #openstack-nova10:15
*** sgordon has joined #openstack-nova10:15
*** tommylikehu has quit IRC10:15
*** dtantsur has quit IRC10:15
*** dtantsur has joined #openstack-nova10:15
*** trungnv has quit IRC10:15
*** tommylikehu has joined #openstack-nova10:15
*** udesale has quit IRC10:16
*** sree has quit IRC10:16
*** MasterofJOKers has quit IRC10:17
*** MasterofJOKers has joined #openstack-nova10:20
bauzasstephenfin: roger, man10:21
*** moshele has quit IRC10:21
bauzasstephenfin: FWIW, "gawk" has a very different meaning for me given I was an operator before :p10:21
*** annp has quit IRC10:23
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add pagination and changes-since for instance-actions  https://review.openstack.org/32632610:28
openstackgerritChris Dent proposed openstack/nova master: [placement] Object changes to support last-modified headers  https://review.openstack.org/52163910:32
openstackgerritChris Dent proposed openstack/nova master: [placement] Add cache headers to placement api requests  https://review.openstack.org/52164010:32
openstackgerritMatthew Booth proposed openstack/nova master: Remove unused global variables  https://review.openstack.org/52412610:34
openstackgerritMatthew Booth proposed openstack/nova master: Add uuid field to BlockDeviceMapping  https://review.openstack.org/52412710:34
*** salv-orlando has quit IRC10:36
*** tetsuro has joined #openstack-nova10:37
stephenfinbauzas: And, dare I say, what would that other meaning be? :D10:38
stephenfin*dare I ask10:38
* gibi guessing that it is the GNU AWK10:39
* stephenfin has managed to mostly avoid awk, sed, perl et al and would like things to stay that way10:40
stephenfinmostly...10:40
*** phuongnh has quit IRC10:43
*** hoangcx has quit IRC10:43
*** phuongnh has joined #openstack-nova10:44
cdentstephenfin: you haven’t lived if you haven’t written a thousand character one liner using all three of those10:44
*** hoangcx has joined #openstack-nova10:44
gibiwe should really organize hackfests where we rewrite parts of nova in perl just for the fun10:44
cdent\o/10:44
*** abhishekk has quit IRC10:44
*** derekh has joined #openstack-nova10:45
stephenfingibi: Then we revisit it in six months. The person that can understand what they previously wrote wins a big prize10:45
*** thorst has joined #openstack-nova10:45
* stephenfin understands that not many people would win prizes10:46
openstackgerritSurya Seetharaman proposed openstack/nova master: update_cell allows more than once cell to have the same db/transport url  https://review.openstack.org/51855610:46
gibistephenfin: sure, we can even say that who understands after 6 months can be a core automatically... if he still wants :)10:47
*** damien_r has left #openstack-nova10:47
*** salv-orlando has joined #openstack-nova10:48
*** masuberu has quit IRC10:49
*** moshele has joined #openstack-nova10:49
*** thorst has quit IRC10:50
*** andreas_s has joined #openstack-nova10:52
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add pagination and Changes-since filter support for os-migrations.  https://review.openstack.org/33040610:53
openstackgerritStephen Finucane proposed openstack/nova master: console: introduce framework for RFB authentication  https://review.openstack.org/34539710:54
openstackgerritStephen Finucane proposed openstack/nova master: console: introduce the VeNCrypt RFB authentication scheme  https://review.openstack.org/34539810:54
openstackgerritStephen Finucane proposed openstack/nova master: console: Provide an RFB security proxy implementation  https://review.openstack.org/34539910:54
openstackgerritStephen Finucane proposed openstack/nova master: doc: Document TLS security setup for noVNC proxy  https://review.openstack.org/50054410:54
*** Guest8268 has quit IRC10:55
*** gszasz has joined #openstack-nova10:57
*** jmlowe has quit IRC11:01
*** sdague has joined #openstack-nova11:02
*** cdent has quit IRC11:04
*** efried has quit IRC11:10
*** Dave has quit IRC11:12
*** phuongnh has quit IRC11:12
*** gszasz is now known as gszasz|lunch11:14
*** efried has joined #openstack-nova11:14
*** Dave has joined #openstack-nova11:15
*** salv-orlando has quit IRC11:18
*** bkopilov has quit IRC11:22
*** priteau has joined #openstack-nova11:23
*** thorst has joined #openstack-nova11:24
*** gongysh has joined #openstack-nova11:24
*** takedakn has joined #openstack-nova11:25
*** mvk has quit IRC11:25
*** thorst has quit IRC11:28
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P):Get vgpu info from `allocations`  https://review.openstack.org/52171711:32
*** salv-orlando has joined #openstack-nova11:32
*** ratailor has quit IRC11:32
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add pagination and Changes-since filter support for os-migrations.  https://review.openstack.org/33040611:33
*** cdent has joined #openstack-nova11:35
*** sree has joined #openstack-nova11:45
*** sridharg has quit IRC11:47
*** alexchad_ has quit IRC11:47
*** udesale has joined #openstack-nova11:47
*** alexchadin has joined #openstack-nova11:47
*** sree has quit IRC11:50
*** sridharg has joined #openstack-nova11:50
*** rcernin has quit IRC11:52
*** edand__ has quit IRC11:52
*** gszasz|lunch is now known as gszasz11:53
*** nicolasbock has joined #openstack-nova11:55
*** thorst has joined #openstack-nova11:55
nsinghefried: just i wanted to know waht is difference between creating httpClient and sessionClient? i tried but didn't find much on this.11:56
*** edand__ has joined #openstack-nova11:57
*** jpena is now known as jpena|lunch11:59
nsinghefried: is there any doc or something that can help.12:00
*** thorst has quit IRC12:01
*** alexchadin has quit IRC12:01
*** dave-mccowan has joined #openstack-nova12:07
*** takedakn has quit IRC12:07
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add cross cell sort support for get_migrations  https://review.openstack.org/51727312:08
*** qsyqian has joined #openstack-nova12:08
*** andreas_s has quit IRC12:09
*** qsyqian_ has joined #openstack-nova12:09
*** edand_ has joined #openstack-nova12:09
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add pagination and Changes-since filter support for os-migrations.  https://review.openstack.org/33040612:09
*** andreas_s has joined #openstack-nova12:09
*** edand__ has quit IRC12:10
*** edand__ has joined #openstack-nova12:11
*** andreas_s has quit IRC12:13
*** edmondsw has joined #openstack-nova12:14
*** mvk has joined #openstack-nova12:14
*** edand_ has quit IRC12:14
*** tetsuro has quit IRC12:15
openstackgerritTakashi NATSUME proposed openstack/nova master: [placement] Fix an error message in API validation  https://review.openstack.org/52408812:16
openstackgerritTakashi NATSUME proposed openstack/nova master: Fix 500 error while passing 4-byte unicode data  https://review.openstack.org/40751412:16
*** alexchadin has joined #openstack-nova12:19
*** eharney has joined #openstack-nova12:19
*** yingjun has joined #openstack-nova12:19
*** andreas_s has joined #openstack-nova12:20
*** edmondsw has quit IRC12:20
qsyqian_i meet the error like this: "# nova evacuate sqian12:20
qsyqian_ERROR (TypeError): evacuate() takes at least 2 arguments (3 given)" .    the openstack version is newton. anyone who knows why?12:20
openstackgerritMerged openstack/nova master: Fix ValueError when loading old pci device record  https://review.openstack.org/52391412:21
*** takedakn has joined #openstack-nova12:22
*** takedakn has quit IRC12:23
*** qsyqian has quit IRC12:24
*** andreas_s has quit IRC12:25
*** jchhatbar has joined #openstack-nova12:26
*** jchhatbar has quit IRC12:26
*** janki has quit IRC12:26
*** jchhatbar has joined #openstack-nova12:26
openstackgerritLee Yarwood proposed openstack/nova stable/pike: Fix ValueError when loading old pci device record  https://review.openstack.org/52415712:26
lyarwoodstephenfin: ^12:26
*** andreas_s has joined #openstack-nova12:26
*** lucasagomes is now known as lucas-hungry12:30
*** belmoreira has quit IRC12:33
*** chyka has joined #openstack-nova12:34
*** AJaeger has joined #openstack-nova12:35
AJaegernova cores, please review https://review.openstack.org/520373 to update relesaenotes to allow infra to improve the job.12:36
*** alexchadin has quit IRC12:37
*** yamamoto has joined #openstack-nova12:37
openstackgerritTakashi NATSUME proposed openstack/nova master: List/show all server migration types (2/2)  https://review.openstack.org/45948312:37
*** alexchadin has joined #openstack-nova12:38
*** sree has joined #openstack-nova12:38
*** chyka has quit IRC12:38
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.57 - List/Show all server migration types  https://review.openstack.org/43083912:39
*** andreas_s has quit IRC12:41
*** vladikr has quit IRC12:43
*** vladikr has joined #openstack-nova12:43
*** inara has quit IRC12:44
*** andreas_s has joined #openstack-nova12:46
*** inara has joined #openstack-nova12:46
*** cdent has quit IRC12:46
efriednsingh Where are you seeing these terms?12:47
*** knsahm has joined #openstack-nova12:48
knsahmafter upgrading newton to ocata i cannot create instance snapshots12:49
*** andreas_s has quit IRC12:49
knsahmis see this error in nova-api.log:12:49
knsahmERROR nova.api.openstack.extensions Unauthorized: The request you have made requires authentication. (HTTP 401)12:49
*** andreas_s has joined #openstack-nova12:49
knsahmNFO nova.api.openstack.wsgi [req-ec42f6ad-1e3e-4f7b-a3f6-c813ae94b9c9 c756af2957c4447eafc4cef39cdb79e5 469dc3d300df4d41aaea00db572043ae - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.12:50
knsahm<class 'cinderclient.exceptions.Unauthorized'>12:50
nsinghefried: in pyhton-glanceclient.12:50
knsahmdoes anybody know this problem?12:50
efriednsingh Ohh, right.  I remember seeing this, but I don't remember exactly what the deal was.  One of them was old and no longer used for most deployments.12:51
nsinghefried: i think we are using sessionClilent now.12:52
*** belmoreira has joined #openstack-nova12:53
*** smatzek has joined #openstack-nova12:56
*** jpena|lunch is now known as jpena12:56
nsinghknsahm: have you checked you nova-api log?12:57
*** bkopilov has joined #openstack-nova12:57
*** qsyqian_ has quit IRC12:58
knsahmnsingh: yes, i see this error line13:00
knsahmDEBUG cinderclient.v3.client [req-ec42f6ad-1e3e-4f7b-a3f6-c813ae94b9c9 c756af2957c4447eafc4cef39cdb79e5 469dc3d300df4d41aaea00db572043ae - default default] RESP: [401] Date: Thu, 30 Nov 2017 12:44:55 GMT Server: Apache/2.4.18 (Ubuntu) x-openstack-request-id: req-cd8c8f15-37d1-41be-ad3e-ec1cdbe9ab87 WWW-Authenticate: Keystone uri='https://keystone:5000/' Content-Length: 114 Content-Type: application/json13:01
knsahmRESP BODY: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}13:01
knsahm _http_log_response /usr/lib/python2.7/dist-packages/keystoneauth1/session.py:39513:01
knsahm2017-11-30 12:44:55.281 77 ERROR nova.api.openstack.extensions [req-ec42f6ad-1e3e-4f7b-a3f6-c813ae94b9c9 c756af2957c4447eafc4cef39cdb79e5 469dc3d300df4d41aaea00db572043ae - default default] Unexpected exception in API method13:01
knsahmi can create snapshots by using the openstackcli13:02
nsinghknsahm: i think your token is expired.13:02
nsinghknsahm: Run command "openstack token issue"13:03
knsahm| expires    | 2017-12-01T13:03:44+000013:03
*** yamamoto has quit IRC13:04
*** yamamoto has joined #openstack-nova13:05
*** thorst has joined #openstack-nova13:05
knsahmi've refreshed my session13:06
openstackgerritMatthew Booth proposed openstack/nova master: Add uuid field to BlockDeviceMapping  https://review.openstack.org/52412713:07
openstackgerritMatthew Booth proposed openstack/nova master: DriverBlockDevice: make subclasses inherit _proxy_as_attr  https://review.openstack.org/52416713:07
knsahmthe problem still exists13:07
*** READ10 has joined #openstack-nova13:13
*** dtantsur is now known as dtantsur|brb13:13
*** edmondsw has joined #openstack-nova13:18
*** jmlowe has joined #openstack-nova13:19
*** jchhatbar has quit IRC13:20
*** liverpooler has joined #openstack-nova13:20
openstackgerritTakashi NATSUME proposed openstack/nova stable/pike: Add 'delete_host' command in 'nova-manage cell_v2'  https://review.openstack.org/51371713:23
*** markvoelker has quit IRC13:23
*** markvoelker has joined #openstack-nova13:24
*** yassine has joined #openstack-nova13:24
*** yassine is now known as Guest1081613:24
*** moshele has quit IRC13:25
*** vks1 has quit IRC13:26
*** yangyapeng has quit IRC13:26
*** yangyapeng has joined #openstack-nova13:27
*** Tom-Tom has joined #openstack-nova13:29
*** sambetts|afk is now known as sambetts13:29
*** kashyap has quit IRC13:31
*** pchavva has joined #openstack-nova13:31
*** kashyap has joined #openstack-nova13:31
gibithe weekly nova meeting will start in less than 30 minutes on #openstack-meeting13:33
*** vks1 has joined #openstack-nova13:34
janguttergibi: didn't you know? perl is a write-only language.13:35
*** yangyapeng has quit IRC13:36
efriedOnly for those who don't know Perl13:36
gibireadable only if the author did not know Perl well enough13:37
*** artom has joined #openstack-nova13:37
jangutterI love that both opposing perspectives apply equally well!13:38
*** lucas-hungry is now known as lucasagomes13:39
*** lyan has joined #openstack-nova13:40
*** tetsuro has joined #openstack-nova13:41
*** alexchadin has quit IRC13:41
*** alexchadin has joined #openstack-nova13:41
*** moshele has joined #openstack-nova13:42
*** edand_ has joined #openstack-nova13:45
*** alexchadin has quit IRC13:47
*** mriedem has joined #openstack-nova13:47
*** alexchadin has joined #openstack-nova13:48
*** abhishekk has joined #openstack-nova13:48
*** edand__ has quit IRC13:48
*** takashin has joined #openstack-nova13:52
*** sree has quit IRC13:52
*** sree has joined #openstack-nova13:53
mriedemtakashin: i think i might know why this randomly fails https://review.openstack.org/#/c/524027/13:53
*** links has quit IRC13:54
*** janki has joined #openstack-nova13:55
takashinmriedem: I don't know it.13:56
mriedemi left a comment in there13:57
*** sree has quit IRC13:57
takashinmriedem: I will check it.13:58
*** tssurya_ has joined #openstack-nova13:59
openstackgerritEric Fried proposed openstack/nova master: Make _Provider really private  https://review.openstack.org/52393213:59
openstackgerritEric Fried proposed openstack/nova master: ProviderTree.uuid_set()  https://review.openstack.org/52024313:59
*** gmann_afk is now known as gmann14:00
*** gongysh has quit IRC14:02
*** andreas_s has quit IRC14:02
*** andreas_s has joined #openstack-nova14:02
*** andreas_s has quit IRC14:03
*** andreas_s has joined #openstack-nova14:04
gmannalex_xu: gibi: stephenfin oomichi_afk can u check this, it is good to go now  - https://review.openstack.org/#/c/500347/1214:05
*** cdent has joined #openstack-nova14:06
*** andreas_s has quit IRC14:08
*** gbarros has joined #openstack-nova14:14
*** andreas_s has joined #openstack-nova14:15
*** yyys has quit IRC14:16
*** mdnadeem has quit IRC14:16
*** andreas_s has quit IRC14:18
openstackgerritMatt Riedemann proposed openstack/nova master: Assert that we restrict cold migrations to the same cell  https://review.openstack.org/52403514:18
mriedemedleafe: before sydney we glanced at the conductor changes and had mentioned something about how we thought we should do something differently in there, which would require changes to the selection object, but i can't remember the details off hand atm, but that's what i'm referring to, and i haven't been back to the conductor changes in the series yet to see what you have changed14:19
*** jaypipes has joined #openstack-nova14:19
gmannjaypipes: for you - https://review.openstack.org/#/c/500347/1214:20
jaypipesgmann: ah, that's the one from Kevin Chen, yeah?14:20
gmannyea14:20
jaypipesgmann: you happy with that one now>14:20
jaypipes?14:20
jaypipesk14:21
gmannyea it looks good, m +114:21
edleafemriedem: the only thing I remember was the two RPC params instead of one14:21
*** janki has quit IRC14:21
jaypipesgmann: +214:22
*** janki has joined #openstack-nova14:22
gmannjaypipes: thanks14:22
jaypipesgmann: np :)14:22
edleafemriedem: nothing about the Selection object14:22
*** janki has quit IRC14:22
*** janki has joined #openstack-nova14:22
edleafemriedem: and if something *does* come up, it can be addressed in a subsequent patch, no?14:23
*** andreas_s has joined #openstack-nova14:24
*** jmlowe has quit IRC14:24
*** alexchadin has quit IRC14:24
mriedemedleafe: referring to this https://review.openstack.org/#/c/511358/24/nova/conductor/manager.py@58714:26
mriedemi'm sorry this isn't all wrapped up already, sydney happened and dan and i have been dealing with cve fallout before sydney and after, draining time and energy on much else14:28
*** tbachman has joined #openstack-nova14:28
edleafemriedem: ah, that was changed the day you mentioned it.14:28
edleafeit no longer relies on the emptiness of the allocation_request field14:29
*** esberglu has joined #openstack-nova14:33
efriedjaypipes I'd like to fix https://bugs.launchpad.net/nova/+bug/1735430 pretty quick here, would like to discuss possibilities.14:37
openstackLaunchpad bug 1735430 in OpenStack Compute (nova) "Report client doesn't handle RP create conflict (409) properly" [Undecided,New]14:37
jaypipesefried: ok dokey14:38
jaypipesefried: wouldn't it be nice if we had error *codes*? :(14:38
*** Tom-Tom has quit IRC14:38
efriedjaypipes Like in the body of the response?14:38
jaypipesefried: ya14:39
*** Tom-Tom has joined #openstack-nova14:39
jaypipesefried: so you could distinguish between bad name and bad UUID... for example14:39
efriedjaypipes Is there a reason we don't do that?14:39
jaypipesefried: just never did it. I blame cdent.14:39
cdentjaypipes: hah, I validated the api guideline that says it should happen14:39
cdentI blame jaypipes14:39
efriedOkay, if there's no reason we're avoiding it, we could get started on that as a long-term solution.14:40
jaypipescdent: :)14:40
*** gmann is now known as gmann_afk14:40
gibigmann: looking...14:40
jaypipesefried: ack, though there are more pressing concerns at this point, no?14:40
efriedIn the meantime: in PS2 I actually made us raise an exception: https://review.openstack.org/#/c/523932/214:40
cdentefried: I think it was mostly just a kind of distraction in the early days and then forgotten14:40
cdenthowever, it wouldn't make any difference in this bug14:40
efriedjaypipes That broke a functional test that runs _init_compute_host twice.  cdent was helping me look at that last night.14:41
cdentthe 409 is the same in either case: uniqueness is violated and we require uniqueness. the bug isn't so much the response code as the return of None14:41
jaypipesefried: sorry, I didn't mean the bug wasn't pressing. I meant reworking things so we have proper error codes.14:41
jaypipesefried: as opposed to grepping through an error string14:41
efriedjaypipes Yeah, I'm with you.14:41
efriedjaypipes Hold on, are you saying we could grep the error string?14:42
efriedas an interim solution?14:42
*** dtantsur|brb is now known as dtantsur14:42
* efried shudders14:42
jaypipesefried: we've already done that in a couple places, yeah.14:42
*** Swami has joined #openstack-nova14:42
cdentthe error string doesn't matter in this bug14:42
cdentor rather the fact that we hide the error response in the expection message made it hard to debug14:43
jaypipescdent: well, the whole "the error is saying I used a bad UUID, when I actually used a bad name" is problematic.14:43
jaypipescdent: since they both have the same error message14:43
cdentthat's a different bug:14:43
jaypipescdent: ack14:43
*** Tom-Tom has quit IRC14:43
cdenthttps://bugs.launchpad.net/nova/+bug/173540514:43
openstackLaunchpad bug 1735405 in OpenStack Compute (nova) "Error message from placement when creating resource provider uses ambiguous identifier" [Undecided,New]14:43
efriedSo let's say we do grep the error string - how would report client react that would be appropriate here?14:43
jaypipesok, agreed, diff bug14:43
cdentthe db duplicate response message does include which columns were duplicated14:43
cdentI changed that some months ago14:44
cdentbut we hide that in the report client, and shouldn't14:44
jaypipesefried: raise an exception back to the caller.14:44
jaypipescdent: gotcha14:44
* cdent is still confused14:44
cdentwhy do we need to grep the error response?14:44
cdentif uniqueness fails, uniqueness fails14:44
cdentyou can only get a 409 from post to /resource_providers for uniqueness fails14:44
jaypipescdent: in order to log an appropriate message, that's all14:45
*** yingjun has quit IRC14:45
jaypipescdent: it's just misleading to write an error saying bad UUID, when it was the name that was problematic14:45
cdentpass on the response's error message, no need to parse it, just use it14:45
*** cfriesen has joined #openstack-nova14:45
jaypipescdent: sure, can do that14:45
efriedHold on14:46
efriedI don't agree14:46
efriedRight now we assume it's UUID conflict, so we GET the provider by UUID and return it (or None)14:46
*** amodi has joined #openstack-nova14:46
cdentthe code is incomplete14:47
efriedRight14:47
cdentif we want to assume that a 409 _could_ be "another thread created"14:47
cdentthen yes, parsing it required14:47
cdent(or adding more detailed error codes, eventually)14:47
*** mlavalle has joined #openstack-nova14:48
gibigmann_afk: +W14:48
cdentbut, then we have 409 meaning potentially 3 things: uuid uniqueness violation (good luck!), name uniqueness violation, concurrent violation14:49
cdentand while telling some of those apart is gravy, the uuid ones, unclear14:50
jaypipescdent: right. thus the need for more specific error codification.14:50
cdentright, but even with better error codification how do you distinguish conficts 1 and 3?14:50
bauzasoh shit, DST shift impact :(14:50
bauzasmriedem: ^14:50
*** armax has joined #openstack-nova14:50
efriedcdent We have to assume #1 doesn't happen.14:50
efriedOr rather, assume the risk14:51
* cdent continues to feel like name uniqueness may have been a mistake14:51
* cdent watches the ship on the horizon14:51
efriedRealistically, we don't get to that point if there's a UUID "conflict" - we would have just returned that provider from the first GET in _ensure_resource_provider.14:51
mriedembauzas: ?14:51
cdentbrb14:52
mriedemsdague: i think you will enjoy this https://review.openstack.org/#/c/507693/14:52
efriedcdent jaypipes IMO the first thing we should do is the simplest: raise exceptions instead of returning None in those various paths.14:53
efriedToday that 404 will be indicating name conflict 99% of the time.14:54
efriedThe only excepton would be concurrent create-followed-by-delete.  So I'd even go so far as to say 99.99999%14:55
cdentefried: yeah, I agree None is not right14:55
jaypipesefried: go for it.14:55
cdentyou'll have to have the fun of figuring out what's up with the api_samples test :(14:55
efriedExactly.  jaypipes it looks like this: http://logs.openstack.org/32/523932/2/check/openstack-tox-functional/05f8149/testr_results.html.gz14:55
*** awaugama has joined #openstack-nova14:56
*** suresh12 has joined #openstack-nova14:56
efriedIt happens because those test cases are starting the fake compute host twice.  Each one seems to be getting its own database.  But still just one placement service.14:56
sdaguemriedem: nice, those test cleanups are especially nice14:56
efriedWe create ComputeNode with a name and let the DB assign its UUID.  Then we push that guy to placement.  So the second time around, it has a different UUID.14:57
cdentefried: i don't think "own database" is the right analysis. something else is going on, like the second node (not host), clobbering the first14:57
*** abhishekk has quit IRC14:57
efriedcdent Okay.  FWIW, I pdb'd it, and the compute host definitely ain't there the second time around.14:57
*** lajoskatona has quit IRC14:58
efriedI don't really have context on how these fixtures do their business.  Who would be an expert there?14:58
*** suresh12_ has joined #openstack-nova14:59
*** suresh12 has quit IRC14:59
cdentsdague might have some insight into efried's problem?14:59
* cdent meets14:59
*** hongbin has joined #openstack-nova14:59
*** yamahata has joined #openstack-nova15:00
*** tetsuro has quit IRC15:01
mriedemefried: same cell?15:01
mriedemi.e. it's a single-cell test right?15:02
takashinnova-specs cores, would you take a look at a patch to create specs directory for Rocky https://review.openstack.org/#/c/514101/ ?15:02
mriedemcould be an issue with not using fake.set_nodes() and fake.restore_nodes15:02
efriedmriedem I don't know that answer.15:02
efriedmriedem http://logs.openstack.org/32/523932/2/check/openstack-tox-functional/05f8149/testr_results.html.gz15:02
*** tetsuro has joined #openstack-nova15:05
openstackgerritJackie Truong proposed openstack/python-novaclient master: Microversion 2.56 - Add trusted_image_certificates  https://review.openstack.org/50039615:05
takashina patch to create specs directory for Rocky https://review.openstack.org/#/c/514101/15:06
*** takashin has left #openstack-nova15:09
openstackgerritMatthew Booth proposed openstack/nova master: Simplify BDM boot index checking  https://review.openstack.org/52420815:09
sdaguewhat's up?15:10
sdagueefried: can you summarize the issue, maybe I can help15:10
*** Shanatics has joined #openstack-nova15:10
efriedsdague If report client tries to ensure a RP exists, and gets any error, it returns None (rather than raising an exception) but nobody is checking for that.15:11
mriedemefried: these are a single cell test, using the SingleCellSimple15:11
efriedsdague In this test: http://logs.openstack.org/32/523932/2/check/openstack-tox-functional/05f8149/testr_results.html.gz we're hitting that code path15:11
mriedemefried: looking at HypervisorsSampleJson233Tests, it's creating a 2nd service15:12
mriedembut not setting unique nodes15:12
efriedsdague As long as we keep the `return None` in there, the test works; but if I raise an exception, the test fails because, as mriedem is saying, it's creating a second service, which creates a second ComputeNode with the same name but different UUID.15:12
mriedem_IntegratedTestBase, the base class, creates a compute service, and the HypervisorsSampleJson test creates a compute service, but i think they have the same node name15:12
efriedsdague When we try to create that in placement, we get that 409 because the *name* conflicts.15:13
sdaguemriedem: yeh, that's probably something we should prevent on the test side15:13
efriedmriedem Yes, they're both called fake-mini.15:13
mriedemso you need to put this in HypervisorsSampleJson when creating the 2nd service:15:13
mriedemfake.set_nodes(['host1'])15:13
mriedemself.addCleanup(fake.restore_nodes)15:13
efriedI'm confused as to why it's not `host1`15:13
*** udesale has quit IRC15:13
mdboothstephenfin: How sure are you of assert(), btw?15:13
mriedemefried: because the fake driver is pullin the node name from CONF.host15:13
mriedemif you don't use fake.set_nodes15:13
*** udesale has joined #openstack-nova15:14
stephenfinmdbooth: Not hugely sure. I just recall being told not to use it at some point in the past15:14
efriedBut as far as I can see, CONF.host *should* be `host1` and `host2`15:14
*** udesale has quit IRC15:14
mdboothstephenfin: I think I'm using it correctly in that patch, but there may be practical considerations. e.g. if we disable it in CI.15:14
mriedemefried: ala https://github.com/openstack/nova/blob/master/nova/tests/functional/test_servers.py#L128315:14
mdboothIf it's disabled in production, we don't really care.15:15
efriedmriedem Okay, thanks, trying...15:15
cdentefried: I can't remember, is the rp ending up named fake-mini or 'host?' ?15:15
efriedcdent fake-mini15:16
*** yingjun has joined #openstack-nova15:16
*** litao__ has quit IRC15:16
mdboothmriedem: Do you happen to remember, btw: all(el + 1 == l[i + 1] for i, el in enumerate(l[:-1])) ?15:16
mriedemmelwitt: so i've got this code now http://paste.openstack.org/show/627877/15:16
mdboothYou chose to add a comment to it for some reason :)15:16
mriedemmelwitt: which fails with this http://paste.openstack.org/show/627878/15:16
mriedemso i'm creating host2 in cell2 but when i try to pull host2 out of cell2, it's not found15:16
mriedemi'm assuming that's because of the CellDatabase fixture defaulting to cell115:17
mriedemwhich is weird since i'm targeting the context specifically to cell215:17
mriedembut i can replay this on top of your fixture cleanup patch and see if that fixes it15:17
*** marst has joined #openstack-nova15:17
mriedemmdbooth: ?15:18
mriedemmdbooth: if i added a comment it's because i oculdn't understand ndipanov's code and had to figure it out at one point, and left a comment for posterity15:18
*** tidwellr has joined #openstack-nova15:18
mdboothmriedem: Not important. I was doing something else and came across it. It made my head hurt :) I submitted this throw-away: https://review.openstack.org/#/c/524208/15:19
*** jmlowe has joined #openstack-nova15:19
mdboothI assume this was very X of this patch for some large value of X, and this complexity made sense at some version <X15:20
mdbooths/very/version/15:20
mdboothI was actually trying to work out where we set the boot index of a root disk to 0 if it wasn't done explicitly in the api call15:21
mdboothstill haven't found it15:21
openstackgerritMatt Riedemann proposed openstack/nova master: Add instance action record for shelve_offload instances  https://review.openstack.org/52365315:21
openstackgerritMerged openstack/nova stable/pike: Set regex flag on ostestr command for osprofiler tests  https://review.openstack.org/51022615:23
mriedemmelwitt: that didn't seem to fix it, still can't find host2 in cell215:23
*** tidwellr has quit IRC15:23
*** rodolof has joined #openstack-nova15:23
tetsuroHi all, I'd like you to review https://review.openstack.org/#/c/465160/15:24
tetsuroCurrently, VM with NUMA goes into a silent error if the virt_type doesn't support it.15:26
tetsuroSo, this patch is to raise an error explicitly if NUMA Topology not supported,15:26
*** gouthamr has joined #openstack-nova15:26
*** tidwellr has joined #openstack-nova15:28
-openstackstatus- NOTICE: if you receieved a result of "RETRY_LIMIT" after 14:15 UTC, it was likely due to an error since corrected. please "recheck"15:38
*** tetsuro has quit IRC15:41
*** tetsuro has joined #openstack-nova15:41
*** nikhil has joined #openstack-nova15:42
*** tetsuro has quit IRC15:42
*** moshele has quit IRC15:46
*** edand_ has quit IRC15:48
mriedem2017-11-30 10:47:07,831 ERROR [nova.tests.functional.test_servers] Failed to find host host2 in cell cell215:49
mriedem    2017-11-30 10:47:07,834 ERROR [nova.tests.functional.test_servers] Found host host2 in other cell cell115:49
*** yamamoto has quit IRC15:49
mriedemyeah, so for whatever reason, even if i create host2 in cell2, it only ever comes back from cell115:49
*** janki has quit IRC15:49
dansmithmriedem: I commented on that migration sorting deal15:50
*** yamamoto has joined #openstack-nova15:50
dansmithI think I deserve a cookie and a nap now15:51
*** mdnadeem has joined #openstack-nova15:51
*** slaweq has quit IRC15:52
mriedemheh, thanks, looking15:52
mriedemi did lose some sleep over this last night15:52
mriedemthis and that god forsaken stray cat15:52
dansmithhehe15:53
*** tbachman has quit IRC15:55
*** tbachman has joined #openstack-nova15:55
mriedemdansmith: replied,16:00
mriedemthis doesn't deal with the global/local marker issue either,16:00
efriedmriedem Thanks for the pointer.  After adding in the suggested code and finding & fixing the template files, I got the tests passing.  <== cdent jaypipes sdague FYI16:00
mriedembut i'm admittedly a bit lost on the local marker logic and how that all works16:00
mriedemdansmith: i mentioned the cell-encoded marker idea too, but not entirely sure how we can use that to fix the local marker thing16:00
*** sshwarts_ has quit IRC16:00
mriedemif you look at PS21, he had a near exact copy of the instance list stuff with the global/local marker16:01
dansmithmriedem: right, which is what I called out with him using the marker uuid in all the cells16:01
ildikovmriedem: meeting on #openstack-meeting-cp if you have a few minutes16:02
mriedemildikov: you must have missed my o/16:03
ildikovmriedem: you must've done it while I was typing here :)16:03
dansmithmriedem: the cell encoding in the marker could help in a few cases:16:04
dansmithmriedem: if we encode the cell, then we can avoid looking in all cells for the marker uuid as the first step16:04
mriedemyup, i at least understand that part so far16:04
dansmithmriedem: if we encoded the cell *and* the value we're sorting on of the marker, then we could find the marker in each cell to restart the sort from without having to first look up the global marker in the cell it came from16:05
dansmithbut I think you said none of those are options without retooling the api stuff anyway,16:05
dansmithso probably not worth it16:05
mdboothmriedem: In response, I could change the change id of my patch if you like?16:06
dansmithI was hoping to not have to use the full instance_list approach if we had a much limited set of sort criteria and stuff,16:06
dansmithbut if we're going to implement the full keys/dirs approach at the bottom, then maybe we need to16:06
mdboothI'd forgotten it, tbh, but my patch is a whole lot more thorough. It deals with the transition to mandatory bdm uuid explicitly.16:07
mriedemmdbooth: ? just cleanup dan's old patches16:07
dansmithI hate to complicate the instance_list stuff by genericifying the bits we can do, especially if this is the only thing we'll ever need to use it for16:07
mriedemmdbooth: adding uuids to things is a pretty standard formula now, we've done it in several other objects and talbes16:07
mriedem*tables16:07
mriedemso i'm not sure what more needs to be done16:07
dansmithmdbooth: you can't add the unique constraint in that migration, AFAIK16:07
mdboothmriedem: Right, I cribbed off the migration uuid patch.16:08
mriedembdm.uuid must start as nullable16:08
mdboothmriedem: However, dansmith 's patch is way older than that16:08
mriedemit can't be that far of16:08
mriedem*off16:08
mriedembecause dan wrote the migration one, and the services one was based on the aggregates and compute nodes ones, which dan wrote as well16:08
mdboothmriedem: Yes, it does. However my patch ensures that uuid is always set on read16:08
mdboothSeriously, some bits of my patch are very similar to the old patch16:08
mdboothSome are cribbed off the newer stuff16:09
mdboothIt amounts to the same thing16:09
dansmithmdbooth: I thought you forgot about the old patch? :)16:09
*** knsahm has quit IRC16:09
mdboothdansmith: I did :)16:09
dansmithanyway, keeping the same review is important for historyand context, IMHO16:09
mdboothI didn't forget about migration uuid, though16:09
mriedemmdbooth: that was commented in here yes https://review.openstack.org/#/c/242603/23/nova/objects/block_device.py16:09
mdboothMost of the changes in there are pretty obvious, though16:10
mriedemmdbooth: it's just a matter of cleaning up those old patches a bit16:10
mriedemthere are other reviews that have referenced those at this point, so i'd prefer to use those16:10
mriedemplus, original author and all that16:10
*** imacdonn has quit IRC16:11
*** gongysh has joined #openstack-nova16:11
*** imacdonn has joined #openstack-nova16:11
*** gongysh has quit IRC16:12
mriedemdansmith: "but if we're going to implement the full keys/dirs approach at the bottom, then maybe we need to" yeah that's where i'm at16:12
mriedemi.e.,16:12
mriedemis it easier to just copy the instance_list stuff, or retool the marker encoding behavior for this api16:13
dansmithwell, there's three options I think:16:13
mdboothdansmith: Anyway, I would fix up the old patch by writing my patch instead. All the obvious bits are identical, and all the extra bits are required but not present in the older patch.16:13
dansmith1. retool instance_list to be usable by migrations16:13
dansmith2. Copy and modify16:13
dansmith3. Implement something limited from that approach that is slimmer and specific to migrations16:14
mdboothdansmith: Some bits of it are very similar, but we've written way more similar patches before :)16:14
mdboothI forgot about it. However, the work's now done.16:14
openstackgerritmelanie witt proposed openstack/nova master: Remove old-style quotas code  https://review.openstack.org/51168916:14
openstackgerritmelanie witt proposed openstack/nova master: Follow up on removing old-style quotas code  https://review.openstack.org/52423416:14
mdboothI can either throw the work away, or... not the work away.16:14
dansmithhuh?16:15
dansmithmy patch has history back to 2015 on it.. I just think it makes sense to do the uuid field and object change in that review so we keep that context16:15
dansmithnot sure why we wouldn't16:15
dansmithI think that's all mriedem is saying, and I agree16:15
mdboothOk, but those parts of my patch are so similar to your patch...16:16
mdboothWhat do you want me to do?16:16
mdboothRebase my patch on your patch and subtract the older work?16:16
dansmithyour patch also puts the full online migration change in with the schema change, which just makes it bigger16:16
mdboothdansmith: There's a reason for that.16:17
*** coreywright has quit IRC16:17
mdboothAlthough I could split it.16:17
dansmithwhat's the reason?16:17
mdboothI was thinking that you'd want to run the online migration asap after the schema change, because it's more efficient.16:17
dansmithbut that doesn't fit the way we do these,16:18
dansmithbecause you have to be able to apply the schema change before rolling any code16:18
mdboothI can split it, it's no hassle.16:18
dansmithif you land that schema change before any code to handle it,16:18
dansmiththen it kinda self-tests that you haven't broken anything16:18
dansmithwe've done a lot of these16:18
melwittmriedem: that's really weird what you're seeing in that func test. I'm gonna look into it more today. yesterday I didn't find what's going wrong yet16:18
melwitt(what's going wrong with CellDatabases)16:18
mdboothdansmith: I'm talking about efficiency on a large deployment16:18
dansmithum, me too?16:19
mdboothYou run the schema change, you roll the code, then you want to run the online migration asap16:19
mdboothBut you don't have to, it's just more efficient if you do16:19
mdboothAnyway, I can split that out16:19
dansmithhow does that affect whether the patch is large or small?16:19
mdboothMy change also makes the field non nullable in the object16:20
mriedemumm16:20
dansmithwhat does that, or the other things have to do with re-using the review for context?16:20
mriedemhttps://review.openstack.org/#/c/242603/23/nova/objects/block_device.py is already non-nullable16:20
mriedemmdbooth: seriously just invest the time on splitting up your duplicate change and just rebase and address gaps in the older patches16:21
mdboothmriedem: Ok. It does seem like a bunch of busy work for little gain, though.16:21
mdboothI just forgot about the old review.16:21
mdboothI'm going to have to reconcile any minor changes with a bunch of code I've already written and tested.16:22
mriedemhow about i take over dan's patches then16:22
mriedemwill everyone be happy with that solution?16:22
dansmithmriedem: so I'm going to try to strip out the instanceness of the list routines and see how bad that is in order to make a call on the migration stuff16:23
mdboothmriedem: No, because I'm working on this actively right now, including a ton of follow-on16:23
mdboothIf anybody's going to do the busy work, it needs to be me16:23
mdboothIt's just a pita16:23
*** andreas_s has quit IRC16:24
*** phuongnh has joined #openstack-nova16:27
*** coreywright has joined #openstack-nova16:29
AJaegernova cores, please review https://review.openstack.org/520373 to update relesaenotes to allow infra to improve the job16:33
* cdent gives AJaeger a cookie for persistence16:33
AJaegeryummy16:34
*** burt has joined #openstack-nova16:34
*** cdent has quit IRC16:34
*** rodolof has quit IRC16:35
*** rodolof has joined #openstack-nova16:36
mriedemmelwitt: i was doing something wrong in my assertion code16:37
mriedemi wasn't using the targeted context to query the compute nodes out of the cell16:37
mriedemseeing if that changes tihngs16:37
*** belmoreira has quit IRC16:37
stephenfinAJaeger: -1 for use of double quotes ;)16:38
*** andreas_s has joined #openstack-nova16:38
stephenfinAJaeger: I kid. +216:38
AJaegerstephenfin: ;916:38
*** cdent has joined #openstack-nova16:39
*** chyka has joined #openstack-nova16:39
mriedemnope still fails16:40
mriedemhost2 shows up in cell116:40
melwittsad town :(16:41
mriedemlooking at CellDatabasesTestCase i'm not sure why this doesn't work16:41
mriedemexcept,16:41
mriedemwhen the compute node record is created, it's via the start of the service,16:42
mriedemwhich has an untargeted context,16:42
*** thorst has quit IRC16:42
mriedemso it's going to create the service/computenode in the default context, which is cell116:42
mriedemso i guess that's why16:42
*** thorst has joined #openstack-nova16:42
*** moshele has joined #openstack-nova16:42
mriedemto hack around this, i'd have to create the compute node records in the cells before actually starting the services16:42
mriedemor allow temporarily mutating the default context in the CellDatabase fixture16:43
openstackgerritEric Fried proposed openstack/nova master: Nix log translations from scheduler.client.report  https://review.openstack.org/52424516:43
melwittwell, what I did in my patch is wrap the Service class and target the context during start16:43
melwittif that's not working then I messed up what I tried to do16:44
*** thorst has quit IRC16:44
*** moshele has quit IRC16:45
*** yingjun has quit IRC16:46
kashyapdansmith: When you get a moment, maybe you'd know top off your head -- during 'evacuate', certainly CPU model compatibility is checked before an instance is moved away, yes?16:46
* kashyap goes to read code;16:46
mriedemkashyap: would depend on the scheduler filters16:46
dansmithkashyap: if we run the scheduler then I assume so16:46
dansmithif a host is provided, I don't think so16:46
mriedemunless, of course, you specify a host with the force option16:46
mriedemthen we bypass the scheduler altogether16:47
* kashyap realizes "evacuate" is just "'rebuild' but with a more reassuring word"16:47
mriedemit's not the same16:47
*** andreas_s has quit IRC16:47
kashyapmriedem: Yep, scheduler filters is what I was going toc heck16:47
mriedemevacuate is a move16:47
mriedemrebuild is not16:47
* kashyap fires up - http://www.danplanet.com/blog/2016/03/03/evacuate-in-nova-one-command-to-confuse-us-all/16:47
mriedemyou can evacuate with a target host and if you don't specify the force flag, we'll validate that host against the scheduler filters,16:47
mriedemif you specify a host + force, we don't run through the scheduler filters16:47
mriedembecause you've decided you want to shoot yourself in the foot16:47
mriedemand we hand you the gun to do that16:48
kashyapdansmith: mriedem: Do you have a pointer to the relevant Scheduler code?  libvirt / QEMU has reworked how CPU models are detected, so I'm trying to investigate what action items are there on the Nova side16:48
kashyapmriedem: Heh, noted16:48
*** damien_r has joined #openstack-nova16:48
mriedemif you rebuild (not evacuate) with a new image, well, then it depends on which roll of the cve dice you've landed on16:48
mriedemkashyap: the compute capabilities filter16:49
mriedemhttps://github.com/openstack/nova/blob/master/nova/scheduler/filters/compute_capabilities_filter.py16:49
*** AJaeger has left #openstack-nova16:49
mriedemi think anyway16:49
mriedemi'm not super well versed in the details of what all the filters do16:49
mriedembauzas would know16:49
* kashyap clicks16:50
kashyapWauw, thanks for the super quick response16:50
kashyapdansmith: Yes, good point on the "if you provide a host, then no checks are performed"16:50
kashyapBecause, well, if you're providing a target host yourself, then you're expected to keep an eye on CPU comapt16:50
kashyaps/comapt/compat/16:51
*** Apoorva has joined #openstack-nova16:51
*** Alex_Staf has quit IRC16:51
*** Apoorva has quit IRC16:53
*** Apoorva has joined #openstack-nova16:55
kashyapmriedem: I think the scenario where one would "specify a host + force" is the admin damn sure knows about his target host, and wants to avoid extra checks?16:55
*** Apoorva has quit IRC16:55
* kashyap thinks so; can't see any other reason16:56
mriedemwants to avoid the scheduler kicking out the specified host, yes16:56
edleafekashyap: yes, that was the idea16:56
edleafe"I'm the admin, dammit!"16:56
mriedemi.e. i know this instance doesn't fit on this host, but i'm going to shove it in there anyway16:56
kashyapedleafe: Thanks, noted.16:56
*** fragatina has joined #openstack-nova16:56
kashyapbauzas: When you're about, I don't see CPU-compat related checks in the 'compute_capabilities_filter.py' -- https://github.com/openstack/nova/blob/master/nova/scheduler/filters/compute_capabilities_filter.py16:57
mriedemkashyap: that's because the filter is generic16:57
mriedemstats = getattr(host_state, 'stats', {})16:58
mriedemthat stats stuff is put on the compute node down in the resource tracker / claim code16:58
mriedemhttps://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L56116:58
* kashyap clicks16:58
*** david-lyle has joined #openstack-nova16:59
mriedemthe cpu stats comes off the driver here https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L738017:00
kashyapYeah, that I have open17:00
mriedemalthough that might be a different thing,17:00
*** ragiman has quit IRC17:00
mriedemfor the cpu monitor stuff17:00
kashyapThanks for the precise pointers17:00
kashyapmriedem: Aside, do you know top off your head, where is the Git repo for this file? -- https://docs.openstack.org/nova/pike/configuration/config.html)17:01
*** AlexeyAbashkin has quit IRC17:01
mriedemnova17:01
mriedemhttps://docs.openstack.org/nova/pike/configuration/sample-config.html17:01
*** fragatina has quit IRC17:01
*** dtantsur is now known as dtantsur|afk17:03
openstackgerritDan Smith proposed openstack/nova master: WIP: Genericify the instance_list stuff  https://review.openstack.org/52425317:04
dansmithmriedem: see if you don't not hate this ^17:04
kashyapmriedem: Thanks. (So, it's this - ./doc/source/configuration/sample-config.rst)17:04
dansmithmriedem: seems to work and be fairly straightforward actually17:04
dansmithmriedem: I need to do a lot of cleanup and fixing the docs of course17:04
dansmithbut if you like that I will do that post haste and then we can ask the migration dudes to base on that17:04
dansmithmriedem: look at the InstanceLister class for the things you have to implement in order to be cross-cell-listable17:05
*** jmlowe has quit IRC17:06
*** pcaruana has quit IRC17:08
mriedemdansmith: i like it17:08
*** yamahata has quit IRC17:08
mriedemyeah it delegates the db / object calls to the subclass impl17:08
mriedemwhich is nice17:08
dansmithright17:08
mriedemonly suggestion was using an abc at the top17:08
dansmithmight even be easier to digest if you're looking at it cold17:08
dansmithI KNEW you were going to say that17:08
dansmithalmost put a comment like "Yes matt, I know"17:09
mriedemthat would be a fun easter egg17:09
mriedemkashyap: looking at the libvirt driver i don't see that it returns 'stats' from get_available_resources17:10
mriedemso i'm not really sure how that would work with the compute caps filter17:10
kashyapHmm17:10
*** kmalloc has quit IRC17:11
* kashyap guesses mriedem was looking here for the return - https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L738017:11
mriedemmight be the cpu_info or supported_instances fields17:12
mriedemthose get put on the compute node record, which is the HostState object (wrapper) in the scheduler filter17:12
mriedemno https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L7380 is for the cpu monitor metric stuff i think17:12
mriedemwhich is a weigher17:12
mriedemi think17:12
*** Swami has quit IRC17:12
mriedemi think you're looking for the cpu_info field on the compute node17:12
mriedemhttps://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L582617:13
* kashyap clicks17:13
kashyapThanks for clarifying; I think that looks like it.17:14
kashyapmriedem: dansmith: Speaking of Easter eggs, try this one -- https://unix.stackexchange.com/questions/405783/why-does-man-print-gimme-gimme-gimme-at-003017:15
kashyap:-)17:15
kashyapIt actually broke a _real_ use-case17:15
kashyapBut the 'man' authors were graceful enough to immediately admit that it wasn't supposed to affect error-scenarios, and fixed it right away.17:16
kashyap(While still retaining the easter egg.)17:16
kashyap(However, no one complained about that bug for _6_ years.  So, it's edge case.)17:17
* kashyap stops going off-topic17:17
openstackgerritMerged openstack/nova master: check query param for server groups function  https://review.openstack.org/50034717:18
*** psachin has quit IRC17:18
*** lucasagomes is now known as lucas-afk17:21
*** eharney has quit IRC17:24
*** jlvacation is now known as jlvillal17:25
*** fragatina has joined #openstack-nova17:26
*** damien_r has quit IRC17:28
openstackgerritIldiko Vancsa proposed openstack/nova master: Implement new attach Cinder flow  https://review.openstack.org/33028517:29
openstackgerritIldiko Vancsa proposed openstack/nova master: libvirt: Allow multiple volume attachments  https://review.openstack.org/26758717:29
*** Oku_OS is now known as Oku_OS-away17:29
*** tssurya_ has quit IRC17:31
cfriesenmelwitt:  (or anyone else)  has bug 1469179 been fixed with placement/resource_providers?17:31
openstackbug 1469179 in OpenStack Compute (nova) "instance.root_gb should be 0 for volume-backed instances" [Medium,In progress] https://launchpad.net/bugs/1469179 - Assigned to melanie witt (melwitt)17:31
*** jmlowe has joined #openstack-nova17:31
*** penick has joined #openstack-nova17:31
melwittcfriesen: not yet. at the ptg when we discussed placement priorities, other items were more pressing, like alternate hosts and nested resource providers. so shared storage got bumped to rocky17:34
*** phuongnh has quit IRC17:36
mriedemmelwitt: i've got a workaround for the compute node create / cell issue17:39
mriedempushing up shortly17:39
mriedemit's uber hacky, but...17:39
mriedemit's also pretty simple17:39
*** suresh12_ has quit IRC17:39
melwittokay, thanks. that'll help me determine what's wrong unless it's the periodic task thing from the fixture review17:40
openstackgerritAndreas Karis proposed openstack/nova master: Fixes 'Not enough available memory' log message  https://review.openstack.org/52403817:41
openstackgerritEric Fried proposed openstack/nova master: Proper error handling by _ensure_resource_provider  https://review.openstack.org/52426317:42
mriedemthis isn't a periodic task issue17:42
efriedcdent jaypipes --^17:43
openstackgerritMatt Riedemann proposed openstack/nova master: Add multi-cell negative test for cold migration with target host  https://review.openstack.org/52402717:43
openstackgerritMatt Riedemann proposed openstack/nova master: Workaround CellDatabase fixture limitation when creating computes  https://review.openstack.org/52426417:43
mriedemmelwitt: dansmith: ^17:43
cdentthanks efried17:43
openstackgerritDan Smith proposed openstack/nova master: Genericify the instance_list stuff  https://review.openstack.org/52425317:44
dansmithmriedem: melwitt: ^17:44
cfriesenmelwitt: okay, thanks.   For the two patches that are up for review, are there problems with them or are they basically functional?17:44
melwittcfriesen: some people prefer not to take the cruft that will have to be removed later, when resource providers work is going on and the bug/limitation has always been there17:46
efriedjaypipes Want me to address https://review.openstack.org/#/c/377215/ ?17:47
melwittother than that, the patches are basically functional (though in merge conflict right now) and don't pollute any database records with root_gb=017:47
openstackgerritMatt Riedemann proposed openstack/nova master: Add multi-cell negative test for cold migration with target host  https://review.openstack.org/52402717:47
cfriesenmelwitt: I'm just wondering about taking it as a local patch...we previously had fixed it a different way in Newton17:47
cfriesenmelwitt: I expect we'll pull them in and try them out.17:48
*** mvk has quit IRC17:48
mriedemdansmith: ack, will hit that after lunch17:49
melwittmriedem: it pains me how similar that is to what I'm trying to do with my patch. I just don't get what I missed yet17:49
*** yangyapeng has joined #openstack-nova17:49
*** derekh has quit IRC17:49
mriedemease that pain with pills17:50
dansmithmriedem: I'm thinking I need to follow up with a split of that file into the generic listing infrastructure, and the instance part of that so that the migration dudes can do the same17:50
*** Apoorva has joined #openstack-nova17:50
mriedemyeah, so instance_list is the instance-specific impl, and we'd have migration_list with that specific impl17:50
mriedemand some generic module in between17:51
mriedemnot sure what that would be called? multi_cell_list?17:51
dansmithyep something liket hat17:51
*** yamahata has joined #openstack-nova17:51
dansmithsound good?17:51
mriedemyeah17:51
*** nikhil has quit IRC17:51
openstackgerritMerged openstack/nova master: Remove setting of version/release from releasenotes  https://review.openstack.org/52037317:52
jaypipesefried: I can do that. are there any of your changes you haven't pushed?17:52
*** mdnadeem has quit IRC17:52
*** Guest10816 has quit IRC17:53
jaypipesefried: in particular, I'll rebase through 520246, so make sure I don't overwrite any of your work...17:53
efriedjaypipes No, but note that I want to break away the stuff above17:53
efriedjaypipes Sorry, redo: No, don't rebase that far up.17:53
efriedI'm breaking off the subseries starting at uuid_set()17:53
jaypipesefried: where should I go to.17:53
jaypipesok.17:53
jaypipesno prob. gimme a few minutes17:54
*** yangyapeng has quit IRC17:54
efriedSo just rebase from https://review.openstack.org/#/c/385693/ (which needs a rebase onto its predecessor too)17:54
efriedjaypipes ^17:54
jaypipesya17:55
*** gbarros has quit IRC17:55
*** fragatina has quit IRC17:57
*** fragatina has joined #openstack-nova18:01
cdentefried: left some questions on that bug fix, looks mostly good, but I’m curious about some bits18:01
efriedcdent Ack, thanks for the review.  Looking...18:01
openstackgerritDan Smith proposed openstack/nova master: Split instance_list into instance and multi_cell  https://review.openstack.org/52430218:04
*** Apoorva_ has joined #openstack-nova18:04
*** Apoorva has quit IRC18:07
*** moshele has joined #openstack-nova18:07
mgagnemriedem: so I reread the placement documentation and it's kind of clear already what you need to do. There are some details which need to be updated such as mention of cellsv1. I will pass through the doc again and see if it's clearer for me now.18:07
*** thorst has joined #openstack-nova18:08
*** Apoorva_ has quit IRC18:09
*** Apoorva has joined #openstack-nova18:09
*** vks1 has quit IRC18:10
openstackgerritJay Pipes proposed openstack/nova master: placement: allow filter providers in tree  https://review.openstack.org/37721518:10
openstackgerritJay Pipes proposed openstack/nova master: placement: adds REST API for nested providers  https://review.openstack.org/38480718:10
openstackgerritJay Pipes proposed openstack/nova master: placement: update client to set parent provider  https://review.openstack.org/38569318:10
jaypipesefried: done18:10
efriedjaypipes Cool mon.18:11
openstackgerritmelanie witt proposed openstack/nova master: Improve the CellDatabases test fixture and usage  https://review.openstack.org/50843218:13
openstackgerritmelanie witt proposed openstack/nova master: WIP Store a RequestContext on service to reuse for periodic tasks  https://review.openstack.org/52430618:13
melwittmriedem: the test in https://review.openstack.org/#/c/524027 passes with the above ^18:14
openstackgerritEric Fried proposed openstack/nova master: Proper error handling by _ensure_resource_provider  https://review.openstack.org/52426318:16
efriedcdent Not sure if I addressed your concerns here ^18:16
* cdent looks18:17
efriedcdent I wouldn't think it necessary to say, "Exceptions raised from here may be caught, logged, or ignored by callers as appropriate"18:17
*** ralonsoh has quit IRC18:18
efriedcdent Really just brings things more in line with other methods in SRC, like _update_inventory_attempt which may raise InventoryInUse18:19
melwittmriedem: *reading the commit message* so your test doesn't always fail though? trying to confirm if the test passing means the issue in my patch was addressed by the latest changes I tried18:19
*** gbarros has joined #openstack-nova18:19
cdentefried: that wasn’t quite what I meant. You’re obliged, as someone who has introduced a new situation, where exceptions are now raising that weren’t before, to make sure they don’t break other stuff. That can be as simple as identifying the loop where all Exceptions are handled in the scheduler or the resource trackers servers.18:20
efriedcdent OIC.  Not enough to pass the CI?18:20
cdentWe’ve established over and over that CI isn’t covering lots of stuff, especially in the resource tracker18:21
cdentIt’s very likely, however, that this _is_ covered, by the kinds of loops that I mention above, but if you don’t say that in your commit message, then reviewers have doubt and we want to minimize that doubt18:21
efriedcdent I was being mostly ironical.  I'll dig into it.  Thanks.18:22
*** Shanatics has quit IRC18:22
* cdent proves again that he has no sense of humor18:22
efriedcdent AFAICT, it all percolates up to this catch-all, which... ignores it https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L710518:26
cdenti assumed it would be something like that, and logging and ignoring is what I would expect: it’s a long running process that’s not allowed to die18:27
cdentbut if for some reason that was some subclass of Exception, then there would be a chance your new exception would fall through and boom18:28
*** jpena is now known as jpena|off18:29
*** moshele has quit IRC18:29
openstackgerritEric Fried proposed openstack/nova master: Proper error handling by _ensure_resource_provider  https://review.openstack.org/52426318:30
efriedcdent Added more words ^18:30
* cdent loves words18:31
* edleafe will buy cdent a dictionary for his birthday18:31
*** eharney has joined #openstack-nova18:34
*** erlon has joined #openstack-nova18:38
mriedemmelwitt: it was failing18:39
openstackgerritEric Fried proposed openstack/nova master: Remove workaround for bug #1709118  https://review.openstack.org/52431618:45
openstackbug 1709118 in OpenStack Compute (nova) "_ContextAuthPlugin needs a refresh" [Low,Confirmed] https://launchpad.net/bugs/170911818:45
*** openstackgerrit has quit IRC18:48
*** pcaruana has joined #openstack-nova18:50
*** slaweq has joined #openstack-nova18:51
*** sshwarts has joined #openstack-nova18:51
*** suresh12 has joined #openstack-nova18:51
*** slaweq has quit IRC18:53
*** slaweq has joined #openstack-nova18:54
mriedemdansmith: comments in https://review.openstack.org/#/c/524253/218:54
mriedemjust nits, tests are passing, looks good otherwise18:54
*** suresh12 has quit IRC18:56
melwittmriedem: hm, so that points to it being related to the periodic task bug dansmith found in my patch. but the initial write of the compute node record doesn't happen via periodic task, it happens through the pre_start_hook() call in Service. so I'm not sure why fixing the periodic task helps18:57
dansmithmriedem: see my reply real quick18:58
*** suresh12_ has joined #openstack-nova18:58
*** slaweq has quit IRC18:58
dansmithmelwitt: a periodic would create another record in cell0 if it runs18:58
dansmiththat was my point18:59
*** mvk has joined #openstack-nova18:59
melwittdansmith: right ... trying to think how that could mess up mriedem's test though, where it got ComputeHostNotFound18:59
melwittlike wouldn't it find the original record that was written via pre_start_hook()18:59
dansmithmelwitt: ack, okay, I haven't looked at his thing so I dunno19:00
dansmithjust commenting from the sidelines19:00
melwittack :)19:00
mriedemdansmith: done19:01
melwittfixing the periodic task thing (by storing it on Service) made the test pass but why O.o19:02
dansmithmriedem: cool, see the split above it?19:02
*** moshele has joined #openstack-nova19:03
mriedemyeah, just haven't reviewed it yet19:03
*** derekh has joined #openstack-nova19:04
*** tidwellr has quit IRC19:05
dansmithgahd dammit19:05
dansmithmaking changes to a file underneath a rename is annoying :)19:05
*** tidwellr has joined #openstack-nova19:05
mriedemcdent: easy cleanup if you want to respin this https://review.openstack.org/#/c/484667/19:08
mriedemthen i'd fast approve19:08
cdentcool, thanks, will get it in a couple minutes, rado’s usually gone by now19:08
*** openstackgerrit has joined #openstack-nova19:09
openstackgerritDan Smith proposed openstack/nova master: Genericify the instance_list stuff  https://review.openstack.org/52425319:09
openstackgerritDan Smith proposed openstack/nova master: Split instance_list into instance and multi_cell  https://review.openstack.org/52430219:09
openstackgerritMerged openstack/nova-specs master: Create specs directory for Rocky  https://review.openstack.org/51410119:10
cfriesenmelwitt: do you know if anyone has considered adding a "list all tenants with modified quotas" and "list all users in a tenant with modified quotas" APIs?   As it is there's no way to get that information without polling *all* the users/tenants.19:10
melwittcfriesen: I'm not aware of anyone bringing that up before, no19:11
cfriesenmelwitt: I'm looking at kingbird (which replicates quotas in a multi-cloud environment) and they literally have to poll everything.19:12
cfriesenalso, it looks like the quota usage (and the "limits" API) doesn't report keypair usage, so they have to manually count them per user.19:12
melwittI see. ironically when I implemented counting quotas I had to set in_use = 0 for keypairs to keep the same behavior. I was thinking we might have to microversion to change that or otherwise signal it19:14
*** READ10 has quit IRC19:15
melwittso yeah, there are probably many improvements that could happen with the APIs. one thing to consider is that the keystone team is looking to add quota limits to keystone. which would make things separated where you'd have to query keystone for limits and nova for usage19:17
*** felipemonteiro has joined #openstack-nova19:17
openstackgerritJay Pipes proposed openstack/nova master: Use oslo_db Session in resource_provider.py  https://review.openstack.org/52319219:22
*** damien_r has joined #openstack-nova19:23
*** vivsoni has quit IRC19:23
jaypipesefried: are you currently working on https://review.openstack.org/#/c/517119/?19:23
*** vivsoni has joined #openstack-nova19:23
openstackgerritChris Dent proposed openstack/nova master: VMware: Handle concurrent registrations of the VC extension  https://review.openstack.org/48466719:24
cdentmriedem: ^ thanks19:25
cfriesenmelwitt: do you know what the timeline is on the keystone quotas?  If it's going to be a while I might have to propose an API change.19:27
mriedemcdent: thanks - i was coding that in the comment out of memory, does it actualy pass the test?19:27
cdentyes19:27
mriedemcool19:27
efriedjaypipes No19:27
cdentand I went to look at the excutils code just to make sure it made sense (because it was new to me) and your example matched the docstring’s example19:28
jaypipesefried: k, I'm going to pull and work on that then19:28
melwittcfriesen: you'll want to ask lbragstad about it as he's in the know about keystone timelines19:28
efriedjaypipes Cool beans.19:28
cdentefried, jaypipes : is there a new stable review-entry point for n-r-p?19:28
jaypipescdent: unfortunately not.19:29
efriedcdent I thought it was here: https://review.openstack.org/#/c/377215/19:29
openstackgerritJay Pipes proposed openstack/nova master: placement: allow filter providers in tree  https://review.openstack.org/37721519:29
openstackgerritJay Pipes proposed openstack/nova master: placement: adds REST API for nested providers  https://review.openstack.org/38480719:29
openstackgerritJay Pipes proposed openstack/nova master: placement: update client to set parent provider  https://review.openstack.org/38569319:29
efriedcdent The bottom three patches19:29
lbragstadcfriesen: we're in the process of firming up the specification for unified limits https://review.openstack.org/#/c/455709/ (wxy_ is actively responding to comments and making updates)19:29
efriedOh, just updated19:29
jaypipescdent: I just addressed that microversion.py rebase flub, nothing more.19:30
cdentroger19:30
*** adisky_ has quit IRC19:30
lbragstadcfriesen: wxy_ also has an early implementation proposed for review19:30
lbragstadcfriesen: https://review.openstack.org/#/q/status:open+project:openstack/keystone+branch:master+topic:bp/unified-limits19:30
cdentI think my best plan is perhaps to be done with openstack for today19:31
cdenthave fun everyone19:31
*** cdent has quit IRC19:31
lbragstadcfriesen: specification freeze for keystone is next week - so we're trying to get the details ironed out this week and next (all feedback welcome!)19:32
openstackgerritJay Pipes proposed openstack/nova master: handle traits with sharing providers  https://review.openstack.org/51711919:33
openstackgerritJay Pipes proposed openstack/nova master: Test alloc_cands with non overlapping sharing RPs  https://review.openstack.org/51938019:33
openstackgerritJay Pipes proposed openstack/nova master: Test alloc_cands with one RP shared between two RPs  https://review.openstack.org/51961719:33
openstackgerritJay Pipes proposed openstack/nova master: Test allocation candidates: multiple aggregates  https://review.openstack.org/51863319:33
openstackgerritJay Pipes proposed openstack/nova master: Test helper: validate provider summaries  https://review.openstack.org/51898219:33
openstackgerritJay Pipes proposed openstack/nova master: Fix accumulated nits in refactor series  https://review.openstack.org/52118919:33
jaypipesefried: rebased and fixed conflicts up to ^19:33
jaypipesefried: I stopped there because I don't know which of alex and tetsuro's add func tests patches are duplicated and which are real.19:34
efriedjaypipes ack19:35
*** moshele has quit IRC19:35
*** penick has quit IRC19:36
*** sridharg has quit IRC19:36
*** penick has joined #openstack-nova19:39
*** sahid has quit IRC19:44
*** yangyapeng has joined #openstack-nova19:45
*** yangyapeng has quit IRC19:50
*** AlexeyAbashkin has joined #openstack-nova19:52
melwittmriedem: turns out your test just always passes locally for me (on top of my celldatabases patch) even without the periodic task fix. so something must be afoot if you're getting a different result locally than me19:56
mriedemmelwitt: at some point i rebased out your change since it wasn't fixing stuff, that's when i started writing that workaround in start_service19:58
melwittoh, okay19:59
*** AlexeyAbashkin has quit IRC19:59
*** smatzek has quit IRC20:00
*** smatzek has joined #openstack-nova20:00
*** smatzek has quit IRC20:01
melwittif you still had my change when you fixed the wrong assert you mentioned earlier and it didn't pass, then that's really unexpected20:01
*** tidwellr has quit IRC20:03
*** tidwellr has joined #openstack-nova20:04
mriedemunrelated, but if you use gerrit-dash-creator for your nova review dashboard, it's been fixed for zuul https://github.com/openstack/gerrit-dash-creator/blob/master/dashboards/nova.dash20:04
mriedemi was wondering why my dashboard was showing me changes with a -2 as ready for final +220:04
openstackgerritJackie Truong proposed openstack/python-novaclient master: Microversion 2.57 - Add trusted_image_certificates  https://review.openstack.org/50039620:05
melwittbut I need to re-create my dashboard right? my old dashboard doesn't work anymore20:05
mriedemcorrect20:05
mriedemyou have to git clone gerrit-dash-creator20:06
mriedemand then: tox -e venv -- gerrit-dash-creator dashboards/nova.dash20:06
melwittokay, thanks20:06
mriedemi put the url in a shortener and then put that in my gerrit settings20:06
*** kmalloc has joined #openstack-nova20:07
mriedemefried: seen this https://review.openstack.org/#/c/521764/ ?20:07
melwittsweet. good tips20:07
*** liverpooler has quit IRC20:07
*** Guest10816 has joined #openstack-nova20:09
*** AlexeyAbashkin has joined #openstack-nova20:12
*** AlexeyAbashkin has quit IRC20:17
openstackgerritMike Lowe proposed openstack/nova master: live-mig: keep disk device address same  https://review.openstack.org/51802220:18
*** damien_r has left #openstack-nova20:22
*** penick has quit IRC20:24
*** sree has joined #openstack-nova20:25
mriedemdansmith: melwitt: cellsv2 thingamajig https://review.openstack.org/#/c/521837/520:28
mriedemux stuff20:28
*** sree has quit IRC20:29
*** slaweq has joined #openstack-nova20:32
openstackgerritMatt Riedemann proposed openstack/nova master: Update description of Rebuild in server_concepts.rst  https://review.openstack.org/52208620:32
*** Apoorva_ has joined #openstack-nova20:32
*** gszasz has quit IRC20:32
*** slaweq has quit IRC20:34
*** slaweq has joined #openstack-nova20:34
*** penick has joined #openstack-nova20:35
*** Apoorva has quit IRC20:36
*** tidwellr has quit IRC20:38
openstackgerritMatt Riedemann proposed openstack/nova master: [placement]Enhance doc for placement allocation list  https://review.openstack.org/51171520:41
*** lyan has quit IRC20:42
*** awaugama has quit IRC20:46
*** penick has quit IRC20:47
*** lyan has joined #openstack-nova20:47
*** penick has joined #openstack-nova20:47
openstackgerritMerged openstack/os-traits master: Updated from global requirements  https://review.openstack.org/52047720:49
*** penick has quit IRC20:50
efriedmriedem Nope, hadn't seen it.  Thanks for the pointer.20:50
*** derekh has quit IRC20:52
melwittmriedem: yeah, seems like it would be uncool of us to remove 'nova-manage host list' before we have another way to list hosts in a cell, even though it's deprecated20:52
*** rwellum has joined #openstack-nova20:53
melwittI was thinking discover_hosts had a --dry-run mode that just shows the hosts. but looks like not20:54
efriedjaypipes Care to eyeball https://review.openstack.org/#/c/524263/ ?  Looks like we may want to backport it (mriedem?)20:54
mriedemdiscover_hosts is idempotent so that's the fallback20:54
melwittalthough I guess a dry run would only show unmapped hosts20:54
melwittor does it show all?20:55
mriedemefried: yes i think we probably want to backport that20:55
*** pcaruana has quit IRC20:55
*** penick has joined #openstack-nova20:55
mriedemi marked the bug as affecting stable20:55
efriedmriedem Should we tag the bug with placement, or is that only for stuff on the server side of placement?20:55
melwittI wouldn't be surprised if ppl would like to be able to see what it's going to map before it maps it20:55
mriedemefried: not sure if that matters20:55
efriedight20:55
rwellumHi folks. I'm seeing an issue with Pike nova, I assume it's my setup - but wondering if I could get a few pointers what to debug? This is running on kolla containers I should add. https://www.irccloud.com/pastebin/WH8k1XV3/ - looks like a database sync issue?21:02
mriedemrwellum: yes,21:02
mriedemit's looking in the cell0 database for the compute_nodes table,21:03
mriedemso you must not have run 'nova-manage db sync' yet21:03
mriedemafter creating the nova_cell0 database21:03
*** Apoorva_ has quit IRC21:03
*** Apoorva has joined #openstack-nova21:04
rwellumAnd that should be run on presumably one of the nova containers21:06
mriedemshrug, i've never used kolla21:08
mriedemi think they are in #openstack-kolla21:08
rwellumYeah I'm there :) Just not sure who should execute the sync.21:09
rwellumBut thanks this is really helpful21:09
openstackgerritMerged openstack/os-vif master: Updated from global requirements  https://review.openstack.org/52047821:09
*** threestrands has joined #openstack-nova21:12
*** threestrands has quit IRC21:12
*** threestrands has joined #openstack-nova21:12
*** gbarros has quit IRC21:14
jaypipesefried: I'm kind of annoyed right now... I can't figure out for the life of me why https://review.openstack.org/#/c/384807/77//COMMIT_MSG changed back from 1.14 to 1.13...21:16
*** gbarros has joined #openstack-nova21:16
*** gbarros has quit IRC21:17
efriedjaypipes Probably you had PS74 locally.  edleafe published PS75 with that being the only change.21:18
jaypipesefried: but I pulled a fresh branch before I did anything.21:18
openstackgerritJay Pipes proposed openstack/nova master: placement: adds REST API for nested providers  https://review.openstack.org/38480721:18
openstackgerritJay Pipes proposed openstack/nova master: placement: update client to set parent provider  https://review.openstack.org/38569321:18
jaypipesefried: whatevs, I've fixed it..21:18
efriedjaypipes ack21:18
efriedjaypipes +1.  Ship it!21:19
rwellummriedem: that indeed fixed the database sync error! However I still am getting 'No valid host was found. There are not enough hosts available'21:19
mriedemrwellum: have you created cell1 and discovered hosts?21:19
mriedemrwellum: i thought kolla automated all of this?21:20
dansmithI thought kolla was just containers of stuff21:20
mriedemi thought there was an ansible part to kolla for actually deploying openstack in those containers21:23
rwellumYeah kolla is just the images and some config built into the image. I'm orchestrating with kolla-kubernetes. Works with ocata btw.21:23
mriedemclearly this isn't the place to ask about wtf kolla is or does :)21:23
mriedemi remember the kolla guys asking about the cellsv2 discover_hosts stuff in pike21:24
rwellumYeah my bad. More wanted to know where to start with with a generic error like the above.21:24
mriedemso that is automated somewhere in the kolla stadium21:24
*** pcaruana has joined #openstack-nova21:24
rwellumI'll try to find who did it. There's only a few of them.21:24
mriedemhttp://git.openstack.org/cgit/openstack/kolla-ansible/ ?21:25
mriedemhttp://git.openstack.org/cgit/openstack/kolla-ansible/tree/ansible/roles/nova/tasks/simple_cell_setup.yml ?21:25
mriedemhttps://review.openstack.org/#/c/456920/ is the change i remember21:26
mriedemi think21:26
openstackgerritmelanie witt proposed openstack/nova master: Improve the CellDatabases test fixture and usage  https://review.openstack.org/50843221:26
mriedemeduardo is definitely the person to ask21:26
mriedemrwellum: ^21:26
rwellumty mriedem21:27
*** Apoorva_ has joined #openstack-nova21:29
*** Apoorva has quit IRC21:32
rwellummriedem: our code (not ansible - kubernetes) is calling: "nova-manage cell_v2 simple_cell_setup"21:33
mriedemrwellum: probably want to read through this then https://docs.openstack.org/nova/latest/user/cells.html#step-by-step-for-common-use-cases21:35
*** dave-mccowan has quit IRC21:35
*** sree has joined #openstack-nova21:35
*** lyan has quit IRC21:36
rwellumperfect thanks.21:37
*** pcaruana has quit IRC21:39
*** sree has quit IRC21:40
*** esberglu has quit IRC21:43
openstackgerritMatt Riedemann proposed openstack/nova master: Handle spawning error on unshelving  https://review.openstack.org/37800921:49
mriedemdansmith: +2 on the generic lister split21:53
*** gyee has quit IRC21:54
dansmithmriedem: thanks, did you comment on the migration stuff or should I?21:54
mriedemhmm, the bottom patch failed tests http://logs.openstack.org/53/524253/3/check/openstack-tox-py27/540f78a/testr_results.html.gz21:54
mriedembut those look unrelated21:54
mriedemdansmith: i haven't yet21:54
dansmithI rechecked because yeah21:55
*** esberglu has joined #openstack-nova21:55
dansmithokay I commented on the one you suggested rolling back to PS2121:56
*** rodolof has quit IRC21:56
*** pchavva has quit IRC21:56
*** gszasz has joined #openstack-nova21:58
mriedemthanks21:58
*** hemna_ has joined #openstack-nova22:04
*** Apoorva_ has quit IRC22:08
*** pchavva has joined #openstack-nova22:08
*** Apoorva has joined #openstack-nova22:09
*** priteau has quit IRC22:13
*** rcernin has joined #openstack-nova22:18
*** marst has quit IRC22:19
*** rcernin has quit IRC22:21
*** rcernin has joined #openstack-nova22:21
*** gszasz has quit IRC22:22
*** pchavva has quit IRC22:23
*** edmondsw has quit IRC22:24
*** edmondsw has joined #openstack-nova22:24
*** edmondsw has quit IRC22:25
mriedemefried: with the ksa adapter stuff, just to check my understanding, valid_interfaces defaults to (internal, public) and iterates through them when trying to find the endpoint?22:26
efriedmriedem yes22:27
mriedemcool22:27
*** edmondsw_ has joined #openstack-nova22:27
mriedemwas making sure i was explaining that correctly here https://review.openstack.org/#/c/513243/222:27
efriedmriedem lgtm22:29
mriedemwordsmithing that a bit22:30
mriedemin the commit message22:31
openstackgerritMatt Riedemann proposed openstack/nova master: Downgrade log for keystone verify client fail  https://review.openstack.org/51324322:31
mriedemefried: see if ^ makes sense22:31
*** edmondsw_ has quit IRC22:31
mriedemhmm now that i think about it,22:32
efriedmriedem Hum, I don't think "like there isn't a keystone v3 endpoint" is right - that would have been covered by the previous except22:32
mriedemyour change should go on top of chen's22:32
openstackgerritMatt Riedemann proposed openstack/nova master: Use ksa adapter for keystone conf & requests  https://review.openstack.org/50769322:33
mriedemi rebased your ksa adapter change on top of his, so we can backport his w/o weirdness22:33
efriedDang, mine was so close to merging :)22:33
mriedemyou going to hold this up on the "like there isn't a keystone v3 endpoint" thing or should we just shoot the moon?22:34
mriedemelse i'll get sdague to +W22:35
*** erlon has quit IRC22:35
mgagneis the 'admin' role hardcoded in the placement api (in newton)? :O https://github.com/openstack/nova/blob/stable/newton/nova/api/openstack/placement/handler.py#L15322:38
mriedemsee the TODO in there22:39
mgagneyea, got fixed in ocata22:39
melwittmriedem: I'm requesting a g-r bump for the crazy compute host reboot thing https://review.openstack.org/#/c/52441322:39
mgagnebut we no longer have an "admin" role in our setup :-/22:39
mriedemmelwitt: on master?22:40
melwittmriedem: yeah22:40
mriedemmelwitt: i thought your issue was in newton?22:40
melwittit is, but it's still broken on master22:40
mriedemmgagne: this? https://github.com/openstack/nova/commit/cb9300fd37225c0b744f1f85e4c3bb940e402a8b22:41
melwittthe instance can 'nova start' after a compute host reboot, but the volume isn't readable. I tested it with devstack22:41
melwitt*the encrypted volume isn't readable22:41
mgagnemriedem: now it's hardcoded at line 39 of nova/api/openstack/placement/policy.py22:41
mriedemsdague: https://review.openstack.org/#/c/513243/ and then we can backport22:42
mriedemah i see22:42
mriedemforgot all about the policy stuff for placement22:43
*** felipemonteiro has quit IRC22:44
mgagneI'll see what I can hack on my side to get passed that, maybe just load the role name from nova.conf so I don't have to include nova.policy in there. and way for official fix later22:47
*** READ10 has joined #openstack-nova22:52
mriedemi hope lbragstad doesn't find out we haven't satisfied the queens community goal for policy in code for placement...22:54
lbragstadmriedem: looks like you register at least one rule22:56
lbragstadhttps://github.com/openstack/nova/blob/master/nova/api/openstack/placement/policy.py#L4522:56
*** jmlowe has quit IRC22:58
*** slaweq has quit IRC23:02
*** felipemonteiro has joined #openstack-nova23:02
*** slaweq has joined #openstack-nova23:02
mgagnelocal patch I will try to apply and use: https://gist.github.com/mgagne/b43c1e085c1f1d50bebc054a7d38768823:05
*** slaweq has quit IRC23:07
*** gbarros has joined #openstack-nova23:08
mgagneand now I'm off, gonna check on Monday and report back on my experience with placement api =)23:09
*** jmlowe has joined #openstack-nova23:09
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: General policy sample file for placement  https://review.openstack.org/52442523:10
mriedemmgagne: starting stuff here ^ but i don't plan on working on this really23:10
mgagnewill try to see if I get time to check/review, if I have a workaround, I might not make it a priority though =)23:11
*** AlexeyAbashkin has joined #openstack-nova23:12
lbragstadmgagne: if you need help with the policy-in-code bits, let me know23:13
mriedemi don't think he's planning on writing the code :)23:14
mgagnelbragstad: thanks for the offer. I'm working with old code for now so I don't know yet how relevant my findings will be. will check against master and report back accordingly23:14
*** jdurgin has quit IRC23:14
*** amodi has quit IRC23:15
*** Apoorva has quit IRC23:16
*** AlexeyAbashkin has quit IRC23:16
*** bnemec has quit IRC23:22
openstackgerritTakashi NATSUME proposed openstack/nova master: Fix 500 error while passing 4-byte unicode data  https://review.openstack.org/40751423:31
*** suresh12_ has quit IRC23:32
*** itlinux has joined #openstack-nova23:35
*** jdurgin has joined #openstack-nova23:36
*** felipemonteiro has quit IRC23:38
*** READ10 has quit IRC23:39
*** thorst has quit IRC23:41
*** salv-orlando has quit IRC23:41
*** Apoorva has joined #openstack-nova23:45
*** READ10 has joined #openstack-nova23:45
efriedmriedem No, not going to hold it up for that.23:46
*** penick_ has joined #openstack-nova23:47
*** penick has quit IRC23:49
*** Guest10816 has quit IRC23:51
*** Apoorva_ has joined #openstack-nova23:53
*** moshele has joined #openstack-nova23:54
*** hemna_ has quit IRC23:54
*** felipemonteiro has joined #openstack-nova23:56
*** itlinux has quit IRC23:56
*** Apoorva has quit IRC23:56
*** felipemonteiro_ has joined #openstack-nova23:57
*** Apoorva_ has quit IRC23:57
*** Apoorva has joined #openstack-nova23:57
*** chyka_ has joined #openstack-nova23:59

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