Wednesday, 2017-06-28

*** ssurana has joined #openstack-nova00:01
*** dimtruck is now known as zz_dimtruck00:06
*** gmann has quit IRC00:08
*** gmann has joined #openstack-nova00:08
*** crushil_ has joined #openstack-nova00:11
*** crushil_ has quit IRC00:30
*** abalutoiu has quit IRC00:30
*** abalutoiu has joined #openstack-nova00:31
*** crushil_ has joined #openstack-nova00:31
*** acormier has joined #openstack-nova00:35
*** gjayavelu has quit IRC00:36
*** rajathag_ has joined #openstack-nova00:36
*** slaweq_ has joined #openstack-nova00:36
*** rajathagasthya has quit IRC00:37
*** salv-orl_ has joined #openstack-nova00:37
*** artom has quit IRC00:40
*** salv-orlando has quit IRC00:40
*** slaweq_ has quit IRC00:41
*** yangyapeng has joined #openstack-nova00:46
*** tbachman has joined #openstack-nova00:46
*** Apoorva_ has joined #openstack-nova00:48
*** hongbin has joined #openstack-nova00:49
*** yangyapeng has quit IRC00:50
*** Apoorva has quit IRC00:52
*** Apoorva_ has quit IRC00:53
*** yangyapeng has joined #openstack-nova00:54
*** tuanluong has joined #openstack-nova00:58
*** hongbin has quit IRC01:00
*** rajathagasthya has joined #openstack-nova01:01
*** rajathag_ has quit IRC01:02
*** phuongnh has joined #openstack-nova01:03
openstackgerrityuanyue proposed openstack/nova master: Recreate root volume for instance rebuild  https://review.openstack.org/47833001:04
*** Shunli has joined #openstack-nova01:05
*** huanxie has joined #openstack-nova01:05
*** litao__ has joined #openstack-nova01:05
*** tbachman has quit IRC01:07
*** tbachman has joined #openstack-nova01:07
*** crushil_ has quit IRC01:08
openstackgerrityuanyue proposed openstack/nova master: Recreate root volume for instance rebuild  https://review.openstack.org/47833001:09
*** tbachman has quit IRC01:11
*** xinliang_ has quit IRC01:13
*** trungnv has quit IRC01:13
*** itlinux has joined #openstack-nova01:13
*** acormier has quit IRC01:15
*** acormier has joined #openstack-nova01:16
*** nic has quit IRC01:20
*** trungnv has joined #openstack-nova01:20
*** ssurana has quit IRC01:21
*** kaisers__ has joined #openstack-nova01:22
*** baoli has joined #openstack-nova01:22
*** xinliang_ has joined #openstack-nova01:24
*** kaisers_ has quit IRC01:25
*** yamahata has joined #openstack-nova01:33
*** esberglu has joined #openstack-nova01:36
*** liujiong has joined #openstack-nova01:36
*** esberglu has quit IRC01:36
*** esberglu has joined #openstack-nova01:36
*** slaweq_ has joined #openstack-nova01:37
*** esberglu has quit IRC01:41
*** slaweq_ has quit IRC01:42
*** yamahata has quit IRC01:44
*** yingjun has joined #openstack-nova01:46
openstackgerrityuanyue proposed openstack/nova master: Recreate root volume for instance rebuild  https://review.openstack.org/47833001:50
openstackgerrityuanyue proposed openstack/nova master: Recreate root volume for instance rebuild  https://review.openstack.org/47833001:51
*** gyee has quit IRC01:53
*** thorst has joined #openstack-nova01:53
*** thorst has quit IRC01:57
*** itlinux has quit IRC02:01
*** huanxie has quit IRC02:01
openstackgerritTakashi NATSUME proposed openstack/nova master: api-ref: Fix parameters in server-security-groups  https://review.openstack.org/47643402:08
*** liujiong has quit IRC02:09
*** liujiong has joined #openstack-nova02:09
*** youzp has joined #openstack-nova02:09
openstackgerritTristan Cacqueray proposed openstack/nova master: Mask the token used to allow access to consoles  https://review.openstack.org/22062202:11
*** hongbin has joined #openstack-nova02:16
*** acormier has quit IRC02:18
*** acormier has joined #openstack-nova02:18
*** acormier has quit IRC02:22
*** rajathag_ has joined #openstack-nova02:29
*** rajathagasthya has quit IRC02:31
*** tbachman has joined #openstack-nova02:31
openstackgerrityuanyue proposed openstack/nova master: Recreate root volume for instance rebuild  https://review.openstack.org/47833002:32
*** Shunli has quit IRC02:33
*** mrodden has quit IRC02:33
*** htruta` has quit IRC02:34
*** raginbajin has quit IRC02:34
*** larsks has quit IRC02:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add ability to signal and perform online volume size change  https://review.openstack.org/45432202:34
*** htruta has joined #openstack-nova02:35
*** alaski has quit IRC02:35
*** knikolla has quit IRC02:35
*** gbarros has joined #openstack-nova02:36
openstackgerrityuanyue proposed openstack/nova master: Recreate root volume for instance rebuild  https://review.openstack.org/47833002:36
*** mrodden has joined #openstack-nova02:37
*** slaweq_ has joined #openstack-nova02:38
*** tonyb_ is now known as tonyb02:40
*** raginbajin has joined #openstack-nova02:40
*** alaski has joined #openstack-nova02:40
*** lucasxu has joined #openstack-nova02:40
*** rajathag_ has quit IRC02:41
*** larsks has joined #openstack-nova02:42
*** dixiaoli has joined #openstack-nova02:42
*** slaweq_ has quit IRC02:43
*** knikolla has joined #openstack-nova02:43
*** rajathagasthya has joined #openstack-nova02:46
openstackgerritSpencer Yu proposed openstack/python-novaclient master: Nova client should retry with Retry-After value  https://review.openstack.org/44776602:49
*** rajathagasthya has quit IRC02:50
*** lucasxu has quit IRC02:56
openstackgerritTakashi NATSUME proposed openstack/nova master: Enable cold migration with target host(1/2)  https://review.openstack.org/40895502:56
openstackgerritTakashi NATSUME proposed openstack/nova master: Enable cold migration with target host(2/2)  https://review.openstack.org/40896402:57
openstackgerritTakashi NATSUME proposed openstack/nova master: api-ref: Add parameters in cold migrate action  https://review.openstack.org/41004202:57
openstackgerritTakashi NATSUME proposed openstack/nova master: Add functional tests for cold migration to same host  https://review.openstack.org/41492602:57
openstackgerritTakashi NATSUME proposed openstack/nova master: List/show all server migration types (1/2)  https://review.openstack.org/43060802:58
openstackgerritTakashi NATSUME proposed openstack/nova master: List/show all server migration types (2/2)  https://review.openstack.org/45948302:58
openstackgerritTakashi NATSUME proposed openstack/nova master: api-ref: Add missing parameters in limits.inc  https://review.openstack.org/47564003:00
openstackgerritTakashi NATSUME proposed openstack/nova master: api-ref: Verify parameters in os-migrations.inc  https://review.openstack.org/47487903:00
openstackgerritTakashi NATSUME proposed openstack/nova master: api-ref: Fix missing parameters in API Versions  https://review.openstack.org/47522603:01
openstackgerritTakashi NATSUME proposed openstack/nova master: Avoid forcing translation on logging calls  https://review.openstack.org/41387603:01
openstackgerritTakashi NATSUME proposed openstack/nova master: Use PCIAddressField in oslo.versionedobjects  https://review.openstack.org/46620103:01
openstackgerritTakashi NATSUME proposed openstack/nova master: Add 'updated_at' field to InstancePayload in notifications  https://review.openstack.org/47527603:02
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.49 - List/Show all server migration types  https://review.openstack.org/43083903:02
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.49 - Enable cold migration with target host  https://review.openstack.org/40670703:02
*** Nel1x has quit IRC03:03
*** bswartz has quit IRC03:03
*** tbachman has quit IRC03:04
*** lucasxu has joined #openstack-nova03:07
*** coreywright has quit IRC03:10
*** crushil_ has joined #openstack-nova03:14
*** baoli has quit IRC03:16
*** crushil_ has quit IRC03:18
*** crushil_ has joined #openstack-nova03:21
*** crushil_ has quit IRC03:21
*** udesale has joined #openstack-nova03:22
*** dixiaoli has quit IRC03:25
*** crushil_ has joined #openstack-nova03:25
*** coreywright has joined #openstack-nova03:28
*** huanxie has joined #openstack-nova03:34
*** xyang1 has quit IRC03:37
*** itlinux has joined #openstack-nova03:38
*** evilpig_ has quit IRC03:38
*** slaweq_ has joined #openstack-nova03:39
*** crushil_ has quit IRC03:41
*** slaweq_ has quit IRC03:44
*** rajathagasthya has joined #openstack-nova03:49
*** adisky__ has joined #openstack-nova03:51
*** rajathagasthya has quit IRC03:53
*** thorst has joined #openstack-nova03:54
*** crushil_ has joined #openstack-nova03:55
*** hongbin has quit IRC03:58
*** Kevin_Zheng has quit IRC03:59
*** cNilesh has joined #openstack-nova04:00
*** links has joined #openstack-nova04:00
*** armax has joined #openstack-nova04:00
*** thorst has quit IRC04:00
*** crushil_ has quit IRC04:04
*** crushil_ has joined #openstack-nova04:04
*** dixiaoli has joined #openstack-nova04:05
*** lucasxu has quit IRC04:06
*** psachin has joined #openstack-nova04:09
*** kaisers__ has quit IRC04:17
*** sree has joined #openstack-nova04:19
*** sree_ has joined #openstack-nova04:20
*** sree_ is now known as Guest7676604:20
*** sree has quit IRC04:24
*** artom has joined #openstack-nova04:27
*** tbh_ has joined #openstack-nova04:29
*** trinaths has joined #openstack-nova04:34
*** trinaths has quit IRC04:37
*** trinaths has joined #openstack-nova04:40
*** kaisers_ has joined #openstack-nova04:47
*** qwertyco has joined #openstack-nova04:47
*** huanxie has quit IRC04:48
*** kaisers_ has quit IRC04:53
*** diga has joined #openstack-nova04:54
*** ratailor has joined #openstack-nova05:00
*** ssurana1 has joined #openstack-nova05:01
*** kaisers_ has joined #openstack-nova05:02
openstackgerritChason Chan proposed openstack/nova master: import installation guide pages from openstack-manuals  https://review.openstack.org/47748805:09
*** lennyb has quit IRC05:09
*** kaisers_ has quit IRC05:10
openstackgerrityuanyue proposed openstack/nova master: Recreate root volume for instance rebuild  https://review.openstack.org/47833005:13
*** itlinux has quit IRC05:15
*** trinaths has quit IRC05:20
*** lennyb has joined #openstack-nova05:21
*** trinaths has joined #openstack-nova05:22
openstackgerritZhenyu Zheng proposed openstack/nova master: Don't delete neutron port when attach failed  https://review.openstack.org/40356805:26
*** ekuris has joined #openstack-nova05:30
*** ssurana1 has quit IRC05:32
*** yamamoto has joined #openstack-nova05:34
*** liujiong has quit IRC05:35
*** armax has quit IRC05:40
openstackgerritChason Chan proposed openstack/python-novaclient master: switch to openstackdocstheme  https://review.openstack.org/47775705:41
*** slaweq_ has joined #openstack-nova05:41
*** crushil_ has quit IRC05:41
openstackgerritMatt Riedemann proposed openstack/nova master: Add ability to signal and perform online volume size change  https://review.openstack.org/45432205:41
*** crushil_ has joined #openstack-nova05:43
*** Shunli has joined #openstack-nova05:45
openstackgerritTakashi NATSUME proposed openstack/nova master: Add 'updated_at' field to InstancePayload in notifications  https://review.openstack.org/47527605:45
*** slaweq_ has quit IRC05:46
openstackgerritChason Chan proposed openstack/nova master: import installation guide pages from openstack-manuals  https://review.openstack.org/47748805:50
*** trinaths has left #openstack-nova05:51
*** trinaths1 has joined #openstack-nova05:53
*** andreas_s has joined #openstack-nova05:54
*** vladikr_ has quit IRC05:54
*** thorst has joined #openstack-nova05:57
*** prateek has joined #openstack-nova05:59
*** liujiong has joined #openstack-nova06:01
*** lbragstad_ has joined #openstack-nova06:02
*** rcernin has joined #openstack-nova06:02
*** thorst has quit IRC06:02
*** lbragstad has quit IRC06:02
*** huanxie has joined #openstack-nova06:08
*** abalutoiu has quit IRC06:09
*** salv-orl_ has quit IRC06:10
*** salv-orlando has joined #openstack-nova06:10
*** crushil_ has quit IRC06:11
*** kaisers_ has joined #openstack-nova06:11
*** karthiks has quit IRC06:13
*** rajathagasthya has joined #openstack-nova06:13
*** Oku_OS-away is now known as Oku_OS06:15
*** salv-orlando has quit IRC06:15
openstackgerritZhenyu Zheng proposed openstack/nova master: Support tag instances when boot(4/4)  https://review.openstack.org/46980006:18
*** salv-orlando has joined #openstack-nova06:21
openstackgerritIldiko Vancsa proposed openstack/nova master: WIP/POC Implement new attach Cinder flow  https://review.openstack.org/33028506:22
openstackgerritArtom Lifshitz proposed openstack/nova master: API support for tagged device attachment  https://review.openstack.org/37602106:24
*** markus_z has joined #openstack-nova06:31
*** salv-orl_ has joined #openstack-nova06:37
*** salv-orlando has quit IRC06:40
*** slaweq_ has joined #openstack-nova06:42
openstackgerritArtom Lifshitz proposed openstack/nova master: Delete disk metadata when detaching volume  https://review.openstack.org/43508206:43
openstackgerritArtom Lifshitz proposed openstack/nova master: API support for tagged device attachment  https://review.openstack.org/37602106:43
*** slaweq_ has quit IRC06:47
*** jpena|off is now known as jpena06:51
*** kaisers_ has quit IRC06:53
*** med_ has quit IRC06:53
*** yamamoto has quit IRC06:55
openstackgerritChason Chan proposed openstack/nova master: import the admin guide content from openstack-manuals  https://review.openstack.org/47749706:59
*** med_ has joined #openstack-nova06:59
*** slaweq_ has joined #openstack-nova06:59
*** med_ is now known as Guest3904506:59
*** slaweq_ has quit IRC07:02
*** slaweq_ has joined #openstack-nova07:03
*** Shunli has quit IRC07:03
*** yamamoto has joined #openstack-nova07:04
*** Jack_Iv has joined #openstack-nova07:04
*** mkoderer_ has joined #openstack-nova07:05
*** tpatzig_ has joined #openstack-nova07:05
*** dgonzalez_ has joined #openstack-nova07:05
*** seife_ has joined #openstack-nova07:05
*** david_1 has joined #openstack-nova07:05
Dinesh_BhorHi all, how can I get instance based on it's "system_metadata"? I can see that "nova show" call returns instance.system_metadata to api layer but it is ignored in view_builder while returning instance attributes.07:06
*** jamesden_ has quit IRC07:06
*** tpatzig_ has quit IRC07:06
*** mkoderer_ has quit IRC07:06
*** dgonzalez_ has quit IRC07:06
*** seife_ has quit IRC07:06
*** david_1 has quit IRC07:06
*** Jack_Iv has quit IRC07:07
*** tesseract has joined #openstack-nova07:08
*** slaweq_ has quit IRC07:08
*** jamesdenton has joined #openstack-nova07:08
*** lyan has joined #openstack-nova07:12
*** udesale has quit IRC07:15
*** alexchadin has joined #openstack-nova07:34
openstackgerritMerged openstack/nova master: Add python 3.5 in classifier  https://review.openstack.org/47788707:35
*** MasterofJOKers_ has joined #openstack-nova07:36
*** MasterofJOKers has quit IRC07:38
*** MasterofJOKers_ is now known as MasterofJOKers07:38
*** tbh_ has quit IRC07:38
*** gema has joined #openstack-nova07:38
*** damien_r has joined #openstack-nova07:42
openstackgerritBryan Song proposed openstack/nova master: Migrate VMs failed when anti-affinity group was removed from VMs.  https://review.openstack.org/45166407:46
*** rajathagasthya has quit IRC07:48
*** avolkov has joined #openstack-nova07:48
openstackgerritMerged openstack/nova master: move resources_from_request_spec() to utils  https://review.openstack.org/47662907:49
*** markus_z has quit IRC07:49
*** kaisers_ has joined #openstack-nova07:50
*** ralonsoh has joined #openstack-nova07:50
*** thorst has joined #openstack-nova07:58
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-nova08:00
*** huanxie has quit IRC08:02
*** thorst has quit IRC08:03
*** slaweq_ has joined #openstack-nova08:03
*** markus_z has joined #openstack-nova08:03
openstackgerritTakashi NATSUME proposed openstack/nova master: Stop using mox stubs in test_remote_consoles.py  https://review.openstack.org/47842308:05
*** slaweq_ has quit IRC08:07
*** takashin has left #openstack-nova08:09
*** dtantsur|afk is now known as dtantsur08:09
*** hshiina has joined #openstack-nova08:11
*** rmart04 has joined #openstack-nova08:16
*** karthiks has joined #openstack-nova08:17
openstackgerritRodolfo Alonso Hernandez proposed openstack/nova master: Format NIC features using os-traits definitions  https://review.openstack.org/46605108:17
openstackgerritRodolfo Alonso Hernandez proposed openstack/nova master: Read Neutron port 'binding_profile' during boot  https://review.openstack.org/44925708:17
openstackgerritRodolfo Alonso Hernandez proposed openstack/nova master: Add Neutron port capabilities to devspec in request  https://review.openstack.org/45177708:17
openstackgerritAndrey Volkov proposed openstack/nova master: [placement] Add api-ref for RP traits  https://review.openstack.org/47455008:17
openstackgerritAndrey Volkov proposed openstack/nova master: [placement] Add api-ref for allocations  https://review.openstack.org/47093308:17
openstackgerritAndrey Volkov proposed openstack/nova master: [placement] Add api-ref for RP usages  https://review.openstack.org/45010508:17
openstackgerritAndrey Volkov proposed openstack/nova master: [placement] Add api-ref for RP allocations  https://review.openstack.org/45055008:17
*** Shunli has joined #openstack-nova08:18
*** kaisers_ has quit IRC08:20
*** Shunli has quit IRC08:23
*** Shunli has joined #openstack-nova08:23
openstackgerritRodolfo Alonso Hernandez proposed openstack/nova master: Read Neutron port 'binding_profile' during boot  https://review.openstack.org/44925708:24
openstackgerritRodolfo Alonso Hernandez proposed openstack/nova master: Add Neutron port capabilities to devspec in request  https://review.openstack.org/45177708:24
openstackgerritRodolfo Alonso Hernandez proposed openstack/nova master: Format NIC features using os-traits definitions  https://review.openstack.org/46605108:27
*** abalutoiu has joined #openstack-nova08:29
openstackgerritBalazs Gibizer proposed openstack/nova master: Send soft_delete from context manager  https://review.openstack.org/47645908:29
openstackgerritBalazs Gibizer proposed openstack/nova master: Transform missing delete notifications  https://review.openstack.org/41029708:29
*** Masahisa has joined #openstack-nova08:30
*** Shunli has quit IRC08:31
*** rmart04 has quit IRC08:33
*** alexchadin has quit IRC08:34
openstackgerritNaichuan Sun proposed openstack/nova master: os-xenapi: Failed to call Dom0 plugin glance.py  https://review.openstack.org/47843708:38
*** derekh has joined #openstack-nova08:39
*** abalutoiu_ has joined #openstack-nova08:40
*** lpetrut has joined #openstack-nova08:41
*** crushil_ has joined #openstack-nova08:43
*** abalutoiu_ has quit IRC08:44
*** abalutoiu has quit IRC08:44
*** abalutoiu_ has joined #openstack-nova08:45
*** karimb has joined #openstack-nova08:50
*** Jack_Iv has joined #openstack-nova08:52
openstackgerritNaichuan Sun proposed openstack/nova master: os-xenapi: Failed to call Dom0 plugin glance.py, part 2  https://review.openstack.org/47843708:55
openstackgerritNaichuan Sun proposed openstack/nova master: os-xenapi: Failed to call Dom0 plugin glance.py, part 2  https://review.openstack.org/47843708:56
*** abalutoiu__ has joined #openstack-nova08:58
*** karimb has quit IRC08:59
*** abalutoiu_ has quit IRC09:01
openstackgerritBalazs Gibizer proposed openstack/nova master: Add BDM to InstancePayload  https://review.openstack.org/44877909:02
openstackgerritBalazs Gibizer proposed openstack/nova master: Add key_name field to InstancePayload  https://review.openstack.org/46300209:02
openstackgerritBalazs Gibizer proposed openstack/nova master: Add keypairs field to InstanceCreatePayload  https://review.openstack.org/41973009:02
*** markus_z has quit IRC09:03
*** slaweq_ has joined #openstack-nova09:04
*** huanxie has joined #openstack-nova09:04
*** crushil_ has quit IRC09:05
*** slaweq_ has quit IRC09:09
*** yamamoto has quit IRC09:13
openstackgerritNaichuan Sun proposed openstack/nova master: os-xenapi: Exception Error logs shown in Citrix XenServer CI  https://review.openstack.org/47843709:14
openstackgerritNaichuan Sun proposed openstack/nova master: os-xenapi: Exception Error logs shown in Citrix XenServer CI  https://review.openstack.org/47843709:16
*** kaisers_ has joined #openstack-nova09:17
*** yamamoto has joined #openstack-nova09:17
*** markus_z has joined #openstack-nova09:20
ebbexIn a loadbalanced setup, is there a race-condition between "POST /v2.1/servers" to api1 when creating a server and immediately listing it out with "GET /v2.1/servers/9da35d06-8f04-40fa-a03b-218e0abd8996" on api2?09:21
ebbexI can manually do the same GET 2-3 seconds later to api2 and get a 200 OK. But when openstack-client does it gets a 404.09:22
artomebbex, what if openstackclient does it 2-3 seconds later?09:22
ebbexSeems to work, I can do a "server show 9da35d06-8f04-40fa-a03b-218e0abd8996", and get results after creation.09:24
*** thorst has joined #openstack-nova09:24
ebbexBut when I do a "server create blahblah" I get: Instance 9da35d06-8f04-40fa-a03b-218e0abd8996 could not be found. (HTTP 404)09:25
ebbexbut it ends up being created anyway.09:25
*** sambetts|afk is now known as sambetts09:26
artomebbex, wait, it hits differents api servers within the same operation? As in, it POSTs to api1, then GETs from api2?09:27
artomI can see there being a need for a delay while the database writes propagate09:28
ebbexYep.09:28
artomBut that's a rather mental load balancing setup09:28
*** pcaruana has joined #openstack-nova09:28
*** udesale has joined #openstack-nova09:28
artomIt shouldn't split single operations like that, even if it contains more than 1 request09:28
*** thorst has quit IRC09:29
ebbexBut the post returns 202 accepted, so I'm guessing it's not written to the database yet.09:29
artomebbex, instance create is async, so as you rightly point out, it returns accepted instead of OK09:31
artomThen the instance goes through various states until it's active09:31
openstackgerritLucian Petrut proposed openstack/nova master: test patch - do not merge  https://review.openstack.org/47844909:32
ebbexOk, so I've changed the setup on the loadbalancer... "10.224.0.157:3030 compute.api 202 "POST /v2.1/servers", then "10.224.0.157:3030 compute.api 404 "GET /v2.1/servers/18ab1ab2-d4a7-4aad-a032-84fd618959d4"09:33
ebbexso now both request go to same api1.09:35
artomebbex, and you're still hitting the same problem? I'm out of ideas then09:40
*** yingjun has quit IRC09:40
ebbexartom: thanks, i'll dig a little deeper and get back when I find more clues.09:45
ebbexThink it might be some misconfiguration in the cell_mappings in nova_api.09:45
*** mvk has quit IRC09:46
*** kaisers_ has quit IRC09:47
artomebbex, sorry I couldn't be of more help, good luck!09:50
*** rcernin has quit IRC09:55
openstackgerritNaichuan Sun proposed openstack/nova master: os-xenapi: Exception Error logs shown in Citrix XenServer CI  https://review.openstack.org/47843709:58
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi: Exception Error logs shown in Citrix XenServer CI  https://review.openstack.org/47843709:58
*** karimb has joined #openstack-nova09:59
*** Guest76766 has quit IRC10:00
*** amotoki_away is now known as amotoki10:01
*** rcernin has joined #openstack-nova10:03
*** slaweq_ has joined #openstack-nova10:05
*** sdague has joined #openstack-nova10:07
*** yamamoto has quit IRC10:08
*** rcernin has quit IRC10:09
*** slaweq_ has quit IRC10:10
*** rcernin has joined #openstack-nova10:11
openstackgerritChason Chan proposed openstack/nova master: import installation guide pages from openstack-manuals  https://review.openstack.org/47748810:12
*** ekuris has quit IRC10:12
*** yamamoto has joined #openstack-nova10:13
*** mvk has joined #openstack-nova10:13
*** liujiong has quit IRC10:13
*** yamamoto has quit IRC10:15
*** dixiaoli has quit IRC10:19
*** avolkov has quit IRC10:22
*** avolkov has joined #openstack-nova10:23
openstackgerritAlex Xu proposed openstack/nova master: placement: add traits support to get resource_providers with shared  https://review.openstack.org/47846410:24
*** ekuris has joined #openstack-nova10:24
alex_xubauzas: edleafe jaypipes ^, give a try on adding traits support10:24
*** yamamoto has joined #openstack-nova10:25
*** trinaths1 has left #openstack-nova10:28
* sfinucan wonders who Chason Chan is and if they are on IRC...10:28
*** hferenc has quit IRC10:36
sfinucanLots of doc patches incoming10:39
openstackgerritStephen Finucane proposed openstack/nova master: doc: Switch to openstackdocstheme  https://review.openstack.org/47775110:39
openstackgerritStephen Finucane proposed openstack/nova master: doc: Remove cruft from conf.py  https://review.openstack.org/47846810:39
openstackgerritStephen Finucane proposed openstack/nova master: doc: Remove dead plugin  https://review.openstack.org/47846910:39
openstackgerritStephen Finucane proposed openstack/nova master: doc: Remove dead files  https://review.openstack.org/47847010:39
openstackgerritStephen Finucane proposed openstack/nova master: doc: Create directory structure for docs migration  https://review.openstack.org/47847110:39
openstackgerritStephen Finucane proposed openstack/nova master: doc: Populate the 'cli' section  https://review.openstack.org/47847210:39
openstackgerritStephen Finucane proposed openstack/nova master: doc: Populate the 'configuration' section  https://review.openstack.org/47847310:39
openstackgerritStephen Finucane proposed openstack/nova master: doc: Populate the 'contributor' section  https://review.openstack.org/47847410:39
openstackgerritStephen Finucane proposed openstack/nova master: doc: Populate the 'user' section  https://review.openstack.org/47847510:39
*** kaisers_ has joined #openstack-nova10:43
*** yamamoto has quit IRC10:48
Dinesh_BhorHi all, is there a way to get instances based on system_metadata?10:48
*** cdent has joined #openstack-nova10:48
*** cdent has left #openstack-nova10:49
*** yamamoto has joined #openstack-nova10:49
artomDinesh_Bhor, you've asked that before, what exactly are you looking to do?10:50
artomYou said it's not included in the nova show output...10:51
*** qwertyco has quit IRC10:51
artomAre you asking if there's a way to change that and include system_metadata in the nova show output?10:51
Dinesh_Bhorartom: My aim is to get the instance which is having some particular system_metadata set. But with "nova list" it gives me "invalid filter system_metadata".10:54
Dinesh_Bhorartom: and with "nova show" I just checked that whether I am getting system_metadata in response but it's not. It is ignored in view_builder.10:54
*** liverpooler has quit IRC10:55
artomDinesh_Bhor, I don't think system_metadata is return by the rest API, is it?10:57
artomhttps://developer.openstack.org/api-ref/compute/?expanded=show-server-details-detail#show-server-details10:57
artomIf it's isn't there's not much you can unless you have access to the db and want to run SQL queries10:57
artomIf what you're looking for is in there you can bypass the python client and hit the API directly with curl, for example10:58
openstackgerritChason Chan proposed openstack/nova master: import installation guide pages from openstack-manuals  https://review.openstack.org/47748810:59
*** smatzek has joined #openstack-nova10:59
Dinesh_Bhorartom: no I don't have access to db. Do you think that we can  returning system_metadata in show call ?11:01
Dinesh_Bhors/ returning/return11:01
artomDinesh_Bhor, there would be a lot of overhead (spec, api microversion) if we were to implement that, and I suspect it'll get shot down11:02
artomDinesh_Bhor, why are you looking for specific system metadata though? Maybe there's another way to accomplish what you're trying to do11:03
*** gjayavelu has joined #openstack-nova11:05
*** Jack_Iv has quit IRC11:05
*** slaweq_ has joined #openstack-nova11:05
*** Jack_Iv has joined #openstack-nova11:06
*** sree has joined #openstack-nova11:07
*** kaisers_ has quit IRC11:07
*** lyan has quit IRC11:09
sdaguesfinucan: because you were handling a bunch of these deprecations, can you look at https://bugs.launchpad.net/nova/+bug/169801011:09
openstackLaunchpad bug 1698010 in OpenStack Compute (nova) "dhcp-domain is deprecated, but required for correct FQDN behavior" [Undecided,New]11:09
*** Jack_Iv has quit IRC11:10
*** slaweq_ has quit IRC11:11
*** udesale has quit IRC11:12
openstackgerritChason Chan proposed openstack/nova master: import the admin guide content from openstack-manuals  https://review.openstack.org/47749711:12
Dinesh_Bhorartom: Instance can be resized in two vm_states "active" and "stopped". I want to find out what is the previous vm_state of an Instance before it was resized through API.11:13
Dinesh_Bhorartom: I can see that while reverting resized instance it gets the instance "old_vm_state" from instance system_metadata [1] and depending on it nova puts that instance back to that old_vm_state.11:13
*** jaypipes has joined #openstack-nova11:13
Dinesh_Bhorartom: [1] https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L402211:13
sfinucansdague: will do11:14
*** dtantsur is now known as dtantsur|lunch11:15
*** acormier has joined #openstack-nova11:16
*** karts has joined #openstack-nova11:16
*** alexchadin has joined #openstack-nova11:18
openstackgerritRodolfo Alonso Hernandez proposed openstack/nova master: Format NIC features using os-traits definitions  https://review.openstack.org/46605111:18
*** karthiks has quit IRC11:19
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi: Exception Error logs shown in Citrix XenServer CI  https://review.openstack.org/47843711:20
*** phuongnh has quit IRC11:21
*** mhenkel has quit IRC11:22
*** hferenc has joined #openstack-nova11:22
*** thorst has joined #openstack-nova11:25
*** adisky__ has quit IRC11:25
*** karimb has quit IRC11:26
*** vladikr_ has joined #openstack-nova11:26
*** acormier has quit IRC11:27
*** acormier has joined #openstack-nova11:27
*** huanxie has quit IRC11:28
*** thorst has quit IRC11:29
*** ralonsoh has quit IRC11:32
*** ericyoung has joined #openstack-nova11:34
*** dillaman has joined #openstack-nova11:34
*** Jack_Iv has joined #openstack-nova11:35
artomDinesh_Bhor, instance_actions might help you11:35
artom(Using "might" in the literal sense - ie, look into it, but I'm not sure)11:36
*** lyan has joined #openstack-nova11:37
*** gjayavelu has quit IRC11:39
*** abalutoiu__ has quit IRC11:41
openstackgerritStephen Finucane proposed openstack/nova master: doc: Populate the 'user' section  https://review.openstack.org/47847511:43
openstackgerritStephen Finucane proposed openstack/nova master: doc: Switch to openstackdocstheme  https://review.openstack.org/47775111:43
openstackgerritStephen Finucane proposed openstack/nova master: doc: Populate the 'reference' section  https://review.openstack.org/47848411:43
openstackgerritStephen Finucane proposed openstack/nova master: doc: Rework index page per new sections  https://review.openstack.org/47848511:43
openstackgerritStephen Finucane proposed openstack/nova master: fixup! doc: Populate the 'reference' section  https://review.openstack.org/47848611:43
sfinucanjaypipes, sdague: Those docs patches should be easy reviews and have to get in this cycle. Would appreciate it if either of ye could take a look sometime this week11:43
sfinucanWill ping mriedem too once he's about11:43
jaypipeswill do sfinucan11:43
*** ratailor has quit IRC11:43
sfinucanta11:44
*** acormier has quit IRC11:44
openstackgerritStephen Finucane proposed openstack/nova master: doc: Populate the 'user' section  https://review.openstack.org/47847511:44
openstackgerritStephen Finucane proposed openstack/nova master: doc: Switch to openstackdocstheme  https://review.openstack.org/47775111:44
openstackgerritStephen Finucane proposed openstack/nova master: doc: Populate the 'reference' section  https://review.openstack.org/47848411:44
openstackgerritStephen Finucane proposed openstack/nova master: doc: Rework index page per new sections  https://review.openstack.org/47848511:44
alex_xujaypipes: hope this is helpful https://review.openstack.org/47846411:44
*** acormier has joined #openstack-nova11:45
*** youzp has quit IRC11:47
openstackgerritOpenStack Proposal Bot proposed openstack/nova master: Imported Translations from Zanata  https://review.openstack.org/47709111:47
*** Jack_Iv has quit IRC11:48
jaypipesalex_xu: thx! reviewing now. BTW, I can't figure out why https://review.openstack.org/#/c/475448/ is failing that one functional test (about the traits sync...)11:48
*** arne_r has joined #openstack-nova11:49
jaypipesalex_xu: it's passing locally and the version of os-traits in requirements.txt is the same.11:49
*** Jack_Iv has joined #openstack-nova11:49
*** acormier has quit IRC11:49
jaypipesalex_xu: perhaps you might take a look?11:49
*** arne_r has quit IRC11:49
*** arne_r has joined #openstack-nova11:49
ebbexartom: so we've possibly traced it down a bit further, on "server create" we see inserts into request_spec, build_requests and instance_mappings. But the GET we see right after has a SELECT from instances. But we don't see what is inserting the uuid into this table. Any idea how something ends up in the "instances" table?11:50
alex_xujaypipes: yea, let me try11:50
*** Jack_Iv_ has joined #openstack-nova11:50
*** Jack_Iv has quit IRC11:50
jaypipesalex_xu: if I can't figure it out, I can revert to trying to create MISC_SHARES_VIA_AGGREGATE manually, like we do here currently: https://github.com/openstack/nova/blob/master/nova/tests/functional/db/test_resource_provider.py#L2533-L254611:51
*** salv-orl_ has quit IRC11:51
jaypipesalex_xu: edleafe had asked me to use Trait.get_by_name() in the new patch now that we have os-traits 0.3.1 in the requirements.11:51
ebbexIs that table populated by something else via rpc? nova-scheduler maybe?11:51
*** salv-orlando has joined #openstack-nova11:51
alex_xujaypipes: ok, got it, will let you know whehter I can found something11:51
jaypipescheers11:52
openstackgerritBalazs Gibizer proposed openstack/nova master: Add BDM to InstancePayload  https://review.openstack.org/44877911:52
openstackgerritBalazs Gibizer proposed openstack/nova master: Add key_name field to InstancePayload  https://review.openstack.org/46300211:52
openstackgerritBalazs Gibizer proposed openstack/nova master: Add keypairs field to InstanceCreatePayload  https://review.openstack.org/41973011:52
jaypipesebbex: the instance UUID is generated in the nova-api server and placed in the instance_mappings table before scheduling. i.e. we pre-create the instance's UUID when we create the request spec.11:53
*** gszasz has joined #openstack-nova11:54
*** mhenkel has joined #openstack-nova11:55
*** salv-orlando has quit IRC11:56
jaypipesebbex: the first time the cell DB's instances table is written to (and populates the instances.uuid field) is here: https://github.com/openstack/nova/blob/master/nova/conductor/manager.py#L96411:56
jaypipesebbex: you'll note that is after the scheduler has selected the destination host to attempt the build on and before the compute service is notified to build the instance (line 999)11:56
*** litao__ has quit IRC11:57
jaypipesebbex: hope this helps.11:57
* jaypipes caffeinates.11:57
ebbexjaypipes: so it is nova conductor that places the instance in the instance table, right? But.. as this is done via rpc, am I correct in assuming nova-api is not waiting for a reply from conductor (instance inserted in instances table) before returning 202?11:57
sdaguesfinucan: I just went through most of that stack, I've got some concerns by some of the changes.11:58
*** tuanluong has quit IRC11:58
sfinucansdague: Anything in particular, or is it all in Gerrit?11:58
openstackgerritBalazs Gibizer proposed openstack/nova master: Send soft_delete from context manager  https://review.openstack.org/47645911:59
openstackgerritBalazs Gibizer proposed openstack/nova master: Transform missing delete notifications  https://review.openstack.org/41029711:59
jaypipesebbex: no, the (super)conductor writes the instances record to the cell DB on line 964 *before* RPC'ing the compute service.11:59
jaypipesebbex: and that write is synchronous.11:59
sdaguesfinucan: it's all in gerrir12:00
sdaguegerrit12:00
ebbexjaypipes: but then how come the select on the instances table _after_ nova-api has returned 202 on to the create instance call returns no match?12:00
jaypipesebbex: nova-api returns a 202 when it creates the *build request*. The build request is in the API database (top-level DB). The instances table is in the cell DB and is written to after scheduling has selected a target host (and therefore a target cell).12:01
jaypipesebbex: nova-api calls nova-conductor after passing a 202 back to the user.12:01
ebbexjaypipes: there must be a race condition here, and even tho we are using galera, we (currently) send all of nova*'s sql connections to a single galera instance (trying to eliminate "slave-lag" problems)12:01
*** pcaruana has quit IRC12:02
jaypipesebbex: nova-conductor then calls nova-scheduler, which selects the host and returns that selection back to the conductor, which then writes the instances record to the cell DB and sends the launch instance RPC call to the target compute host.12:02
jaypipesebbex: it's not a race condition. it's working as intended :)12:02
*** pcaruana has joined #openstack-nova12:02
jaypipesebbex: the instances table of the cell DB will not have a record for the instance with that UUID until the scheduler selects a host.12:03
jaypipesebbex: the UUID you get back is the one from the build_requests table in the top-level API database.12:03
ebbexjaypipes: but nova-api then serves a location with the 202 response that returns 404... hmm, that cant be intentional?12:04
*** kaisers_ has joined #openstack-nova12:04
jaypipesebbex: when the compute host is selected by the scheduler, the instances table in the cell database is written and the build_requests table entry is deleted (here: https://github.com/openstack/nova/blob/master/nova/conductor/manager.py#L986)12:04
artomebbex, what database are you looking in?12:04
jaypipesebbex: no. the location returned by nova-api *does* exist.12:04
ebbexjaypipes: nope12:05
jaypipesebbex: execute list instances with an admin user.12:05
ebbexjaypipes: so, after a post to /v2.1/servers, nova-api replies with 202 and location: http://nova-api/v2.1/servers/899d5996-a030-44ac-ad34-28d261255d2d12:05
jaypipesebbex: something is causing the build to go into an error state somewhere I suspect.12:06
jaypipesebbex: yes, that URI is valid.12:06
ebbexjaypipes: that url is not valid until the instance is inserted into the instances table12:06
jaypipesebbex: no, that's not true.12:06
ebbexand there you have your race condition12:06
jaypipesebbex: let me explain.12:06
*** slaweq_ has joined #openstack-nova12:07
ebbexjaypipes: ok... atleast that is what we see here, a select ... where ...uuid= ... from instances .. returning no entries and nova-api returning us 40412:07
jaypipesebbex: the information returned from the GET /servers/<UUID> will be information about the build request (flavor, image, the instance UUID, etc) *until the instances record in the cell DB has been written, in which case the build_requests table entry will be deleted*12:08
jaypipesebbex: where is your cell DB vs. your API db?12:08
ebbexjaypipes: so what then causes the 404 from the GET servers/UUID?12:08
*** jpena is now known as jpena|lunch12:08
Dinesh_Bhorartom: ok, ill try, thanks for the help12:08
jaypipesebbex: have you looked in your nova-conductor log for errors?12:10
ebbexcell0 is nova_cell0, cell1 is nova, nova-api has nova_api and placement-api uses nova_api database. all on the same server.12:10
jaypipesebbex: I'm wondering perhaps if you're hitting this: https://github.com/openstack/nova/blob/master/nova/conductor/manager.py#L93612:10
*** thorst has joined #openstack-nova12:10
*** yassine has quit IRC12:10
jaypipesebbex: have you checked all the logs for errors? anything in there?12:11
ebbexWe dont get any errors and the instance is started just fine12:11
*** slaweq_ has quit IRC12:12
*** aloga has quit IRC12:12
ebbexand if we do a server show after the server create has returned the 404 error, it is there12:12
jaypipesebbex: may I ask how you are creating the server?12:12
*** aloga has joined #openstack-nova12:12
ebbexso the problem only exists for small amount of time, but still causes throuble in openstackclient and what-not12:12
ebbexserver create --wait --image cirros.raw --flavor m1.small --nic net-id=network1 server112:13
jaypipesebbex: k, thank you. sounds like a bug indeed. would you mind creating a bug for this?12:14
*** yassine has joined #openstack-nova12:14
sfinucansdague: comments left on the controversial ones12:15
* sfinucan goes to find a charger12:16
*** pcaruana has quit IRC12:16
ebbexjaypipes: I do not see nova-api doing any other sql queries than the one against instances that returns empty12:18
jaypipesebbex: would you mind putting all of this into a bug report?12:18
*** jamesdenton has quit IRC12:19
ebbexjaypipes: so if that you said earlier is correct, that is should also look in build_requests or whatever, it is not happening12:19
jaypipesefried: lol. Deputy Dan :)12:19
efried:)12:19
*** jamesdenton has joined #openstack-nova12:19
sdaguesfinucan: where is the blueprint for this, the blueprint link is broken12:21
jaypipesebbex: nova-api definitely is looking in build_requests. https://github.com/openstack/nova/blob/master/nova/compute/api.py#L256412:21
ebbexjaypipes: how come I do not see the sql query in the tcpdump?12:22
openstackgerritAlex Xu proposed openstack/nova master: DNM: debug traits sync  https://review.openstack.org/47849512:22
alex_xujaypipes: reproduce same fail in the local, after adding some logs...the test successful now...even remove those logs12:23
*** pcaruana has joined #openstack-nova12:23
alex_xujaypipes: ^ adding a log, then let see if they still reproducable in the gate12:23
jaypipesalex_xu: k, ty sir12:23
*** pcaruana has quit IRC12:23
jaypipesebbex: not sure :(12:23
alex_xunp12:23
*** pcaruana has joined #openstack-nova12:23
jaypipesebbex: what version of Nova are you on?12:24
ebbexjaypipes: we are talking about "server show" here right, not "server list"?12:24
ebbexocata branch12:24
ebbexjaypipes: because the line you refer to seems to be related to "server list"12:25
artomebbex, you said this is load balanced, right? What's the db setup like?12:26
jaypipesebbex: https://github.com/openstack/nova/blob/master/nova/compute/api.py#L243512:26
jaypipesebbex: same thing for show.12:26
ebbexartom: it is not load-balanced any more, disabled to eliminate errors caused by this.12:26
jaypipesebbex: ooooh12:26
artomebbex, so everything on a single machine?12:27
jaypipesebbex: try setting the service version of nova-osapi_compute to 16.12:27
*** yamamoto has quit IRC12:27
ebbexok.. lets try that12:27
*** esberglu has joined #openstack-nova12:28
jaypipesebbex: go into the API database's services table and update the version column to 16 for all services where the binary column is "nova-osapi_compute"12:28
*** kaisers_ has quit IRC12:28
jaypipesebbex: sorry, meant the cell1 db12:29
jaypipes not the api db12:29
*** pcaruana has quit IRC12:29
*** yamamoto has joined #openstack-nova12:30
*** yamamoto has quit IRC12:30
ebbexhmm..12:32
ebbexthere is no binary that has this name12:33
ebbexalso, nice to use a function name as a column name :)12:33
jaypipesebbex: yeah... :(12:34
jaypipesebbex: so I'm pretty sure this is the source of the bug: https://github.com/openstack/nova/blob/master/nova/compute/api.py#L242212:34
jaypipesebbex: or rather, that is the source of your woes... :)12:34
jaypipesebbex: either the service version being returned by the call here: https://github.com/openstack/nova/blob/master/nova/compute/api.py#L241712:35
jaypipesis not >= 1512:35
jaypipesor you have cellsv1 set up, which I doubt :)12:35
ebbexno cellsv112:35
ebbexso where do I set the service_version if its not in the services table, and what can cause it to be there12:36
jaypipesebbex: can you try removing lines 2422-2424 from the code and retrying the scenario?12:36
*** pcaruana has joined #openstack-nova12:37
jaypipesebbex: I'm thinking that "nova-osapi_compute" is wrong for existing installations maybe. Perhaps that should be "nova-api"?12:37
jaypipesebbex: what does this give you if you run it on the cell DB:12:37
ebbexjaypipes: could I have bootstrapped something wrong with cellsv2? should there be an entry for nova-os-compute-api?12:37
jaypipesSELECT binary, count(*) as c from services group by binary;12:37
jaypipesebbex: not sure, trying to find out :)12:37
ebbexremember `binary` ;)12:38
jaypipesheh, yes12:38
jaypipeswas just about to say that :)12:38
ebbex| nova-compute     | 2 |12:38
ebbex| nova-conductor   | 3 |12:38
ebbex| nova-console     | 3 |12:38
ebbex| nova-consoleauth | 3 |12:38
ebbex| nova-scheduler   | 3 |12:38
jaypipesis there a services table in the nova_api db?12:39
ebbexnope.12:39
jaypipeshmm..12:39
jaypipesI wonder why there's no entry for the api services...12:39
*** baoli has joined #openstack-nova12:41
jaypipesebbex: I need to run out for a bit. I'm hoping dansmith will have some ideas when he gets online about this.12:41
*** karimb has joined #openstack-nova12:41
*** dtantsur|lunch is now known as dtantsur12:42
ebbexjaypipes: cool, thanks :)12:42
*** baoli has quit IRC12:43
*** pcaruana has quit IRC12:43
*** pcaruana has joined #openstack-nova12:44
*** baoli has joined #openstack-nova12:44
*** MVenesio has joined #openstack-nova12:44
openstackgerritAlex Xu proposed openstack/nova master: Use plain routes list for images instead of stevedore  https://review.openstack.org/47849812:45
openstackgerritAlex Xu proposed openstack/nova master: Use plain routes list for image-metadata instead of stevedore  https://review.openstack.org/47849912:45
*** youzp has joined #openstack-nova12:45
alex_xunova api meeting is in 15 mins at #openstack-meeting-412:45
*** yamamoto has joined #openstack-nova12:49
*** esberglu has quit IRC12:49
*** kylek3h has joined #openstack-nova12:50
*** jmlowe_ has quit IRC12:50
*** acormier has joined #openstack-nova12:50
*** yamamoto has quit IRC12:52
*** youzp has quit IRC12:52
*** pcaruana has quit IRC12:53
*** liverpooler has joined #openstack-nova12:54
*** pewp has quit IRC12:54
*** gmann_ has joined #openstack-nova12:54
*** pewp has joined #openstack-nova12:56
*** dimak has joined #openstack-nova12:56
*** smatzek has quit IRC12:58
*** jpena|lunch is now known as jpena12:58
*** acormier has quit IRC12:58
*** acormier has joined #openstack-nova12:59
*** youzp has joined #openstack-nova12:59
openstackgerritAlex Xu proposed openstack/nova master: Use plain routes list for volumes instead of stevedore  https://review.openstack.org/47850212:59
*** alexchadin has quit IRC13:01
alex_xunova api meeting is running13:01
*** alexchadin has joined #openstack-nova13:01
*** gouthamr has joined #openstack-nova13:01
*** baoli has quit IRC13:02
*** baoli has joined #openstack-nova13:03
*** sree has quit IRC13:04
openstackgerritEric Fried proposed openstack/nova master: Monkey patch the blockdiag extension  https://review.openstack.org/47615913:04
openstackgerritEric Fried proposed openstack/nova master: docs: Document the scheduler workflow  https://review.openstack.org/47581013:04
efriedsfinucan ^^ resolve merge conflict (test-requirements.txt)13:05
*** esberglu has joined #openstack-nova13:05
openstackgerritEric Fried proposed openstack/nova master: Add formatting to scheduling activity diagram  https://review.openstack.org/47620413:05
jaypipesartom: any ideas on that drive-scsi0-0-0-0 issue from a couple days ago? is lyarwood around by any chance?13:05
artomjaypipes, I haven't looked into it further since then13:06
*** pcaruana has joined #openstack-nova13:06
*** alexchadin has quit IRC13:06
*** slaweq_ has joined #openstack-nova13:07
*** baoli has quit IRC13:09
*** yamamoto has joined #openstack-nova13:10
dimakHey, I'm trying to bring up a large VM on a recent devstack, and I'm getting 'No valid host was found'13:10
dimakAnd the scheduler logs say 'Starting with 0 host(s)' while I have 2 hypervisors and a bit smaller VM is able to get scheduled13:11
kashyapdimak: I recall fixing that, but now I forget how or what I did13:12
kashyapThere are other people who meditate on scheduler stuff here, though.  Let's wait for them to chime in13:12
dimakSure, thanks :)13:12
*** slaweq_ has quit IRC13:13
ebbexjaypipes: dansmith : I think you've helped track it down, any idea which nova-manage command puts the 'nova-osapi_compute' binary into the services table?13:13
*** pcaruana has quit IRC13:13
*** lucasxu has joined #openstack-nova13:14
*** pcaruana has joined #openstack-nova13:14
klipkadimak: Could you provide log from nova-scheduler with debug set to true?13:14
*** mdrabe has joined #openstack-nova13:15
dimakklipka, sure, a moment13:16
*** links has quit IRC13:16
*** gmann_ has quit IRC13:17
*** smatzek has joined #openstack-nova13:17
klipkafirst wild guess is that Placement API is not configured13:17
klipkarefer to second bullet here: https://docs.openstack.org/developer/nova/placement.html#ocata-15-0-013:18
dimakklipka, https://paste.fedoraproject.org/paste/E6FuxcJaKPJ5qcKUauoG9g13:20
*** alexchadin has joined #openstack-nova13:21
dimakklipka, I have placement API configured on my other node, should I have some placement service running there as well?13:21
klipkadimak: if it's configured on controller it should be ok13:23
klipkain log which you provided there is 'Starting with 1 host(s)' and it seems to choose host: 'Selected host: WeighedHost [host: (bishop, bishop)'13:24
*** hemanth has joined #openstack-nova13:24
dimakklipka, yes, thats the smaller VM that starts13:24
dimakBut I also have another host, 'rogue', and it is not being considered13:25
*** kaisers_ has joined #openstack-nova13:26
klipkaand you want to know why this 'rogue' is not taken into consideration?13:27
dimakyes13:27
dimakIt's in the hypervisor list and up13:27
*** dixiaoli has joined #openstack-nova13:30
*** adisky__ has joined #openstack-nova13:31
openstackgerritAlex Xu proposed openstack/nova master: Use plain routes list for image-metadata instead of stevedore  https://review.openstack.org/47849913:32
openstackgerritAlex Xu proposed openstack/nova master: Use plain routes list for images instead of stevedore  https://review.openstack.org/47849813:32
openstackgerritAlex Xu proposed openstack/nova master: Use plain routes list for volumes instead of stevedore  https://review.openstack.org/47850213:32
*** links has joined #openstack-nova13:32
*** ekuris has quit IRC13:32
openstackgerritSteve Noyes proposed openstack/nova master: update live migration to use v3 cinder api  https://review.openstack.org/46398713:35
*** jmlowe has joined #openstack-nova13:35
klipkadimak: seems that before creating instance you didn't received info about 'rogue', sync comes after VM scheduling13:36
*** kaisers_ has quit IRC13:37
*** eharney has joined #openstack-nova13:37
*** zhurong_ has joined #openstack-nova13:38
dimakI've tried again and it is still starting with 0 hosts13:38
*** rmart04 has joined #openstack-nova13:40
*** cNilesh has quit IRC13:40
*** pcaruana has quit IRC13:40
*** cNilesh has joined #openstack-nova13:41
*** sree has joined #openstack-nova13:43
*** hshiina has quit IRC13:43
klipkaI'm little confused, because you are talking about two cases: 1. creating small VM, where you are starting with only one host and want to see two of them13:43
klipka2. creating large VM, where you are starting with 0 hosts and want to see possibly two of them13:44
dansmithebbex: this sounds like a support question and this channel is for development only13:44
dansmithebbex: I may be able to help you, but we should talk in #openstack about it13:44
dimakklipka, I just think that the one host I do see is not large enough for the big vm so it gets filtered out before the log13:45
*** arne_r has quit IRC13:46
*** pcaruana has joined #openstack-nova13:46
ebbexdansmith: I think we've tracked it down. the nova/wsgi/nova-api.py doesn't register in the services table, but the "nova-api-os-compute" does.13:46
*** tuanla_fujitsu has joined #openstack-nova13:46
dansmithebbex: it's supposed to, cdent did that work13:46
*** cNilesh has quit IRC13:48
*** ekuris has joined #openstack-nova13:49
ebbexdansmith: well, we've been running the nova-api.py been running under uwsgi, and the table is empty. but once I fired up the nova-api-os-compute, the services table was populated.13:49
*** hemanth has quit IRC13:50
dansmithebbex: are your api services configured to point at the nova (cell) database or the cell0 one?13:50
ebbexthe nova (cell1) database.13:51
klipkadimak: I think scheduler should start with both hosts and filter them out in such case13:52
dansmithebbex: and what is the behavior you think is being caused by those records not being created?13:52
klipkaif I am wrong, then somebody, please correct me13:52
*** gouthamr has quit IRC13:52
*** tidwellr has joined #openstack-nova13:53
ebbexdansmith: Not sure yet, I'll have to look a bit deeper into the code, but something has to be called in nova-api-os-compute, that's not being done in the wsgi app.13:53
dansmithebbex: no,13:53
dansmithI mean why are you concerning yourself with those records? they should be created, agreed, but why are you even chasing this?13:54
ebbexdansmith: because we have a race-condition where using the command "server create" in openstack-cli returns a 202 with a location to servers/<uuid>, but a query there returns a 404.13:56
*** links has quit IRC13:56
dansmithebbex: and you think this service record thing is related?13:56
ebbexdansmith: but the server is created and starts up, and issuing the "server show" command, or a simple query to that location a bit later returns a 200.13:57
ebbexYeah, in the code there is a check to see if sevice_version > 15 look in build_instance database.13:57
*** tidwellr has quit IRC13:57
*** prateek has quit IRC13:58
*** tidwellr has joined #openstack-nova13:58
ebbexotherwise it doesn't look there, only in "instances", and it's not there quite yet. still building i assume.13:58
ebbexhence the 404.13:59
dansmithso this is the app setup that does the service registration:13:59
dansmithhttps://review.openstack.org/#/c/457283/4/nova/api/openstack/compute/wsgi.py13:59
dansmithbut I don't see how that's called from nova/wsgi/nova-api.py14:00
dansmiththe commit message there implies that you should be loading that as your wsgi script and that nova/wsgi is old14:00
dansmithbut it appears we're loading the old one in devstack, so I dunno14:00
ebbexdansmith: well, ok. so this could all be the result of a mix-up.14:01
dansmithI'm not sure why that was landed in a different place without removing the old one,14:02
dansmithbut also not sure why devstack isn't loading the new one14:02
dansmithmaybe sdague knows14:02
*** diga has quit IRC14:02
*** tidwellr has quit IRC14:02
dansmithebbex: you might notice that the nova/wsgi one says "don't use this" :)14:02
*** youzp has quit IRC14:03
sdaguednawhat's the question?14:03
sdaguedansmith: ^^^14:03
ebbexdansmith: it says EXPERIMENTAL ;)14:04
dansmithsdague: apparently cdent's updated wsgi app for nova-api was landed in a different place in the tree, and the old broken one is still there14:04
dansmithsdague: and devstack seems to be using the old one14:04
dansmithsdague: I thought we enabled apache wsgi by default in the gate for nova now, and would expect things to be broken if it's not using the new one14:04
sdaguedansmith: nova using the new one change hasn't landed yet, iirc, I'll go review14:04
dansmithand also not sure why it was landed in tree14:04
sdagueno, it's an outstanding change14:04
dansmithsdague: ah, okay well that explains that14:04
dansmithgotcha14:05
*** ckopper has quit IRC14:05
dansmithsdague: is that why we haven't removed the old one? because that'd be super confusing to our users, hence the above couple hours of debug :)14:05
*** gouthamr has joined #openstack-nova14:05
*** jaosorior has quit IRC14:05
sdagueyes, that's why the current stuff wasn't removed14:06
sdaguehttps://review.openstack.org/#/c/457715/14:06
dansmithokay well, the current one probably needs an even bigger, louder comment about the "the other one"14:06
*** tidwellr has joined #openstack-nova14:07
dansmithack14:07
dansmithebbex: I assume you're swapping out to the other one to report back here right?14:07
*** lbragstad_ is now known as lbragstad14:07
ebbexdansmith: yessir ;)14:07
*** jaosorior has joined #openstack-nova14:08
dansmithsdague: so I thought that we told tripleo to go ahead and swap back to apache mode because we had this running in our gate now.. I guess I missed something14:08
*** slaweq_ has joined #openstack-nova14:08
dansmithI'll ask mriedem when/if he pops up14:09
*** awaugama has joined #openstack-nova14:10
*** xyang1 has joined #openstack-nova14:10
sdaguedansmith: I don't know if anyone told tripleo that14:11
dansmithsdague: mriedem definitely did14:11
sdagueso, if they use the new scripts, they should be fine14:12
*** hemanth has joined #openstack-nova14:12
sdagueI guess that was miscommunicated14:12
dansmiththey should, and we'd have heard about problems I'm sure, but I think it was under the assumption that we were testing it ourselves too14:12
*** slaweq_ has quit IRC14:12
ebbexdansmith: that did the trick in registering the services.14:14
ebbexdansmith: and the 404 race-condition thing :)14:14
dansmithsdague: I guess he qualified it enough: [13:07:25] <mriedem> EmilienM: so kick the tires, but don't come screaming if there are issues :)14:15
dansmithsdague: that was in may and the conversation definitely made it sound like we'd be running it before July or whenever this is likely to merge at this point :)14:15
dansmithebbex: good14:15
*** zz_dimtruck is now known as dimtruck14:15
*** eharney has quit IRC14:16
EmilienMwhat's up?14:16
dansmithsdague: anyway, I'll put another comment in the old file to try to reduce further confusion on the old one14:16
sdaguedansmith: sure14:16
dansmithEmilienM: nothing, just quoting ancient history, carry on :)14:16
EmilienMwhat did I do again? :P14:16
sdaguecdent did ask me to take a look while he was out, I'm rebasing now, we'll see what the tests look like14:16
* dansmith looks around for something to blame on EmilienM 14:16
dansmithsdague: k14:16
* EmilienM hides14:16
ebbexjaypipes, dansmith, sdague : thank you for all your assistance! :D14:17
*** bswartz has joined #openstack-nova14:17
jaypipesebbex: solved the problem?14:18
*** youzp has joined #openstack-nova14:19
ebbexjaypipes: Yes indeedy :)14:20
jaypipesw00t. hats off to dansmith14:20
openstackgerritDan Smith proposed openstack/nova master: Strengthen the warning on the old broken WSGI script  https://review.openstack.org/47852114:21
dansmithjaypipes: sdague ebbex ^14:21
*** hongbin has joined #openstack-nova14:21
sdaguedansmith: actually, you don't run the other thing instead14:22
dansmithsdague: eh?14:22
sdagueyou need to run the command that's built and put in /usr/local/bin with the pbr scripts14:22
*** gbarros has quit IRC14:22
sdaguenova-api-wsgi14:23
sdaguehttps://github.com/openstack/nova/blob/d5634769b47f7879892e34db0ad05483bf4b0652/setup.cfg#L69-L7214:23
dansmithsdague: if you've installed it on your system, yeah14:23
*** youzp has quit IRC14:23
dansmithsdague: are you saying you want me to update my comment to refer to the installed command instead of the place in the tree?14:24
sdagueyes14:24
sdaguebecause the thing in tree is just a function14:24
openstackgerritDan Smith proposed openstack/nova master: Strengthen the warning on the old broken WSGI script  https://review.openstack.org/47852114:24
dansmiththere ^14:24
sdagueyou still need wsgi scaffolding otherwise it won't work14:24
dansmithsdague: you can specify the entry point in your mod_wsgi config I think, but sure14:25
*** awaugama_ has joined #openstack-nova14:26
sdagueand, the pbr wrapper script has the locking initialization bits that are needed otherwise apache mod_wsgi can race crash on itself14:26
dansmithsdague: can you show me a rendered one of those?14:26
sdaguehttp://paste.openstack.org/show/613938/14:27
dansmithseems unfortunate to have that kind of setup be non-obvious14:27
dansmithoh I see, I thought you meant something else14:27
*** awaugama has quit IRC14:27
*** hemanth has quit IRC14:28
sdaguewe did it at the pbr layer because that fix is needed everywhere, then there is a semantic definition of this is a wsgi script in setup.cfg14:28
sdaguewhich is potentially useful information to people as well14:28
*** eharney has joined #openstack-nova14:28
dansmithsdague: where is that actually defined though?14:29
*** awaugama_ is now known as awaugama14:29
sdaguesetup.cfg14:30
sdaguewsgi_scripts entry point14:30
*** trinaths has joined #openstack-nova14:30
dansmithsdague: no, I mean where is the wrapper stuff defined14:31
dansmithsdague: is that in pbr itself?14:31
sdagueyes14:31
dansmithokay14:31
sdagueas are console_scripts14:32
dansmithwell anyway, I thought you mean oslo lock setup or something like that, not just this for the init call14:32
dansmith*meant14:32
sdaguehttps://github.com/openstack-dev/pbr/blob/823165d068a77642db9e907e465db91f841ab424/pbr/packaging.py#L276-L33014:32
sdagueah, no, sorry14:32
sdagueit's just this race about how in some mod_wsgi daemon configs you are running in shared memory space14:33
*** felipemonteiro_ has joined #openstack-nova14:33
sdagueand oslo.config parsing doesn't expect multiple concurrent parses14:33
sdagueso it errors out some of the workers if they hit at exactly the same time14:34
sdagueiirc14:34
*** kaisers_ has joined #openstack-nova14:34
* dansmith nods14:34
*** felipemonteiro__ has joined #openstack-nova14:34
*** gouthamr has quit IRC14:34
sdagueif it's not quite that problem, it's a very related one with similar symptoms14:34
sdagueand only calling init once addresses it14:35
sdagueok, https://review.openstack.org/#/c/457715 is rebased, (the real new wsgi direction)14:36
*** ckopper has joined #openstack-nova14:36
sdagueif it passes tests, will get it merged14:36
*** salv-orlando has joined #openstack-nova14:37
*** felipemonteiro_ has quit IRC14:38
dansmithcool14:38
sdaguedansmith: honestly, you could stack a delete of those files as a depends-on for that14:39
sdaguethen we can not even bother with the warning message14:39
dansmithsdague: come on, I want to land my warning message14:39
sdaguethe real issue that ends up happening with those old wsgi.py scripts is that people manually copy them to /var/www14:39
sdagueso they never get updates14:40
*** gouthamr has joined #openstack-nova14:42
*** trinaths1 has joined #openstack-nova14:42
jaypipessdague: wait... deployers manually copy files without looking at them? no!14:42
*** baoli has joined #openstack-nova14:43
*** yingjun has joined #openstack-nova14:44
sdaguejaypipes: well... more importantly they did that in liberty14:45
sdagueand then never again14:45
sdagueso any fixes we have ... never get to them14:45
*** trinaths has quit IRC14:45
sdaguebecause it was outside of the python install path14:45
jaypipessdague: I was being facetious :)14:45
sdague:)14:45
sdaguethat's fine, I was being specific :)14:45
* jaypipes curl sdague | sh14:46
*** mtanino__ has joined #openstack-nova14:46
*** edand_ has joined #openstack-nova14:47
openstackgerritLucian Petrut proposed openstack/nova master: Raise MigrationPreCheckError if instance location is unavailable  https://review.openstack.org/46977914:47
sdagueyou forgot the sudo14:50
*** edand_ has quit IRC14:53
*** sean-k-mooney has quit IRC14:53
*** acormier_ has joined #openstack-nova14:53
*** acormier has quit IRC14:57
*** pewp has quit IRC15:00
*** rmart04 has quit IRC15:00
*** dixiaoli has quit IRC15:00
*** avanko_ has joined #openstack-nova15:01
sfinucansdague: It's https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html15:02
*** alexchadin has quit IRC15:02
sfinucanSo I guess I should use 'os-manuals-migration', even though the spec says to use 'doc-rework' as the topic15:02
*** zhurong_ has quit IRC15:03
*** yingjun has quit IRC15:03
*** pewp has joined #openstack-nova15:03
sdaguesfinucan: ok, but that's not the blueprint15:03
sdaguethe blueprint: .... only works if that is the short name of the blueprint15:04
avanko_i'm looking for somebody who can help to solve issue with Openstack-Neutron. our team is processing cluster stress test on OPNFV FDS, OStack-ODL-FDSio-HA, when running the test, we have a blocker, at some stage, the nova stops adding ports to VM15:04
avanko_is there anybody to help us with this? please contact me on avanko@cisco.com, so we can set up a brief call and go through the discovered issue in more detail. currently we are blocked by this issue15:05
*** kaisers_ has quit IRC15:05
*** rcernin has quit IRC15:06
*** links has joined #openstack-nova15:07
*** gyee has joined #openstack-nova15:07
*** slaweq_ has joined #openstack-nova15:09
openstackgerritTakashi NATSUME proposed openstack/nova master: Stop using mox stubs in test_remote_consoles.py  https://review.openstack.org/47842315:09
*** avanko_ has quit IRC15:12
*** markus_z has quit IRC15:12
*** nolwenn has joined #openstack-nova15:12
*** slaweq_ has quit IRC15:13
*** acormier_ has quit IRC15:16
*** acormier has joined #openstack-nova15:16
*** damien_r has quit IRC15:17
*** chyka has joined #openstack-nova15:20
openstackgerritIldiko Vancsa proposed openstack/nova master: WIP/POC Implement new attach Cinder flow  https://review.openstack.org/33028515:20
*** markus_z has joined #openstack-nova15:23
cfriesensomeone just pointed out that after you boot up an instance with neutron ports it's possible to delete the ports in neutron.  Does this seem odd to anyone else?15:26
*** gszasz has quit IRC15:28
*** andreas_s has quit IRC15:28
*** gszasz has joined #openstack-nova15:30
*** markus_z has quit IRC15:31
*** dixiaoli has joined #openstack-nova15:33
*** Jack_Iv_ has quit IRC15:35
*** Jack_Iv has joined #openstack-nova15:35
*** links has quit IRC15:36
*** ckopper has quit IRC15:37
openstackgerritIldiko Vancsa proposed openstack/nova master: Remove check_detach  https://review.openstack.org/44667115:41
*** ckopper has joined #openstack-nova15:42
*** sree has quit IRC15:43
*** salv-orlando has quit IRC15:44
*** salv-orlando has joined #openstack-nova15:45
*** Sukhdev has joined #openstack-nova15:46
*** damien_r has joined #openstack-nova15:48
*** nic has joined #openstack-nova15:49
*** salv-orlando has quit IRC15:49
*** tuanla_fujitsu has quit IRC15:49
*** hieulq__ has joined #openstack-nova15:49
*** mdrabe has quit IRC15:53
sdaguesfinucan / johnthetubaguy - on the config guide side, how are we feeling about adding all the pass through keystone auth options?15:54
sdaguehttps://review.openstack.org/#/c/358701/15:54
sdaguehttps://bugs.launchpad.net/nova/+bug/161566615:54
openstackLaunchpad bug 1615666 in OpenStack Compute (nova) "Nova config misses [cinder] insecure option" [Undecided,New]15:54
*** swebster_ has quit IRC15:54
*** mdrabe has joined #openstack-nova15:57
*** swebster has joined #openstack-nova15:57
*** jamesdenton has quit IRC15:58
*** Sukhdev_ has joined #openstack-nova15:59
*** jamesdenton has joined #openstack-nova15:59
*** chyka has quit IRC15:59
*** salv-orlando has joined #openstack-nova16:00
*** itlinux has joined #openstack-nova16:01
*** xyang1 has quit IRC16:02
*** kaisers_ has joined #openstack-nova16:02
edleafejaypipes: figured out the problem with the failing functional test in https://review.openstack.org/#/c/475448/16:02
edleafejaypipes: the DB fixture is wiping the database, but the internal _TRAITS_SYNCED flag is still True16:03
edleafejaypipes: So in subsequent tests, none of the standard traits are there16:03
jaypipesedleafe: ah!.16:03
*** xyang1 has joined #openstack-nova16:03
jaypipesedleafe: great catch.16:03
jaypipesedleafe: thank you!16:03
edleafeI fixed it by adding a reset method to the Trait objects16:03
edleafeobject16:03
edleafeand calling it from the db fixture16:03
edleafeDoes that sound OK?16:04
jaypipesedleafe: ++16:04
edleafecool, will push in a few16:04
jaypipesedleafe: ty sir!16:04
jaypipesedleafe: if you feel like getting those parens style issues I missed that efried found, that would be cool too.16:04
*** swebster has quit IRC16:04
edleafejaypipes: sure, why not?16:05
jaypipesthanks!16:05
edleafejaypipes: anything to clean up that ugly style :;P16:05
jaypipes:)16:05
*** swebster has joined #openstack-nova16:06
*** jamesdenton has quit IRC16:06
*** chyka has joined #openstack-nova16:06
*** gszasz has quit IRC16:07
*** xyang1 has quit IRC16:07
*** xyang1 has joined #openstack-nova16:07
*** slaweq_ has joined #openstack-nova16:10
*** psachin has quit IRC16:10
*** slaweq_ has quit IRC16:14
openstackgerritSean Dague proposed openstack/nova master: Clarify that vlan feature means nova-network support  https://review.openstack.org/47855116:16
*** trinaths1 has left #openstack-nova16:16
*** lyan has quit IRC16:17
*** yassine has quit IRC16:19
*** gszasz has joined #openstack-nova16:19
*** slaweq_ has joined #openstack-nova16:21
*** Oku_OS is now known as Oku_OS-away16:23
cfriesenI'd welcome some more reviews of https://review.openstack.org/#/c/461456   It appears that Sahid and I are at a bit of an impasse as to what the semantics of "hw:cpu_realtime_mask" should be.  I think it's confusing to have an implied "all-cpus-are-realtime" and that it should be treated as indicating which vCPUs are realtime rather than an exclusion mask indicating which vCPUs are not realtime16:23
*** Sukhdev_ has quit IRC16:25
*** kaisers_ has quit IRC16:25
*** dixiaoli has quit IRC16:26
*** Apoorva has joined #openstack-nova16:26
*** Apoorva has quit IRC16:28
*** rajathagasthya has joined #openstack-nova16:33
*** armax has joined #openstack-nova16:34
*** Apoorva has joined #openstack-nova16:41
*** jpena is now known as jpena|off16:44
*** slaweq_ has quit IRC16:48
*** dixiaoli has joined #openstack-nova16:49
openstackgerritEd Leafe proposed openstack/nova master: Add a reset for traits DB sync  https://review.openstack.org/47856416:56
edleafejaypipes: ^^ Made it a separate patch16:56
*** efried is now known as efried_afk16:56
*** karimb has quit IRC16:56
edleafejaypipes: I can rebase the series on that, or if you think it can merge fast, you can rebase the series on master later16:57
*** eric_young has joined #openstack-nova16:58
*** ujjain has quit IRC16:59
*** derekh has quit IRC16:59
*** greghaynes has quit IRC16:59
*** damien_r has quit IRC16:59
*** ujjain has joined #openstack-nova17:00
*** ujjain has quit IRC17:00
*** ujjain has joined #openstack-nova17:00
*** gjayavelu has joined #openstack-nova17:00
jaypipesedleafe: ah, cool.17:01
jaypipesedleafe: +2 from me.17:02
jaypipesbauzas: feel free to fast-track above patch from edleafe17:02
*** armax has quit IRC17:03
jaypipesin other news, someone just needs to boot the damn EMC ScaleIO CI system. it's completely unreliable and just noise.17:03
edleafejaypipes: bauzas is on PTO today17:04
jaypipesalex_xu, melwitt: see edleafe's patch above. simple and sweet and would be good to merge.17:05
jaypipesdansmith: ^^ you too.17:05
dansmithyeah I'm looking17:05
dansmithit seems like a weird way to accomplish that17:05
jaypipesdanke17:05
dansmithbeing in the database fixture I mean17:05
jaypipesdansmith: you mean as opposed to just resetting the _TRAITS_SYNC variable?17:05
dansmithwe do all the rest of these global resets in the test base17:05
dansmithlemme get you a link17:06
dansmithhttps://github.com/openstack/nova/blob/master/nova/test.py#L25917:06
dansmithfor example17:06
dansmithand https://github.com/openstack/nova/blob/master/nova/test.py#L29517:06
dansmithand https://github.com/openstack/nova/blob/master/nova/test.py#L30617:06
dansmithand https://github.com/openstack/nova/blob/master/nova/test.py#L26717:07
*** eric_young has quit IRC17:07
openstackgerritEd Leafe proposed openstack/nova master: placement: support GET /allocation_candidates  https://review.openstack.org/47544817:07
dansmithand https://github.com/openstack/nova/blob/master/nova/test.py#L26617:07
jaypipesdansmith: so in short, you'd prefer to call that in the base test setup, yes?17:08
dansmithjaypipes: that and I don't think it should be an object method17:08
melwittI also don't like the arbitrary putting it on the DatabaseFixture. it's not related to that17:09
*** gjayavelu has quit IRC17:09
edleafedansmith: so maybe around line 276 in that file?17:09
dansmithjaypipes: we have a bunch of other things in the test base that just import a module and nuke the module-level variable17:09
dansmithedleafe: not in that if, no.. just put it down like 296 or so17:09
dansmithno need to make it conditional, just always nuke17:10
*** salv-orlando has quit IRC17:10
*** salv-orlando has joined #openstack-nova17:10
*** lpetrut has quit IRC17:11
*** lpetrut has joined #openstack-nova17:11
edleafedansmith: ok, so no worries about it being _PRIVATE? I see the others are referenced directly17:11
dansmithedleafe: no17:11
*** greghaynes has joined #openstack-nova17:11
edleafek17:11
dansmithall the tests do all day is butt into the private business of other stuff.. :)17:12
*** xyang1 has quit IRC17:13
*** salv-orlando has quit IRC17:15
*** dtantsur is now known as dtantsur|afk17:16
openstackgerritEd Leafe proposed openstack/nova master: Add a reset for traits DB sync  https://review.openstack.org/47856417:18
edleafedansmith: jaypipes: amended^^17:18
*** tidwellr has quit IRC17:18
*** dixiaoli has quit IRC17:19
jaypipesedleafe: approved.17:20
*** tidwellr has joined #openstack-nova17:20
*** kaisers_ has joined #openstack-nova17:21
*** acormier has quit IRC17:25
*** damien_r has joined #openstack-nova17:25
*** lpetrut has quit IRC17:27
*** rajathagasthya has quit IRC17:27
*** jamesdenton has joined #openstack-nova17:28
*** Swami has joined #openstack-nova17:30
*** gouthamr has quit IRC17:34
*** jdillaman has quit IRC17:36
*** annegentle has joined #openstack-nova17:37
*** acormier has joined #openstack-nova17:37
*** annegentle has quit IRC17:40
*** sambetts is now known as sambetts|afk17:41
*** efried_afk is now known as efried17:42
openstackgerritmelanie witt proposed openstack/nova master: Make security_group_rules use check_deltas() for quota  https://review.openstack.org/47770017:42
openstackgerritmelanie witt proposed openstack/nova master: Add scatter gather utilities for cells  https://review.openstack.org/47595717:42
openstackgerritmelanie witt proposed openstack/nova master: Remove 'reserved' count from used limits  https://review.openstack.org/44624217:42
openstackgerritmelanie witt proposed openstack/nova master: Make key_pairs use check_deltas() for quota  https://review.openstack.org/47769917:42
openstackgerritmelanie witt proposed openstack/nova master: Remove useless quota_usage_refresh from nova-manage  https://review.openstack.org/44624317:42
openstackgerritmelanie witt proposed openstack/nova master: Count instances to check quota  https://review.openstack.org/41652117:42
openstackgerritmelanie witt proposed openstack/nova master: Make Quotas object favor the API database  https://review.openstack.org/41094517:42
openstackgerritmelanie witt proposed openstack/nova master: Add online migration to move quotas to API database  https://review.openstack.org/41094617:43
*** rajathagasthya has joined #openstack-nova17:44
openstackgerritEd Leafe proposed openstack/nova master: Add traits to the ResourceProviders filters  https://review.openstack.org/47460217:44
*** links has joined #openstack-nova17:46
*** jamesden_ has joined #openstack-nova17:54
*** jamesdenton has quit IRC17:55
*** gjayavelu has joined #openstack-nova17:56
*** Apoorva_ has joined #openstack-nova17:59
*** artom has quit IRC17:59
*** hieulq__ has quit IRC18:02
dansmithmelwitt: what's your thinking on the 300 second timeout?18:02
*** kaisers_ has quit IRC18:02
*** kaisers_ has joined #openstack-nova18:02
*** Apoorva has quit IRC18:02
dansmithI'm thinking anything waiting for us would have given up before that18:02
melwittdansmith: I copied it from the wait_for_instance_event() in compute/manager as a starting point18:03
melwittyeah, I wasn't sure what to make it18:04
dansmithokay, that is waiting for neutron do do a thing, but nothing else is blocked on us at that point18:05
melwittokay. maybe it should be related to the rpc timeout then. I can't remember if that defaults to 120 or so. checking18:05
dansmithbut here, theres an http or rpc client waiting on us in most cases, which would be 60s max I think18:05
dansmith6018:05
dansmithI think if we have a hard-coded timeout, 60 is a good choice personally18:06
dansmithI also was thinking the inner method would take the timeout as a param.. because we might want instance list to timeout quickly, but other things we might want to be more tolerant18:07
dansmitheither way, we don't have to have the timeout perfect to land18:07
*** kaisers_ has quit IRC18:07
melwittokay. do you think maybe timeout should be a kwarg to each utility method? I thought about it but wasn't sure if it was over optimizing18:08
dansmithmelwitt: the inner one I think.. the helpers can use a hard coded value I think18:08
*** damien_r has quit IRC18:09
*** dillaman has quit IRC18:10
*** ftersin has quit IRC18:11
*** yamamoto has quit IRC18:11
melwittdansmith: okay. I was thinking the helpers don't know what they are going to do (instance list vs something else) but I think you're thinking people can use the inner method for more control so it can be only there. makes sense to me18:11
openstackgerritmelanie witt proposed openstack/nova master: Detach volume after deleting instance with no host  https://review.openstack.org/34061418:12
dansmithyeah18:12
*** eharney has quit IRC18:12
*** yamahata has joined #openstack-nova18:12
melwittdansmith: adding the timeout thing now. let me know if there are any other things to roll into the change18:13
dansmithI just committed a few other comments18:13
dansmithsmack me if I'm wrong18:13
melwittheh18:14
*** eharney has joined #openstack-nova18:15
*** kaisers_ has joined #openstack-nova18:16
melwittdansmith: I wondered about the stalling thing, but I don't see how else I could wait for all the threads in parallel? that's why I went with the linking thing before18:16
*** lpetrut has joined #openstack-nova18:20
*** Sukhdev_ has joined #openstack-nova18:20
dansmithmelwitt: using a condition or event, or a queue18:20
dansmithalso there's a pool thing, which lets you wait for all of them to complete18:20
dansmithbut a queue might be good18:21
melwittI did look at the pool thing yesterday18:21
*** mnaser has quit IRC18:21
dansmithyou'll consume off the queue in the waiting thread, processing results as they come, stashing them into the thing to return,18:21
dansmithif you get interrupted by the timeout, you return what you have18:21
*** kaisers_ has quit IRC18:22
dansmithqueue.get() also lets you specify a timeout for just that one get,18:22
*** gouthamr has joined #openstack-nova18:22
*** mvk has quit IRC18:22
dansmithso you could manage the timeout yourself, subtracting time you've waited from the total, to avoid having to swallow the timeout exception and move on18:22
dansmitheither works I think, but one probably looks cleaner18:23
*** dillaman has joined #openstack-nova18:23
dansmitheventlet.LightQueue looks to be the most applicable to your case It hink18:24
*** mnaser has joined #openstack-nova18:25
melwittdansmith: cool, thanks. I knew I must have been missing something :)18:26
*** gouthamr has quit IRC18:27
*** links has quit IRC18:30
*** acormier has quit IRC18:31
*** acormier has joined #openstack-nova18:31
*** acormier has quit IRC18:32
*** acormier has joined #openstack-nova18:32
*** acormier has quit IRC18:32
*** acormier has joined #openstack-nova18:33
*** adisky__ has quit IRC18:34
*** Sukhdev_ has quit IRC18:38
*** kaisers_ has joined #openstack-nova18:38
*** kaisers_ has quit IRC18:42
*** kaisers_ has joined #openstack-nova18:44
jaypipesedleafe: are you pushing another revision on the GET /allocation_candidates patch?18:46
jaypipesedleafe: if not, lemme know and I will hop on it.18:46
*** rajathagasthya has quit IRC18:46
*** rajathagasthya has joined #openstack-nova18:47
*** damien_r has joined #openstack-nova18:50
edleafejaypipes: you mean the two more things efried pointed out?18:53
*** jmlowe has quit IRC18:53
*** damien_r has left #openstack-nova18:56
*** jmlowe has joined #openstack-nova18:56
*** dillaman has quit IRC18:57
jaypipesefried: yes. I just didn't want to interfere if you were already doing it.19:00
efriededleafe ^19:01
jaypipesdoink, sorry :)19:01
edleafejaypipes: will fix right after this meeting19:01
efriedIt's cool, I like hearing my name.19:01
jaypipesedleafe: k, sounds good. thanks again.19:01
*** tidwellr has quit IRC19:02
*** tidwellr has joined #openstack-nova19:03
*** avolkov has quit IRC19:04
*** Jack_Iv has quit IRC19:05
*** gszasz has quit IRC19:05
*** Jack_Iv has joined #openstack-nova19:05
*** Apoorva_ has quit IRC19:08
*** krtaylor has quit IRC19:09
*** Jack_Iv has quit IRC19:09
*** kaisers_ has quit IRC19:10
*** yamamoto has joined #openstack-nova19:12
openstackgerritEd Leafe proposed openstack/nova master: placement: support GET /allocation_candidates  https://review.openstack.org/47544819:12
edleafejaypipes: efried: ^^ knock yourselves out19:12
jaypipesedleafe: thx19:12
efriedoooo19:13
*** tesseract has quit IRC19:13
edleafeefried: I cleaned up a few more19:13
efriedYuh, see that.  Verranize.19:13
edleafeefried: I knew you were planning yet another -119:13
efriedNope, I was gonna leave those other ones alone, since they involved curlies and/or squares.19:14
efried...and I didn't want to be TOO much of a dick19:14
*** Jack_Iv has joined #openstack-nova19:14
edleafeefried: when it comes to jaypipes' code styling, you can never be too much of a dick19:14
efriedhahahaha19:15
jaypipesfeelin' the love today.19:15
efriedNothin like a healthy dose of golang effyerself19:15
jaypipesheh19:16
edleafewell, at least golang is smart enough to use tabs19:16
edleafeI love Python, but the whole 4 == 1 never made sense to me19:16
*** yamamoto has quit IRC19:16
jaypipesedleafe: no on the tabs.19:17
jaypipesspaces ftw.19:17
*** Jack_Iv has quit IRC19:18
*** dillaman has joined #openstack-nova19:18
*** Jack_Iv has joined #openstack-nova19:18
*** Guest28796 is now known as mgagne19:19
*** mgagne has quit IRC19:19
*** mgagne has joined #openstack-nova19:19
openstackgerritMerged openstack/nova master: Strengthen the warning on the old broken WSGI script  https://review.openstack.org/47852119:19
*** xyang1 has joined #openstack-nova19:23
*** acormier has quit IRC19:23
*** acormier has joined #openstack-nova19:24
*** slaweq_ has joined #openstack-nova19:26
*** d9k_ is now known as d9k19:27
*** acormier has quit IRC19:29
*** awaugama has quit IRC19:31
*** baoli has quit IRC19:34
*** sbezverk has quit IRC19:39
*** salv-orlando has joined #openstack-nova19:44
*** chyka has quit IRC19:55
*** chyka has joined #openstack-nova19:57
*** jmlowe has quit IRC19:57
clarkbjaypipes: they earn you more money too :)19:57
jaypipesheh19:57
*** jmlowe has joined #openstack-nova19:57
*** liverpooler has quit IRC19:58
*** xyang1 has quit IRC19:59
*** kaisers_ has joined #openstack-nova20:03
*** felipemonteiro__ has quit IRC20:03
*** dimtruck is now known as zz_dimtruck20:13
*** yamamoto has joined #openstack-nova20:14
*** ericyoung has quit IRC20:15
*** Jack_Iv has quit IRC20:15
*** Jack_Iv has joined #openstack-nova20:16
openstackgerritMerged openstack/nova master: Add a reset for traits DB sync  https://review.openstack.org/47856420:19
*** Jack_Iv has quit IRC20:20
*** yamamoto has quit IRC20:23
*** sbezverk has joined #openstack-nova20:24
*** Apoorva has joined #openstack-nova20:25
*** acormier has joined #openstack-nova20:25
*** lucasxu has quit IRC20:30
*** krtaylor has joined #openstack-nova20:33
*** zz_dimtruck is now known as dimtruck20:37
melwittdansmith: I'm wondering if we should skip the cells meeting today too. I don't think mriedem or dtp are around20:38
dansmithmelwitt: heh I was just about to suggest that20:38
dansmithmriedem isn't,20:38
dansmithdtp seems to never show up until right before20:38
openstackgerritSteve Noyes proposed openstack/nova master: update live migration to use v3 cinder api  https://review.openstack.org/46398720:38
dansmithbut regardless,20:38
dansmiththe status is pretty clear I think so I'm good with that20:38
melwittcool, agree20:39
lyarwoodjaypipes: hey sorry I keep missing your pings re the libvirt and scsi bus values, did you get an answer in the end?20:40
*** slaweq_ has quit IRC20:43
*** sbezverk has quit IRC20:46
*** smatzek has quit IRC20:47
*** MVenesio has quit IRC20:48
*** dtp has joined #openstack-nova20:49
openstackgerritIldiko Vancsa proposed openstack/nova master: WIP/POC Implement new attach Cinder flow  https://review.openstack.org/33028520:53
*** baoli has joined #openstack-nova20:58
*** felipemonteiro has joined #openstack-nova21:00
*** jmlowe has quit IRC21:01
*** pcaruana has quit IRC21:01
*** Jack_Iv has joined #openstack-nova21:02
*** tidwellr has quit IRC21:02
dtpno cells today?21:02
*** tidwellr has joined #openstack-nova21:03
*** youzp has joined #openstack-nova21:04
*** Sukhdev has quit IRC21:05
*** felipemonteiro_ has joined #openstack-nova21:07
*** Jack_Iv has quit IRC21:07
*** youzp has quit IRC21:08
melwittdtp: yeah, we decided to cancel it about 30 minutes ago bc mriedem isn't around (he's in china this week). sorry for the short notice21:09
dtpthat's ok21:10
*** felipemonteiro has quit IRC21:10
*** thorst has quit IRC21:12
*** kylek3h has quit IRC21:17
*** Jack_Iv has joined #openstack-nova21:17
*** acormier has quit IRC21:18
*** acormier has joined #openstack-nova21:19
*** damien_r has joined #openstack-nova21:21
*** baoli has quit IRC21:21
*** Jack_Iv has quit IRC21:22
*** acormier has quit IRC21:23
*** acormier has joined #openstack-nova21:24
dtpdo you guys need anything?21:24
*** eharney has quit IRC21:26
*** acormier_ has joined #openstack-nova21:26
*** esberglu has quit IRC21:27
*** acormier_ has quit IRC21:27
*** acormier_ has joined #openstack-nova21:28
*** acormier has quit IRC21:28
*** tidwellr has quit IRC21:29
*** tidwellr has joined #openstack-nova21:29
melwittdtp: nope, not for me anyway. think things have been progressing along well. dansmith, did you have anything? ^21:31
*** damien_r has quit IRC21:31
dansmithnope21:31
dansmithdtp: note that if you were in irc earlier we'd have polled you for topics before canceling :)21:31
*** slaweq_ has joined #openstack-nova21:31
melwittdtp: is there anything you needed? looks like mriedem still WIP on the hypervisors uuid stuff21:32
*** acormier_ has quit IRC21:32
dtpi'm afraid i was indisposed this morning.  i'm sorry about that :)21:32
dtpnot really melwitt.  just thinking about getting back in the game, if you know what i mean21:33
*** Jack_Iv has joined #openstack-nova21:33
*** tidwellr has quit IRC21:34
*** itlinux has quit IRC21:35
openstackgerritMerged openstack/nova master: Simplify a condition  https://review.openstack.org/47663721:36
*** Jack_Iv has quit IRC21:38
melwittdtp: no worries, just wanted to make sure if you had anything you had wanted to talk about at the meeting21:39
*** lpetrut has quit IRC21:40
*** acormier has joined #openstack-nova21:41
*** felipemonteiro_ has quit IRC21:41
*** felipemonteiro_ has joined #openstack-nova21:41
*** thorst has joined #openstack-nova21:46
*** thorst has quit IRC21:50
*** esberglu has joined #openstack-nova21:52
jaypipeslyarwood: no, but we've seen this come up with one of our customers now, too.21:53
jaypipeslyarwood: ocata. boot from volume. volume created from image with virtio-scsi image metadata.21:53
*** acormier has quit IRC21:53
openstackgerritmelanie witt proposed openstack/nova master: Make security_group_rules use check_deltas() for quota  https://review.openstack.org/47770021:57
openstackgerritmelanie witt proposed openstack/nova master: Add scatter gather utilities for cells  https://review.openstack.org/47595721:57
openstackgerritmelanie witt proposed openstack/nova master: Remove 'reserved' count from used limits  https://review.openstack.org/44624221:57
openstackgerritmelanie witt proposed openstack/nova master: Make key_pairs use check_deltas() for quota  https://review.openstack.org/47769921:57
openstackgerritmelanie witt proposed openstack/nova master: Remove useless quota_usage_refresh from nova-manage  https://review.openstack.org/44624321:57
openstackgerritmelanie witt proposed openstack/nova master: Count instances to check quota  https://review.openstack.org/41652121:57
*** esberglu has quit IRC21:57
openstackgerritmelanie witt proposed openstack/nova master: Make Quotas object favor the API database  https://review.openstack.org/41094521:57
openstackgerritmelanie witt proposed openstack/nova master: Add online migration to move quotas to API database  https://review.openstack.org/41094621:57
*** john51_ has quit IRC22:00
*** john51 has joined #openstack-nova22:01
*** john51 has quit IRC22:03
openstackgerritEd Leafe proposed openstack/nova master: Add traits to the ResourceProviders filters  https://review.openstack.org/47460222:03
*** john51 has joined #openstack-nova22:06
*** acormier has joined #openstack-nova22:07
*** acormier has quit IRC22:08
*** acormier has joined #openstack-nova22:09
*** mriedem has joined #openstack-nova22:09
mriedemo/22:09
*** thorst has joined #openstack-nova22:10
melwitto/ how's it going22:10
mriedemso far so good22:10
melwittsweet22:11
mriedemwent to a huuuge electronics factory direct sales district last night22:11
mriedemlike 6 floors of wall to wall stuff22:11
mriedemperfecting my technique for eating noodle soup with chopsticsk22:12
mriedem*chopsticks22:12
melwittthe electronics place description reminds me of yodobashi22:12
melwittnice22:13
mriedemi can't get through to gmail though so no mailing list stuff all week22:13
mriedemso i assume all is quiet22:13
melwitthah, quiet22:14
*** salv-orl_ has joined #openstack-nova22:14
*** thorst has quit IRC22:17
*** mvk has joined #openstack-nova22:17
*** thorst has joined #openstack-nova22:17
*** salv-orlando has quit IRC22:18
*** Jack_Iv has joined #openstack-nova22:19
mriedemis there any major nova news?22:19
melwittno but there's "confusion around 'hosted projects'" thread going on. which looks like an extension of the "big tent" thread fun22:20
*** thorst has quit IRC22:22
mriedemyeah, throw constellations in there too22:22
melwittso that's what you're missing out on. big time stuff22:22
*** mdrabe has quit IRC22:23
*** acormier has quit IRC22:23
*** acormier has joined #openstack-nova22:23
*** Jack_Iv has quit IRC22:24
*** slaweq_ has quit IRC22:26
mriedemdang22:27
*** karimb has joined #openstack-nova22:27
mriedemwell, it's come up here too at least22:27
mriedem"no core?!" was the quote from monday i believe22:27
*** acormier has quit IRC22:27
melwittlike no core projects?22:28
mriedemyeah22:28
mriedemalso, found this which is fun https://docs.openstack.org/ops-guide/ops-customize-compute.html22:28
mriedemhttps://bugs.launchpad.net/nova/+bug/170110522:29
openstackLaunchpad bug 1701105 in OpenStack Compute (nova) "Customizing the OpenStack Compute (nova) Scheduler in Operations Guide" [Medium,Confirmed]22:29
mriedemsfinucan: ^ might want to update that guide to warn that nova does'nt support plugging scheduler drivers anymore22:30
melwittah, yeah22:30
*** slaweq_ has joined #openstack-nova22:31
*** slaweq_ has quit IRC22:32
*** Jack_Iv has joined #openstack-nova22:35
*** krtaylor has quit IRC22:35
*** chyka has quit IRC22:37
*** chyka has joined #openstack-nova22:39
*** Jack_Iv has quit IRC22:39
*** danpawlik has joined #openstack-nova22:40
*** danpawlik_afk has quit IRC22:41
*** masber has quit IRC22:42
*** masber has joined #openstack-nova22:42
openstackgerritIldiko Vancsa proposed openstack/nova master: WIP/POC Implement new attach Cinder flow  https://review.openstack.org/33028522:47
*** mtanino__ has quit IRC22:48
*** gouthamr has joined #openstack-nova22:50
*** gouthamr has quit IRC22:54
*** karimb has quit IRC22:56
*** acormier has joined #openstack-nova22:56
mriedemguh, so i knew this, but don't remember why we don't do it - we record instance action start in the compute api, but don't ever record when an instance action finishes22:56
mriedemmaybe that gets handled implicitly by the action event finish?22:57
*** salv-orl_ has quit IRC22:59
*** acormier has quit IRC22:59
*** acormier has joined #openstack-nova22:59
*** acormier has joined #openstack-nova23:00
mriedemmgagne: something else we need to handle in this change https://review.openstack.org/#/c/454322/23:01
mriedemwe have to record an instance action for this external event so the client (tempest) can poll for when nova is done doing it's part23:02
* mriedem goes to breakfast23:02
*** mriedem has quit IRC23:02
*** sbezverk has joined #openstack-nova23:03
*** acormier has quit IRC23:05
*** felipemonteiro_ has quit IRC23:05
*** dimtruck is now known as zz_dimtruck23:10
*** nic has quit IRC23:16
*** edmondsw has quit IRC23:19
*** ckopper has quit IRC23:22
*** amotoki is now known as amotoki_away23:23
*** chyka has quit IRC23:25
*** smatzek has joined #openstack-nova23:30
*** Jack_Iv has joined #openstack-nova23:31
*** Jack_Iv has quit IRC23:36
*** jmlowe has joined #openstack-nova23:38
*** hongbin has quit IRC23:44
*** Jack_Iv has joined #openstack-nova23:47
*** Jack_Iv has quit IRC23:52
*** smatzek has quit IRC23:54
openstackgerritMerged openstack/nova master: placement: refactor driver select_destinations()  https://review.openstack.org/47829123:54

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