Monday, 2017-03-20

*** crushil has joined #openstack-nova00:00
*** crushil has quit IRC00:03
*** crushil has joined #openstack-nova00:03
*** crushil has quit IRC00:06
*** crushil has joined #openstack-nova00:07
*** crushil has quit IRC00:10
*** crushil has joined #openstack-nova00:10
*** crushil has quit IRC00:13
*** dave-mccowan has joined #openstack-nova00:13
*** crushil has joined #openstack-nova00:13
*** wally has joined #openstack-nova00:15
wallyhi all, I have question regarding setup Placement api for Compute Node on Ocata in Ubuntu 1604,  can anyone help?00:16
*** crushil has quit IRC00:17
*** crushil has joined #openstack-nova00:17
wallyi have install the placement api endpoint and configure it, but in my compute node, in the nova-compute.log said  The placement API endpoint not found. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading00:17
*** baoli has quit IRC00:18
wallycan anyone help please00:18
*** catintheroof has joined #openstack-nova00:20
*** crushil has quit IRC00:20
*** crushil has joined #openstack-nova00:20
*** baoli has joined #openstack-nova00:22
*** crushil has quit IRC00:23
*** crushil has joined #openstack-nova00:24
*** catintheroof has quit IRC00:26
*** crushil has quit IRC00:27
*** crushil has joined #openstack-nova00:27
*** claudiub has quit IRC00:30
*** crushil has quit IRC00:30
*** crushil has joined #openstack-nova00:31
*** crushil has quit IRC00:34
*** crushil has joined #openstack-nova00:34
*** crushil has quit IRC00:37
*** crushil has joined #openstack-nova00:38
*** jamielennox is now known as jamielennox|away00:38
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Drop deprecated aggregate-update positional args  https://review.openstack.org/44733200:40
mriedemwally: you have to configure the [placement] section of nova.conf on the compute node00:40
*** yamamoto has joined #openstack-nova00:41
mriedemwith credentials to access the placement endpoint00:41
*** crushil has quit IRC00:41
mriedemwally: https://docs.openstack.org/developer/nova/placement.html#upgrade-notes00:41
*** crushil has joined #openstack-nova00:41
*** crushil has quit IRC00:44
*** crushil has joined #openstack-nova00:44
*** yamamoto has quit IRC00:45
*** crushil has quit IRC00:51
*** gcb has joined #openstack-nova00:52
*** tovin07_ has joined #openstack-nova00:55
*** wally has quit IRC00:59
*** kevinz has joined #openstack-nova01:01
*** phuongnh has joined #openstack-nova01:02
*** baoli has quit IRC01:04
*** gcb has quit IRC01:07
*** gcb has joined #openstack-nova01:08
*** mriedem has quit IRC01:08
*** ducnc has joined #openstack-nova01:09
*** yamamoto has joined #openstack-nova01:11
*** yamamoto has quit IRC01:15
*** yassine has joined #openstack-nova01:16
*** yassine is now known as Guest6876401:16
*** gongysh has joined #openstack-nova01:16
*** rfolco has joined #openstack-nova01:23
*** rfolco has quit IRC01:23
*** yamamoto has joined #openstack-nova01:28
*** yamamoto has quit IRC01:28
*** baoli has joined #openstack-nova01:30
*** yamamoto has joined #openstack-nova01:36
*** kaisers1 has quit IRC01:36
*** kaisers2 has joined #openstack-nova01:36
*** rfolco has joined #openstack-nova01:39
*** rfolco has quit IRC01:39
*** yamamoto has quit IRC01:41
*** markvoelker has joined #openstack-nova01:45
*** markvoelker has quit IRC01:49
*** wangqun has joined #openstack-nova01:51
*** rfolco has joined #openstack-nova01:54
*** rfolco has quit IRC01:54
*** jamesdenton has joined #openstack-nova01:58
*** jamesdenton has quit IRC01:58
*** rfolco has joined #openstack-nova02:00
*** rfolco has quit IRC02:00
*** kaisers_ has joined #openstack-nova02:02
*** kaisers has quit IRC02:06
*** yamamoto has joined #openstack-nova02:19
*** yamamoto has quit IRC02:19
*** tanee_away is now known as tanee02:25
*** fragatina has joined #openstack-nova02:26
*** yamamoto has joined #openstack-nova02:31
*** fragatina has quit IRC02:33
openstackgerritZhenyu Zheng proposed openstack/nova master: Don't delete neutron port when attach failed  https://review.openstack.org/40356802:37
*** dimtruck is now known as zz_dimtruck02:52
*** jichen has joined #openstack-nova03:11
openstackgerritAlex Xu proposed openstack/nova master: placement: Add Traits API to placement service  https://review.openstack.org/37620003:14
*** baoli has quit IRC03:14
*** dave-mccowan has quit IRC03:20
*** jamielennox|away is now known as jamielennox03:22
*** zhurong has joined #openstack-nova03:25
*** sree has joined #openstack-nova03:33
openstackgerritSivasathurappan Radhakrishnan proposed openstack/nova master: Reset instance status on invalid host  https://review.openstack.org/40100903:43
openstackgerritSivasathurappan Radhakrishnan proposed openstack/nova master: Return 400 when compute host is not found  https://review.openstack.org/44735503:43
*** yamamoto has quit IRC03:50
openstackgerritSivasathurappan Radhakrishnan proposed openstack/nova master: Permit Live Migration of Rescued Instances  https://review.openstack.org/30819803:56
openstackgerritSivasathurappan Radhakrishnan proposed openstack/nova master: API changes for live migration of rescued instance  https://review.openstack.org/32828003:56
*** yamamoto has joined #openstack-nova03:57
*** yamamoto has quit IRC03:59
*** yamamoto has joined #openstack-nova04:00
*** yamamoto has quit IRC04:00
*** Dinesh_Bhor has joined #openstack-nova04:08
*** psachin has joined #openstack-nova04:09
*** Matias has quit IRC04:15
*** udesale has joined #openstack-nova04:16
*** zhurong has quit IRC04:16
*** gongysh has quit IRC04:18
*** links has joined #openstack-nova04:20
*** ratailor has joined #openstack-nova04:30
*** Matias has joined #openstack-nova04:31
*** kaisers_ has quit IRC04:41
*** diga has joined #openstack-nova04:42
*** unicell1 has joined #openstack-nova04:53
*** unicell has quit IRC04:54
*** yamamoto has joined #openstack-nova04:55
*** diga has quit IRC04:58
*** zhurong has joined #openstack-nova04:59
*** yamamoto has quit IRC05:00
*** gongysh has joined #openstack-nova05:04
*** kornicameister has quit IRC05:06
*** ayogi has joined #openstack-nova05:10
*** kornicameister has joined #openstack-nova05:13
*** zhurong has quit IRC05:14
*** vks1 has joined #openstack-nova05:16
*** adisky_ has joined #openstack-nova05:23
*** ygl has joined #openstack-nova05:27
*** nmathew has joined #openstack-nova05:32
*** ijw has quit IRC05:39
openstackgerritAlex Xu proposed openstack/nova master: placement: Add Traits API to placement service  https://review.openstack.org/37620005:39
*** vks1 has quit IRC05:39
*** ijw has joined #openstack-nova05:40
*** kornicameister has quit IRC05:41
*** kaisers has joined #openstack-nova05:41
*** kornicameister has joined #openstack-nova05:43
*** claudiub has joined #openstack-nova05:46
*** kaisers has quit IRC05:47
*** sridharg has joined #openstack-nova05:48
*** Jack_Iv has joined #openstack-nova05:50
*** sridharg has quit IRC05:54
*** vks1 has joined #openstack-nova05:55
*** gongysh has quit IRC05:58
*** jaosorior has joined #openstack-nova06:04
*** prateek has joined #openstack-nova06:05
*** Sukhdev has joined #openstack-nova06:07
*** gongysh has joined #openstack-nova06:10
*** kaisers has joined #openstack-nova06:11
*** yamamoto has joined #openstack-nova06:11
*** kaisers has quit IRC06:15
*** yamamoto has quit IRC06:18
openstackgerritMaciej Szankin proposed openstack/nova-specs master: Add use-local-scheduler spec  https://review.openstack.org/43893606:24
*** yamahata has joined #openstack-nova06:29
*** moshele has joined #openstack-nova06:30
*** moshele has quit IRC06:36
*** sridharg has joined #openstack-nova06:37
openstackgerritMaciej Szankin proposed openstack/nova-specs master: Add use-local-scheduler spec  https://review.openstack.org/43893606:39
*** kornicameister has quit IRC06:41
*** kornicameister has joined #openstack-nova06:43
*** NikhilS has joined #openstack-nova06:44
*** lpetrut has joined #openstack-nova06:46
openstackgerritBhagyashri Shewale proposed openstack/nova master: Don't create instance backup image if rotation is 0  https://review.openstack.org/40964406:47
*** Sukhdev has quit IRC06:48
*** jaosorior has quit IRC06:53
*** sree has quit IRC06:54
*** jaosorior has joined #openstack-nova06:55
*** mnestratov has joined #openstack-nova06:57
*** karthiks_afk has joined #openstack-nova06:57
*** sree has joined #openstack-nova07:00
*** nkrinner_afk is now known as nkrinner07:03
*** sree_ has joined #openstack-nova07:04
*** sree_ is now known as Guest8436007:05
*** sree has quit IRC07:05
*** Oku_OS-away is now known as Oku_OS07:08
*** Guest84360 has quit IRC07:08
*** kaisers has joined #openstack-nova07:11
*** jaosorior has quit IRC07:14
*** jaosorior has joined #openstack-nova07:15
*** jaosorior has quit IRC07:16
*** kaisers has quit IRC07:17
*** slaweq has joined #openstack-nova07:17
*** jaosorior has joined #openstack-nova07:19
*** zerda3 has joined #openstack-nova07:20
*** carthaca_ has quit IRC07:20
*** sapcc-bot has quit IRC07:20
*** satyar has joined #openstack-nova07:20
*** andreas_s has joined #openstack-nova07:24
*** moshele has joined #openstack-nova07:29
*** Jeffrey4l__ has quit IRC07:33
*** ygl has quit IRC07:33
*** Jack_Iv has quit IRC07:36
*** Jeffrey4l__ has joined #openstack-nova07:36
*** Jack_Iv has joined #openstack-nova07:36
*** ircuser-1 has joined #openstack-nova07:37
*** Jack_Iv has quit IRC07:37
*** Jack_Iv has joined #openstack-nova07:37
*** yonglihe has quit IRC07:39
*** voelzmo has joined #openstack-nova07:41
*** karthiks_afk is now known as karthiks07:43
openstackgerritDinesh Bhor proposed openstack/nova master: Use HostAddressOpt for opts that accept IP and hostnames  https://review.openstack.org/44578207:43
*** moshele has quit IRC07:45
*** markus_z has joined #openstack-nova07:49
*** youzp has joined #openstack-nova07:50
*** ralonsoh has joined #openstack-nova07:51
*** lpetrut has quit IRC07:52
*** youzp has quit IRC07:55
*** claudiub|2 has joined #openstack-nova07:57
*** tesseract has joined #openstack-nova07:58
*** youzp has joined #openstack-nova07:59
*** claudiub has quit IRC08:00
*** zzzeek has quit IRC08:00
openstackgerritZhenyu Zheng proposed openstack/nova-specs master: Add os-traits reference  https://review.openstack.org/44740108:00
*** zzzeek has joined #openstack-nova08:00
*** brault has joined #openstack-nova08:01
*** lpetrut has joined #openstack-nova08:04
*** kaisers2 has quit IRC08:04
*** armax has quit IRC08:05
*** ociuhandu has joined #openstack-nova08:06
*** ratailor is now known as ratailor|Lunch08:08
openstackgerritZhenyu Zheng proposed openstack/nova-specs master: Add os-traits reference  https://review.openstack.org/44740108:12
*** pcaruana has joined #openstack-nova08:14
openstackgerritZhenyu Zheng proposed openstack/nova-specs master: Add os-traits reference  https://review.openstack.org/44740108:15
openstackgerritSilvan Kaiser proposed openstack/nova master: Removes getfattr from Quobyte Nova driver  https://review.openstack.org/42864608:17
*** lpetrut has quit IRC08:17
*** Jack_Iv has quit IRC08:17
*** kaisers has joined #openstack-nova08:18
*** Jack_Iv has joined #openstack-nova08:18
*** youzp has quit IRC08:21
*** yamamoto has joined #openstack-nova08:22
*** rdo has quit IRC08:24
*** youzp has joined #openstack-nova08:25
*** rdo has joined #openstack-nova08:26
*** fengzhr has joined #openstack-nova08:27
*** youzp has quit IRC08:32
*** kaisers has quit IRC08:34
*** fengzhr has quit IRC08:38
*** fengzhr has joined #openstack-nova08:38
bauzasgood morning Nova08:41
openstackgerritShunli Zhou proposed openstack/nova master: Remove mox from cells/test_cells_rpc_driver.py  https://review.openstack.org/44741208:43
*** jahsis has joined #openstack-nova08:44
*** mlakat has joined #openstack-nova08:44
*** kaisers has joined #openstack-nova08:49
*** rmart04 has joined #openstack-nova08:54
openstackgerritZhenyu Zheng proposed openstack/nova-specs master: Add os-traits reference  https://review.openstack.org/44740108:54
*** ayogi has quit IRC09:01
*** openstackgerrit has quit IRC09:02
*** yamamoto has quit IRC09:04
*** openstackgerrit has joined #openstack-nova09:07
openstackgerritMichael  Henkel proposed openstack/nova master: contrail: add vrouter VIF plugin type support  https://review.openstack.org/44118309:07
*** kaisers_ has joined #openstack-nova09:14
*** kaisers_ has quit IRC09:19
*** claudiub|2 is now known as claudiub09:20
*** sridharg has quit IRC09:21
*** ayogi has joined #openstack-nova09:24
*** ayogi has quit IRC09:24
*** sridharg has joined #openstack-nova09:24
*** lpetrut has joined #openstack-nova09:25
*** ayogi has joined #openstack-nova09:26
*** lucas-afk is now known as lucasagomes09:28
lyarwoodmdbooth: can you take another look at https://review.openstack.org/#/c/439520/ this morning?09:29
*** owalsh_ is now known as owalsh09:33
openstackgerritJohn Garbutt proposed openstack/nova-specs master: Add live-migration-force-after-timeout spec  https://review.openstack.org/43846709:38
openstackgerritJohn Garbutt proposed openstack/nova-specs master: Spec to add per instance timeout for LM  https://review.openstack.org/44280909:39
*** arne_r has joined #openstack-nova09:39
*** derekh has joined #openstack-nova09:45
*** yamahata has quit IRC09:48
*** abalutoiu has joined #openstack-nova10:01
*** yamamoto has joined #openstack-nova10:03
*** kornica has joined #openstack-nova10:03
openstackgerritStephen Finucane proposed openstack/nova-specs master: Re-add templates  https://review.openstack.org/44606910:05
openstackgerritStephen Finucane proposed openstack/nova-specs master: Fix formatting errors and warnings  https://review.openstack.org/40736410:05
openstackgerritStephen Finucane proposed openstack/nova-specs master: tox: Build docs with Python 2.7  https://review.openstack.org/44590610:05
openstackgerritStephen Finucane proposed openstack/nova-specs master: Treat doc build warnings as errors  https://review.openstack.org/43988310:05
*** wangqun has quit IRC10:06
*** yamamoto has quit IRC10:07
*** Jack_Iv has quit IRC10:09
*** kornicameister has quit IRC10:09
*** nicolasbock has joined #openstack-nova10:12
*** Jack_Iv has joined #openstack-nova10:12
*** vks1 has quit IRC10:14
*** kaisers_ has joined #openstack-nova10:15
openstackgerritJohn Garbutt proposed openstack/nova-specs master: Spec to add per instance timeout for LM  https://review.openstack.org/44280910:15
*** tovin07_ has quit IRC10:16
*** sree has joined #openstack-nova10:17
*** kaisers_ has quit IRC10:19
*** yamamoto has joined #openstack-nova10:21
*** yamamoto has quit IRC10:21
*** sree has quit IRC10:21
*** gcb has quit IRC10:23
openstackgerritRodolfo Alonso Hernandez proposed openstack/nova-specs master: Enable SR-IOV NIC offload feature discovery  https://review.openstack.org/43595410:24
*** ijw has quit IRC10:25
*** ijw has joined #openstack-nova10:27
*** kevinz has quit IRC10:28
*** sridharg has quit IRC10:28
*** phuongnh has quit IRC10:30
*** satyar has quit IRC10:30
openstackgerritJohn Garbutt proposed openstack/nova-specs master: Add policy-remove-scope-checks spec  https://review.openstack.org/43303710:33
openstackgerritJohn Garbutt proposed openstack/nova-specs master: Add additional-default-policy-roles spec  https://review.openstack.org/42787210:33
*** vks1 has joined #openstack-nova10:34
*** dikonoor has joined #openstack-nova10:37
*** sridharg has joined #openstack-nova10:37
*** ratailor|Lunch has quit IRC10:42
*** dikonoor has quit IRC10:51
*** udesale__ has joined #openstack-nova10:56
*** udesale has quit IRC10:57
johnthetubaguylyarwood: I am not sure about stashing things for disconnect_volume10:58
johnthetubaguylyarwood: it seems like we could easily screw things up if we do that, if thats lots of load on Cinder, we can optimise that later.10:59
*** udesale has joined #openstack-nova10:59
johnthetubaguylyarwood: what do you think?10:59
openstackgerritRoman Podoliaka proposed openstack/nova master: nova-status: don't coerce version numbers to floats for comparison  https://review.openstack.org/44744910:59
lyarwoodjohnthetubaguy: well we currently do that right, so not stashing it would be something new and untested11:00
*** mnestratov has quit IRC11:00
johnthetubaguylyarwood: its not currently something cinder doesn't have though11:00
lyarwoodjohnthetubaguy: I'm just worried about the backend c-vol config changing and getting back connection_info for the disconnect that results on os-bick failing11:00
johnthetubaguyoops, I mean its something cinder couldn't give us right now11:00
johnthetubaguylyarwood: honestly, I am worrying about the reverse11:00
*** udesale__ has quit IRC11:00
johnthetubaguylyarwood: stuff gets updated, and we don't find out, and disconnect fails11:01
lyarwoodjohnthetubaguy: yeah that's something that could happen today and tbh I can't think of an example11:01
lyarwoodjohnthetubaguy: where we've seen it in the wild that is11:01
johnthetubaguylyarwood: it just feels like we should keep the API clean here, and we loop back and fix up things after that11:02
lyarwoodjohnthetubaguy: yeah indeed, we are not dropping connection_info from the db / object models right?11:03
lyarwoodjohnthetubaguy: so we can always start stashing this again I guess11:03
*** Jack_Iv has quit IRC11:03
*** cdent has joined #openstack-nova11:03
johnthetubaguylyarwood: well, we can't drop that will all existing volumes are transitioned, which is a big TODO right now11:03
*** Jack_Iv has joined #openstack-nova11:04
*** Jack_Iv has quit IRC11:04
johnthetubaguylyarwood: if we start saving that, I just feel we need an open conversation with os-brick and cinder folks on how it should fit in the flow, maybe immutable stuff on their side per attachment is a better way forward11:04
*** Jack_Iv has joined #openstack-nova11:04
*** psachin has quit IRC11:05
*** nmathew has quit IRC11:05
lyarwoodjohnthetubaguy: yeah that's a fair point, they can and maybe should look after this for us11:05
johnthetubaguylyarwood: this probably speaks to that improved swap volume work actually, this is a zero copy swap volume use case11:05
johnthetubaguy(ish)11:06
lyarwoodjohnthetubaguy: unless the instance is down I can't think of a situation where nova would leave swap volume up to cinder entirely, IMHO there would always be a need for nova to rebase and ensure everything is in sync.11:09
*** aarefiev_afk is now known as aarefiev11:15
openstackgerritPooja Jadhav proposed openstack/nova master: Deny volume swapping with non-bootable volume  https://review.openstack.org/40734611:15
*** kaisers_ has joined #openstack-nova11:16
*** smatzek has joined #openstack-nova11:17
*** zhurong has joined #openstack-nova11:17
*** udesale has quit IRC11:19
*** udesale has joined #openstack-nova11:19
*** kaisers_ has quit IRC11:20
*** yamamoto has joined #openstack-nova11:22
openstackgerritJohn Garbutt proposed openstack/nova-specs master: Add spec to use cinder's new attachment API  https://review.openstack.org/37320311:22
johnthetubaguylyarwood: I was thinking about cinder wanting to rotate a connection password, +1 it always has to involve Nova11:24
*** dikonoor has joined #openstack-nova11:24
*** Jack_Iv has quit IRC11:27
*** yamamoto has quit IRC11:30
*** hferenc has quit IRC11:30
*** Jeffrey4l_ has joined #openstack-nova11:34
*** Jack_Iv has joined #openstack-nova11:35
mhenkelsean-k-mooney: would you have some time helping me to figure out why this failed: http://logs.openstack.org/83/441183/10/check/gate-tempest-dsvm-py35-ubuntu-xenial/e42be9f/ ?11:35
mhenkelI walked through all logs but couldn't spot any error related to the commit11:35
*** Jeffrey4l__ has quit IRC11:36
*** zhurong has quit IRC11:37
openstackgerritRoman Podoliaka proposed openstack/nova master: neutron: re-raise 401 for a non-admin client  https://review.openstack.org/42269611:40
*** yamamoto has joined #openstack-nova11:41
*** psachin has joined #openstack-nova11:42
*** ociuhandu has quit IRC11:45
*** udesale has quit IRC11:47
*** tbachman has quit IRC11:48
*** dikonoor has quit IRC11:48
*** kylek3h has quit IRC11:55
*** dikonoor has joined #openstack-nova11:58
*** tbachman has joined #openstack-nova11:59
*** aysyd has joined #openstack-nova12:00
*** kevinz has joined #openstack-nova12:03
*** gongysh has quit IRC12:06
*** vks1 has quit IRC12:07
*** kevinz has quit IRC12:08
*** dave-mccowan has joined #openstack-nova12:08
*** kevinz has joined #openstack-nova12:08
*** diana_clarke has joined #openstack-nova12:10
*** diana_clarke has left #openstack-nova12:10
*** rfolco has joined #openstack-nova12:11
*** edmondsw has joined #openstack-nova12:14
*** cdent has quit IRC12:16
*** kaisers_ has joined #openstack-nova12:16
*** Chason has joined #openstack-nova12:18
*** sridharg has quit IRC12:20
*** sridharg has joined #openstack-nova12:21
Jeffrey4l_is there any consumer for nova versioned notifications?  https://docs.openstack.org/developer/nova/notifications.html#versioned-notifications12:21
*** kaisers_ has quit IRC12:21
*** mnestratov has joined #openstack-nova12:21
Jeffrey4l_seems ceilometer can not handle this. should i disable this when deploying?12:21
openstackgerritSean Dague proposed openstack/nova master: remove log translation from nova.api.metadata  https://review.openstack.org/44746612:26
*** zul has joined #openstack-nova12:29
*** ociuhandu has joined #openstack-nova12:31
*** ralonsoh_ has joined #openstack-nova12:34
*** kaisers has quit IRC12:36
*** kylek3h has joined #openstack-nova12:37
*** liangy has joined #openstack-nova12:42
*** gcb has joined #openstack-nova12:49
*** kaisers has joined #openstack-nova12:49
*** mdrabe has joined #openstack-nova12:50
*** cleong has joined #openstack-nova12:51
ChasonHi guys, since openstack server create does not support the options --swap and --ephemeral, are there some other options alternatives?12:53
*** fengzhr has quit IRC12:53
*** satyar has joined #openstack-nova12:54
*** fengzhr has joined #openstack-nova12:54
*** yamamoto has quit IRC12:55
*** mriedem has joined #openstack-nova12:56
*** catintheroof has joined #openstack-nova12:57
*** gongysh has joined #openstack-nova12:58
*** awaugama has joined #openstack-nova13:00
*** markvoelker has joined #openstack-nova13:01
*** liverpooler has joined #openstack-nova13:02
*** cdent has joined #openstack-nova13:03
*** vladikr has joined #openstack-nova13:03
*** Jack_Iv has quit IRC13:07
*** gouthamr has joined #openstack-nova13:07
*** jaypipes has joined #openstack-nova13:08
*** ayogi has quit IRC13:11
*** links has quit IRC13:11
*** kaisers has quit IRC13:12
*** kaisers has joined #openstack-nova13:17
*** tblakes has joined #openstack-nova13:18
*** tblakes has quit IRC13:19
*** tblakes has joined #openstack-nova13:19
*** gabor_antal_km is now known as gabor_antal13:20
*** cdent has quit IRC13:20
*** Jack_Iv has joined #openstack-nova13:20
*** youzp has joined #openstack-nova13:21
*** kaisers has quit IRC13:22
*** gcb has quit IRC13:22
*** gcb has joined #openstack-nova13:23
*** Sukhdev has joined #openstack-nova13:25
*** youzp has quit IRC13:26
efriedChason You specify those things via the flavor13:27
*** youzp has joined #openstack-nova13:29
openstackgerritOpenStack Proposal Bot proposed openstack/python-novaclient master: Updated from global requirements  https://review.openstack.org/44667413:29
efriedChason Take a look at `openstack flavor create`13:29
*** kaisers has joined #openstack-nova13:30
Chasonefried, you mean I should create flavor with these options, then to create the instance?13:31
efriedChason Correct.13:31
ChasonOK, thanks!13:31
efriedThe --flavor argument to `openstack server create` is mandatory anyway, I believe.13:31
*** jamesdenton has joined #openstack-nova13:31
efriedYW, good luck.13:31
johnthetubaguyChason efried is correct its normally set by the flavor, but do take a look at block_device_mapping_v2 in here: https://developer.openstack.org/api-ref/compute/?expanded=create-server-detail#create-server13:31
ChasonYeah, I see.13:31
*** smatzek has quit IRC13:32
*** erhudy has joined #openstack-nova13:34
*** cdent has joined #openstack-nova13:35
*** cdent has quit IRC13:35
openstackgerritPushkar Umaranikar proposed openstack/nova master: Placement api: add tox check for webob wsgify decorator  https://review.openstack.org/43667113:35
openstackgerritMaciej Szankin proposed openstack/nova master: Stop using mox stubs in nova/tests/unit/cells/fakes.py  https://review.openstack.org/34204313:37
*** baoli has joined #openstack-nova13:37
*** Sukhdev has quit IRC13:39
*** burt has joined #openstack-nova13:40
*** Sukhdev has joined #openstack-nova13:40
*** ralonsoh_ has quit IRC13:40
openstackgerritEd Leafe proposed openstack/nova master: WIP - add some functional tests for placement  https://review.openstack.org/44612313:42
*** eharney has joined #openstack-nova13:42
*** clenimar has quit IRC13:43
*** youzp has quit IRC13:43
edleafe-Scheduler subteam meeting in 15 minutes in #openstack-meeting-alt13:45
*** edleafe- is now known as edleafe13:45
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/44750513:45
*** hongbin has joined #openstack-nova13:47
EmilienMjaypipes: hey, good morning. We're currently investigating a TripleO CI issue where fail to deploy the overcloud (nodes managed by ironic) since March 16th, so we're looking at commits in Nova and we found https://review.openstack.org/#/c/441544/ that might be related. If you want to see bug report: https://bugs.launchpad.net/tripleo/+bug/1674236 - thanks for looking13:47
openstackLaunchpad bug 1674236 in tripleo "CI / promotion: Nova isn't aware of the nodes that were registered with Ironic" [Critical,Triaged]13:47
*** READ10 has joined #openstack-nova13:48
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/44750513:50
jaypipesEmilienM: looking...13:52
EmilienMsome logs: http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-conductor.txt.gz#_2017-03-19_07_21_12_70913:52
*** crushil has joined #openstack-nova13:52
EmilienMand http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-scheduler.txt.gz#_2017-03-19_07_19_34_15813:53
sdaguejaypipes: I'm confused by your reviews on https://review.openstack.org/#/c/427901/ - as it's got a -1 with a change requested, then a +213:53
*** armax has joined #openstack-nova13:53
*** lucasagomes is now known as lucas-hungry13:53
mriedemsdague: because they talked about it in irc and didn't update the comments in the review13:54
jaypipessdague: yes, what mriedem said.13:54
*** tommy_ has joined #openstack-nova13:54
*** sapcc-bot has joined #openstack-nova13:54
*** tpatzig_ has joined #openstack-nova13:54
*** databus23_ has joined #openstack-nova13:54
*** carthaca_ has joined #openstack-nova13:54
*** david_1 has joined #openstack-nova13:54
*** tommy_ is now known as Guest367013:55
mriedemEmilienM: the compute logs are probably what is most interesting since that's where the resource tracker logs are13:55
mriedemwhich feeds the scheduler13:55
*** yamamoto has joined #openstack-nova13:55
dansmithcompute is feeding placement correctly13:55
*** mlavalle has joined #openstack-nova13:55
dansmithscheduler just never finds any compute nodes, AFAICT13:55
jrollO_o13:56
*** vks1 has joined #openstack-nova13:56
*** Guest3670 has quit IRC13:56
*** david_1 has quit IRC13:56
*** databus23_ has quit IRC13:56
*** tpatzig_ has quit IRC13:56
*** carthaca_ has quit IRC13:56
*** tblakes has quit IRC13:57
*** gcb has quit IRC13:57
jrolloh, we don't take the old path if get_inventory() is implemented: https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L75413:58
*** gcb has joined #openstack-nova13:58
mriedemcorrect13:58
jrollI bet we aren't registering the "capabilities"13:58
mriedemi see this over and over in the compute logs13:58
mriedem2017-03-19 07:01:23.652 16870 ERROR nova.compute.manager [req-cf2991f8-9fe2-45db-95e2-8cfc8cee2edd - - - - -] No compute node record for host tripleo-centos-7-tripleo-test-cloud-rh1-794874513:58
dansmithah13:58
jrollit wouldn't explain starting with 0 nodes, though13:59
dansmithjroll: if we never create a computenode record though...13:59
dansmithshouldn't this have broken our ironic job too?13:59
jrolldansmith: right, I thought we did that either way13:59
mriedemi thought the compute node record was created before this13:59
*** smatzek has joined #openstack-nova14:00
dansmithah yeah, you're right14:00
dansmithL74514:00
jrollyeah14:00
*** esberglu has joined #openstack-nova14:00
dansmithwe've already got a CN there14:00
mriedemyeah create it here if it doesn't exist https://github.com/openstack/nova/blob/66c3f0860b6d96500539b5e94856f9594d363da7/nova/compute/resource_tracker.py#L59314:00
jaypipesmriedem: it looks like it's taking approx 30 minutes for the Ironic nodes to register with Nova..14:00
*** gcb_ has joined #openstack-nova14:01
mriedemupdate it here using get_inventory https://github.com/openstack/nova/blob/66c3f0860b6d96500539b5e94856f9594d363da7/nova/compute/resource_tracker.py#L64214:01
*** irenab_ has joined #openstack-nova14:01
EmilienMCN = compute node?14:02
mriedemyes14:02
*** gcb has quit IRC14:02
edleafeScheduler meeting now running in #openstack-meeting-alt14:02
EmilienMiiuc, you have one job that test Ironic: gate-tempest-dsvm-ironic-ipa-wholedisk-bios-agent_ipmitool-tinyipa-ubuntu-xenial-nv - am I right?14:03
jroll+1 to what jaypipes said, I don't see the resource tracker even try to run until 07:10, that's odd14:03
jrollEmilienM: yes, and then the entire ironic gate. we'd know by now if it broke ironic :)14:03
*** yamamoto has quit IRC14:04
EmilienMright, and I've looked at commits in Ironic since March 16th and I haven't found anything suspicious14:04
mriedemone of the compute node records is created here http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-compute.txt.gz#_2017-03-19_07_10_44_25614:04
jrollEmilienM: I must ask, this is repeatable, right?14:04
EmilienMjroll: yes, we have it for 3 days14:04
EmilienMbut nobody looked at it this weekend14:05
jrollcool, the timing thing seemed weird14:05
EmilienM(I was offline)14:05
jrollI guess you're trying to boot an instance after it's created anyway14:05
jaypipesmriedem: yes, and looking at the placement log, I see 3 PUTs for creating inventory successfully.14:05
jrollEmilienM: what does your flavor look like?14:05
EmilienMI can try a revert and Depends-On tripleo patch14:05
EmilienMso I can tell if this patch broke us or not14:05
EmilienMjroll: let me show you that14:06
EmilienMjroll: gimme 2 min14:06
jrollthat would be good data, yeah14:06
jrollEmilienM: thanks14:06
openstackgerritEmilien Macchi proposed openstack/nova master: DNM - Revert "virt: implement get_inventory() for Ironic"  https://review.openstack.org/44751214:07
mriedemUsing cache for node eca19329-b67f-46b5-8509-586491a15f17, age: 7.65818786621 _node_from_cache /usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py:70014:07
mriedemis there a timer on the node cache in the ironic driver?14:08
jrollit refreshes every resource tracker run14:08
*** felipemonteiro_ has joined #openstack-nova14:08
mriedemjroll: are you sure about that?14:09
mriedemi don't see _node_from_cache refreshing14:09
mriedemand get_available_resource only does if it doesn't exist14:09
jrollmriedem: get_available_nodes14:10
* jroll double checks14:10
jrollya https://github.com/openstack/nova/blob/master/nova/virt/ironic/driver.py#L60414:10
EmilienMjroll: I think the default flavor is 4096, 1, 4014:11
mriedemand get_available_nodes is called for every update_available_resource in the compute manager, which is on startup and every 60s14:11
jaypipesmriedem: get_available_resource() is always called before get_inventory(), and get_available_resource() always refreshes the node cache: https://github.com/openstack/nova/blob/master/nova/virt/ironic/driver.py#L68814:11
EmilienMjroll: details here: http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-api.txt.gz#_2017-03-19_06_38_20_76414:12
mriedemjaypipes: get_available_resource does not always refresh the cache14:12
openstackgerritRafael Folco proposed openstack/nova master: DELETE all inventory for a resource provider  https://review.openstack.org/41666914:12
mriedemsee the conditional block it's in14:12
mriedemif not self.node_cache:14:12
mriedemself._refresh_cache()14:12
*** udesale has joined #openstack-nova14:12
jrollEmilienM: okay, and we have Final resource view: name=eca19329-b67f-46b5-8509-586491a15f17 phys_ram=8192MB used_ram=0MB phys_disk=40GB used_disk=0GB total_vcpus=4 used_vcpus=0 pci_stats=[]14:12
jaypipesmriedem: well, I mean it will always trigger a full pull of the node list if the node cache is empty.14:12
mriedemanyway, looks like jroll is right and we refresh in get_available_nodes, which is called in each periodic in the manager14:13
* jroll wonders if placement looks for exact matches here14:13
dansmithjroll: no, but what has changed?14:13
jaypipesjroll: placement will return nodes that have enough RAM/VCPU/DISK14:14
jrolldansmith: we now have ironic inventory in the placement engine14:14
jrollright, that's what I thought, so this flavor should fit14:14
jaypipesjroll: scheduler isn't yet requesting custom resource class14:14
dansmithjroll: sure but we're not asking for it14:14
jrollthe scheduler isn't asking placement for resource providers that match the flavor's cpu/ram/disk?14:15
jrolloh wait, that was already there14:15
jrollblah14:15
dansmithright14:15
*** tblakes has joined #openstack-nova14:15
mriedemHypervisor: VCPU information unavailable _report_hypervisor_resource_view /usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py:67614:15
mriedemindicates the node is not available, right ^ ?14:15
jrollmriedem: yeah, but later it figures things out: http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-compute.txt.gz#_2017-03-19_07_14_43_02914:16
EmilienM(in the meantime, we're testing the revert here: https://review.openstack.org/#/c/447514)14:16
jrolllog level filters here would be super useful, btw :P14:17
dansmithjroll: yeah :(14:17
EmilienMjroll: it's in our (long) todo14:17
dansmithjaypipes: a scheduling decision looks like /resource_providers?stuff=stuff right?14:17
EmilienMbut yeah, I agree14:17
dansmithjaypipes: in placement14:17
jaypipesdansmith: yep.14:17
dansmithjaypipes: I don't see a single one of those in placement's log14:18
jrollI do14:18
jrollGET /placement/resource_providers?resources=DISK_GB%3A40%2CMEMORY_MB%3A4096%2CVCPU%3A114:18
dansmithI think we should be asking placement, then using that list of uuids to filter the compute_nodes list right?14:18
*** kaisers_ has joined #openstack-nova14:18
dansmithjroll: ah, yeah, okay14:18
jaypipesEmilienM: jroll is referring to better logging in the scheduler/placement service.14:18
dansmithmust have fat-fingered my search14:18
jrolljaypipes: no, I'm referring to being able to filter compute logs by log level in tripleo logs :)14:19
mriedemjaypipes: i think it's per-job14:19
mriedemright14:19
mriedemwe have filtering on the dsvm jbos14:19
EmilienMjaypipes: ah ok. I was talking about the capacity of filtering logs like devstack does14:19
mriedem*jobs14:19
jaypipesdansmith: right, but placement is returning 0 providers.14:19
dansmithjaypipes: is it?14:19
jrolllooks like it to me14:19
jroll"Starting with 0 host(s) get_filtered_objects"14:19
dansmithokay that's different than no compute node records14:19
dansmithjroll: no, that's too late to know14:20
jrollis it?14:20
jrolllol14:20
jaypipesdansmith: "Starting with 0 hosts"14:20
dansmithjaypipes: that's after we've correlated the compute nodes and the placement result14:20
jrollah, yeah14:21
*** NikhilS has quit IRC14:21
dansmithI wanna know if placement is returning zero, or we have no CNs in the DB14:21
dansmithI have been assuming the latter14:21
dansmithsince we see us reporting from the compute node to placemetn14:21
jrollya, needs more logging14:21
*** cdent has joined #openstack-nova14:22
*** annegentle has joined #openstack-nova14:22
EmilienMis the log level of tripleo jobs is enough? let me know if I can help14:22
jrollEmilienM: it's a failure to log things in nova code, not the log level14:23
jaypipesEmilienM: yeah, it is I think. it's just we need more debug logging in nova-scheduler.14:23
openstackgerritDan Smith proposed openstack/nova master: Log placement result in scheduler  https://review.openstack.org/44752014:23
dansmiththis ^14:23
jaypipesthx dansmith14:23
*** kaisers_ has quit IRC14:23
jroll++14:23
*** jichen has quit IRC14:24
dansmithEmilienM: can you make something run on top of that log patch?14:24
mriedemthat's going to blow up14:24
mriedemthat's just a debug change right? are we planning on merging that?14:24
dansmithmriedem: no, just for debug14:24
dansmithmriedem: the real one need not log rps in the warning case I think14:25
dansmithI just wanted to know if it's empty or none14:25
mriedemplease DNM prefix the commit message or something, or -214:25
jrollcan we merge it just so mriedem gets slammed with logs?14:25
*** ijw has quit IRC14:25
mriedemdansmith: agree, but i could see someone mistakenly approving this14:25
EmilienMdansmith: yes14:25
EmilienMmy revert14:26
EmilienMoh wait14:26
*** NikhilS has joined #openstack-nova14:26
EmilienMno14:26
openstackgerritDan Smith proposed openstack/nova master: DNM: Log placement result in scheduler  https://review.openstack.org/44752014:26
EmilienMgimme a sec14:26
EmilienMdansmith: here: https://review.openstack.org/#/c/447522/14:28
*** ijw has joined #openstack-nova14:28
*** NikhilS has quit IRC14:28
*** artom has joined #openstack-nova14:29
* jroll is still wondering what's different about the tripleo CI that this would fail14:30
*** zz_dimtruck is now known as dimtruck14:30
dansmithjroll: yeah,14:31
openstackgerritLee Yarwood proposed openstack/nova master: encryptors: Switch to os-brick encryptor classes  https://review.openstack.org/39159714:31
efriedSo it turns out that assert_called_once and assert_not_called aren't actually methods on a mock.  Without speccing, they'll succeed happily just like any nonexistent method would.  There's 80ish instances of these in the nova tree.  May I open a bug and fix this, or is there something I don't know?14:31
dansmithI don't even see some debug logs that we should be seeing in scheduler14:31
jrollthe only thing I've noticed so far is that the flavor isn't an exact match to the node14:31
jrolloh, hm14:32
dansmithlike we should see this: https://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L590-L59114:32
dansmithbut unless I just suck at searching I can't find it14:32
jrollagree14:32
mriedemefried: are you looking at std lib or the mock library?14:33
efriedmriedem How do I know which is which?14:33
mriedemefried: b/c they are in the lib https://github.com/testing-cabal/mock/blob/2.0.0/mock/mock.py#L89014:33
mriedemand we use the lib14:33
mriedemin the py27 job14:33
*** CristinaPauna has quit IRC14:33
mriedemhttps://github.com/openstack/requirements/blob/master/upper-constraints.txt#L14914:34
efriedWhat I do know is that the tests I found this out on are using 'import mock'.14:34
jrolldansmith: I wonder how relevant this is compute_manager=ironic.nova.compute.manager.ClusteredComputeManager14:34
jrollthat should not be there14:34
dansmithjroll: w..t..f14:34
efriedSo I guess that behaves differently depending on whether the mock library is installed or not?14:34
jrolldansmith: wait, I think that's not even in ironic tree, wat14:34
efried...the import, that is?14:34
dansmithjroll: that would be majorly problematic for a lot of things we've just done14:35
jrolldansmith: indeed14:35
*** CristinaPauna has joined #openstack-nova14:35
jrolldansmith: confirmed, that module doesn't exist in ironic master14:35
dansmithummm....14:35
mriedemyou can't load up out of tree compute managers anymore14:35
mriedemwe dropped the ability to do that awhile ago, like newton i think14:35
jrollmriedem: so that config is a noop yeah?14:35
mriedemmost likely14:35
jrollok14:36
dansmithoh, compute manager, I was thinking host manager14:36
jrollefried: we always use the third party lib, which is api-compatible with the 3.6 version of stdlib14:36
mriedemhttp://codesearch.openstack.org/?q=ironic.nova.compute.manager.ClusteredComputeManager&i=nope&files=&repos=14:36
efriedjroll Okay, must be something in my local env that's using the stdlib instead, then.14:36
openstackgerritSean Dague proposed openstack/nova master: update i18n guide for nova  https://review.openstack.org/44752814:36
dansmithjroll: is that the manager that used to always report the same hostname to allow for "HA" ?14:37
jrolldansmith: yeah14:37
dansmithEmilienM: so that should be removed from tripleo, especially since it'll be removed at some point14:38
*** kfarr has joined #openstack-nova14:38
*** efried has quit IRC14:39
jrolldansmith: it's lone gone already14:39
*** udesale has quit IRC14:39
dansmithjroll: they're still setting it though yes?14:39
jrollyeah, it should be removed, but clearly not breaking things14:40
jroll"clearly" ehh14:40
mriedemhttps://github.com/openstack/nova/commit/d9a7c16c305cd7016195cada883867411d3a5eb914:40
jrollyou get what I mean14:40
*** isq has quit IRC14:40
dansmithah, yeah, I figured the CONF was still there to avoid breaking people with it set14:40
mriedemi guess we only removed the compute manager config in ocata14:40
mriedemwe don't fail on busted config14:40
dansmithapparently not14:40
mriedemi think there is a flag to set if you have busted config, but we don't run with it14:40
dansmithokay, I know I've seen it before14:41
jrollthanks for confirmation mriedem14:41
dansmithwell, I dunno why we're not seeing some of the other messages that should be in scheduler14:41
dansmithEmilienM: how can I see the exact git hash of nova that is being tested here?14:42
mriedemis the IronicHostManager overriding the methods that have the logging you expect to ese?14:42
mriedem*see14:42
dansmithI don't think so, but let me look14:42
jrollshouldn't be14:42
dansmithyeah, no14:42
dansmithI think the nova hash is 47d90a314:43
*** diga has joined #openstack-nova14:44
dansmithin this run http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/rpm-qa.txt.gz14:44
* EmilienM reads backlog14:44
EmilienMdansmith: yes that14:44
dansmithso actually, if we get nothing back from placement, we'd not hit the messages I'm looking for, I think14:45
dansmithso it must be that14:45
dansmithbut I have no idea why14:45
*** dikonoor has quit IRC14:45
EmilienMok so I need to remove ironic.nova.compute.manager.ClusteredComputeManager14:45
dansmithEmilienM: yeah, that's just a dead config opt14:45
EmilienMreplaced by what?14:45
dansmithnot replaced by anything14:45
*** irenab_ has quit IRC14:45
mriedemEmilienM: https://github.com/openstack/nova/commit/d9a7c16c305cd7016195cada883867411d3a5eb914:45
EmilienMok14:46
jrollreplaced by AWESOME14:46
EmilienMdo you think removing the option would help tripleo issue?14:47
jrollEmilienM: the need for that was replaced by https://github.com/openstack/nova/commit/6047d790a32ef5a65d4d6b029f673ce53c3d414114:47
jrollno14:47
EmilienMor just cleanup14:47
jrolljust cleanup14:47
EmilienMk14:47
*** yamahata has joined #openstack-nova14:47
EmilienM"There's no configuration to enable this mode; it's always running."14:47
EmilienMjroll: ❤14:48
jroll:)14:48
*** marst has quit IRC14:48
mriedemseems wasteful for FilterScheduler._schedule to even call HostManager.get_filtered_hosts if we already know we don't have any hosts (resource providers from placement)14:48
openstackgerritGábor Antal proposed openstack/nova master: Add json style checking for sample notifications  https://review.openstack.org/44367714:49
mriedembut maybe the spaghetti makes sense someohw14:49
dansmithmriedem: right and we don't14:49
*** sapcc-bot has quit IRC14:49
dansmithmriedem: https://github.com/openstack/nova/blob/master/nova/scheduler/filter_scheduler.py#L175-L17614:50
EmilienMjroll: /me taking care of this cleanup https://bugs.launchpad.net/puppet-nova/+bug/167437514:50
openstackLaunchpad bug 1674375 in puppet-nova "compute_manager is deprecated, we should stop using it" [High,Triaged] - Assigned to Emilien Macchi (emilienm)14:50
*** david_1 has joined #openstack-nova14:50
*** sapcc-bot has joined #openstack-nova14:50
*** tommy_ has joined #openstack-nova14:50
*** carthaca_ has joined #openstack-nova14:50
*** seife_ has joined #openstack-nova14:50
*** tpatzig_ has joined #openstack-nova14:50
*** databus23_ has joined #openstack-nova14:50
mriedemdansmith: i'm talking about this https://github.com/openstack/nova/blob/master/nova/scheduler/filter_scheduler.py#L10814:50
jrollEmilienM: nice, thanks! s/deprecated/removed/ btw :)14:50
mriedemhosts is [] as you just poined out14:50
mriedem*pointed14:50
*** tommy_ is now known as Guest7284714:50
mriedembut we still go through self.host_manager.get_filtered_hosts and all of it's checks on an empty list14:50
mriedemwhich seems like a waste of cycles14:50
openstackgerritSilvan Kaiser proposed openstack/nova master: Removes getfattr from Quobyte Nova driver  https://review.openstack.org/42864614:50
dansmithmriedem: ah, well, it's empty, but yeah I see what you mean14:50
mriedemunrelated to this problem14:50
dansmithnot very impactful14:50
dansmithyeah14:50
mriedembut i thought we were always paranoid about scheduler perf14:51
mriedemlike, no logging14:51
dansmiththat will fail after the first filter, though,14:51
dansmithand the first one is retryfilter,14:51
dansmithwhich does basically nothing14:51
dansmithso it's really small I think14:51
dansmithstill wasteful, but.. minor I beleive14:51
mriedemfirst default filter14:51
mriedemsure14:52
*** carthaca_ has quit IRC14:52
*** Guest72847 has quit IRC14:52
*** seife_ has quit IRC14:52
*** databus23_ has quit IRC14:52
*** tpatzig_ has quit IRC14:52
*** david_1 has quit IRC14:52
dansmithsure, first default14:52
EmilienMjroll: done, thx14:52
mriedemthe first filter in my custom deployment actually calls out to my backend inventory datastore and gathers all of the latest goodies, just to filter them on an empty list :)14:52
bauzasdansmith: EmilienM: just seeing your discussions, any questions I could help you ?14:52
*** armax has quit IRC14:53
dansmithbauzas: we don't need any more questions.. we need ANSWERS!14:53
dansmithmriedem: that's quite unfortunate :)14:53
bauzasso, I could help for answers :p14:53
dansmithmriedem: especially for that to be before retryfilter :D14:53
mriedemit also ssh's into all of my computes and gathers data14:53
mriedemit's not very smart14:54
mriedembut it's enterprise ready14:54
dansmithlol14:54
*** carthaca_ has joined #openstack-nova14:54
*** tpatzig_ has joined #openstack-nova14:54
*** databus23_ has joined #openstack-nova14:55
*** david_1 has joined #openstack-nova14:55
*** seife_ has joined #openstack-nova14:55
*** lucas-hungry is now known as lucasagomes14:56
*** marst has joined #openstack-nova14:56
*** marst has quit IRC14:56
*** marst has joined #openstack-nova14:56
*** carthaca_ has quit IRC14:56
*** tpatzig_ has quit IRC14:56
*** databus23_ has quit IRC14:56
*** david_1 has quit IRC14:56
*** seife_ has quit IRC14:56
*** Chason has quit IRC14:57
*** Chason has joined #openstack-nova14:58
*** sapcc-bot1 has joined #openstack-nova14:58
*** sapcc-bot has quit IRC14:58
*** databus23_ has joined #openstack-nova14:58
*** tpatzig_ has joined #openstack-nova14:58
*** seife_ has joined #openstack-nova14:58
*** carthaca_ has joined #openstack-nova14:58
*** david_1 has joined #openstack-nova14:58
*** seife_ has quit IRC15:00
*** tpatzig_ has quit IRC15:00
*** databus23_ has quit IRC15:00
*** david_1 has quit IRC15:00
*** annegentle has quit IRC15:00
*** carthaca_ has quit IRC15:01
*** sapcc-bot1 has quit IRC15:01
*** annegentle has joined #openstack-nova15:01
*** sapcc-bot has joined #openstack-nova15:01
*** david_1 has joined #openstack-nova15:02
*** tpatzig_ has joined #openstack-nova15:02
*** carthaca_ has joined #openstack-nova15:02
*** seife_ has joined #openstack-nova15:02
*** databus23_ has joined #openstack-nova15:02
*** sapcc-bot has quit IRC15:02
*** tpatzig_ has quit IRC15:02
*** carthaca_ has quit IRC15:02
*** seife_ has quit IRC15:02
*** databus23_ has quit IRC15:02
*** david_1 has quit IRC15:02
*** david_1 has joined #openstack-nova15:03
*** sapcc-bot has joined #openstack-nova15:03
*** tpatzig_ has joined #openstack-nova15:03
*** carthaca_ has joined #openstack-nova15:03
*** seife_ has joined #openstack-nova15:03
*** databus23_ has joined #openstack-nova15:03
*** databus23_ has quit IRC15:04
*** seife_ has quit IRC15:04
*** tpatzig_ has quit IRC15:04
*** david_1 has quit IRC15:04
mriedemhow do we know which flavor was actually used in the server create request?15:05
*** sridharg has quit IRC15:05
mriedemEmilienM: you pointed at http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-api.txt.gz#_2017-03-19_06_38_20_764 but there are more than that flavor15:05
dansmithmriedem: you can look at the placement request15:05
mriedemok15:05
dansmithmriedem: http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-placement-api.txt.gz#_2017-03-19_07_19_34_11315:05
mriedemwe don't correlate the request ids between the nova and placement services yet do we?15:05
dansmithmriedem: bauzas was just telling me that we do15:05
mriedemcdent: you were the last to look at that i thought15:06
dansmithmriedem: looks like the request I linked matches the 40,4g,1 flavor15:06
EmilienMjroll: https://review.openstack.org/#/q/topic:bug/167437515:06
bauzasdansmith: mriedem: enf of Ocata-3, we were not yet passing req-id15:06
bauzasdansmith: mriedem: but I thought cdent threw a patch for that15:07
mriedemi'm looking for req-702e96af-318d-4611-af19-d6a1f3321c6a15:07
mriedemhttp://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-api.txt.gz#_2017-03-19_07_19_33_20115:07
mriedemthat's the ceph storage instance15:07
*** kevinz has quit IRC15:07
mriedemi know we log the placement request id from the response in the scheduler report client15:07
mriedembut we don't pass and use a request id from n-sch to placement and log with that req id in the placement logs15:07
mriedemwhich is what we need15:07
jrollwe don't do that between n-cpu and ironic either :(15:08
dansmithmriedem: they all look the same to me15:08
openstackgerritSean Dague proposed openstack/nova master: update i18n guide for nova  https://review.openstack.org/44752815:08
mriedembut yeah otherwise GET /placement/resource_providers?resources=DISK_GB%3A40%2CMEMORY_MB%3A4096%2CVCPU%3A115:08
*** adisky_ has quit IRC15:09
bauzasmriedem: last time I debugged that, I was just looking at the time instead :(15:09
mriedemin the n-cpu logs, i see the 3 nodes reporting capacity just before that15:10
mriedemso those are all good15:10
mriedemat least i n_report_hypervisor_resource_view15:10
cdentbauzas, mriedem: not fully contextualized, but I improved some of the logging, but there was no super handy way to make the request id used on the nova side also because used on the placement id, it would require an additional header, or changing the middleware15:10
mriedemi figured we could pass a header15:10
mriedemand if the header is there, use it, else generate a new request id15:11
cdentyeah, that would require changing the oslo middleware, so I stalled out15:11
dansmithdon't we already have a way to do that between services?15:11
dansmithI thought we did between nova and glance, for example15:11
cdentI think I left that as a comment on the bug, but it may have been lost to the sands of time15:12
mriedemi think it's something that keeps coming up with operators15:12
mriedemsdague might know15:12
bauzasdansmith: mriedem: cdent: yeah I think we're using same req-id between projects, nope ?15:12
cdentit does seem like a thing worth doing15:12
EmilienMjroll: next review on puppet-nova and you're core15:12
cdentif there's something we can borrow from nova glance interactions, great15:13
*** diga has quit IRC15:13
jrollEmilienM: nice, I'll go find some typo fixes15:13
mriedemi don't see anything between nova and glance15:13
sdaguemriedem: it does keep coming up, there is no generic solution15:13
dansmithokay I thought that was sorted already15:13
cdentis it safe for  service to accent an incoming request id?15:14
sdaguethere was going to be some logging of both at some point, but it remains unsolved15:14
cdentwow, my typing15:14
cdentsorry15:14
cdentaccept!15:14
sdaguecdent: that is the sticking point15:14
sdaguesome people get really concerned about that15:14
sdagueit would all be super easy if we could get past that15:14
mriedemwhat's the concern? the request id is read-only isn't it?15:14
sdaguemriedem: the concern is accepting request id from the user15:15
jrollso weird to me, today it's always wrong, if we accept one then worst case it's wrong15:15
dansmithmriedem: attackers confusing the ops' logs I imagine15:15
jrollreject anything that isn't 'req-' + uuid_regex15:15
dansmithaccepting it but only using it if config says to seems reasonable15:15
cdentjroll: then send all the same uuid to fudge up the logs15:15
dansmithfor ops that prefer correlation with some risk15:15
mriedemcan we tell if it's a service user request rather than a user user?15:16
sdagueyeh, so honestly the service user / service token bits might make this better15:16
mriedemand if so, use the provided request id15:16
cdentmriedem: then we get into strange issues with ordering of middleware15:16
sdaguemriedem: we can now sometimes, that's really new though15:16
mriedemright, we're already doing the re-auth thing15:16
jrollcdent: I guess, if I was an operator I'd just ignore support requests and bugs for that request id :P15:16
*** carthaca_ has quit IRC15:16
*** sapcc-bot has quit IRC15:16
*** moshele has joined #openstack-nova15:16
*** jamielennox has quit IRC15:17
sdaguemriedem: I think there is probably a path forward that wouldn't freak everyone out based on service token15:17
mriedemanywho, total tangent15:17
sdagueyep15:17
mriedemsounds like something for lbragstad and the vm+baremetal+totally+not+exclusive+club+platform team15:17
cdenti've always assumed we want the thing which logs begin and end of request to the first and last pieces of middleware that get touched, thus before any token analysis15:17
mriedemso i'm trying to go back to what could possibly change with https://review.openstack.org/#/c/441544/15:18
mriedemand how self.scheduler_client.update_compute_node(compute_node) works if get_inventory isn't there15:19
dansmithmriedem: yeah, I don't know either, but if we're getting back zero from placement, I'm not sure what else to blame15:19
mriedemif the node is disabled, they both do the same thing, they return {} inventory which tells the report client to delete inventory for that provider15:19
dansmithmriedem: so the log result plus the revert test of that should be interesting15:19
*** kaisers_ has joined #openstack-nova15:20
*** crushil has quit IRC15:21
mriedemso, does this seem weird to anyone else?15:22
mriedemif inv_data == curr.get('inventories', {}):15:22
*** ijw has quit IRC15:23
mriedemhttps://github.com/openstack/nova/blob/master/nova/scheduler/client/report.py#L49515:23
dansmithif the thing we're going to report is equal to what we have, then don't report?15:23
bauzasmriedem: that just means "heh look, we already have that"15:23
dansmithand if what is being reported is nothing and nothing is already stored, then.. don't do anything either15:24
bauzasdansmith: mriedem: FWIW, we already have that in place in the RT15:24
mriedemis the dict compare always good in py27 even with random key order and whatnot?15:24
*** ijw has joined #openstack-nova15:24
bauzasold-world-ish of course15:24
*** siva_krishnan has joined #openstack-nova15:24
*** shaner has quit IRC15:24
dansmithsure15:24
*** kaisers_ has quit IRC15:25
lbragstadmriedem sdague just finished parsing the scroll back - kinda sounds similar to what jamielennox was doing with service users and validating expired tokens15:25
mriedembauzas: if you're referring to this https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L730 it's a bit different15:25
jroll>>> {'a': 'b', 'c': 'd'} == {'c': 'd', 'a': 'b'}15:25
jrollTrue15:25
jrollmriedem: ^15:25
bauzasmriedem: https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L73015:25
bauzasyeah15:25
openstackgerritSujitha proposed openstack/nova master: Add helper method to add additional data about policy rule.  https://review.openstack.org/43484215:26
mriedemok nvm then, that just surprised me given how many times assertEqual on dicts has failed b/c of random hash seeds15:26
jrollwell, assertEqual isn't so smart iirc15:27
siva_krishnanmriedem: can you remove -2 for this patch https://review.openstack.org/#/c/308198/ ?15:27
dansmithI think it's more assertEqual where we've pulled things out of a dict in random order anyway, right?15:27
*** baoli has quit IRC15:28
*** tpatzig_ has joined #openstack-nova15:28
*** david_1 has joined #openstack-nova15:28
*** sapcc-bot has joined #openstack-nova15:28
*** mkoderer_ has joined #openstack-nova15:28
*** databus23_ has joined #openstack-nova15:28
*** seife_ has joined #openstack-nova15:28
*** prateek has quit IRC15:28
mriedemsiva_krishnan: the bp isn't approved15:29
*** david_1 has quit IRC15:30
*** baoli has joined #openstack-nova15:30
*** mkoderer_ has quit IRC15:30
*** databus23_ has quit IRC15:30
*** shaner has joined #openstack-nova15:30
*** seife_ has quit IRC15:30
sdaguedansmith: right, it's not actually that 2 dicts aren't equal, it's that items() happens in different orders15:31
dansmithyeah15:31
*** beekneemech is now known as bnemec15:32
*** armax has joined #openstack-nova15:33
mriedemok here are the calls for one resource provider, it's created here:15:34
mriedemhttp://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-compute.txt.gz#_2017-03-19_07_10_44_25615:34
siva_krishnanmriedem: makes sense. it's kind of an POC, I thought reviewers can suggest any changes to spec or code if they feel so.15:34
mriedem4 minutes later we finally get the real resource view from ironic15:34
mriedemhttp://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-compute.txt.gz#_2017-03-19_07_14_42_79415:34
mriedemand right after that, same second, we update inventory for that provider15:35
mriedemhttp://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/undercloud/var/log/nova/nova-compute.txt.gz#_2017-03-19_07_14_42_92815:35
*** efried has joined #openstack-nova15:35
*** baoli has quit IRC15:36
mriedemwe never update inventory for that provider after that, because it never changes15:36
jaypipesmriedem: yep.15:37
mriedemthe old way, we would have called driver.get_available_resource and updated the compute node record with the values (if they changed)15:37
openstackgerritSujitha proposed openstack/nova master: Add description to policies in admin_actions.  https://review.openstack.org/44082915:37
mriedemand the compute node would be passed to self.scheduler_client.update_compute_node(compute_node) to update the rp inventory15:37
mriedemif it changed15:38
*** baoli has joined #openstack-nova15:38
mriedemnew style we call get_inventory which in this case returns a dict with 3 keys, for vcpu/disk_gb/memory_mb15:38
jaypipesmriedem: well, I moved compute_node.save() into the RT's _update() method.15:38
jaypipesmriedem: so regardless of whether it's get_inventory() or update_compute_node() that is called, we still update the compute node DB record.15:39
*** kenperkins has quit IRC15:39
mriedemi know15:39
*** kenperkins has joined #openstack-nova15:39
jaypipesok, sorry15:39
mriedemthe save() doesn't really matter15:39
mriedemupdate_compute_node pulls the values off the ComputeNode object15:40
jaypipessorry, I thought you were suggesting that the compute_nodes table wasn't being updated.15:40
mriedemwhich is updated in _init_compute_node15:40
efriedmriedem jroll Okay, here's an update.  I _am_ using the mock library; and mock _does_ have those methods (assert_not_called, assert_called_once) UNLESS I use mock.patch AND the target is a function (as opposed to a class).15:43
snetialex_xu, can you please review this patch when you have time: https://review.openstack.org/#/c/396420/15:43
efriedIs that a bug in the mock lib?15:43
mriedemefried: no idea, i'd ask lifeless15:43
efriedHere, or a different channel?15:44
mriedemhe's here15:44
mriedembut new zealand15:44
mriedemso not here15:44
efriedIght.  I guess I can open a bug, and it'll be bounced if it's invalid.  Thanks.15:45
*** jaosorior has quit IRC15:45
mriedemefried: bug where? the mock lib/15:45
mriedem?15:45
efriedYeah.15:45
mriedemEmilienM: which jobs are we looking for in https://review.openstack.org/#/c/447522/ ?15:45
mriedembecause some passed and one failed15:45
EmilienMmriedem: the ovb jobs15:50
EmilienMmriedem: ovb-nonha or ovb-ha15:50
*** gongysh has quit IRC15:50
*** links has joined #openstack-nova15:50
mriedemi see the other queue now15:50
EmilienMmriedem: gate-tripleo-ci-centos-7-ovb-nonha or gate-tripleo-ci-centos-7-ovb-ha or gate-tripleo-ci-centos-7-ovb-updates15:51
EmilienMthey are the one who actually test Ironic / Nova15:51
*** psachin has quit IRC15:51
*** links has quit IRC15:55
*** links has joined #openstack-nova15:56
*** voelzmo has quit IRC15:56
*** annegentle has quit IRC15:58
*** jaosorior has joined #openstack-nova15:59
*** annegentle has joined #openstack-nova16:00
sfinucanmriedem: I have those sphinx issues all fixed in this series https://review.openstack.org/#/c/445906/16:00
*** markus_z has quit IRC16:01
openstackgerritChangBo Guo(gcb) proposed openstack/nova master: Fix wrong unit test about config option enabled_apis  https://review.openstack.org/44689816:01
*** Chason has quit IRC16:01
sfinucanJust fyi16:01
mriedemok cool16:01
*** iceyao has joined #openstack-nova16:02
*** snecklifter has joined #openstack-nova16:03
*** voelzmo has joined #openstack-nova16:03
snecklifterHello #openstack-nova16:04
snecklifterWould it be possible to get a review on this:  https://review.openstack.org/#/c/393489/16:04
snecklifterCI is green except for a couple of non-voters16:04
*** vks1 has quit IRC16:05
*** armax has quit IRC16:05
*** links has quit IRC16:05
*** liangy has quit IRC16:08
*** jahsis has quit IRC16:09
*** rmart04 has quit IRC16:09
*** crushil has joined #openstack-nova16:10
*** iceyao has quit IRC16:12
mriedemsnecklifter: you're missing a version bump on the ImageMetaProps object16:12
mriedemthat test which checks the hash indicates that the version needs a bump16:12
openstackgerritGábor Antal proposed openstack/nova master: Add json style checking for sample notifications  https://review.openstack.org/44367716:13
*** tesseract has quit IRC16:15
*** dtp has joined #openstack-nova16:16
*** Sukhdev has quit IRC16:16
*** Sukhdev_ has joined #openstack-nova16:16
*** Jack_Iv has quit IRC16:17
*** slaweq_ has joined #openstack-nova16:18
*** jamielennox has joined #openstack-nova16:19
*** gszasz has joined #openstack-nova16:19
openstackgerritMatt Riedemann proposed openstack/nova master: Remove unused VIFModel._get_legacy method  https://review.openstack.org/44757716:20
mriedemzzzeek: is there no way to add a column to an existing table and make it nullable=False by providing a default value?16:21
mriedemzzzeek: i.e. https://review.openstack.org/#/c/427901/3/nova/db/sqlalchemy/migrate_repo/versions/358_add_compute_node_mapped.py16:21
*** jamielennox is now known as jamielennox|away16:21
zzzeekmriedem: yes if you give it a server side default it will add.  however, that's one of the "slow" migrations for a big table16:21
zzzeekmriedem: the code example is incorrect, it needs to be server_default="0"16:22
mriedembecause "A FetchedValue instance, str, Unicode or text() construct representing the DDL DEFAULT value for the column."16:23
mriedem?16:23
zzzeek"0" is a str16:23
sneckliftermriedem: thanks16:23
mriedemzzzeek: yeah so i'm not sure what code example is incorrect16:23
zzzeekmriedem: this one: https://review.openstack.org/#/c/427901/3/nova/db/sqlalchemy/migrate_repo/versions/358_add_compute_node_mapped.py16:24
zzzeek"server_default" vs. "default"16:24
sneckliftermriedem: so change 1.16 to 1.17?16:24
*** tbachman has quit IRC16:24
dansmithzzzeek: ah, jay said it wasn't slow16:24
zzzeekdansmith: well if you have 1M rows it has to popualte 1M rows w/ a value and probably do some locking too.  depends on your table16:25
dansmithzzzeek: I tried server_default at jaypipes' suggestion anyway, and it causes other problems for us in the oslo.db migration checker16:25
dansmithzzzeek: ah, definitely can't have that then16:25
mriedemCERN has what, 10K+ compute nodes?16:25
zzzeekdansmith: i'd agree it's not "slow" but it is def. a variable-length operation, i would think16:25
zzzeekdansmith: problems in oslo.db should be fixed in oslo.db , feel free to post a launchpad16:26
dansmithzzzeek: okay, what I meant was, jaypipes said it wouldn't require a rewrite16:26
dansmithit really doesn't matter though,16:26
dansmithwe can handle this on read just as easily and not have to walk the table16:26
jaypipeszzzeek: I don't think anyone's suggesting there's something wrong with oslo.db.16:26
zzzeekdansmith: ok jaypipes knows mysql internals more than I do but in my experience, when you have server deafult in a migration w/ nullable=false, it has to write data to every row16:27
*** nic has joined #openstack-nova16:27
zzzeekjaypipes: dansmith just referred to some problem with oslo.db's migration checker16:27
*** nkrinner is now known as nkrinner_afk16:27
*** pcaruana has quit IRC16:27
mriedemsnecklifter: yes16:27
jaypipeszzzeek: yes, that's correct.16:27
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/44750516:27
*** arne_r has quit IRC16:27
jaypipeszzzeek: ah, the migration checker thing... sorry, yeah16:27
claudiubefried:  mriedem: ^ in case you're curious about the autospec stuff. :)16:29
*** Sukhdev has joined #openstack-nova16:29
claudiubstill experimental, and it's just the 1st step.16:29
mriedemdansmith: why even set mapped=0 in fake compute node records in https://review.openstack.org/#/c/427901/ ?16:31
*** yamahata has quit IRC16:31
EmilienMmriedem: I have updates16:32
EmilienM1. the patch that dansmith sent to have more logging, is still running so I'll give update later on logs16:32
dansmithmriedem: because we create from that and we don't have it optional on create16:32
EmilienM2. the patch that revert jaypipes's patch is fixing our problem, I see it in the logs16:32
dansmithmriedem: go run without that and I think you'll see it tries to lazy-load on create16:32
EmilienMso I confirm the issue is related to this patch: https://review.openstack.org/#/c/441544/16:33
*** slaweq_ has quit IRC16:33
openstackgerritChristopher Brown proposed openstack/nova master: Add lan9118 as valid nic for hw_vif_model property for qemu  https://review.openstack.org/39348916:33
mriedemdansmith: create of the object or the db record?16:33
EmilienM[overcloud.AllNodesDeploySteps.CephStorageDeployment_Step3]: CREATE_COMPLETE  state changed ---- It means that overcloud nodes were deployed successfuly (and now deployment is moving forward)16:33
dansmithmriedem: ComputeNode.create()16:34
dansmithmriedem: even still, we're adding something as nullable purely for speed, we don't want to treat it as optional going forward16:34
mriedemi don't see how create() will fail when _from_db_object has a check for null: value = 0 if value is None else value16:35
*** xyang1 has joined #openstack-nova16:37
openstackgerritSergey Nikitin proposed openstack/nova master: Replace diagnostics objects with Nova diagnostics objects  https://review.openstack.org/39448016:38
openstackgerritSergey Nikitin proposed openstack/nova master: Added nova objects for intance diagnostics  https://review.openstack.org/43474516:38
openstackgerritSergey Nikitin proposed openstack/nova master: Standardization of VM diagnostics info API.  https://review.openstack.org/35554016:38
openstackgerritSergey Nikitin proposed openstack/nova master: Completed implementation of instance diagnostics for Xen  https://review.openstack.org/39961316:38
dansmithmriedem: it still pulls it out of the db object on L175, and only interprets the value and tolerates None on L20716:40
mriedemdansmith: idk, but see my update in the change, i pulled it down, mangled that check and nothing failed16:41
mriedemso we're not testing the None case16:42
dansmithmriedem: you ran all of py27 and functional?16:42
dansmithmriedem: but yeah, might not be covering the None case16:42
mriedemno, nova.tests.unit.objects.test_compute_node and nova.tests.unit.compute16:42
mriedemi shouldn't probably need to dig into running all of functional for a simple logic check test16:42
dansmithif you're asking about covering none, then sure,16:43
dansmithif you're asking about changing that fake, I think lots of other places that use that fake16:43
mriedemi'm asking about testing none: https://review.openstack.org/#/c/427901/3/nova/objects/compute_node.py@20816:43
dansmithyeah, willing to believe I'm missing that16:44
mriedembut i thought the whole point of a nullable=True with a default is you don't need to provide actual values16:44
dansmithmriedem: if you're really loading from the DB sure,16:44
dansmithif you're loading from a fake, then it matters16:44
mriedemtrue16:44
mriedemthen you need the key16:45
mriedembut not the value16:45
*** kaisers_ has joined #openstack-nova16:45
mriedemi.e. your fake could just be mapped=NOne16:45
mriedembut anyway16:45
dansmitheventually I'd like to make this non-nullable,16:45
openstackgerritChristopher Brown proposed openstack/nova master: Add lan9118 as valid nic for hw_vif_model property for qemu  https://review.openstack.org/39348916:45
dansmithso I'd rather a legit value in there,16:45
dansmithand then cover the specific load of null case as you pointed out16:45
dansmithbut whatever16:45
mriedemsure, that's fine, let's just test the none case and move on with this enjoyable and productive day :)16:45
mriedemi'm in trouble for not putting the asparagus in the fridge16:46
* cdent smh16:46
openstackgerritStephen Finucane proposed openstack/nova master: tests: Validate huge pages  https://review.openstack.org/39965316:46
openstackgerritStephen Finucane proposed openstack/nova master: libvirt: create functional test base class  https://review.openstack.org/40705516:46
mriedemi mean, it grows in the ground right?16:46
mriedemwhich is unrefrigerated16:46
cfriesenThis is maybe an odd question, but is there a primer somewhere on how to deal with running out of DB connections?  Are there ways to optimize the python code to allow quicker connection re-use?16:47
*** voelzmo has quit IRC16:47
*** voelzmo has joined #openstack-nova16:47
*** bmace has quit IRC16:48
*** andreas_s has quit IRC16:49
*** bmace has joined #openstack-nova16:49
*** jaosorior has quit IRC16:50
openstackgerritStephen Finucane proposed openstack/nova master: libvirt: Make 'get_domain' private  https://review.openstack.org/41737816:51
*** hoangcx has joined #openstack-nova16:52
*** jaosorior has joined #openstack-nova16:52
*** Apoorva has joined #openstack-nova16:52
openstackgerritStephen Finucane proposed openstack/nova master: conf: Fix indentation in conf/netconf  https://review.openstack.org/43071716:54
openstackgerritStephen Finucane proposed openstack/nova master: netutils: Ignore 'use_ipv6' for network templates  https://review.openstack.org/43091016:54
openstackgerritStephen Finucane proposed openstack/nova master: conf: Deprecate 'use_ipv6'  https://review.openstack.org/43091116:54
openstackgerritStephen Finucane proposed openstack/nova master: libvirt: Ignore 'use_ipv6' for port filters  https://review.openstack.org/43090916:54
openstackgerritStephen Finucane proposed openstack/nova master: conf: Deprecate 'allow_same_net_traffic'  https://review.openstack.org/43091316:54
openstackgerritStephen Finucane proposed openstack/nova master: conf: Final cleanups in conf/network  https://review.openstack.org/43102316:54
openstackgerritStephen Finucane proposed openstack/nova master: libvirt: Ignore 'allow_same_net_traffic' for port filters  https://review.openstack.org/43091216:54
*** tbachman has joined #openstack-nova16:58
*** liangy has joined #openstack-nova16:59
*** unicell1 has quit IRC17:00
*** Sukhdev has quit IRC17:01
*** Sukhdev_ is now known as Sukhdev17:01
*** voelzmo has quit IRC17:01
*** liangy has quit IRC17:01
*** Jack_Iv has joined #openstack-nova17:01
*** kaisers_ has quit IRC17:05
*** fragatina has joined #openstack-nova17:05
*** fragatin_ has joined #openstack-nova17:06
*** fragatina has quit IRC17:10
*** Swami has quit IRC17:11
*** annegentle has quit IRC17:12
*** Jack_Iv has quit IRC17:15
*** Jack_Iv has joined #openstack-nova17:15
*** sc68cal has left #openstack-nova17:16
*** yamahata has joined #openstack-nova17:17
mriedemEmilienM: yeah http://logs.openstack.org/22/447522/1/check-tripleo/gate-tripleo-ci-centos-7-ovb-ha/2eecbc6/logs/undercloud/var/log/nova/nova-scheduler.txt.gz#_2017-03-20_16_44_02_09917:17
mriedemlogging in the scheduler shows nothing coming back from placement17:18
mriedemi'm going to add more logging to dan's patch for the actual resource reporting17:18
EmilienMok, you'll need to recheck the tripleo-ci patch to actually see it in our logs17:18
mriedemyup17:18
EmilienMor even change something in the commit message to actually kick off jobs (jobs are still running now)17:19
mriedemwhen i push the dep, zuul will kill those running jobs17:20
EmilienMah indeed17:21
*** isq has joined #openstack-nova17:21
edmondswjohnthetubaguy I replied to your comments in https://review.openstack.org/#/c/389314/17:22
johnthetubaguy edmondsw: so I think we need a deprecated default on oslo.policy for all this kind of stuff17:24
johnthetubaguys/on/in/17:24
edmondswjohnthetubaguy for most things I agree, but I don't think you can in this case17:24
*** Jack_Iv has quit IRC17:25
openstackgerritSujitha proposed openstack/nova master: Remove unused policy rule in admin_actions.py  https://review.openstack.org/44761117:25
openstackgerritMatt Riedemann proposed openstack/nova master: DNM: Log placement result in scheduler  https://review.openstack.org/44752017:25
*** liangy has joined #openstack-nova17:25
*** moshele has quit IRC17:26
edmondswjohnthetubaguy I gave 4 reasons that doesn't really make sense here in my reply to one of your comments17:26
edmondswpatch set 517:26
johnthetubaguyedmondsw: the problem is how do we keep our upgrade promise, that the old policy file works perfectly with the new release17:27
*** unicell has joined #openstack-nova17:27
openstackgerritMatt Riedemann proposed openstack/nova master: DNM: Log placement result in scheduler  https://review.openstack.org/44752017:28
edmondswjohnthetubaguy you shouldn't be promising that... 99.999% of the time, sure, but there will always be a 0.001% case where...17:28
edmondswjohnthetubaguy with this change, there is a 0.000001% chance that someone would break on upgrade... or something extremely slim like that17:28
johnthetubaguyedmondsw: there are always exceptions, but that is our promise in here: https://governance.openstack.org/tc/reference/tags/assert_supports-upgrade.html#requirements17:29
asettlemriedem cdent - we finally *might* have an answer on the doc patch: https://review.openstack.org/#/c/438328/17:29
*** Jack_Iv has joined #openstack-nova17:29
asettlePetr has been looking into it.17:29
johnthetubaguyedmondsw: well the additional bit of info I guess is I could policy as configuration17:29
asettleWe probably need someone from the nova team to take a look at this too.17:29
edmondswjohnthetubaguy this patch fits fine with that tag17:30
cdentasettle: the Directory thing? hasn't that been mentioned a few times before?17:30
*** fragatin_ has quit IRC17:30
edmondswit has an upgrade note for operators to consider in the very unlikely event that they need to consider this17:30
cdentasettle: or maybe it was only in related email17:30
asettlecdent: I didn't see it in the comments. Perhaps I am forgetting - if so, sorry! Maybe on email.17:30
johnthetubaguyedmondsw: it violates bullet point 2, now that might be best thing to do, I just want to make sure thats the case17:30
asettlecdent: did we document it?17:31
cdentasettle: sorry, not fully contextualized at the moment, but I remember discussing it in a few different places, including asserting that one person's solution to grant all on '/' was too broad17:31
edmondswjohnthetubaguy that depends on how you read point 217:32
asettlecdent: interesting. I've mentioned it to Lana and Brian, since it's nearing the end of my day rapidly. I'll ensure I check in with them again in the morning. If by chance you see it again, please let us know :)17:32
cdentasettle: yeah, will look around some more once I'm done with the current thing17:33
asettleThank you cdent :)17:33
edmondswyou have to consider policy as config (which I do, but not everyone does) and you have to assume that it means even really unlikely edge cases that nobody would do must still work... even if you've covered that under bullet 517:33
johnthetubaguyedmondsw: very true. We had deployers complain they had to tweak config and policy files in sync with upgrades, so we promised to avoid that, hence that was added in there and the grenade tests kinda built around that assumption.17:33
edmondswsure, I'm fully on board with that17:34
*** Jack_Iv has quit IRC17:34
edmondswthe main point here is that this is not going to break anyone. We're fixing a bug here. The chances of someone relying on this bug for things to work are miniscule17:35
*** jaosorior has quit IRC17:35
edmondswfurthermore, it's not possible to fix this bug without any possible chance of an upgrade impact17:35
*** annegentle has joined #openstack-nova17:36
edmondswjohnthetubaguy so do we not fix the bug? That would be much worse for operators17:36
*** iceyao has joined #openstack-nova17:36
edmondswjohnthetubaguy we can't leave a fully-supported API not only doing its own policy check but also relying on the policy check of another API that is deprecated... non-deprecated cannot rely on deprecated17:38
johnthetubaguyedmondsw: as I said above, I am just trying to make sure we are doing the best thing here, you probably are17:38
edmondswas an operator, I want to restrict policy for the deprecated API more than for the non-deprecated API, and I can't do that unless we fix this17:38
edmondswcool17:38
*** baoli has quit IRC17:40
openstackgerritRodolfo Alonso Hernandez proposed openstack/nova master: Read NIC features in libvirt  https://review.openstack.org/44441517:41
*** sapcc-bot1 has joined #openstack-nova17:42
*** sapcc-bot has quit IRC17:42
*** baoli has joined #openstack-nova17:42
*** baoli has quit IRC17:42
johnthetubaguyedmondsw: I should nudge sneti and aunnam about this change, as it will sure help the policy descriptions to have this one merged17:43
edmondswsneti aunnam talking about https://review.openstack.org/#/c/389314/17:43
*** masber has quit IRC17:43
*** Jack_Iv has joined #openstack-nova17:43
johnthetubaguyedmondsw: got a nit on the reno, what do you think is best there?17:44
*** annegentle has quit IRC17:45
snetiedmondsw, checking that17:45
edmondswjohnthetubaguy let me see what I can do there17:46
*** baoli has joined #openstack-nova17:46
*** masber has joined #openstack-nova17:46
edmondswjohnthetubaguy fyi, I removed _items to satisfy your earlier comment :)17:47
johnthetubaguyedmondsw: sorry, I was unclear, it was the policy check moving that worried me17:47
edmondswI could go back to patch set 5 if you prefer17:47
johnthetubaguyedmondsw: but that moves the polcy check into the _details method, which is the bit that I really don't like17:48
*** Jack_Iv has quit IRC17:48
*** annegentle has joined #openstack-nova17:48
johnthetubaguyedmondsw: just wanting to see policy checks at the top of all the API methods, where possible17:48
edmondswjohnthetubaguy what about _details? there is no _details here17:49
johnthetubaguyedmondsw: oops, I mean _items17:49
edmondswI don't think it makes sense to create the context var in the API method so we can use it for the policy check, then either recreate it in _items or update _items to let it be passed in, when _items isn't really needed anyway17:49
edmondsweasier to just remove it17:49
edmondswbut that's just my opinion... I can do it differently if need be17:49
*** hoangcx has quit IRC17:51
johnthetubaguyedmondsw: agreed with you, its just there are two changes in a single patch there, which isn't ideal17:51
edmondswsure17:51
johnthetubaguynot blocking on that though, because its simple enough, and I like that change, its just a nit17:52
openstackgerritChris Dent proposed openstack/nova master: [placement] Allow PUT and POST without bodies  https://review.openstack.org/44762517:56
cdentalex_xu: assume you are gone now, but for when you return ^17:56
mriedemEmilienM: looks like the revert patch failed in the ovb-nonha job, timeout in infra https://review.openstack.org/#/c/447514/17:56
edmondswjohnthetubaguy how does this sound for the reno?  The os-volume_attachments APIs no longer check ``os_compute_api:os-volumes`` policy. They do still check ``os_compute_api:os-volumes-attachments`` policy rules. Deployers who have customized policy should confirm that their settings for os-volume_attachments policy checks are sufficient.17:58
johnthetubaguyedmondsw: thats cool, that matches what we do for config then.17:58
edmondswcool, I'll throw it up17:58
*** lpetrut has quit IRC17:59
*** hoangcx has joined #openstack-nova18:02
*** derekh has quit IRC18:02
*** lucasagomes is now known as lucas-afk18:02
*** ralonsoh has quit IRC18:02
openstackgerritMatthew Edmonds proposed openstack/nova master: fix os-volume_attachments policy checks  https://review.openstack.org/38931418:04
snetiedmondsw, that's a simple change. so two changes in single patch looks good. may be you can add a comment on why it is removed18:04
*** masber has quit IRC18:05
*** cdent has quit IRC18:05
edmondswsneti, sure, I'll edit the commit msg18:06
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/44750518:06
*** aarefiev is now known as aarefiev_pto18:06
snetiedmondsw, thanks!18:07
EmilienMmriedem: right, though it passed our functional tests (called pingtest)18:07
*** cdent has joined #openstack-nova18:07
*** slaweq_ has joined #openstack-nova18:07
*** catintheroof has quit IRC18:08
mriedemclaudiub: if you're still around, can you also hit these in newton and mitaka? https://review.openstack.org/#/q/I1d217620e52d45595a3e0e49ed57b4ab33cd1688,n,z18:08
*** catintheroof has joined #openstack-nova18:08
openstackgerritMatthew Edmonds proposed openstack/nova master: fix os-volume_attachments policy checks  https://review.openstack.org/38931418:08
edmondswjohnthetubaguy sneti ^18:09
openstackgerritChris Dent proposed openstack/nova master: [placement] Allow PUT and POST without bodies  https://review.openstack.org/44762518:09
*** shaner has quit IRC18:09
*** baoli has quit IRC18:10
*** mtanino has joined #openstack-nova18:11
*** kaisers_ has joined #openstack-nova18:11
*** baoli has joined #openstack-nova18:11
sdaguehmmm... bad log message somewhere - http://logs.openstack.org/90/417590/9/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/c831c5d/logs/screen-n-cpu.txt.gz?level=TRACE#_2017-03-20_17_10_19_178 ?18:11
*** shaner has joined #openstack-nova18:15
*** baoli has quit IRC18:16
*** adrian_otto has joined #openstack-nova18:17
mriedemi think i know where18:17
*** annegentle has quit IRC18:17
*** armax has joined #openstack-nova18:18
mriedemha it's actually super obvious18:19
mriedemif thing:18:19
mriedemelse: LOG.(something %s, thing.attribute)18:20
*** READ10 has quit IRC18:21
mriedemhttps://review.openstack.org/#/c/381888/1/nova/compute/manager.py@664118:21
*** browne has joined #openstack-nova18:21
*** fragatina has joined #openstack-nova18:23
mriedemsdague: you want to fix it? https://bugs.launchpad.net/nova/+bug/167444918:23
openstackLaunchpad bug 1674449 in OpenStack Compute (nova) "NoneType logging warning with "Received unexpected event network-vif-unplugged" message" [Medium,Triaged]18:23
openstackgerritMatt Riedemann proposed openstack/nova master: Log a warning if there is only one cell when listing instances  https://review.openstack.org/44065218:23
sdaguemriedem: sure18:23
*** jamielennox|away is now known as jamielennox18:24
sdaguealso... http://logs.openstack.org/90/417590/9/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/c831c5d/logs/screen-n-sch.txt.gz#_2017-03-20_17_07_00_57318:24
sdaguewhy would the compute node be auto disabled in the middle of a tempest run?18:24
mriedemb/c libvirt crashes18:24
mriedemthat's an old gate bug for xenial18:24
mriedemthe libvirt driver auto-disables the service when the host connection drops18:24
mriedemhttp://status.openstack.org/elastic-recheck/#164391118:25
mriedemhttp://status.openstack.org/elastic-recheck/#164677918:25
mriedemhttp://status.openstack.org/elastic-recheck/#163898218:25
*** sneti_ has joined #openstack-nova18:25
*** crushil has quit IRC18:26
*** dharinic is now known as dharinic|lunch18:26
sdaguemriedem: ok, well interesting, the libvirt fail is on a different test where the guests are irrelevant18:27
mriedembut if libvirt fails and disables the only compute service in a single node run...18:28
mriedemit's going to break any test that needs to create a vm right?18:28
*** baoli has joined #openstack-nova18:28
sdagueit recovers18:28
mriedemyeah eventually18:28
sdaguewell, actually pretty quick18:28
sdagueI think we're building new guests within 12 seconds18:29
sdagueonly a single tempest test failed in this case18:29
*** mnestratov has quit IRC18:32
mriedemjohnthetubaguy: should we really not expect hostnames on compute services to be unique across cells?18:32
*** sneti_ has quit IRC18:32
*** baoli has quit IRC18:32
*** crushil has joined #openstack-nova18:34
johnthetubaguymriedem: seems like a bad assumption, given its not the FQDN, its just the hostname, but I might just be paranoid18:34
*** sree has joined #openstack-nova18:34
*** Jack_Iv has joined #openstack-nova18:35
johnthetubaguymriedem: given we have a rabbit bus per cell, there is no restriction on that, so far, I might be overthinking that18:36
*** kaisers_ has quit IRC18:36
johnthetubaguymriedem: I just figured if we started over, all those APIs would just use uuids18:36
mriedemi figured the hostname was fqdn18:36
*** kaisers_ has joined #openstack-nova18:37
johnthetubaguyI thought it was conf.host, which isn't usually fqdn18:37
mriedemjohnthetubaguy: yeah i don't disagree with starting over, see my latest reply https://review.openstack.org/#/c/447149/1/specs/pike/approved/service-hyper-uuid-in-api.rst@14818:37
*** kaisers_ has quit IRC18:37
mriedemit is CONF.host18:37
*** kaisers_ has joined #openstack-nova18:37
*** baoli has joined #openstack-nova18:38
mriedemHostname, FQDN or IP address of this host. Must be valid within AMQP key.18:38
mriedemso i guess it doesn't have to be fqdn18:38
*** ociuhandu has quit IRC18:38
mriedemsdague: you might have input on ^18:39
mriedemi don't know why the services actions apis are different from the server actions apis in this regard18:39
*** sree has quit IRC18:39
mriedemand why they are PUTs rather than POSTs18:39
johnthetubaguymriedem: yeah, it does all seem a bit crufty in there18:39
*** Jack_Iv has quit IRC18:40
johnthetubaguymriedem: I quite like the idea of adding the uuid in the URL in the new micro-version, to make it more normal18:40
*** gus has quit IRC18:41
*** kaisers_ has quit IRC18:42
mriedemi can throw it in the weekly api subteam meeting for discussions18:44
*** baoli has quit IRC18:44
*** gus has joined #openstack-nova18:45
*** iceyao has quit IRC18:46
sdaguemriedem: I'm confused, you pointed at https://github.com/openstack/nova/blob/6f66119153a36ab2ee7d63c98418af3a56fd1f1e/nova/compute/manager.py#L6812 for that logging issue18:46
sdagueexcept, that line is printed fine in the logs18:47
mriedemsdague: it's blowing up trying to process the sub vars for the message18:47
mriedemi'm assuming because event is None18:47
sdaguewell, are you sure?18:48
mriedemalthough it shouldn't be18:48
sdagueReceived unexpected event network-vif-unplugged-8ed92137-a81a-4afd-a391-854848cd2916 for instance18:48
mriedembecause if it was https://github.com/openstack/nova/blob/6f66119153a36ab2ee7d63c98418af3a56fd1f1e/nova/compute/manager.py#L686718:48
mriedemah yeah18:48
mriedemmy mistake18:48
mriedemwhen i originally looked at it, i thought it was using _event18:48
mriedemhttps://github.com/openstack/oslo.concurrency/blob/master/oslo_concurrency/processutils.py#L355 ?18:50
sdagueand there are tons of these other places18:50
*** crushil has quit IRC18:50
mriedemhttps://github.com/openstack/oslo.concurrency/blob/master/oslo_concurrency/processutils.py#L38518:50
sdagueyou think that's blowing up?18:50
*** Jack_Iv has joined #openstack-nova18:50
mriedem"Logged from file processutils.py, line 385"18:50
jaypipessean-k-mooney, sfinucan, alex_xu, edleafe, Yingxin, moshele: https://review.openstack.org/44764318:51
*** david-lyle_ has joined #openstack-nova18:52
*** david-lyle has quit IRC18:52
mriedembut yeah they are everywhere https://goo.gl/sPpPN018:53
*** david-lyle_ is now known as david-lyle18:53
*** eharney has quit IRC18:55
sdaguemriedem: right18:55
mriedemhttps://github.com/openstack/oslo.log/blob/master/oslo_log/formatters.py#L27318:56
mriedemso what sets the log record.args?18:57
sdaguemost of these stack traces include a daemon.py reference18:57
sdagueI wonder if it's this change - https://review.openstack.org/#/c/360252/18:57
mriedemdata['args'] = None18:58
*** masber has joined #openstack-nova18:58
sdagueso... yes, it would be that change then18:59
sdagueit's one that angus seems to have written over the summer, and dims just merged18:59
mriedemstarted using that version 2 weeks ago https://review.openstack.org/#/c/442067/19:00
sdagueI'm going to see what a revert does there in the run19:00
sdagueyeh19:00
dimssdague : https://review.openstack.org/#/c/447334/19:00
dimsdoes that help?19:00
*** armax has quit IRC19:01
sdaguedims: I think so19:01
*** lpetrut has joined #openstack-nova19:01
mriedemmessage:"TypeError: 'NoneType' object is not iterable" AND message:"Logged from file" AND build_change:"447334"19:01
sdaguemriedem: yeh, though mostly at debug, so it wouldn't always show there19:02
sdaguebut, http://logs.openstack.org/34/447334/1/check/gate-tempest-dsvm-neutron-src-oslo.privsep-ubuntu-xenial/c147be6/logs/screen-n-cpu.txt.gz looks clean19:03
*** iceyao has joined #openstack-nova19:04
*** crushil has joined #openstack-nova19:05
openstackgerritEric Brown proposed openstack/python-novaclient master: Remove py34 tox env and pypi classifier  https://review.openstack.org/44284719:06
*** Jack_Iv has quit IRC19:06
*** baoli has joined #openstack-nova19:07
*** eharney has joined #openstack-nova19:11
*** sneti_ has joined #openstack-nova19:12
*** wally has joined #openstack-nova19:13
wallyHello, all, i got some question about the Openstack Ocata nova placement api,.19:13
*** dharinic|lunch is now known as dharinic19:13
wallyI tried installed ocata on ubuntu 1604, and also configure the nova placement api, but still not wokring,19:14
wallycan anyone help?19:14
*** baoli has quit IRC19:14
wallythere is nothing about this on the installation doc19:14
jaypipeswally: please see /topic. It may be best to send an email to the openstack@ mailing list.19:15
jaypipeswally: also "but still not working" doesn't exactly provide us much information :)19:15
*** Matias has quit IRC19:15
wallyon the controller node, i install the  apt install nova-placement-api19:16
wallyand create the placement endpoint, but when i run the nova-status upgrade check19:16
*** Swami has joined #openstack-nova19:16
wallyCheck: Placement API  | Result: Failure  | Details: Placement API endpoint not found.19:16
jaypipeswally: did you add the placement endpoint to the Keystone service catalog?19:17
wallyi followed this link https://ask.openstack.org/en/question/102256/how-to-configure-placement-service-for-compute-node-on-ocata/19:17
jaypipeswally: openstack service create --name placement --description "OpenStack Placement" placement19:17
wallyyeah i create this as well19:17
*** masber has quit IRC19:17
wallyopenstack service create --name placement --description "OpenStack Placement" placement19:17
wallydont know what is wrong?19:18
jaypipeswally: and you did the endpoint create steps as well?19:18
wallyopenstack service create --name placement --description "OpenStack Placement" placement  openstack endpoint create --region RegionOne placement public http://controller:8778  openstack endpoint create --region RegionOne placement admin http://controller:8778  openstack endpoint create --region RegionOne placement internal http://controller:877819:19
wallyis the enpoint good?>>19:19
jaypipeswally: what does `openstack endpoint list` show?19:19
wallyone sec19:19
jaypipeswally: also, please read /topic :)19:19
wallyhow to paste entire log19:19
jaypipesdo not paste entire log.19:20
jaypipesuse paste.openstack.org19:20
*** gyee has joined #openstack-nova19:20
wallyhere is it19:21
wallyhttp://paste.openstack.org/show/603483/19:21
wally@jaypipes, could you please help19:21
wallyi followed this doc to do https://ask.openstack.org/en/question/102256/how-to-configure-placement-service-for-compute-node-on-ocata/19:21
mriedemjroll: what do people use for ironic cli? osc or ironicclient?19:22
jrollmriedem: yes19:22
jrollmriedem: pip install python-ironicclient gets you ironic cli and the osc plugin19:23
jrollwe're deprecating the former soon(TM)19:23
jaypipeswally: can you hit http://10.10.10.11:8778 from your compute node?19:23
wallyone sec19:23
mriedemjroll: ok19:23
wallywhat do u mean hit http://10.10.10.11:877819:24
wallyi can ping 10.10.10.1119:24
*** baoli has joined #openstack-nova19:25
wallyin the compute node, the nova-compute.log show The placement API endpoint not found. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading.19:25
wallyand could you please check this http://paste.openstack.org/show/603484/19:26
mriedemwally: hit == curl request19:26
wallyone sec19:26
mriedemif nova.conf is cofigured properly on the compute node, but it's not trying the endpoint again, try restarting n-cpu19:27
mriedemthe service19:27
mriedemalthough it should try everytime, and only log once every 10 minutes if it can't19:27
*** Matias has joined #openstack-nova19:28
mriedemalso https://review.openstack.org/#/c/438328/19:28
wallyroot@compute1:~# curl  http://10.10.10.11:8778 curl: (7) Failed to connect to 10.10.10.11 port 8778: Connection refused19:28
wallynot working19:28
mriedemsee Petr's last comment in https://review.openstack.org/#/c/438328/19:28
*** tbachman has quit IRC19:29
mriedemhttps://bugzilla.redhat.com/show_bug.cgi?id=1430540#c019:29
openstackbugzilla.redhat.com bug 1430540 in openstack-nova "[Ocata] openstack-nova-placement-api-15.0.0-1.el7.noarch missing <Directory> parameter" [Unspecified,New] - Assigned to nlevinki19:29
wallyso this is a bug?19:30
wallybut i use Ubuntu, is different with centos19:30
mriedemi don't know if there are problems with the ubuntu packages19:30
mriedemyou could try what's specified in that bug and see if it fixes your issue19:31
mriedemand if so, then yeah it's probably a packaging bug in ubuntu if you're getting the placement code from them19:31
wallybut anyone install the Ocata with ubuntu successfully before?19:31
mriedemi'd check the comments backward from the end of that docs patch19:32
mriedemwhere people are testing out the install guide19:32
wally...so ...19:33
wallynot working on Ubuntu?19:33
mriedem"(2:30:44 PM) mriedem: i don't know if there are problems with the ubuntu packages"19:33
openstackgerritRoman Dobosz proposed openstack/nova-specs master: FPGA resource use cases  https://review.openstack.org/31804719:33
mriedemthis isn't the nova ubuntu packaging channel19:33
*** adrian_otto has quit IRC19:34
mriedemcoreycb: do you do ubuntu packaging for nova stuff?19:34
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated baremetal CLIs and APIs  https://review.openstack.org/44765719:35
mriedemjroll: just for you ^19:35
wallyyesh i use  apt install nova-placement-api19:35
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/44750519:35
coreycbmriedem, hi, yes19:36
mriedemEmilienM: package mirror issue here? http://logs.openstack.org/22/447522/1/check-tripleo/gate-tripleo-ci-centos-7-ovb-nonha/b8990d9/console.html19:36
mriedemcoreycb: are you getting reports of packaging issues with the placement API in ocata?19:36
coreycbmriedem, no, not yet19:36
mriedemlike https://bugzilla.redhat.com/show_bug.cgi?id=1430540#c019:36
openstackbugzilla.redhat.com bug 1430540 in openstack-nova "[Ocata] openstack-nova-placement-api-15.0.0-1.el7.noarch missing <Directory> parameter" [Unspecified,New] - Assigned to nlevinki19:36
*** kaisers_ has joined #openstack-nova19:36
*** crushil has quit IRC19:37
mriedemwally: what does your httpd conf look like for the placement service?19:37
wallyone set19:37
wallyplease see here19:38
wallyhttp://paste.openstack.org/show/603485/19:38
wally root@controller:/etc/apache2/sites-enabled# vim nova-placement-api.conf19:38
wallythis is my apache nova-placement-api.conf located here19:39
mriedemcoreycb: is that what you'd expect to see?19:39
wallyone question, i cannot do curl  http://10.10.10.11:8778  on compute node, not working, but it work for other endpoint19:40
openstackgerritAnusha Unnam proposed openstack/nova master: Add description to policies to availability_zone  https://review.openstack.org/44083619:40
wallycurl http://10.10.10.11:8778 curl: (7) Failed to connect to 10.10.10.11 port 8778: Connection refused19:40
coreycbwally, mriedem: that looks a little different from the site config we ship with the package19:40
*** crushil has joined #openstack-nova19:41
coreycbwally, mriedem: here's what the package defines, https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/nova/tree/debian/nova-placement-api.conf?h=stable/ocata19:41
*** iceyao has quit IRC19:41
wallyso i should use this one?>19:41
wallythe config, i modified a little bit myself,19:41
coreycbwally, well it's the default shipped by the package so you can use that, or most deployment projects will likely modify that (ie. ansible, puppet, juju etc)19:42
wallyok, let me try to use this default one and try again19:42
coreycbwally, ok19:43
cdentcoreycb: as a somewhat related aside: I think the wsgi script should not be in /usr/bin and the Directory statement should not grant on /usr/bin, but whatever the wsgi script dir is. It is pbr that is in the habit of installing the wsgi script in /usr/bin or /usr/local/bin and that's probably bad.19:43
*** krtaylor has quit IRC19:43
cdentwally: make sure you restart your apache2, of course19:43
wallythis config is locate root@controller:/etc/apache2/sites-enabled# ls19:43
wallyright19:43
cdentbrb19:44
openstackgerritAnusha Unnam proposed openstack/nova master: Add description to volumes_attachments.py  https://review.openstack.org/44525219:44
openstackgerritAnusha Unnam proposed openstack/nova master: Add description to policies in volumes.py  https://review.openstack.org/44563719:45
EmilienMmriedem: not mirror but building the rpm http://logs.openstack.org/22/447522/1/check-tripleo/gate-tripleo-ci-centos-7-ovb-nonha/b8990d9/console.html#_2017-03-20_19_03_26_92634719:45
EmilienMmriedem: I'm not sure about that one :/19:45
EmilienMmriedem: i'm looking into logs now19:46
*** smatzek has quit IRC19:47
wallyhi cdent , i have update the confi file could you please see here,19:47
wallyhttp://paste.openstack.org/show/603486/19:47
wallynow i can get some error message when i run root@compute1:~# curl http://controller:8778 from compute node19:47
EmilienMmriedem: http://paste.openstack.org/show/603487/ - I don't know why19:48
wallymaybe still the apache config file problem19:48
EmilienMmriedem: i'm poking packagers19:48
mriedemwally: check the placement service logs19:48
*** diana_clarke has joined #openstack-nova19:48
wallyi check the nova_placement_error.log19:50
wallyplease see herer19:50
wallyhttp://paste.openstack.org/show/603488/19:50
*** masber has joined #openstack-nova19:50
*** voelzmo has joined #openstack-nova19:51
wallythsi is my config file http://paste.openstack.org/show/603489/19:52
mriedemfrom signing_dir from nova.conf19:52
mriedemyou have signing_dir=/var/cache/nova but signing_dir is deprecated19:52
mriedemand you don't have access to /var/cache/nova anyway19:53
mriedems/you/the user running the placement service/19:53
* cdent gets dinner19:53
wallyis this igning_dir=/var/cache/nova in the nova.conf19:53
openstackgerritSarafraj Singh proposed openstack/nova-specs master: Spec to add per instance timeout for LM  https://review.openstack.org/44280919:54
*** kfarr has quit IRC19:55
*** tbachman has joined #openstack-nova19:55
*** voelzmo has quit IRC19:56
coreycbcdent, that's a good point, thanks.  we'll take a look at changing that.19:56
*** kfarr has joined #openstack-nova19:56
*** gjayavelu has joined #openstack-nova19:58
rfolcocdent,  can you please see if all good for another +2 on https://review.openstack.org/#/c/416669/ please ?19:59
openstackgerritAnusha Unnam proposed openstack/nova master: Add descripiton to policies in virtual_interfaces.py  https://review.openstack.org/44565219:59
*** baoli has quit IRC20:01
*** baoli has joined #openstack-nova20:01
EmilienMmriedem: nova Ron broke in RDO because a new rep related to tooz, we are working on it20:01
wallynow i got this error root@compute1:~# curl http://controller:8778 {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}root@compute1:~#20:01
cfriesenHi cores...https://review.openstack.org/#/c/265282/ (spec for flavor information in the instance details) has one +2...anyone up for giving it another?  I'm happy to fix johnthetubaguy's nit if that pushes it over. :)20:02
EmilienMSorry, nova I'm RDO ( on my phone)20:02
wally2017-03-20 13:01:37.065 25869 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.20:02
*** baoli has quit IRC20:02
wallywhere to set this20:02
*** Jack_Iv has joined #openstack-nova20:03
*** satyar has quit IRC20:04
efriedclaudiub If you're still in a fixing-holes-in-mock mood: https://github.com/testing-cabal/mock/issues/39820:04
mriedemrfolco: it's on my list20:04
mriedemcfriesen: on my list too20:05
rfolcomriedem, thanks20:05
*** Jack_Iv has quit IRC20:07
wallyhi mriedem i getting this erro now20:09
wallyroot@compute1:~# curl http://controller:8778 {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}20:09
wallyany idea?20:09
*** kenperkins has quit IRC20:11
*** lpetrut has quit IRC20:12
*** baoli has joined #openstack-nova20:12
*** masber has quit IRC20:13
*** dave-mcc_ has joined #openstack-nova20:14
*** kencjohnston_ has joined #openstack-nova20:15
*** abramley_ has joined #openstack-nova20:15
mriedemwally: pass a token20:16
*** inara has joined #openstack-nova20:16
wallyhow20:16
*** cdent_ has joined #openstack-nova20:16
openstackgerritSarafraj Singh proposed openstack/nova-specs master: Spec to add per instance timeout for LM  https://review.openstack.org/44280920:16
wallyfrom compute node?20:16
mriedemwally: https://developer.openstack.org/api-guide/quick-start/api-quick-start.html#openstack-api-quick-guide20:16
*** adrian_otto has joined #openstack-nova20:17
*** Sukhdev_ has joined #openstack-nova20:17
mriedemwell, the nova-compute service will be using keystone, and use the credentials for the placement service user setup in the [placement] section of nova.conf20:17
mriedemyou can test manually though with curl20:17
*** purplerbot_ has joined #openstack-nova20:17
*** purplerbot_ is now known as purplerbot__20:17
mriedemOS_TOKEN=$(openstack token issue -f value -c id)20:17
*** purplerbot__ is now known as purplerbot___20:17
*** purplerbot___ is now known as purplerbot____20:17
*** purplerbot____ is now known as purplerbot_____20:17
*** purplerbot_____ is now known as purplerbot______20:17
*** zhenguo_ has joined #openstack-nova20:18
mriedemcurl -s -H "X-Auth-Token: $OS_TOKEN" http://controller:8778/20:18
*** winston-2 has joined #openstack-nova20:18
*** mdrabe_ has joined #openstack-nova20:18
*** lucas-afk has quit IRC20:18
*** ijw has quit IRC20:18
*** Yingxin_ has joined #openstack-nova20:20
*** esmiurium has joined #openstack-nova20:20
wallywhat can i get the $OS_TOKEN?20:20
wallyhow can i get the $OS_TOKEN20:20
*** jamesdenton has quit IRC20:20
*** vsaienk01 has joined #openstack-nova20:20
*** McNinja_ has joined #openstack-nova20:21
*** aloga_ has joined #openstack-nova20:21
claudiubefried: hm, that's rather surprising. the mock.patch stuff with autospec is kinda' broken, which is probably why it doesn't have the assert_called_with / assert_not_called methods. it creates NonCallableMagicMock objects, which are not callable, so it would make sense it doesn't have those assert methods.20:21
*** lucasagomes has joined #openstack-nova20:21
wally[placement] auth_uri = http://controller:5000 auth_url = http://controller:35357 memcached_servers = controller:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = placement password = conalab os_region_name = RegionOne20:21
*** krtaylor has joined #openstack-nova20:21
*** BobBall_ has joined #openstack-nova20:21
wallythis is my [placement] in nova.conf20:21
*** mirrorbo1 has joined #openstack-nova20:22
wallyis this correct20:22
*** toabctl_ has joined #openstack-nova20:22
*** DuncanT_ has joined #openstack-nova20:22
claudiubefried: i've addressed the mock.patch issue here: https://github.com/testing-cabal/mock/pull/397 . it might also solve the issue you linked.20:22
efriedclaudiub Looking..20:22
*** Tahvok_ has joined #openstack-nova20:23
*** amrith has quit IRC20:23
*** MasterofJOKers_ has joined #openstack-nova20:23
*** amrith has joined #openstack-nova20:23
*** baoli has quit IRC20:23
*** Gorian- has joined #openstack-nova20:23
*** lpetrut has joined #openstack-nova20:23
mriedemwally: project_domain_name = default user_domain_name = default20:24
mriedemi think default is supposed to be Default20:24
mriedemhttps://review.openstack.org/#/c/438328/13/doc/install-guide/source/nova-compute-install.rst20:24
*** lunarlamp has joined #openstack-nova20:24
mriedemauth_url = http://controller:35357/v320:24
mriedemyou don't have the v3 suffix20:24
wallyok let me try20:24
mriedemyou will have to restart the nova-compute process after making those changes20:25
wallyyeah20:25
efriedclaudiub That one might entail a serious behavior change20:25
*** Sukhdev__ has joined #openstack-nova20:25
claudiubtrue, but only if autospec=True, which never really worked anyways.20:25
claudiubor from what i've noticed at least.20:26
*** markd_ has joined #openstack-nova20:26
*** armax has joined #openstack-nova20:26
*** s1061123 has joined #openstack-nova20:27
*** jgriffith_ has joined #openstack-nova20:27
wallyin the controller node, nova.conf. do i need to do the same thing20:27
mriedemyes20:27
*** purplerbot______ has quit IRC20:28
*** Jack_Iv has joined #openstack-nova20:29
*** cdent has quit IRC20:29
*** Sukhdev has quit IRC20:29
*** tblakes has quit IRC20:29
*** mdrabe has quit IRC20:29
*** zul has quit IRC20:29
*** dave-mccowan has quit IRC20:29
*** mvk has quit IRC20:29
*** macsz_and_cheese has quit IRC20:29
*** mirrorbox has quit IRC20:29
*** Yingxin has quit IRC20:29
*** sdague has quit IRC20:29
*** vsaienk0 has quit IRC20:29
*** DuncanT has quit IRC20:29
*** MasterofJOKers has quit IRC20:29
*** purplerbot has quit IRC20:29
*** BobBall has quit IRC20:29
*** aloga has quit IRC20:29
*** Gorian has quit IRC20:29
*** zhenguo has quit IRC20:29
*** mdavidson has quit IRC20:29
*** McNinja has quit IRC20:29
*** tohayash has quit IRC20:29
*** inara` has quit IRC20:29
*** jgriffith has quit IRC20:29
*** toabctl has quit IRC20:29
*** esmiurium_ has quit IRC20:29
*** kencjohnston has quit IRC20:29
*** abramley has quit IRC20:29
*** mariusv has quit IRC20:29
*** Tahvok has quit IRC20:29
*** winston-d has quit IRC20:29
*** Tahvok_ is now known as Tahvok20:29
*** MasterofJOKers_ is now known as MasterofJOKers20:29
*** McNinja_ is now known as McNinja20:29
*** Yingxin_ is now known as Yingxin20:29
*** abramley_ is now known as abramley20:29
*** lunarlamp is now known as mariusv20:29
*** cdent_ is now known as cdent20:29
*** toabctl_ is now known as toabctl20:29
*** macsz_and_cheese has joined #openstack-nova20:29
*** Sukhdev__ is now known as Sukhdev20:29
*** mvk has joined #openstack-nova20:29
*** purplerbot has joined #openstack-nova20:29
*** zhenguo_ is now known as zhenguo20:30
*** jgriffith_ is now known as jgriffith20:30
*** zul has joined #openstack-nova20:31
*** DuncanT_ is now known as DuncanT20:32
*** dave-mcc_ is now known as dave-mccowan20:33
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: spawn/delete #1: no-ops  https://review.openstack.org/43811920:34
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: spawn/destroy #2: functional  https://review.openstack.org/43859820:34
efriedadreznec esberglu ^^ ready for in-house re-+120:35
*** felipemonteiro_ has quit IRC20:35
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated tenant network APIs  https://review.openstack.org/44767820:36
*** sdague has joined #openstack-nova20:36
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated tenant network APIs  https://review.openstack.org/44767820:37
*** sdague has quit IRC20:37
*** baoli has joined #openstack-nova20:37
*** Gorian- is now known as Gorian20:41
*** kaisers_ has quit IRC20:43
*** tblakes has joined #openstack-nova20:43
*** sdague has joined #openstack-nova20:45
*** ZZelle has joined #openstack-nova20:46
*** kaisers_ has joined #openstack-nova20:47
*** kaisers_ has quit IRC20:48
*** owalsh has quit IRC20:50
*** owalsh has joined #openstack-nova20:50
*** unicell1 has joined #openstack-nova20:51
*** sdague has quit IRC20:51
wallyhi mriedem, i still got the error "message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}20:51
wallyafter i change the nova.conf.20:51
*** cleong has quit IRC20:51
wallyi used ubunt 1604 desktop, should I use Ubuntu 1604 server?20:51
wallyis there any different?20:51
mriedemwhat roles does your placement user have?20:51
*** alineb has joined #openstack-nova20:52
wally openstack role add --project service --user placement admin20:52
cdentwally: are you sending an x-auth-token header?20:52
*** sdague__ has joined #openstack-nova20:52
wallynot sure, how to check sending an x-auth-token header?20:52
*** unicell has quit IRC20:52
cdentis that 401 error happening when you do curl? or is it showing up somewhere else?20:53
wallywhen i do the curl on the compute node20:53
wallyonly for this endpoint, all the other endpoint are good20:54
openstackgerritDiana Clarke proposed openstack/nova master: Fix rest_api_version_history (2.40)  https://review.openstack.org/44768820:54
mriedemwally: what does your curl request look like?20:54
mriedemif you aren't specifying the x-auth-token header, then you're not sending a token20:54
cdentdoes that curl statement include the phrase "x-auth-token", a bit like `curl -H "x-auth-token: <token value>" http://<the rest>20:54
wallyroot@compute1:~# curl http://controller:8778 {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}root@compute1:~#  root@compute1:~#20:54
mriedemOS_TOKEN=$(openstack token issue -f value -c id)20:54
cdentyeah, what mriedem just said20:55
mriedemcurl -s -H "X-Auth-Token: $OS_TOKEN" http://controller:8778/20:55
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: power_on/off and reboot  https://review.openstack.org/42738020:55
efriedadreznec esberglu ^20:55
mriedemwally: you aren't sending a token20:55
*** ijw has joined #openstack-nova20:55
esbergluefried: ack20:55
mriedemwally: create an rc file using the same credentials that you have in the [placement] section of nova.conf, source that rc file, then run "OS_TOKEN=$(openstack token issue -f value -c id)"20:55
mriedemto get the token20:55
mriedemand then: curl -s -H "X-Auth-Token: $OS_TOKEN" http://controller:8778/20:55
wallyok let me try again20:56
*** ijw has quit IRC20:56
*** ijw has joined #openstack-nova20:56
wallyroot@controller:/var/log/apache2# curl -s -H "X-Auth-Token: $OS_TOKEN" http://controller:8778/ {"versions": [{"min_version": "1.0", "max_version": "1.4", "id": "v1.0"}]}20:56
wallyyeah, now is that correct?20:56
wallyis the correct respone20:56
mriedemyes20:57
mriedemf yes20:57
wallyso mean my placement api is working?20:57
mriedemyes20:57
cdentnice teamwork wally and mriedem20:58
wallybut then why i ran this command root@controller:/var/log/apache2# nova-status upgrade check20:58
wallystill show this http://paste.openstack.org/show/603499/20:59
wallycould you please check20:59
mriedemthat's reading from nova.conf and using keystoneauth20:59
wallymust have somehing not config right20:59
wallyOH20:59
wallyso how to fix this keystoneauth21:00
wallyin nova.conf21:00
*** kfarr has quit IRC21:00
wally[keystone_authtoken]  auth_uri = http://controller:5000 auth_url = http://controller:35357 memcached_servers = controller:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = nova password = conalab21:00
wallyanything wrong?21:00
mriedemwell, it's just the credentials from the [placement] section in nova.conf21:00
wally[placement] auth_uri = http://controller:5000 auth_url = http://controller:35357/v3 memcached_servers = controller:11211 auth_type = password project_domain_name = Default user_domain_name = Default project_name = service username = placement password = conalab os_region_name = RegionOne21:00
wallyso there much be something wrong with my [placement]21:01
wallydo i need to add : $OS_TOKEN"21:01
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated floating IP DNS domain/entry APIs  https://review.openstack.org/44769021:01
wallythis is my controller node nova.conf21:01
mriedemwally: you have to pass a token with the curl command21:02
mriedemoops nvm21:02
mriedemwas reading something old21:02
wallyin the curl, it working, but when i run nova-status upgrade check, not working21:02
mriedemright, what's your nova.conf look like?21:03
wallymean something woring with nova.conf right?21:03
mriedemyes21:03
*** READ10 has joined #openstack-nova21:03
wallyin the  [placement] right21:03
wallycan u please check this http://paste.openstack.org/show/603505/21:04
wallyhow can i pass the token in the nova.conf21:04
mriedemthe request goes through the keystoneauth library,21:04
mriedemprovided the credentials in nova.conf,21:05
mriedemksa generates the token21:05
mriedemcompare with nova.conf from a CI run21:05
mriedemhttp://logs.openstack.org/77/447577/1/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/f6ccfe1/logs/etc/nova/nova.conf.txt.gz21:05
wallyu maen company my nova.conf with your nova.conf21:06
wallycompare my nova.conf with your nova.conf21:06
*** dimtruck is now known as zz_dimtruck21:07
mriedemwally: what's the OS_AUTH_URL value in your localrc?21:07
*** felipemonteiro_ has joined #openstack-nova21:08
wallyyou mean the admin.rc21:08
wallyexport OS_PROJECT_DOMAIN_NAME=default export OS_USER_DOMAIN_NAME=default export OS_PROJECT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=conalab export OS_AUTH_URL=http://controller:35357/v3 export OS_IDENTITY_API_VERSION=3 export OS_IMAGE_API_VERSION=221:08
wallythis is my admin-openrc.sh21:08
*** baoli has quit IRC21:09
mriedemi think you can remove the auth_uri option, that's deprecated21:09
*** Swami has quit IRC21:09
wallyu mean in the nova.conf [placement]?21:10
mriedemright21:10
*** baoli has joined #openstack-nova21:11
*** baoli has quit IRC21:11
mriedemit looks like auth_uri is only set in the [keystone_authtoken]  section21:11
mriedemwhat does your [keystone_authtoken]  section look like?21:11
*** baoli has joined #openstack-nova21:11
wally[keystone_authtoken]  auth_uri = http://controller:5000 auth_url = http://controller:35357 memcached_servers = controller:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = nova password = conalab21:11
wallythis is the keysotne-auth21:11
mriedemare you using keystone v3?21:12
*** eharney has quit IRC21:12
wallyi think so21:12
mriedemdevstack sets this up like21:12
mriedemauth_uri = https://15.184.65.44/identity21:12
mriedemauth_url = https://15.184.65.44/identity_admin21:12
*** crushil has quit IRC21:12
wallyin where?21:13
wally[placement]?21:13
mriedemin [keystone_authtoken]21:13
mriedemsee http://logs.openstack.org/77/447577/1/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/f6ccfe1/logs/etc/nova/nova.conf.txt.gz21:13
wallyi see, but i am not sure devstack,21:14
*** mdrabe_ is now known as mdrabe21:14
wallynot use devstack21:14
wallyso i should change to this?21:14
mriedemi realize,21:15
mriedemi'm trying to show an example of a config that is known to work21:15
mriedemso you can compare to yours21:15
wallyplease21:15
mriedemwhich is ^21:15
wallyoh21:15
wallyi see21:15
wallylet me try yours21:15
mriedemit's not "mine", it's from a devstack CI test run21:16
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated floating_ips_bulk API  https://review.openstack.org/44769521:17
openstackgerritChristopher Brown proposed openstack/nova master: Add lan9118 as valid nic for hw_vif_model property for qemu  https://review.openstack.org/39348921:18
openstackgerritSujitha proposed openstack/nova master: Add description to policies in attach_interfaces.py  https://review.openstack.org/44769621:18
*** Jack_Iv has quit IRC21:19
wally-------------------------------------------------------------------+ | Check: Placement API                                              | | Result: Success                                                   | | Details: None                                                     | +-----------------21:19
wallydamn21:19
wallyworks21:19
mriedemha21:19
mriedemso it was your keystone_authtoken auth_url/auth_uri?21:19
wallyi dont know,I have to check21:19
wallyok and now what is this probnlem21:20
wally| Check: Resource Providers                                         | | Result: Warning                                                   | | Details: There are no compute resource providers in the Placement | |   service but there are 1 compute nodes in the deployment.        | |   This means no compute nodes are reporting into the              | |   Placement service and need to be upgraded and/or fixed.         | |   See21:20
wallyresource providers,21:20
wallythis is a problem?21:20
openstackgerritSarafraj Singh proposed openstack/nova-specs master: Spec to add per instance timeout for LM  https://review.openstack.org/44280921:20
mriedemwally: that is saying your compute service isn't reporting it's data into the placement service yet,21:21
mriedemwhich is not surprising if the nova.conf on your compute node can't talk to placement yet21:21
wallyso ,, that is ok?21:21
mriedemwell, you'll want to fix it21:21
mriedemyou need to fix the nova.conf on your compute nodes21:21
mriedemand restart the nova-compute process21:21
wallyok i will need to make nova.conf the same as i just did in my controller nova.conf21:21
wallyright21:21
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: spawn/destroy #3: TaskFlow  https://review.openstack.org/43872921:22
*** tblakes has quit IRC21:22
mriedemcorrect21:22
efriedadreznec esberglu --^21:23
*** amotoki has joined #openstack-nova21:23
*** baoli has quit IRC21:24
*** diana_clarke has quit IRC21:27
openstackgerritSujitha proposed openstack/nova master: Refactor: remove _items() in nova/api/openstack/compute/attach_interfaces.py  https://review.openstack.org/44769821:28
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated floating_ip_pools API  https://review.openstack.org/44769921:29
*** aysyd has quit IRC21:29
*** baoli has joined #openstack-nova21:32
*** baoli has quit IRC21:33
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove the deprecated fping API  https://review.openstack.org/44770221:34
*** Jeffrey4l_ has quit IRC21:35
*** ijw has quit IRC21:35
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: spawn/destroy #2: functional  https://review.openstack.org/43859821:36
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: power_on/off and reboot  https://review.openstack.org/42738021:37
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: spawn/destroy #3: TaskFlow  https://review.openstack.org/43872921:37
*** Jeffrey4l_ has joined #openstack-nova21:38
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated security_group_default_rules APIs  https://review.openstack.org/44770521:38
*** zz_dimtruck is now known as dimtruck21:42
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated security_group_rules APIs  https://review.openstack.org/44770721:44
*** felipemonteiro_ has quit IRC21:47
*** felipemonteiro_ has joined #openstack-nova21:49
*** gouthamr has quit IRC21:50
openstackgerritSarafraj Singh proposed openstack/nova-specs master: Spec to add per instance timeout for LM  https://review.openstack.org/44280921:51
mriedemsdague__: looks like when we deprecated proxy APIs for network resources, we didn't deprecate the /servers/{server_id}/os-security-groups API even though that's a proxy to neutron21:51
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: spawn/destroy #4: full flavor  https://review.openstack.org/39128821:51
mriedemsdague__: i just realized that on https://review.openstack.org/#/c/441730/121:51
mriedemam i missing anything?21:51
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: spawn/destroy #4: full flavor  https://review.openstack.org/39128821:51
mriedemif we deprecate that from nova, then to get security groups for an instance, you have to find all ports for the instance by port.device_id, and then from the ports build the list of security group uuids21:53
mriedemalex_xu was looking to do similar for the multinic api21:53
openstackgerritAnusha Unnam proposed openstack/nova master: Add description to policies in used_limits  https://review.openstack.org/44771021:54
*** kylek3h has quit IRC21:58
*** baoli has joined #openstack-nova22:01
*** xyang1 has quit IRC22:01
*** esberglu has quit IRC22:05
openstackgerritEd Leafe proposed openstack/nova master: Remove the Allocation.create() method.  https://review.openstack.org/41675122:05
openstackgerritEd Leafe proposed openstack/nova master: Add check for invalid inventory amounts  https://review.openstack.org/42880022:05
openstackgerritEd Leafe proposed openstack/nova master: Add check for invalid allocation amounts  https://review.openstack.org/41675222:05
*** esberglu has joined #openstack-nova22:06
EmilienMmriedem: do we have any update on the ironic thing?22:06
*** baoli has quit IRC22:06
*** ijw has joined #openstack-nova22:06
*** lyarwood has quit IRC22:07
*** kaisers has quit IRC22:08
*** lyarwood has joined #openstack-nova22:09
*** esberglu has quit IRC22:10
*** rfolco has quit IRC22:10
*** dave-mccowan has quit IRC22:12
*** mdrabe has quit IRC22:17
*** kaisers has joined #openstack-nova22:23
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: spawn/destroy #4: full flavor  https://review.openstack.org/39128822:23
openstackgerritEric Fried proposed openstack/nova master: PowerVM Driver: spawn/destroy #4: full flavor  https://review.openstack.org/39128822:23
*** efried has quit IRC22:24
*** edmondsw has quit IRC22:26
*** lpetrut has quit IRC22:26
*** ijw has quit IRC22:26
*** mriedem1 has joined #openstack-nova22:36
mriedem1EmilienM: no because the jobs were failing,22:36
mriedem1so i didn't get the latest logging chnges22:36
mriedem1*changes22:36
*** mriedem has quit IRC22:38
openstackgerritOpenStack Proposal Bot proposed openstack/python-novaclient master: Updated from global requirements  https://review.openstack.org/44667422:39
EmilienMmriedem1: ok22:39
*** amotoki has quit IRC22:41
*** mriedem1 is now known as mriedem22:41
mriedemEmilienM: did you figure out the rpm thing?22:41
mriedemcan we recheck?22:41
EmilienMmriedem: not yet, see https://review.rdoproject.org/r/588222:42
EmilienMit's in our gate22:43
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated security_groups APIs  https://review.openstack.org/44771622:45
*** krtaylor has quit IRC22:45
*** tbachman has quit IRC22:45
mriedemoh right22:45
mriedemtooz22:45
*** masber has joined #openstack-nova22:45
*** tbachman has joined #openstack-nova22:48
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated fixed_ips APIs  https://review.openstack.org/44771822:49
*** mtanino has quit IRC22:53
*** kenperkins has joined #openstack-nova22:56
*** mlavalle has quit IRC22:56
*** esberglu has joined #openstack-nova22:56
*** kaisers has quit IRC22:57
*** marst has quit IRC22:58
*** esberglu has quit IRC23:01
openstackgerritAnusha Unnam proposed openstack/nova master: Add description to policies in suspend_server.py  https://review.openstack.org/44772223:06
*** marst has joined #openstack-nova23:10
*** kaisers has joined #openstack-nova23:12
*** catintheroof has quit IRC23:13
*** sneti_ has quit IRC23:17
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated floating_ips APIs  https://review.openstack.org/44772423:19
*** hoangcx has quit IRC23:25
*** Sukhdev has quit IRC23:26
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated floating_ips APIs  https://review.openstack.org/44772423:27
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated security_groups APIs  https://review.openstack.org/44771623:27
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated fixed_ips APIs  https://review.openstack.org/44771823:27
*** masber has quit IRC23:32
*** jamielennox is now known as jamielennox|away23:36
*** cdent has quit IRC23:37
*** jamielennox|away is now known as jamielennox23:40
*** gyee_ has joined #openstack-nova23:41
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Remove deprecated network APIs  https://review.openstack.org/44772823:41
*** felipemonteiro_ has quit IRC23:42
*** gyee has quit IRC23:43
*** dave-mccowan has joined #openstack-nova23:44
*** diga has joined #openstack-nova23:49
*** dtp has quit IRC23:49
*** gongysh has joined #openstack-nova23:55
*** liangy has quit IRC23:55

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