Friday, 2018-03-30

*** xyang_ has joined #openstack-nova00:04
*** gyee has quit IRC00:04
*** rajinir_ has joined #openstack-nova00:04
*** khappone has joined #openstack-nova00:04
*** jroll has joined #openstack-nova00:05
*** jroll has quit IRC00:06
*** Tom-Tom has joined #openstack-nova00:06
*** jroll has joined #openstack-nova00:06
*** breton_ has joined #openstack-nova00:07
*** obre has joined #openstack-nova00:07
*** edmondsw has joined #openstack-nova00:09
*** dims has joined #openstack-nova00:10
*** leifz- has joined #openstack-nova00:10
*** mgagne_ has joined #openstack-nova00:10
*** adreznec_ has joined #openstack-nova00:11
*** Tom-Tom has quit IRC00:11
*** dims_ has quit IRC00:12
*** rajinir has quit IRC00:12
*** dulek has quit IRC00:12
*** xyang has quit IRC00:12
*** eric-young has quit IRC00:12
*** adreznec has quit IRC00:12
*** khappone_ has quit IRC00:12
*** obre_ has quit IRC00:12
*** mgagne has quit IRC00:12
*** leifz has quit IRC00:12
*** breton has quit IRC00:12
*** jlvillal has quit IRC00:12
*** yassine has quit IRC00:12
*** Anticimex has quit IRC00:12
*** logan- has quit IRC00:12
*** sdake has quit IRC00:12
*** d34dh0r53 has quit IRC00:12
*** krtaylor has quit IRC00:12
*** rabel has quit IRC00:12
*** knikolla has quit IRC00:12
*** sc has quit IRC00:12
*** rgerganov has quit IRC00:12
*** slagle has quit IRC00:12
*** bhagyashris has quit IRC00:12
*** markmcclain has quit IRC00:12
*** owalsh has quit IRC00:12
*** ejat has quit IRC00:12
*** rybridges has quit IRC00:12
*** bauzas has quit IRC00:12
*** dosaboy_ has quit IRC00:12
*** slunkad has quit IRC00:12
*** raginbajin has quit IRC00:12
*** rmk has quit IRC00:12
*** suresh12 has quit IRC00:12
*** david-lyle has quit IRC00:12
*** mriedem has quit IRC00:12
*** hshiina|afk has quit IRC00:12
*** tianhui has quit IRC00:12
*** yikun_jiang has quit IRC00:12
*** EmilienM has quit IRC00:12
*** elod has quit IRC00:12
*** migi has quit IRC00:12
*** inara has quit IRC00:12
*** ekhugen has quit IRC00:12
*** SamYaple has quit IRC00:12
*** antonym has quit IRC00:12
*** blkart has quit IRC00:12
*** hemna has quit IRC00:12
*** ChanServ has quit IRC00:12
*** rajinir_ is now known as rajinir00:12
*** leifz- is now known as leifz00:12
*** xyang_ is now known as xyang00:12
*** adreznec_ is now known as adreznec00:12
*** odyssey4me has quit IRC00:12
*** odyssey4me has joined #openstack-nova00:12
*** dulek has joined #openstack-nova00:13
*** edmondsw has quit IRC00:13
*** suresh12 has joined #openstack-nova00:13
*** david-lyle has joined #openstack-nova00:13
*** mriedem has joined #openstack-nova00:13
*** hshiina|afk has joined #openstack-nova00:13
*** rgerganov has joined #openstack-nova00:13
*** tianhui has joined #openstack-nova00:13
*** yikun_jiang has joined #openstack-nova00:13
*** EmilienM has joined #openstack-nova00:13
*** slagle has joined #openstack-nova00:13
*** bhagyashris has joined #openstack-nova00:13
*** markmcclain has joined #openstack-nova00:13
*** elod has joined #openstack-nova00:13
*** owalsh has joined #openstack-nova00:13
*** ejat has joined #openstack-nova00:13
*** migi has joined #openstack-nova00:13
*** inara has joined #openstack-nova00:13
*** ekhugen has joined #openstack-nova00:13
*** rybridges has joined #openstack-nova00:13
*** SamYaple has joined #openstack-nova00:13
*** bauzas has joined #openstack-nova00:13
*** ChanServ has joined #openstack-nova00:13
*** rmk has joined #openstack-nova00:13
*** raginbajin has joined #openstack-nova00:13
*** hemna has joined #openstack-nova00:13
*** blkart has joined #openstack-nova00:13
*** antonym has joined #openstack-nova00:13
*** slunkad has joined #openstack-nova00:13
*** dosaboy_ has joined #openstack-nova00:13
*** barjavel.freenode.net sets mode: +o ChanServ00:13
*** sq4ind has quit IRC00:14
*** bandini has quit IRC00:14
*** ericyoung has joined #openstack-nova00:15
*** jroll is now known as Guest4396000:16
*** bandini has joined #openstack-nova00:16
*** salv-orlando has joined #openstack-nova00:17
*** sq4ind has joined #openstack-nova00:17
*** jmlowe_ has quit IRC00:18
openstackgerritMerged openstack/nova master: Use ksa session for cinder microversion check  https://review.openstack.org/55750800:19
openstackgerritMerged openstack/nova stable/pike: docs: Disable smartquotes  https://review.openstack.org/55418900:19
*** salv-orlando has quit IRC00:21
*** sean-k-mooney[m] has quit IRC00:23
*** yangyapeng has joined #openstack-nova00:23
*** yangyapeng has quit IRC00:27
*** hemna_ has quit IRC00:32
*** andreas_s has joined #openstack-nova00:35
*** esberglu has joined #openstack-nova00:35
*** Tom-Tom has joined #openstack-nova00:37
*** zhurong has joined #openstack-nova00:38
*** andreas_s has quit IRC00:39
*** esberglu has quit IRC00:40
*** Guest43960 has quit IRC00:40
*** hshiina|afk is now known as hshiina00:41
*** jichen has joined #openstack-nova00:41
*** Tom-Tom has quit IRC00:41
*** yamamoto has joined #openstack-nova00:43
*** jmlowe has joined #openstack-nova00:48
*** yamamoto has quit IRC00:49
*** yangyapeng has joined #openstack-nova00:56
*** fragatina has quit IRC01:00
*** yangyapeng has quit IRC01:00
*** jroll has joined #openstack-nova01:01
*** fragatina has joined #openstack-nova01:03
*** tiendc has joined #openstack-nova01:05
*** gouthamr has joined #openstack-nova01:06
*** fragatina has quit IRC01:07
Spaz-HomeWhew new shoes.. short workout.. let's do some nova01:08
*** cheran has quit IRC01:09
*** hongbin has joined #openstack-nova01:13
*** salv-orlando has joined #openstack-nova01:17
*** yangyapeng has joined #openstack-nova01:21
*** harlowja has quit IRC01:21
*** salv-orlando has quit IRC01:22
*** Tom-Tom has joined #openstack-nova01:26
*** mriedem has quit IRC01:27
*** Tom-Tom has quit IRC01:27
*** Tom-Tom has joined #openstack-nova01:27
*** sean-k-mooney[m] has joined #openstack-nova01:28
*** jlvillal has joined #openstack-nova01:28
*** yassine has joined #openstack-nova01:28
*** Anticimex has joined #openstack-nova01:28
*** logan- has joined #openstack-nova01:28
*** sc has joined #openstack-nova01:28
*** sdake has joined #openstack-nova01:28
*** d34dh0r53 has joined #openstack-nova01:28
*** krtaylor has joined #openstack-nova01:28
*** rabel has joined #openstack-nova01:28
*** knikolla has joined #openstack-nova01:28
*** sean-k-mooney[m] has quit IRC01:28
*** sean-k-mooney[m] has joined #openstack-nova01:28
*** hamzy has joined #openstack-nova01:28
*** itlinux has joined #openstack-nova01:30
*** bandini has quit IRC01:30
*** adreznec has quit IRC01:30
*** sean-k-mooney[m] has quit IRC01:32
*** gjayavelu has quit IRC01:32
*** zhaochao has joined #openstack-nova01:32
*** adreznec has joined #openstack-nova01:33
*** bandini has joined #openstack-nova01:33
*** sdague has quit IRC01:33
*** weshay has quit IRC01:35
*** weshay has joined #openstack-nova01:36
*** andreas_s has joined #openstack-nova01:38
*** yingjun has joined #openstack-nova01:44
*** yamamoto has joined #openstack-nova01:45
*** armaan has quit IRC01:45
*** armaan has joined #openstack-nova01:46
*** andreas_s has quit IRC01:46
*** suresh12 has quit IRC01:49
*** gongysh has joined #openstack-nova01:50
*** yamamoto has quit IRC01:51
*** itlinux has quit IRC01:54
*** zhurong has quit IRC01:55
*** danpawlik has joined #openstack-nova01:56
*** edmondsw has joined #openstack-nova01:57
*** sean-k-mooney[m] has joined #openstack-nova01:58
*** fragatina has joined #openstack-nova02:01
*** danpawlik has quit IRC02:01
*** edmondsw has quit IRC02:01
*** gongysh has quit IRC02:05
*** fragatina has quit IRC02:05
*** gongysh has joined #openstack-nova02:06
*** AlexeyAbashkin has joined #openstack-nova02:07
*** moshele has joined #openstack-nova02:07
*** itlinux has joined #openstack-nova02:09
*** jdillaman has quit IRC02:10
*** AlexeyAbashkin has quit IRC02:11
*** fragatina has joined #openstack-nova02:12
*** fragatina has quit IRC02:13
*** fragatina has joined #openstack-nova02:14
*** itlinux has quit IRC02:16
*** gouthamr has quit IRC02:17
*** salv-orlando has joined #openstack-nova02:18
*** gouthamr has joined #openstack-nova02:22
*** salv-orlando has quit IRC02:23
*** moshele has quit IRC02:25
*** itlinux has joined #openstack-nova02:29
*** itlinux has quit IRC02:30
*** danpawlik has joined #openstack-nova02:32
*** hoangcx has quit IRC02:34
openstackgerritMerged openstack/nova stable/pike: add check before adding cpus to cpuset_reserved  https://review.openstack.org/55762202:34
openstackgerritMerged openstack/nova stable/queens: Use ksa session for cinder microversion check  https://review.openstack.org/55783702:34
*** hoangcx has joined #openstack-nova02:35
*** danpawlik has quit IRC02:37
*** gouthamr has quit IRC02:43
*** yamamoto has joined #openstack-nova02:47
*** amodi has quit IRC02:48
*** yamamoto has quit IRC02:52
*** david-lyle has quit IRC02:53
*** danpawlik has joined #openstack-nova02:55
*** suresh12 has joined #openstack-nova02:59
*** danpawlik has quit IRC03:00
*** suresh12 has quit IRC03:03
openstackgerritJackie Truong proposed openstack/nova master: Add trusted_certs to instance_extra  https://review.openstack.org/53789703:04
openstackgerritJackie Truong proposed openstack/nova master: Add trusted_certs object  https://review.openstack.org/48940803:04
openstackgerritJackie Truong proposed openstack/nova master: Implement certificate_utils  https://review.openstack.org/47994903:04
openstackgerritJackie Truong proposed openstack/nova master: Add trusted_image_certificates to REST API  https://review.openstack.org/48620403:04
*** gouthamr has joined #openstack-nova03:06
*** danpawlik has joined #openstack-nova03:07
*** yassine has quit IRC03:07
*** AlexeyAbashkin has joined #openstack-nova03:08
*** david-lyle has joined #openstack-nova03:08
*** yassine has joined #openstack-nova03:08
*** danpawlik has quit IRC03:12
*** AlexeyAbashkin has quit IRC03:12
*** yamamoto has joined #openstack-nova03:13
*** gouthamr has quit IRC03:13
*** tuanla____ has joined #openstack-nova03:16
*** salv-orlando has joined #openstack-nova03:19
*** gongysh has quit IRC03:21
*** salv-orlando has quit IRC03:23
*** dave-mccowan has quit IRC03:23
*** Tom-Tom has quit IRC03:27
*** Tom-Tom has joined #openstack-nova03:27
*** Tom-Tom has quit IRC03:32
*** tbachman has joined #openstack-nova03:38
*** Rambo has joined #openstack-nova03:40
*** edmondsw has joined #openstack-nova03:45
*** hongbin has quit IRC03:45
*** danpawlik has joined #openstack-nova03:46
*** edmondsw has quit IRC03:50
*** Zames has joined #openstack-nova03:50
*** danpawlik has quit IRC03:50
*** harlowja has joined #openstack-nova03:51
*** hoangcx has quit IRC03:51
*** tuanla____ has quit IRC03:51
*** tuanla____ has joined #openstack-nova03:52
*** hoangcx has joined #openstack-nova03:52
*** Zames has quit IRC03:55
*** suresh12 has joined #openstack-nova03:56
*** hongbin has joined #openstack-nova03:57
*** hongbin has quit IRC04:00
*** Zames has joined #openstack-nova04:02
*** Zames has quit IRC04:02
*** fragatina has quit IRC04:02
*** Zames has joined #openstack-nova04:03
*** germs has quit IRC04:03
*** sapd__ has quit IRC04:03
*** germs has joined #openstack-nova04:04
*** germs has quit IRC04:04
*** germs has joined #openstack-nova04:04
*** sapd__ has joined #openstack-nova04:04
*** yangyapeng has quit IRC04:08
*** sapd_ has joined #openstack-nova04:11
*** sapd__ has quit IRC04:11
*** namnh has joined #openstack-nova04:13
*** yingjun has quit IRC04:13
*** Zames has quit IRC04:13
*** danpawlik has joined #openstack-nova04:18
*** salv-orlando has joined #openstack-nova04:20
*** Tom-Tom has joined #openstack-nova04:22
*** tbachman has quit IRC04:23
*** danpawlik has quit IRC04:23
*** salv-orlando has quit IRC04:24
*** bhujay has joined #openstack-nova04:27
*** germs has quit IRC04:30
*** jichen has quit IRC04:31
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: Initial change set of z/VM driver  https://review.openstack.org/52338704:33
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: Spawn and destroy function of z/VM driver  https://review.openstack.org/52765804:33
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: add snapshot function  https://review.openstack.org/53424004:33
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: add power actions  https://review.openstack.org/54334004:33
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: add get console output  https://review.openstack.org/54334404:33
*** yangyapeng has joined #openstack-nova04:33
Spaz-HomeHow you doing this evening novaers04:34
*** yangyapeng has quit IRC04:38
*** sree has joined #openstack-nova04:40
*** fragatina has joined #openstack-nova04:50
*** markvoelker has quit IRC04:52
*** Kumar__ has joined #openstack-nova04:53
*** danpawlik has joined #openstack-nova04:55
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in tests/unit/test_utils.py  https://review.openstack.org/55788304:58
*** danpawlik has quit IRC04:59
*** claudiub has joined #openstack-nova05:06
*** psachin` has joined #openstack-nova05:09
*** salv-orlando has joined #openstack-nova05:20
*** harlowja has quit IRC05:21
*** salv-orlando has quit IRC05:25
*** suresh12 has quit IRC05:26
*** danpawlik has joined #openstack-nova05:29
*** danpawlik has quit IRC05:33
*** sree_ has joined #openstack-nova05:34
*** sree_ is now known as Guest2383805:34
*** sree has quit IRC05:36
openstackgerritLeopard Ma proposed openstack/nova master: fix paused instance not support shelve  https://review.openstack.org/54166005:39
*** zzzeek has quit IRC05:39
*** hoangcx has quit IRC05:41
*** tuanla____ has quit IRC05:41
*** tuanla____ has joined #openstack-nova05:42
*** hoangcx has joined #openstack-nova05:42
*** yingjun has joined #openstack-nova05:45
*** zzzeek has joined #openstack-nova05:50
*** zzzeek has quit IRC05:51
openstackgerritjichenjc proposed openstack/nova master: WIP: remove ec2 in service and cmd  https://review.openstack.org/55677805:51
openstackgerritjichenjc proposed openstack/nova master: WIP: remove Ec2 object  https://review.openstack.org/55715005:51
openstackgerritjichenjc proposed openstack/nova master: WIP: remove db ec2  https://review.openstack.org/55757205:51
*** zzzeek has joined #openstack-nova05:52
*** armaan has quit IRC05:52
*** armaan has joined #openstack-nova05:53
*** markvoelker has joined #openstack-nova05:53
*** salv-orlando has joined #openstack-nova05:55
*** bhujay has quit IRC05:57
openstackgerritJianghua Wang proposed openstack/nova master: XenAPI: deprecate the config for image handler class path  https://review.openstack.org/49720105:58
openstackgerritJianghua Wang proposed openstack/nova master: XenAPI: define a new image handler to use vdi streaming  https://review.openstack.org/48647505:58
*** danpawlik has joined #openstack-nova06:00
*** bhujay has joined #openstack-nova06:03
*** danpawlik has quit IRC06:04
*** Zames has joined #openstack-nova06:13
*** kholkina has joined #openstack-nova06:16
*** Zames has quit IRC06:17
*** Guest23838 has quit IRC06:17
*** sree has joined #openstack-nova06:17
*** danpawlik has joined #openstack-nova06:24
*** sree has quit IRC06:28
*** germs has joined #openstack-nova06:30
*** germs has quit IRC06:30
*** germs has joined #openstack-nova06:30
*** moshele has joined #openstack-nova06:33
*** sree has joined #openstack-nova06:34
*** germs has quit IRC06:35
*** mikal has quit IRC06:35
*** mikal has joined #openstack-nova06:37
*** moshele has quit IRC06:38
*** sahid has joined #openstack-nova06:38
*** sree has quit IRC06:38
*** yamahata has joined #openstack-nova06:39
openstackgerritjichenjc proposed openstack/nova master: Remove a outdated warning  https://review.openstack.org/55789806:43
*** xinliang has quit IRC06:47
*** alexchadin has joined #openstack-nova06:48
*** sree has joined #openstack-nova06:51
*** sree has quit IRC06:55
*** salv-orlando has quit IRC06:57
*** salv-orlando has joined #openstack-nova06:57
*** yangyapeng has joined #openstack-nova06:58
*** andreas_s has joined #openstack-nova06:59
*** yangyapeng has quit IRC06:59
openstackgerritDanfly proposed openstack/nova master: update availablity_zone in the instances table after live-migration  https://review.openstack.org/49122607:00
*** xinliang has joined #openstack-nova07:01
*** sree has joined #openstack-nova07:01
*** salv-orlando has quit IRC07:01
*** yangyapeng has joined #openstack-nova07:02
*** andreas_s has quit IRC07:04
openstackgerritOpenStack Proposal Bot proposed openstack/nova master: Imported Translations from Zanata  https://review.openstack.org/54877207:05
*** sree has quit IRC07:05
*** damien_r has joined #openstack-nova07:09
*** alexchadin has quit IRC07:09
*** alexchadin has joined #openstack-nova07:09
*** voelzmo has joined #openstack-nova07:11
*** voelzmo has quit IRC07:16
*** psachin` has quit IRC07:16
*** yamahata has quit IRC07:16
*** tesseract has joined #openstack-nova07:17
*** edmondsw has joined #openstack-nova07:21
*** salv-orlando has joined #openstack-nova07:23
*** edmondsw has quit IRC07:25
*** zhurong has joined #openstack-nova07:28
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove unnecessary code encoding specification  https://review.openstack.org/55790307:29
*** _ix has joined #openstack-nova07:29
*** namnh_ has joined #openstack-nova07:32
*** Rambo has quit IRC07:33
*** tetsuro has quit IRC07:33
*** namnh has quit IRC07:35
*** mvk has quit IRC07:36
*** namnh has joined #openstack-nova07:36
*** takashin has left #openstack-nova07:37
*** namnh_ has quit IRC07:37
*** mvk has joined #openstack-nova07:41
*** elmaciej has quit IRC07:41
*** alexchadin has quit IRC07:41
*** Kumar__ has quit IRC07:47
openstackgerritsahid proposed openstack/nova master: z/VM Driver: Initial change set of z/VM driver  https://review.openstack.org/52338707:49
openstackgerritsahid proposed openstack/nova master: z/VM Driver: Spawn and destroy function of z/VM driver  https://review.openstack.org/52765807:49
openstackgerritsahid proposed openstack/nova master: z/VM Driver: Initial change set of z/VM driver  https://review.openstack.org/52338707:51
openstackgerritsahid proposed openstack/nova master: z/VM Driver: Spawn and destroy function of z/VM driver  https://review.openstack.org/52765807:51
*** tuanla____ has quit IRC07:52
*** tuanla____ has joined #openstack-nova07:52
*** sree has joined #openstack-nova07:56
*** AlexeyAbashkin has joined #openstack-nova07:59
*** Zames has joined #openstack-nova07:59
*** Zames has quit IRC08:02
openstackgerritjichenjc proposed openstack/nova master: WIP: remove ec2 in service and cmd  https://review.openstack.org/55677808:10
openstackgerritjichenjc proposed openstack/nova master: WIP: remove Ec2 object  https://review.openstack.org/55715008:10
openstackgerritjichenjc proposed openstack/nova master: WIP: remove db ec2  https://review.openstack.org/55757208:10
*** avolkov has joined #openstack-nova08:11
*** mvk has quit IRC08:13
*** hoangcx has quit IRC08:14
*** namnh has quit IRC08:14
*** jichen has joined #openstack-nova08:14
*** namnh has joined #openstack-nova08:15
*** hoangcx has joined #openstack-nova08:15
*** bhujay has quit IRC08:16
*** mvk has joined #openstack-nova08:17
openstackgerritArvind Nadendla proposed openstack/nova master: Update ImageMetaProp object to expose traits  https://review.openstack.org/55779508:21
*** Tom-Tom_ has joined #openstack-nova08:25
*** Tom-Tom has quit IRC08:27
jianghuaw_bauzas, hi08:32
bauzashi08:32
jianghuaw_Could you help to have a look at this patch to define traits for maximum display heads?08:32
jianghuaw_https://review.openstack.org/#/c/553277/08:32
jianghuaw_I will start to work on populating traits to resource providers for Xen.08:33
jichenhi sahid: thanks for the review and upload , regarding this comment <You forgot to remove this.> , actually it's used , so the patch https://review.openstack.org/#/c/523387 should be ok now  (I think your -1 is on this comment)08:36
Kevin_Zhenggibi, Hi, is there still a BP to add more versioned notifications?like for instance update etc.08:37
sahidjichen: are you refering get_conn()?08:38
jichensahid: yes, that's I am talking about08:38
*** bhujay has joined #openstack-nova08:39
sahidi see, but no no we should not use it08:39
jichensahid: ok, I can modify it08:39
jichenthat's the only reason for -1, right?08:39
bauzasoh shit, forgot sahid's spec review :(08:39
bauzassahid: I'll look at your spec today :)08:40
bauzasjianghuaw_: sure, I'll try08:40
sahidyes, basically have self._reqh = ConnetorRequestHanlder(..)08:40
jianghuaw_bauzas, Thanks.08:40
sahidjichen: ^ makes sense?08:40
*** xinliang has quit IRC08:40
sahidalso please check the UT, I did not have updated them08:40
jichensahid: I will run UT locally and upload another patch, thanks a lot!08:41
openstackgerritMerged openstack/nova master: remove a comment about ec2  https://review.openstack.org/55561508:41
sahidjichen: baiscally i don't have strong opinion, you can passan instane of ConnectorRequestHandler to Hypervisor08:41
sahidor make Hypeervisor to create it08:42
*** namnh_ has joined #openstack-nova08:42
jichenyes, I can do that,  should not be a big issue :)08:42
*** namnh has quit IRC08:42
sahidjichen: did you see the comments on the next patch?08:42
sahidbauzas: ok no worries08:43
*** vivsoni_ has joined #openstack-nova08:43
jichenyes, I will figure it out next week as have some private things to handle and have to leave in 30 min , really appreciate your help~08:43
bauzassahid: the spec is still under review, right?08:43
*** vivsoni has quit IRC08:43
sahidjichen: no problem, thanks for your patience :)08:43
sahidbauzas: yes, jaypipes +2ed it08:44
jichensahid: thank you and have a nice weekend08:44
sahidjichen: you too08:44
*** hshiina has quit IRC08:46
*** moshele has joined #openstack-nova08:48
*** xinliang has joined #openstack-nova08:53
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: Initial change set of z/VM driver  https://review.openstack.org/52338708:56
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: Spawn and destroy function of z/VM driver  https://review.openstack.org/52765808:56
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: add snapshot function  https://review.openstack.org/53424008:56
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: add power actions  https://review.openstack.org/54334008:56
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: add get console output  https://review.openstack.org/54334408:56
*** voelzmo has joined #openstack-nova08:56
*** voelzmo has quit IRC08:57
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P): Add API to support vgpu resource provider create  https://review.openstack.org/52031308:59
*** jichen has quit IRC09:01
*** edmondsw has joined #openstack-nova09:10
*** xinliang has quit IRC09:11
openstackgerritJianghua Wang proposed openstack/nova-specs master: Update the vGPU spec  https://review.openstack.org/55791209:12
bauzasheh, just saw that only a very few countries work today, including France :)09:12
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P):Get vgpu info from `allocations`  https://review.openstack.org/52171709:13
*** edmondsw has quit IRC09:14
bauzasjianghuaw_: +2d https://review.openstack.org/#/c/557912/109:14
bauzasgood point09:14
bauzaswe agreed on using traits for display heads, and not being consumable resourcesd09:14
jianghuaw_bauzas, cool. Thanks:-)09:15
bauzasjianghuaw_: that's not in a series, right?09:15
bauzaseven if in the same topic09:15
jianghuaw_not in a series.09:15
bauzasokay09:15
bauzasI just want to have that merged sooner than later09:15
jianghuaw_++09:16
*** yikun_jiang is now known as yikun09:19
*** roedie has quit IRC09:21
*** xinliang has joined #openstack-nova09:23
*** esberglu has joined #openstack-nova09:24
*** namnh has joined #openstack-nova09:27
*** esberglu has quit IRC09:29
*** namnh_ has quit IRC09:29
*** yingjun has quit IRC09:32
*** bhujay has quit IRC09:36
*** Roamer` has quit IRC09:41
*** Roamer` has joined #openstack-nova09:41
*** moshele has quit IRC09:45
*** sree has quit IRC09:56
*** sree has joined #openstack-nova09:57
*** voelzmo has joined #openstack-nova09:58
*** sdague has joined #openstack-nova10:01
*** voelzmo has quit IRC10:04
*** tuanla____ has quit IRC10:04
*** voelzmo has joined #openstack-nova10:04
*** tuanla____ has joined #openstack-nova10:05
jianghuaw_bauzas, I will be in vacation in the whole next week. If there is anything need talk relative to XenServer, please involve naichuans or bobball.10:07
*** cdent has joined #openstack-nova10:07
*** yingjun has joined #openstack-nova10:09
*** namnh has quit IRC10:10
*** vivsoni_ has quit IRC10:11
*** vivsoni has joined #openstack-nova10:11
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add microversion to support extra_specs in flavor API.  https://review.openstack.org/55415910:11
*** Tom-Tom_ has quit IRC10:12
*** Tom-Tom has joined #openstack-nova10:12
*** hoangcx has quit IRC10:15
*** hoangcx has joined #openstack-nova10:16
*** Tom-Tom has quit IRC10:17
*** Tom-Tom has joined #openstack-nova10:17
*** tuanla____ has quit IRC10:21
openstackgerritChris Dent proposed openstack/nova master: Optional separate database for placement API  https://review.openstack.org/36276610:21
openstackgerritChris Dent proposed openstack/nova master: Isolate placement database config  https://review.openstack.org/54143510:21
openstackgerritChris Dent proposed openstack/nova master: WIP: Ensure that os-traits sync is attempted only at start of process  https://review.openstack.org/55385710:21
*** jfding has joined #openstack-nova10:22
*** Tom-Tom has quit IRC10:22
*** hoangcx has quit IRC10:23
*** tiendc has quit IRC10:23
*** liverpooler has joined #openstack-nova10:24
openstackgerritClaudiu Belu proposed openstack/nova master: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077510:29
*** zhurong has quit IRC10:30
*** AlexeyAbashkin has quit IRC10:30
openstackgerritClaudiu Belu proposed openstack/nova master: WIP: replace spec with autospec  https://review.openstack.org/55729910:30
openstackgerritChris Dent proposed openstack/nova master: [placement] Add to contributor docs about handler testing  https://review.openstack.org/55735510:32
*** armaan has quit IRC10:34
*** armaan has joined #openstack-nova10:35
*** _ix has quit IRC10:37
*** AlexeyAbashkin has joined #openstack-nova10:43
*** yingjun has quit IRC10:49
openstackgerritClaudiu Belu proposed openstack/nova master: hyper-v: autospec classes before they are instantiated  https://review.openstack.org/34221110:52
*** sapd_ has quit IRC10:52
*** sapd_ has joined #openstack-nova10:53
*** andreas_s has joined #openstack-nova10:55
*** andreas_s has quit IRC11:00
dimshey cdent, bauzas : is this the only method where we sanitize a end-user provider name to a host name? http://git.openstack.org/cgit/openstack/nova/tree/nova/utils.py#n54311:02
dimscdent : bauzas : has it changed a lot over time?11:03
*** vivsoni_ has joined #openstack-nova11:04
*** vivsoni has quit IRC11:04
cdentdims: sorry, I don't know much about that file nor how/where it is used. Looks like that method last changed in 201511:04
dimslooks like no one has touched it for at least 2 years ... https://github.com/openstack/nova/blame/master/nova/utils.py11:04
dimsright11:04
dimsgood thing!11:04
dimsfor context, am looking at https://github.com/kubernetes/kubernetes/pull/61890#issuecomment-37728218211:04
*** liverpooler has quit IRC11:05
cdentis that instance hostnames?11:07
cdentbecause there's no uniqueness guarantee on those11:07
*** yingjun has joined #openstack-nova11:08
*** moshele has joined #openstack-nova11:12
openstackgerritChris Dent proposed openstack/nova master: [placement] Filter resource providers by forbidden traits in db  https://review.openstack.org/55647211:16
openstackgerritChris Dent proposed openstack/nova master: [placement] Filter allocation candidates by forbidden traits in db  https://review.openstack.org/55666011:16
openstackgerritChris Dent proposed openstack/nova master: [placement] Parse forbidden traits in query strings  https://review.openstack.org/55681911:16
openstackgerritChris Dent proposed openstack/nova master: [placement] Support forbidden traits in API  https://review.openstack.org/55682011:16
dimscdent : y just looking for possibilities11:16
* cdent nods11:16
dimscdent : oops - found a bug under python3 - see output at bottom of http://paste.openstack.org/show/718009/11:16
dimsextra ü11:17
dimsbut that's a digression, basically i am looking for is "given a sanitized host name, is there a way for me to query nova api to get the real vm (or list of vms since no guarantee)"11:18
* cdent doesn't do nova11:19
*** moshele has quit IRC11:20
cdentI certainy hope there's a way11:20
dimsack thanks. will look deeper :)11:21
cdentIf we assume that hostname and instance name are the same thing, listing servers can be filtered by name: https://developer.openstack.org/api-ref/compute/#list-servers (with regex too apparently)11:22
cdentbut whether that corresponds to this sanitized thing, dunno dims11:23
* cdent is very low on coffee today11:23
*** sree has quit IRC11:23
dimsi have a feeling we don't save that sanitized host name anywhere ... mriedem would know, will bug him11:24
cdentit appears like the santiization is done during server create and applies to the eventual hostname on the instance objects11:25
cdent(I'm in nova/compute/api.py )11:26
*** voelzmo has quit IRC11:26
openstackgerritBhagyashri Shewale proposed openstack/nova-specs master: Disallow rotation parameter 0 for 'createBackup' API  https://review.openstack.org/51182511:27
* cdent locates food and coffee11:27
*** cdent has quit IRC11:29
*** nicolasbock has joined #openstack-nova11:31
*** sahid has quit IRC11:33
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: Allow to specify granular CPU feature flags  https://review.openstack.org/53438411:35
*** cdent has joined #openstack-nova11:43
openstackgerritMerged openstack/nova master: libvirt: slow live-migration to ensure network is ready  https://review.openstack.org/49745711:44
*** yingjun has quit IRC11:47
*** yassine has quit IRC11:49
*** yassine has joined #openstack-nova11:54
*** kholkina has quit IRC12:03
*** kholkina has joined #openstack-nova12:04
*** kholkina has quit IRC12:06
*** kholkina has joined #openstack-nova12:07
*** alexchadin has joined #openstack-nova12:10
*** sahid has joined #openstack-nova12:18
*** odyssey4me has quit IRC12:19
*** odyssey4me has joined #openstack-nova12:19
*** markvoelker has quit IRC12:20
*** markvoelker has joined #openstack-nova12:20
*** markvoelker has quit IRC12:23
*** markvoelker has joined #openstack-nova12:25
bhagyashrisjaypipes: Hi,12:28
*** markvoelker has quit IRC12:29
*** gongysh has joined #openstack-nova12:33
*** gongysh has quit IRC12:33
*** markvoelker has joined #openstack-nova12:34
*** diga has joined #openstack-nova12:36
*** voelzmo has joined #openstack-nova12:37
*** gongysh has joined #openstack-nova12:37
*** edmondsw has joined #openstack-nova12:41
*** liusheng has quit IRC12:44
*** liusheng has joined #openstack-nova12:44
*** voelzmo has quit IRC12:47
openstackgerritClaudiu Belu proposed openstack/nova master: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077512:50
openstackgerritClaudiu Belu proposed openstack/nova master: WIP: replace spec with autospec  https://review.openstack.org/55729912:51
openstackgerritClaudiu Belu proposed openstack/nova master: hyper-v: autospec classes before they are instantiated  https://review.openstack.org/34221112:52
bauzasdims: sorry, was afk for sports thingy12:55
*** lyan has joined #openstack-nova12:55
bauzashas cdent answered your question ?12:55
*** lyan is now known as Guest1951412:55
*** salv-orlando has quit IRC12:56
*** salv-orlando has joined #openstack-nova12:57
*** salv-orlando has quit IRC12:59
*** salv-orlando has joined #openstack-nova12:59
*** cdent has quit IRC13:01
dimsbauzas : yes, he nudged me forward. so i am at the point where i have an instance name =13:05
dims"Ãœmlauts rule!"13:05
jaypipesbhagyashris: good morning13:05
*** jaypipes is now known as leakypipes13:05
*** mriedem has joined #openstack-nova13:05
dimscurl http://169.254.169.254/latest/meta-data/hostname gives me "mlauts-rule.novalocal"13:06
bhagyashrisjaypipes: Good morning :) for it's evening ;)13:06
dimsbauzas : and the "openstack server show" does not have the sanitized host name "mlauts-rule.novalocal"13:06
dimsbauzas : do we store that somewhere?13:06
bhagyashrisjaypipes: I want to discuss regarding the shared resource provider and nested resource provider thing.13:06
*** cdent has joined #openstack-nova13:07
* dims waves to leakypipes 13:07
bhagyashrisjaypipes: I saw the blueprint #link: https://blueprints.launchpad.net/nova/+spec/nested-resource-provider and that is marked as implemented.13:07
bauzasdims: are you talking of a i18n'd hostname ?13:07
bauzasfor the guest ?13:07
dimsyes13:07
bauzasleakypipes: isn't Good Friday for you?13:07
dimsi believe we use sanitized_hostname in utils.py13:07
bauzasand dims as well ?13:07
dimsbauzas : yep :)13:08
bauzasso AFAIR, there are two different things13:08
leakypipesdims: morning :)13:08
bauzasthe display name and the instance hostname13:08
bauzasdims: leakypipes: isn't that day off for most of the folks in the US ?13:08
leakypipesbauzas: is it? not sure... I don't religion13:08
bhagyashrisjaypipes: I have tested one scenario which is mentioned in #link: http://paste.openstack.org/show/718016/  and observed that the shared resource provider DISK_GB is not consumed when I boot the instance. (Ideally it should take DISK_GB from shared resource provider and VCPU and MEMORY_MB from compute node resource provider).13:08
openstackgerritMatt Riedemann proposed openstack/nova stable/queens: libvirt: slow live-migration to ensure network is ready  https://review.openstack.org/55793013:09
bauzasor, maybe just a company holiday13:09
bauzassnaaaaaap13:09
bauzasnow I see mriedem too13:09
bhagyashrisjaypipes: I have followed the steps which are mentioned in provided link if I am wrong at any place please correct me.13:09
bauzasme who was thinking the nova channel be quiet today afternoon :p13:09
mriedemis this the one day of the year that red hat people in the US are on mandatory vacation but france isn't?13:09
bauzasleakypipes: and I don't do religion either, but in my country, our religious holidays are off13:10
mriedemit's black friday right?13:10
bauzasso maybe it's the source of my confusion13:10
leakypipesbhagyashris: k, I will look into it later, ok? I need to get some coffee and food (sorry)13:10
mriedemoh no...13:10
dimsbauzas : y, i can use the metadata url to get the hostname and i want to find the correct vm corresponding to that hostname13:10
mriedemheh13:10
mriedemgood friday?13:10
bauzasmriedem: yeah, indeed, most of the Red Hat world is shutdown except France13:10
mriedemsomething something christian friday13:10
efriedoh yeah...13:10
*** efried is now known as fried_bunny13:10
bauzastake it as an evidence that France is ruling the company13:10
bhagyashrisleakypipes: ok13:11
bauzasdims: I see your point13:11
dimsbauzas : kubernetes cloud provider scenario13:11
bauzasmostly for cloud-init reasons where you wanna set the correct hostname on the guest itself13:11
bauzasgotcha13:12
openstackgerritsahid proposed openstack/nova stable/queens: libvirt: slow live-migration to ensure network is ready  https://review.openstack.org/55793013:13
kashyapalex_xu_: mriedem: When you get a moment, I think, this is ready: https://review.openstack.org/#/c/534384/2113:13
bauzasdims: so, back to your concern13:13
bauzasdims: you wanna make sure that we sanitize hostnames ?13:14
kashyapBut it's a holiday for Matt, so feel free to disregard it until you get back13:14
*** naichuans has quit IRC13:14
dimsbauzas : we are doing that already, so given a sanitized hostname i can't find the vm by instance name13:15
sahidmriedem: hum.. you have already cherry-picked https://review.openstack.org/#/c/497457/13:15
bauzasdims: ah I see13:15
mriedemsahid: not supposed to go to stable?13:15
sahidi did not noticed that, and cherry-picked it again13:15
dimsbauzas : "Ãœmlauts rule!"  becomes "mlauts-rule.novalocal"13:15
sahidmriedem: it is13:15
mriedemsahid: oh, that's fine13:15
sahidok13:15
mriedemkashyap: at this point i think i want to wait for dan to review that again13:15
kashyapSure, I'm not hurrying13:16
kashyapBut it is still important for upstream backports; just that the sooner we ship this, the better it is for users.13:16
*** edleafe is now known as figleaf13:17
kashyapIf it could wait this long; it can wait until dansmith gets back on Tue or whenever.13:17
mriedembauzas: can you go through these other pike backports that have a +2? https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:stable/pike+label:Code-Review=2 melwitt wants to do a release13:17
bauzasmriedem: it's doable for a Friday task13:17
bauzasdims: okay, and then per that hostname, you'd like to find the instance ?13:18
dimsbauzas : yep13:18
bauzaswell13:18
bauzasif that's sanitized, how nova could find up which VM it is ?13:18
* bauzas looks at the API 13:19
dimsbauzas : unless we are storing the sanitized host name somewhere and i can search on it using the nova API13:19
bauzasdims: I just want to make I correctly understand your wishes13:19
bauzasdims: you're looking up the hostname from the guest, right?13:20
bauzasdims: then, you try to find which instance it is based on that key ?13:20
bauzasbecause the guest gets the sanitized hostanem13:20
sahidlyarwood: if you have a moment to ack that one https://review.openstack.org/#/c/550080/13:20
dimsyep bauzas13:21
*** jfding has quit IRC13:21
bauzasdims: then I need to look at the metadata API13:21
bauzasbecause I wouldn't recommend finding our siblings based on a sanitized key13:22
dimsbauzas : yep thanks!13:23
openstackgerritClaudiu Belu proposed openstack/nova-specs master: Adds spec for instance live resize  https://review.openstack.org/14121913:23
*** diga has quit IRC13:23
bauzasdims: which exact metadata key are you using for searching your instance ?13:24
bauzasI guess the 'hostname' one13:25
dimsbauzas : that and local-hostname and public-hostname are all sanitized13:26
bauzashttps://docs.openstack.org/nova/latest/user/config-drive.html#openstack-metadata-format13:26
dimsbauzas : am staring at output from "openstack server show" and the various metadata keys13:26
bauzasAFAIR, nova show <hostname> takes the display_name13:27
dimsbauzas : http://169.254.169.254//openstack/2012-08-10/meta_data.json shows the ("name": "\u00dcmlauts rule!")13:28
dimsbauzas : the ec2 metadata format does not have anything else i could use13:29
*** burt has joined #openstack-nova13:29
bauzasdims: what I don't know is which API resource is calling openstack server show13:29
bauzasbecause the only GET /servers/<server> takes an UUID AFAIK13:30
bauzashttps://developer.openstack.org/api-ref/compute/#show-server-details13:30
*** diga has joined #openstack-nova13:30
bauzasso I guess it's calling the list command https://developer.openstack.org/api-ref/compute/#list-servers13:30
bauzaswait, looking at the code13:31
*** dave-mccowan has joined #openstack-nova13:32
bauzashttps://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L43413:32
dimsbauzas : gotcha. thanks for the pointer, i will go look further and get back if i need something else13:33
bauzasdims: I can look at the OCS code13:34
bauzasOSC13:34
*** esberglu has joined #openstack-nova13:34
*** david-lyle has quit IRC13:34
dimsbauzas : no worries, i can do that13:35
cdentfried_bunny: if you're cruising through my stuff at the moment, hold off on the forbidden traits, I'm fixing the pep8 issue right now, should be fixed in mere moments13:35
fried_bunnycdent: Okay, was just commenting on that.  Bizarre one - did we just instate that rule or something?13:35
fried_bunnyI've never seen pep complain about redef of a var before.13:35
cdentI've had a few new things show up lately, so I'm guessing flake8 had an update recently13:36
fried_bunnymy IDE complains about it13:36
fried_bunnyMm.  And/or possibly we moved to using py3 for pep now?13:36
openstackgerritChris Dent proposed openstack/nova master: [placement] Filter resource providers by forbidden traits in db  https://review.openstack.org/55647213:36
openstackgerritChris Dent proposed openstack/nova master: [placement] Filter allocation candidates by forbidden traits in db  https://review.openstack.org/55666013:36
openstackgerritChris Dent proposed openstack/nova master: [placement] Parse forbidden traits in query strings  https://review.openstack.org/55681913:36
openstackgerritChris Dent proposed openstack/nova master: [placement] Support forbidden traits in API  https://review.openstack.org/55682013:36
cdentthere go13:36
bauzasdims: https://github.com/openstack/python-openstackclient/blob/master/openstackclient/compute/v2/server.py#L196413:37
*** dave-mccowan has quit IRC13:37
dimsbauzas : perfect! you have been very helpful13:38
bauzaslooks like it calls list13:38
*** jroll has quit IRC13:38
bauzasbut I could be wrong13:38
fried_bunnycdent: All done, looking clean.13:39
dimsbauzas : will run it in debug and find the urls it is hitting13:39
*** jroll has joined #openstack-nova13:39
bauzasdims: if that's calling the GET /servers directly for a list command, then look at the API doc https://developer.openstack.org/api-ref/compute/#list-servers13:39
bauzasdims: for 'hostname', it says " Filter the server list result by the host name of server. This parameter is only valid when specified by administrators. If non-admin users specify this parameter, it is ignored."13:39
bauzasdims: I guess you're keystone-admin'd13:40
bauzas?13:40
dimsbauzas : yep13:40
bauzask, wanted to make sure13:40
*** dave-mccowan has joined #openstack-nova13:40
bauzasbut then, it takes the real instance hostname, not the sanitized one13:40
bauzashence the 40413:40
bauzaswhat you could do is to query on the private IP13:41
dimsgood point13:41
*** pooja_jadhav has quit IRC13:42
bauzasdims: there is also a 'name' param that support regexes13:42
bauzasanyway, /me goes reviewing things now13:42
dimsthanks much bauzas !13:44
*** alexchadin has quit IRC13:47
*** moshele has joined #openstack-nova13:47
*** moshele has quit IRC13:49
*** mlavalle has joined #openstack-nova13:49
figleaffried_bunny: you win the good casual friday nick contest!13:49
fried_bunnyfigleaf: Thanks.  It was a tossup between that and good_fried_ay, but I wanted people to still be able to find me.13:50
fried_bunnyfigleaf: Also this one expresses subtle disdain for the various institutions that make this day different from any other.13:50
bauzasoh shit13:51
* fried_bunny throws colored egg at bauwzer13:51
bauzastss tss13:51
*** bauzas is now known as bauwser13:51
figleaffried_bunny: true, true. It's the imagery that I like13:51
cdentthe french police are coming to arrest bauwser for working on an official holiday13:51
bauwserwith a 's' please13:51
figleaffried_bunny: moreso than a figleaf13:51
bauwsercdent: it"s not a holiday here13:51
bauwserso I'm sane13:51
* cdent is not sane13:52
fried_bunnyzorry bauwzer13:52
bauwserYES, NOT ALL CELEBRATIONS ARE DAY OFF IN FRANCE13:52
* dims feels good to hangout with his peeps13:52
fried_bunnyOnly French ones.13:52
bauwserwell, actually, it's untrue13:52
bauwserpart of our country is off today13:52
cdentI got so much crap from a german colleague yesterday because I was unaware that today was commonly a holiday in europe13:52
cdentpart? that's bound to be confusing13:52
bauwseronly the Alsace region ;)13:53
bauwserwe're a very centralized country except for Alsace :)13:53
cdentthat explains it: this person is in the german part near there13:53
*** READ10 has joined #openstack-nova13:53
bauwserwell, I live 100 kms away from Swiss13:54
bauwsershould I take that day off then ?13:54
dimsbauwser : ask long ask you can ski :)13:54
bauwserafter all, it's near13:54
*** jogo has quit IRC13:54
bauwserdims: planned for Monday \o/13:54
bauwserbecause Monday will be off for me13:54
dimshaha13:54
bauwserlast chances for a decent skiing session13:55
bauwserfried_bunny: https://review.openstack.org/#/c/557065/ so I guess you're asking me to use a specific YAML file just for that ? :(13:58
bauwserfried_bunny: have you seen my counter proposal ?13:58
bauwserhonestly, given the lack of consensus around a conf option (which I didn't expected at the beginning), I feel I'm about to make the pre-creation of a mediated device a prerequisite for supporting multiple types13:59
bauwserif config management systems feel like it's difficult, then we could spec up again on a common format14:00
fried_bunnybauwser: Yes, a YAML file which, for now, will contain *some* kind of specification from which you can glean which PCI addresses correspond to allowable devices (so, a whitelist) and which type (eventually types) they support.  This will expand as needed to incorporate anything libvirt-device-related.14:00
bauwserfried_bunny: out of oslo.config then14:01
fried_bunnybauwser: Absolutely.14:01
fried_bunnyAs I stated, oslo_config for JSON/python dicts is ick.14:01
fried_bunnybauwser: So if by counter-proposal, you mean the other oslo_config-based JSON format you suggested - yes, I saw it, and it doesn't change my mind :)14:01
bauwserfried_bunny: okay, let's wait for a couple of other folks to chime in on the spec (and in particular, leave dansmith voice on your counter proposal), and see what we agree on14:02
fried_bunnybauwser: Sounds like a plan.14:02
bauwserif we can't settle down on a consensus around a format, I'll abandon my spec and make pre-creations of mediated devices a necessary prerequisite for multiple types support14:02
bauwserthat would suck for many operators, but we could engage a conversation about the best formatting for them at the Summit14:03
* bauwser got accepted for YVR btw. \o/14:03
*** yangyapeng has quit IRC14:03
fried_bunnybauwser: Part of my dislike for doing this in conf options is based on my exerience trying to understand pci_passthrough_whitelist.  It took me weeks of trial and error to figure out the punctuation/formatting to make it work.  And I never got to a point where I actually *understood* what I was doing  - just to a point where I had something that worked for my use case.14:04
fried_bunnyI'll grant you that's an extreme case... but what you're proposing is going to get to that point of complexity very quickly anyway.14:04
bauwserfried_bunny: I agree14:04
fried_bunnybauwser: We did begin discussions of this YAML thing in Denver, so it's not completely out of left field.14:05
bauwseryou know, proposing that spec with that proposal is like when you have a terrible kid but you still love it14:05
*** danpawlik has quit IRC14:05
bauwserbecause it's your kid14:05
fried_bunnyI know *exactly* what you mean.14:06
bauwserso I'm not like super excited by any solution to a problem that is unrelated to nova14:06
leakypipesfried_bunny: a YAML file eh? sounds suspiciously like my provider-config-file proposal.14:06
bauwserleakypipes: context is https://review.openstack.org/#/c/557065/14:06
bauwserleakypipes: I mentioned your spec :)14:06
fried_bunnyleakypipes: Well, IIRC you were the one who said YAML in Denver for device spec files.  So I call no coincidence.14:07
bauwserthat's also in the gerrit comments, with appropriate credits ;)14:07
fried_bunnyleakypipes: I'm glad to give you the affirmation that IMO it's an excellent idea.14:08
bauwserfried_bunny: unrelated, using unregistered IRC nicks is dangerous :p14:08
fried_bunnybauwser: Like actually dangerous?  Cause the only one I have registered is efried...14:08
*** bauwser is now known as fried_rice14:08
*** fried_rice is now known as bauwser14:08
fried_bunnyOh, *that* kind of dangerous?  Meh, I can live with that.14:08
bauwserok, so fried_rice is registered, good.14:08
fried_bunnyoh, is it, cool.14:09
fried_bunnyIt might not be registered to me, actually.14:09
fried_bunnyshrug14:09
fried_bunnyAnyone pretending to be me... deserves what they get :D14:09
bauwserindeed, it's not registered to your main account14:10
*** READ10 has quit IRC14:10
*** andreas_s has joined #openstack-nova14:11
bauwserbut fried_chicken isn't ;)14:11
*** kholkina has quit IRC14:11
bauwseroops, I meant fried_bunny14:11
*** yingjun has joined #openstack-nova14:11
fried_bunnybauwser: fried_bunny is just for today.  Maybe through Monday (that's still an Easter thing, right?)14:12
bauwserEaster for us is on Monday14:12
bauwserGood Friday has nothing to do with egs14:13
bauwsereggs14:13
*** andreas_s has quit IRC14:16
fried_bunnyclaudiub: in case you're still around, just posted some comments on https://review.openstack.org/#/c/141219/ which should be easy to rev.14:18
fried_bunnybauwser: Oh, you see, in the US, the entire month preceding Easter Monday gets completely overrun with bunnies and eggs and garish plastic grass and hideous pastel colors.  It's how we capitalist pigs roll.14:20
bauwserhaha14:22
*** ediardo has quit IRC14:24
leakypipesbhagyashris: you do not want to specify parent_provider_uuid for your compute node.14:25
leakypipesbhagyashris: the shared storage pool is not the parent of the compute node.14:26
leakypipesbhagyashris: the relationship between the shared storage pool and the compute node is via the aggregate, not via a parent-child relationship.14:26
leakypipesbhagyashris: I'm not sure that we support "re-parenting", so you may need to delete the resource provider records in your placement DB entirely and start over.14:27
bhagyashrisleakypipes: ok. through aggregate also i have tried and tested but still it's not taking DISK_GB from shared resource provider14:27
*** suresh12 has joined #openstack-nova14:27
leakypipesbhagyashris: alternately, you could just execute an UPDATE statement directly in the placement DB to fix the provider records up.14:27
leakypipesbhagyashris: UPDATE resource_providers SET parent_provider_id = NULL, root_provider_id = $INTERNAL_ID_OF_COMPUTE_NODE WHERE id = $INTERNAL_ID_OF_COMPUTE_NODE;14:28
leakypipesbhagyashris: allocations definitely do not yet work when nested providers are present. there may be a bug regarding sharing resource providers, but let's eliminate the nested scenario for starters, ok?14:29
*** jogo has joined #openstack-nova14:30
bhagyashrisleakypipes: you mean to say I will need to update the compute node resource provider14:33
*** yangyapeng has joined #openstack-nova14:33
leakypipesbhagyashris: correct.14:34
*** salv-orlando has quit IRC14:34
*** salv-orlando has joined #openstack-nova14:35
bhagyashrisleakypipes: and on current master the shared resource provider provider is not implemented completely i mean to say that is not taken into account when user rquest to boot the instance14:35
leakypipesbhagyashris: yes, it should be.14:36
leakypipesbhagyashris: or at least, if the *only* provider of DISK_GB is the shared storage pool (and the compute node doesn't itself have local disk), then everything should work...14:36
leakypipesbhagyashris: there is currently a bug where if both the local compute node and a shared pool have DISK_GB resources, that we will always pick the local compute node.14:37
*** weshay is now known as weshay_mod14:37
leakypipesbhagyashris: tetsuro has been fixing that bug in this patch: https://review.openstack.org/#/c/533396/14:38
bhagyashrisleakypipes: aI have debug the code as well and observed that the when user request the boot server then only the compute node resource provider allocation_candidates are return so from that it seems like the shared resource provider is not taken into account while scheduling.14:38
*** suresh12 has quit IRC14:39
*** salv-orlando has quit IRC14:39
*** suresh12 has joined #openstack-nova14:40
leakypipesbhagyashris: when both the compute node and the shared pool have inventory of DISK_GB, right?14:40
leakypipesbhagyashris: and I'm saying that that is a known bug.14:40
leakypipesbhagyashris: being addressed in https://review.openstack.org/#/c/533396/14:40
bhagyashrisleakypipes: yes14:40
bhagyashrisleakypipes: ok. this patch will help me to success my test scenario :)14:41
*** sree has joined #openstack-nova14:41
*** germs has joined #openstack-nova14:42
*** germs has quit IRC14:42
*** germs has joined #openstack-nova14:42
leakypipesbhagyashris: would be awesome if you were able to apply that patch locally and see if that resolves your issues.14:42
leakypipesbhagyashris: :)14:42
claudiubfried_bunny: done, thanks. :)14:42
*** germs has quit IRC14:42
*** germs has joined #openstack-nova14:43
*** germs has quit IRC14:43
*** germs has joined #openstack-nova14:43
*** r-daneel has joined #openstack-nova14:43
leakypipesstephenfin, mriedem, dansmith, fried_bunny, melwitt: reviews on the three bottom patches of the patches here from tetsuro would be appreciated: https://review.openstack.org/#/c/533396/14:43
fried_bunnyleakypipes: ack14:43
leakypipesdanke14:44
leakypipesfried_bunny: 10-4 good bunny.14:44
fried_bunnyleakypipes: I'm +1 on the bottom one already FYI14:44
leakypipescool, thanks14:45
fried_bunnyclaudiub: have you posted the rev yet?14:45
claudiubamending14:45
bhagyashrisleakypipes: for testing i will not need to update any shared resource provider entry. I will just need to add all the resource provider under one aggregate and set the traits right?14:45
claudiubthere was an unclear question14:45
claudiubi hope i answered right. can you check?14:46
leakypipesbhagyashris: the traits are already set properly, AFAICT14:47
*** suresh12 has quit IRC14:48
leakypipesbhagyashris: the only thing you'll need to do is change the parent_provider_id and root_provider_id on the compute node resource provider record and then remove the inventory on the compute node for the DISK_GB resource class.14:48
cdentkashyap: stein, not solar, sadly14:48
leakypipescdent: sadly would have been a better name.14:49
cdenti wanted shellhaus14:49
cdentseemed so spot on14:49
leakypipesshellout...14:49
openstackgerritClaudiu Belu proposed openstack/nova-specs master: Adds spec for instance live resize  https://review.openstack.org/14121914:50
cdentleakypipes, fried_bunny, figleaf, bauwser : I've just published the latest placement update. It's freakin' huge man. We're probably going to need to do some rationalization.14:51
bhagyashrisleakypipes: ok just confirming: the parent_provider_id will be nulland  root_provider_id will be  the shared resource provider right?14:53
leakypipescdent: ack14:53
leakypipesbhagyashris: no. root_provider_id should be the same value as id column (for the compute node resource provider).14:54
leakypipesbhagyashris: and parent_provider_id should be NULL, yes14:54
*** READ10 has joined #openstack-nova14:55
figleafcdent: I'll add that as a discussion item for Monday's scheduler meeting14:56
figleafOr are most people off on Monday? (I'm not)14:56
cdentrad14:57
cdentoh, yeah. I'm supposed to be14:57
cdentbut meh14:57
*** tesseract has quit IRC14:57
bhagyashrisleakypipes: ok thank you for your inputs I will test this by applying this patch but as i am working in IST time so it's almost End of the day so i will check and will let you know once testing done14:57
bhagyashrisleakypipes: thank you :)14:57
leakypipesbhagyashris: no problem at all. thanks much for your testing help!14:57
*** tesseract has joined #openstack-nova14:57
*** yingjun has quit IRC15:00
*** david-lyle has joined #openstack-nova15:00
*** r-daneel_ has joined #openstack-nova15:02
*** yingjun has joined #openstack-nova15:02
*** r-daneel has quit IRC15:04
*** r-daneel_ is now known as r-daneel15:04
mriedemleakypipes: musing in https://review.openstack.org/#/c/553122/15:06
mriedemwill hold for fried_bunny15:06
*** sree has quit IRC15:09
leakypipesfried_bunny: did you catch melwitt's question to you on https://review.openstack.org/#/c/533821/?15:11
*** claudiub|2 has joined #openstack-nova15:15
*** claudiub has quit IRC15:17
leakypipesmriedem: left some notes for you on that15:19
*** salv-orlando has joined #openstack-nova15:22
*** david-lyle has quit IRC15:24
*** tbachman has joined #openstack-nova15:25
*** sree has joined #openstack-nova15:26
*** alexchadin has joined #openstack-nova15:27
*** imacdonn has quit IRC15:27
*** imacdonn has joined #openstack-nova15:27
*** tbachman has quit IRC15:28
fried_bunnysorry guys, was afk for a few.  Catching up.15:30
fried_bunnymriedem: Ack15:31
*** suresh12 has joined #openstack-nova15:31
fried_bunnyleakypipes: Yes, was planning to dig into that today.15:31
leakypipesfried_bunny: cool, np. just checking to see if you had15:33
fried_bunnyyuh, thanks.15:33
leakypipescdent: understatement of the year in your placement update: "There's also been a _lot_ of discussion around NUMA handling"15:34
fried_bunnyleakypipes: I've slowed myself way down by picking up lots of extra reviews - probably too many, need to scale back some.15:34
leakypipesfried_bunny: learn, you will, young paduan.15:34
*** sree has quit IRC15:37
openstackgerritMatt Riedemann proposed openstack/nova master: Add "bind_ports_to_host" neutron API method  https://review.openstack.org/52360415:37
openstackgerritMatt Riedemann proposed openstack/nova master: Add VIFMigrateData object for live migration  https://review.openstack.org/51542315:37
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: libvirt: use dest host vif migrate details for live migration  https://review.openstack.org/55137015:37
openstackgerritMatt Riedemann proposed openstack/nova master: Add "delete_port_binding" network API method  https://review.openstack.org/55217015:37
openstackgerritMatt Riedemann proposed openstack/nova master: Add "activate_port_binding" neutron API method  https://review.openstack.org/55594715:37
openstackgerritMatt Riedemann proposed openstack/nova master: Delete port bindings in setup_networks_on_host if teardown=True  https://review.openstack.org/55633315:37
openstackgerritMatt Riedemann proposed openstack/nova master: Implement migrate_instance_start method for neutron  https://review.openstack.org/55633415:37
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: compute: use port binding extended API during live migration  https://review.openstack.org/55137115:37
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Port binding based on events during live migration  https://review.openstack.org/43487015:37
openstackgerritMatt Riedemann proposed openstack/nova master: conductor: use port binding extended API in during live migrate  https://review.openstack.org/52253715:37
*** alexchadin has quit IRC15:38
*** suresh12 has quit IRC15:38
*** itlinux has joined #openstack-nova15:39
openstackgerritMerged openstack/nova-specs master: Update the vGPU spec  https://review.openstack.org/55791215:39
*** sahid has quit IRC15:41
*** damien_r has quit IRC15:43
*** felipemonteiro__ has joined #openstack-nova15:43
*** _ix has joined #openstack-nova15:44
*** diga has quit IRC15:45
*** gongysh has quit IRC15:47
*** suresh12 has joined #openstack-nova15:48
*** suresh12 has quit IRC15:53
*** suresh12 has joined #openstack-nova15:54
*** yangyapeng has quit IRC15:56
*** zhaochao has quit IRC15:58
*** suresh12 has quit IRC15:58
*** vladikr has joined #openstack-nova16:01
*** tesseract has quit IRC16:02
*** itlinux has quit IRC16:03
*** yamamoto has quit IRC16:04
*** yamamoto has joined #openstack-nova16:04
*** david-lyle has joined #openstack-nova16:05
*** david-lyle has quit IRC16:08
*** avolkov has quit IRC16:09
*** _ix_ has joined #openstack-nova16:10
*** vladikr has quit IRC16:12
*** _ix has quit IRC16:13
*** yassine has quit IRC16:14
*** yingjun has quit IRC16:14
openstackgerritArvind Nadendla proposed openstack/nova master: Update ImageMetaProp object to expose traits  https://review.openstack.org/55779516:15
openstackgerritEd Leafe proposed openstack/nova master: Add the 'generation' column to the consumers table  https://review.openstack.org/55795816:16
openstackgerritEd Leafe proposed openstack/nova master: Add handlers for consumer_generation  https://review.openstack.org/55795916:16
figleafleakypipes: fried_bunny: cdent: ^^ First crack at consumer generations. More to come16:17
fried_bunnyfigleaf: ack16:17
leakypipesfigleaf: nice, thank you sir.16:17
cdentfigleaf: I'm going to ignore that until next week please and thank you16:18
fried_bunnyclaudiub|2: Still around?16:19
*** damien_r has joined #openstack-nova16:21
figleafcdent: ignore away16:23
figleaf:)16:23
*** yingjun has joined #openstack-nova16:23
*** suresh12 has joined #openstack-nova16:25
claudiub|2fried_bunny:  i am now16:26
cdentThat's it for me today. Happy Easter if that's your thing, happy weekend otherwise.16:28
claudiub|2the autospec stuff?16:28
claudiub|2i''l take a look16:28
*** cdent has quit IRC16:28
*** damien_r has quit IRC16:30
*** suresh12 has quit IRC16:30
*** AlexeyAbashkin has quit IRC16:31
*** sree has joined #openstack-nova16:36
*** alexchadin has joined #openstack-nova16:39
*** alexchadin has quit IRC16:40
*** sree has quit IRC16:41
*** yingjun has quit IRC16:46
openstackgerritEd Leafe proposed openstack/nova master: Add handlers for consumer_generation  https://review.openstack.org/55795916:48
*** tbachman has joined #openstack-nova16:55
fried_bunnyclaudiub|2: Thank you sir.16:56
fried_bunnyclaudiub|2: The failures are really weird.  The leading '<' is stripped from the mock repr in the KeyError.  Not sure if that's significant.16:57
openstackgerritRoman Dobosz proposed openstack/nova master: Added weight for aggregate soft (anti) affinity.  https://review.openstack.org/55676216:58
*** sree has joined #openstack-nova16:59
*** sree has quit IRC17:04
*** itlinux has joined #openstack-nova17:06
*** yamahata has joined #openstack-nova17:10
openstackgerritMerged openstack/nova stable/pike: Only attempt a rebuild claim for an evacuation to a new host  https://review.openstack.org/55055517:12
openstackgerritMerged openstack/nova master: Fix comments in get_all_with_shared()  https://review.openstack.org/53319517:12
openstackgerritMerged openstack/nova stable/pike: Add --by-service to discover_hosts  https://review.openstack.org/55460317:13
openstackgerritMerged openstack/nova master: Add AggregateList.get_by_metadata() query method  https://review.openstack.org/54472817:13
fried_bunnyclaudiub|2, edmondsw: It's specifically this part that breaks us:17:16
fried_bunnyhttps://review.openstack.org/#/c/447505/44/nova/test.py17:16
fried_bunnyWhen I comment out *just* that fixture, we're fine.17:16
fried_bunnyWhich isn't surprising; that's the only part that could have possibly affected us OOT.17:16
fried_bunnySo - what IS that thing?17:16
claudiub|2you mean what is that fixture?17:20
fried_bunnyyeah17:20
claudiub|2it adds the autospec argument to mock.Mock and mock.MagicMock17:20
*** hemna_ has joined #openstack-nova17:20
claudiub|2which is even more strange, because I don't see how it could have affected this17:21
*** salv-orlando has quit IRC17:22
fried_bunnyclaudiub|2: Well, we're inheriting nova.test.TestCase, so that's how we're picking up the change.  That much is clear.17:22
claudiub|2since I don't see autospecs being used anywhere17:22
*** salv-orlando has joined #openstack-nova17:23
fried_bunnyclaudiub|2: By "it adds the autospec argument" do you mean that it just makes it available, not that it actually sets it to anything?17:23
claudiub|2yep17:24
claudiub|2if autospec is not specifically given, it is noop17:24
claudiub|2question, do you split by underscore somewhere?17:24
fried_bunnyoh, I'm sure we must17:25
claudiub|2oh17:25
claudiub|2that might be it17:25
claudiub|2yeah, I think I know what's happening17:25
fried_bunny...not seeing it though.17:25
fried_bunnyokay, do tell.  Cause I'm stumped.  Mystified.  Stupefied.17:25
*** salv-orlando has quit IRC17:27
claudiub|2so, you're using a lot of thing.uuid, or thing.name and so on. so, if that property is not set on the mock, something like this is printed: str(mock_thing.foo) -> <_AutospecMock name='mock.foo' id='139796718268752'>17:27
claudiub|2the mock class with autospec is called _AutospecMock17:28
claudiub|2... and since you're splitting the wrappers by _, it's split in 2 places17:28
claudiub|2because your wrappers are called wrapper_<_AutospecMock name=...>17:29
fried_bunnyclaudiub|2: What if I don't see any splits anywhere?17:29
fried_bunny...by underscore17:29
claudiub|2you sure? I think I saw one17:30
claudiub|2yeh17:30
claudiub|2there is17:30
claudiub|2pypowervm/utils/transaction.py L 74417:31
claudiub|2you're doing a rsplit17:31
claudiub|2ehm, why rsplit? and not lsplit?17:31
claudiub|2ehm, rsplit is just split. :))17:33
fried_bunnyoy vay, my search was broken.  I see it now.17:33
fried_bunnyclaudiub|2: I don't think so...17:33
fried_bunnyclaudiub|2:17:33
fried_bunnyIn [2]: 'one_two_three'.rsplit('_', 1)17:33
fried_bunnyOut[2]: ['one_two', 'three']17:33
fried_bunnyIn [3]: 'one_two_three'.split('_', 1)17:33
fried_bunnyOut[3]: ['one', 'two_three']17:33
openstackgerritMerged openstack/nova master: Add require_tenant_aggregate request filter  https://review.openstack.org/54500217:34
fried_bunnyclaudiub|2: It matters when limiting the split17:34
openstackgerritMerged openstack/nova master: Documentation for tenant isolation with placement  https://review.openstack.org/55749017:34
claudiub|2right, anyways, the thing is, the underscore matters apparently17:34
claudiub|2I renamed _AutospecMock to AutospecMock and it worked17:34
fried_bunnyclaudiub|2: And it's because IRL the label part can have underscores, and we want to preserve them.17:34
fried_bunnyclaudiub|2: ...and the UUID doesn't have underscores.  Unless it's a str(mock)ification, apparently :P17:35
claudiub|2indeed. :)17:36
claudiub|2well, ok, there are 2 solutions to the problem17:36
claudiub|2one is a bit of a PINTA, so I'll just submit the easier one, but it'll require a new oslotest release17:37
fried_bunnyclaudiub|2: The other one is for us to go set our UUIDs in our mocks?17:37
fried_bunnyrather than letting them mock themselves17:37
*** r-daneel_ has joined #openstack-nova17:37
claudiub|2the easier solution is to rename _AutospecMock and _AutospecMagicMock in oslotest, basically remove that _. I've put that _ there so it would discourage people for using them directly, but meh.17:38
claudiub|2and the other one is as you say17:38
*** r-daneel has quit IRC17:38
*** r-daneel_ is now known as r-daneel17:38
*** suresh12 has joined #openstack-nova17:38
*** dave-mccowan has quit IRC17:39
*** dave-mccowan has joined #openstack-nova17:39
fried_bunnyclaudiub|2: Okay, please add me to that review.17:40
fried_bunny...and I'll go see if I can find those UUIDs...17:40
*** itlinux has quit IRC17:41
claudiub|2fried_bunny: added: https://review.openstack.org/#/c/557974/17:43
claudiub|2can you run the UT with this patch applied?17:43
fried_bunnyuhm, I think by cloning the project into my tox env...17:43
fried_bunnystand by17:43
claudiub|2yeah. it seems to work for me. Want to double check.17:44
fried_bunnyclaudiub|2: Are you running tox on nova-powervm?17:44
claudiub|2I ran an individual test: python -m unittest nova_powervm.tests.virt.powervm.disk.test_ssp.TestSSPDiskAdapter.test_connect_disk17:45
fried_bunnyight17:45
claudiub|2this was one of the failures17:45
fried_bunnyI'll run the whole suite, sec.17:45
claudiub|2yeap, please do17:45
fried_bunnyclaudiub|2: Is this a LP bug thing, or no?17:46
openstackgerritMerged openstack/nova stable/pike: Re-use existing ComputeNode on ironic rebalance  https://review.openstack.org/52742317:46
openstackgerritMerged openstack/nova stable/pike: Do not set allocation.id in AllocationList.create_all()  https://review.openstack.org/53079417:46
openstackgerritMerged openstack/nova stable/pike: Don't launch guestfs in a thread pool if guestfs.debug is enabled  https://review.openstack.org/53954117:46
openstackgerritMerged openstack/nova stable/pike: unquiesce instance on volume snapshot failure  https://review.openstack.org/54596617:46
fried_bunnyclaudiub|2, edmondsw: Confirmed, that delta fixes us completely.17:46
claudiub|2I'll amend the commit message and add a Related-Bug: #the_mock_autospec_LP_bug_id17:46
fried_bunnyroger that.17:47
claudiub|2ok, then i'll amend the commit message17:47
claudiub|2gonna push for it to merge, and ask for a new oslotest release next week. they don't release at the end of the week.17:47
claudiub|2sorry for the trouble. :)17:48
fried_bunnyclaudiub|2: No worries; that was pretty unanticipatable.  Thank you very much for the help.17:49
*** gyee has joined #openstack-nova17:49
*** AlexeyAbashkin has joined #openstack-nova17:49
*** fragatina has quit IRC17:49
*** AlexeyAbashkin has quit IRC17:53
*** vivek__ has joined #openstack-nova17:54
*** hongbin has joined #openstack-nova17:55
claudiub|2updated commit message17:55
edmondswclaudiub|2 good catch and thanks17:56
*** EmilienM has quit IRC17:58
*** suresh12 has quit IRC17:59
*** AlexeyAbashkin has joined #openstack-nova18:06
*** r-daneel_ has joined #openstack-nova18:09
*** r-daneel has quit IRC18:10
*** r-daneel_ is now known as r-daneel18:10
*** AlexeyAbashkin has quit IRC18:10
*** fragatina has joined #openstack-nova18:10
fried_bunnyclaudiub|2: Finding those mocked attrs wasn't as hard as I thought.18:13
fried_bunnyEric Fried proposed openstack/nova-powervm master: Specify UUIDs in VIOS mocks for FeedTasks  https://review.openstack.org/55797518:13
fried_bunnyIf you want to pull your patch, I think I'd be okay with that.  (edmondsw, thoughts?)18:14
*** _ix_ has quit IRC18:15
edmondswmight still be a good idea to keep claudiub's patch so that this weirdness doesn't crop up in other places18:15
fried_bunnyI'm fine with that too.  Weighed against the desire to keep those classes private, though - that's up to claudiub|2 I guess.18:16
mriedemwhy are nova-powervm repo changes showing up in the nova channel?18:16
fried_bunnymriedem: Because triggered by a nova change18:16
mriedem?18:16
mriedemhttps://review.openstack.org/#/c/557975/ isn't nova18:16
fried_bunnymriedem: Oh, that wasn't a bot, that was a copy/paste by me.18:16
mriedemah18:16
fried_bunnythought you were going crazy18:16
fried_bunnymriedem: We were discussing here because the trigger was https://review.openstack.org/#/c/447505/18:17
mriedemyar18:17
mriedemi noticed an alarming amount of claudiub|2 in the channel18:18
claudiub|2fried_bunny: edmondsw: this should also work, as a temporary hack: https://review.openstack.org/55797618:18
fried_bunnyclaudiub|2: Cool, that's useful to know.  Thanks.18:18
fried_bunnyclaudiub|2: If  https://review.openstack.org/557975 doesn't fix us, we'll use that.18:19
claudiub|2gotcha. :)18:19
*** felipemonteiro_ has joined #openstack-nova18:19
claudiub|2mriedem: yeah, usually when there's a fire somewhere. :D18:20
claudiub|2because you know, a lot of fire leads to getting fired. ha.18:20
mriedemit is that time of the quarter18:21
*** READ10 has quit IRC18:22
*** felipemonteiro__ has quit IRC18:24
*** yamamoto_ has joined #openstack-nova18:24
*** yamamoto has quit IRC18:27
*** gjayavelu has joined #openstack-nova18:28
*** salv-orlando has joined #openstack-nova18:30
*** itlinux has joined #openstack-nova18:31
stephenfinmelwitt: RE: bug 1750672, I already fixed that with https://review.openstack.org/#/c/556894/218:35
openstackbug 1750672 in OpenStack Compute (nova) "failure to generate Nova's doc in Python 3.6" [Medium,Confirmed] https://launchpad.net/bugs/175067218:35
openstackgerritMerged openstack/nova stable/pike: Return 400 when compute host is not found  https://review.openstack.org/55070718:37
*** avolkov has joined #openstack-nova18:39
*** felipemonteiro__ has joined #openstack-nova18:46
*** bauwser is now known as bauzas18:46
*** vivek__ has quit IRC18:47
*** felipemonteiro_ has quit IRC18:49
*** felipemonteiro__ has quit IRC18:50
*** felipemonteiro__ has joined #openstack-nova18:51
*** r-daneel has quit IRC18:55
fried_bunnymelwitt: On vacation, yah?18:57
mriedemyes, mandatory pto18:58
*** gjayavelu has quit IRC19:02
fried_bunnyleakypipes: I answered here https://review.openstack.org/#/c/533821/ -- in your estimation was there something more she was expecting to see in the tests?19:03
*** r-daneel has joined #openstack-nova19:03
*** _ix has joined #openstack-nova19:04
*** felipemonteiro_ has joined #openstack-nova19:07
*** Sukhdev has joined #openstack-nova19:08
openstackgerritMerged openstack/nova stable/pike: Always deallocate networking before reschedule if using Neutron  https://review.openstack.org/55590719:11
*** felipemonteiro__ has quit IRC19:11
*** itlinux has quit IRC19:17
fried_bunnyleakypipes: Likewise https://review.openstack.org/#/c/520246/19:20
*** Sukhdev has quit IRC19:21
*** Sukhdev has joined #openstack-nova19:23
*** yamamoto_ has quit IRC19:23
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove unnecessary code encoding specification  https://review.openstack.org/55790319:27
*** yamamoto has joined #openstack-nova19:33
*** yamamoto has quit IRC19:38
*** felipemonteiro_ has quit IRC19:38
*** sree has joined #openstack-nova19:38
*** felipemonteiro__ has joined #openstack-nova19:38
*** fragatina has quit IRC19:43
*** sree has quit IRC19:43
*** vivsoni_ has quit IRC19:44
*** vivsoni has joined #openstack-nova19:44
*** yamamoto has joined #openstack-nova19:48
*** Sukhdev has quit IRC19:50
*** yamamoto has quit IRC19:52
leakypipesfried_bunny: yeah, I'm just not sure :(19:53
*** itlinux has joined #openstack-nova19:55
*** david-lyle has joined #openstack-nova19:56
*** _ix has quit IRC19:59
*** r-daneel has quit IRC19:59
*** itlinux has quit IRC20:02
*** yamamoto has joined #openstack-nova20:03
fried_bunnymriedem: If you were waiting for my nod on https://review.openstack.org/#/c/553122/ it's done.20:05
mriedemack20:06
*** sree has joined #openstack-nova20:07
*** yamamoto has quit IRC20:07
*** r-daneel has joined #openstack-nova20:08
*** yamamoto has joined #openstack-nova20:09
*** _ix has joined #openstack-nova20:10
*** sree has quit IRC20:11
openstackgerritArvind Nadendla proposed openstack/nova master: Update ImageMetaProp object to expose traits  https://review.openstack.org/55779520:13
*** yamamoto has quit IRC20:13
mriedemgah, trying to mock context managers, my old nemesis20:16
*** edmondsw has quit IRC20:17
*** yamamoto has joined #openstack-nova20:18
openstackgerritArvind Nadendla proposed openstack/nova master: Update ImageMetaProp object to expose traits  https://review.openstack.org/55779520:20
*** Guest19514 has quit IRC20:20
*** felipemonteiro__ has quit IRC20:23
*** yamamoto has quit IRC20:23
*** mordred has quit IRC20:26
*** gjayavelu has joined #openstack-nova20:26
*** mordred has joined #openstack-nova20:27
fried_bunnymriedem: Ditto https://review.openstack.org/#/c/533396/20:29
fried_bunnymriedem: I can help with that if you like.  Or were you just grumbling?20:30
mriedemi think i've got a way around it20:30
*** vladikr has joined #openstack-nova20:32
*** armaan has quit IRC20:33
*** yamamoto has joined #openstack-nova20:33
*** armaan has joined #openstack-nova20:33
*** yamamoto has quit IRC20:38
mriedemugh20:39
mriedem        with mock.patch.object(self.compute, 'virtapi') as fake_virtapi:20:39
mriedem            fake_virtapi.return_value.wait_for_instance_event.side_effect = exc20:39
mriedemi must be blind20:39
mriedemthat is not hitting20:39
mriedemor20:42
mriedem        with mock.patch.object(self.compute.virtapi,20:42
mriedem                               'wait_for_instance_event') as wait_for_event:20:42
mriedem            wait_for_event.return_value.__enter__.return_value.side_effect = exc20:42
*** r-daneel has quit IRC20:43
fried_bunnymriedem: Is self.compute.virtapi a method or a property?20:43
mriedemit's an attribute20:43
fried_bunnymriedem: Then take out .return_value20:43
mriedemwith a wait_for_instance_event method20:43
fried_bunny(in the first paste)20:44
*** r-daneel has joined #openstack-nova20:45
*** mchlumsky has quit IRC20:45
mriedemi don't think the first one will work,20:46
mriedemwait_for_instance_event is a context manager,20:46
mriedemso need to mock the __enter__20:46
fried_bunnyokay, but fake_virtapi.return_value will never hit, because it's not self.compute.virtapi().wait_for_instance_event - just self.compute.virtapi.wait_for_instance_event, right?20:47
fried_bunnyso that's a start...20:47
mriedemright20:48
*** yamamoto has joined #openstack-nova20:48
fried_bunnymriedem: Is it FakeVirtAPI you're actually using here?20:48
mriedemno20:48
fried_bunnyComputeVirtAPI?20:48
mriedemalso, trying to model this after https://github.com/openstack/nova/blob/master/nova/tests/unit/compute/test_compute_api.py#L174920:49
mriedemyeah it's ComputeVirtAPI in this case20:49
*** yamamoto has quit IRC20:49
*** yamamoto has joined #openstack-nova20:49
*** yamamoto has quit IRC20:49
mriedemi don't think using FakeVirtAPI will help, since that also defines wait_for_instance_event as a context manager20:49
mriedemit's just a noop20:50
openstackgerritArvind Nadendla proposed openstack/nova master: Update ImageMetaProp object to expose traits  https://review.openstack.org/55779520:50
fried_bunnymriedem: No, was just going to suggest the possibility of using a mock.patch('....ComputeVirtAPI') instead of a mock.patch.object.20:50
fried_bunnymriedem: But okay, I think I see the problem.20:50
fried_bunnyTry this:20:50
fried_bunnywith mock.patch.object(self.compute.virtapi, 'wait_for_instance_event') as wait_for_event:20:51
fried_bunny    wait_for_event.return_value.__enter__.side_effect = exc20:51
fried_bunnyyou had a different mistake in each attempt.20:51
mriedemi just tried that,20:51
mriedembelieve me, i've tried about every iteration of this20:51
mriedemanyway, trying something else here20:52
fried_bunnymriedem: I'm not sure that mocking wait_for_instance_event as if it were a context manager is going to do what you expect.20:54
fried_bunny(well, clearly not)20:54
fried_bunnybecause it's using the decorator instead of being a real context manager.20:54
fried_bunnyYou could try20:55
fried_bunnywith mock.patch('nova.compute.manager.ComputeVirtAPI#wait_for_instance_event') as w4ie:20:55
fried_bunny  w4ie.side_effect = exc20:55
fried_bunnys/#/./20:55
mriedemas far as i can tell, what i'm doing is basically the same as https://github.com/openstack/nova/blob/master/nova/tests/unit/compute/test_compute_api.py#L174920:55
mriedemjust a different context manager20:55
fried_bunnyahh20:56
*** felipemonteiro__ has joined #openstack-nova20:56
*** salv-orlando has quit IRC20:56
mriedembut wait a sec, i might have something else screwed up here20:56
fried_bunnyI don't actually know whether side_effect does the right thing for yield.  Though I guess it should...20:56
*** salv-orlando has joined #openstack-nova20:57
*** Sukhdev has joined #openstack-nova20:59
*** salv-orlando has quit IRC21:00
mriedemgot it21:03
mriedemit wasn't even the mock, it was the thing i was using as the exc21:03
mriedemi knew it would be dumb21:03
fried_bunnymriedem: Good, because I just tried it out in mini form and it's all working like it's sposedta21:03
*** r-daneel has quit IRC21:05
*** AlexeyAbashkin has joined #openstack-nova21:05
*** mvk has quit IRC21:07
*** r-daneel has joined #openstack-nova21:09
*** AlexeyAbashkin has quit IRC21:09
*** yassine has joined #openstack-nova21:14
*** edmondsw has joined #openstack-nova21:14
*** sree has joined #openstack-nova21:14
*** salv-orlando has joined #openstack-nova21:15
*** armaan has quit IRC21:17
*** armaan has joined #openstack-nova21:18
imacdonnmriedem: around ?21:18
*** sree has quit IRC21:18
*** edmondsw has quit IRC21:19
*** yamahata has quit IRC21:20
*** yamahata has joined #openstack-nova21:20
mriedemdepends21:24
*** felipemonteiro__ has quit IRC21:24
imacdonnmriedem: heh ... looking at https://review.openstack.org/#/c/554759/21:24
imacdonnmriedem: I think that's the wrong fix ... I think the right fix is to remove the check entirely21:25
mriedem?21:26
mriedemplacement is required to start nova-compute21:26
imacdonnmriedem: see Sylvain's comment on https://bugs.launchpad.net/nova/+bug/175169221:26
openstackLaunchpad bug 1751692 in OpenStack Compute (nova) "os_region_name an unnecessary required option for placement " [Low,Triaged] - Assigned to Digambar (digambarpatil15)21:26
mriedemsince ocata21:26
imacdonnIsn't the recommendation to only specify region_name if you need to override what keystone offers ?21:26
*** itlinux has joined #openstack-nova21:26
mriedemi don't think region_name gets a default21:27
imacdonnand it doesn't *need* a default21:27
*** itlinux has quit IRC21:27
mriedemhttps://docs.openstack.org/nova/latest/configuration/config.html#placement.os_region_name21:27
*** harlowja has joined #openstack-nova21:28
imacdonnthe check was originally put there for people upgrading from newton to ocata, to catch the case where they didn't notice that placement must be configured (where it was not required before)21:28
imacdonnbut we're way past that now .. if you don't have placement configured, it'll be very obvious21:29
mriedemwell,21:29
mriedemif you're using the FilterScheduler yeah, but not if you're using the CachingScheduler which doesn't use placement21:29
mriedembut we do want the computes putting inventory information into placement so we can eventually migrate CachingScheduler users21:30
mriedemidk, maybe it's ok to remove at this point,21:30
*** r-daneel has quit IRC21:30
mriedemwe don't fail to start nova-compute if you're using neutron but dont have [neutron] creds configured21:30
mriedembut that's required also21:30
imacdonnI forget how it failed for me when I had no [placement] config, but it was pretty obvious21:30
openstackgerritMerged openstack/nova master: remove unnecessary short cut in placement  https://review.openstack.org/55312221:31
imacdonnyeah21:31
imacdonnI think it was a safety check that maybe made sense at the time, but it's not needed now21:31
*** r-daneel has joined #openstack-nova21:31
imacdonn... and, if such a check really is needed, it should check some config option that's actually required21:32
mriedemmaybe you can convince fried_bunny to update https://review.openstack.org/#/c/557086/ to do what you want21:32
imacdonnregion_name is not required to be set, other than by this check21:32
*** felipemonteiro__ has joined #openstack-nova21:33
fried_bunnyI was wondering about that.21:33
imacdonnthat does look related .... I think if we remove the check, that test would be removed with it21:33
fried_bunnyagree with that.21:34
fried_bunnyBut yeah, I was wondering why we were checking for region_name, since I didn't think it was required.21:34
imacdonnyeah, so... we could either update your change, or abandon it and do a new one ... either way, it should "Closes-Bug: 1751692"21:36
openstackbug 1751692 in OpenStack Compute (nova) "os_region_name an unnecessary required option for placement " [Low,Triaged] https://launchpad.net/bugs/1751692 - Assigned to Digambar (digambarpatil15)21:36
fried_bunnyimacdonn: Any idea what *would* be a required opt in the [placement] section?21:36
mriedemwatch out21:37
fried_bunnymriedem: Would it be the worst thing for us to change that check to actually go grab the version document from placement as a (better) way of assuring that it's configured?21:38
openstackgerritMatt Riedemann proposed openstack/nova master: Teardown networking when rolling back live migration even if shared disk  https://review.openstack.org/55548121:38
openstackgerritMatt Riedemann proposed openstack/nova master: DRY up test_rollback_live_migration_set_migration_status  https://review.openstack.org/55548921:38
openstackgerritMatt Riedemann proposed openstack/nova master: Avoid unnecessary port update during live migration  https://review.openstack.org/55633221:38
openstackgerritMatt Riedemann proposed openstack/nova master: Add check if neutron "binding-extended" extension is available  https://review.openstack.org/52354821:38
openstackgerritMatt Riedemann proposed openstack/nova master: Add "bind_ports_to_host" neutron API method  https://review.openstack.org/52360421:38
openstackgerritMatt Riedemann proposed openstack/nova master: Add VIFMigrateData object for live migration  https://review.openstack.org/51542321:38
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: libvirt: use dest host vif migrate details for live migration  https://review.openstack.org/55137021:38
openstackgerritMatt Riedemann proposed openstack/nova master: Add "delete_port_binding" network API method  https://review.openstack.org/55217021:38
openstackgerritMatt Riedemann proposed openstack/nova master: Add "activate_port_binding" neutron API method  https://review.openstack.org/55594721:38
openstackgerritMatt Riedemann proposed openstack/nova master: Delete port bindings in setup_networks_on_host if teardown=True  https://review.openstack.org/55633321:38
openstackgerritMatt Riedemann proposed openstack/nova master: Implement migrate_instance_start method for neutron  https://review.openstack.org/55633421:38
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: compute: use port binding extended API during live migration  https://review.openstack.org/55137121:38
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Port binding based on events during live migration  https://review.openstack.org/43487021:38
* imacdonn ducks21:38
openstackgerritMatt Riedemann proposed openstack/nova master: conductor: use port binding extended API in during live migrate  https://review.openstack.org/52253721:38
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Wait for network-vif-plugged before starting live migration  https://review.openstack.org/55800121:38
*** avolkov has quit IRC21:38
mriedemfried_bunny: imacdonn: idk, definitely not something i care to think about when i'm about 10 minutes from a 4 day break21:39
mriedemi'm sure dansmith would like to make this is first thing monday morning21:39
mriedem*his21:39
imacdonnmriedem fried_bunny dansmith: it can wait (from my perspective) ... I was mostly treating it as "low-hanging fruit"21:40
*** gjayavelu has quit IRC21:42
fried_bunnyimacdonn: Are you interested in writing some code for this?21:42
imacdonnfried_bunny: I was interested in a simple patch to remove the check and associated unit-test... beyond that, probably not really (have bigger fish to fry)21:43
fried_bunnyimacdonn: The fix wouldn't be much more than that.21:44
imacdonnheheh ... or bunnies to fry, as the case may be ;)21:44
fried_bunnyimacdonn: Instead of just removing the check, replace it with something like:21:44
fried_bunnytry:21:44
fried_bunny    self.reportclient.get('/')21:44
fried_bunnyexcept:21:44
fried_bunny    raise exception.PlacementNotConfigured()21:44
imacdonnI can give that a go ... I actually want to see what happens if placement is not configured and there's no check first, though21:46
fried_bunnycoolcool.  Feel free to add me (efried) to the review if you do decide to spin something up.21:47
imacdonnfried_bunny mriedem http://paste.openstack.org/show/718043/21:48
imacdonnthat's what I get if there's no [placement] section in my compute's nova.conf21:48
*** mriedem is now known as mriedem_afk21:49
imacdonnlooks pretty obvious to me21:49
fried_bunnyimacdonn: ...and you removed that region_name check?21:49
imacdonnalthough maybe with different scheduler config, it'd be less-so21:49
*** yamamoto has joined #openstack-nova21:50
imacdonnyeah, I commented out the check21:50
fried_bunnyimacdonn: I amend my suggested code change above.  It should be more like:21:52
fried_bunnyif self.reportclient.get('/') is None:21:52
fried_bunny    raise...21:52
fried_bunnyThen you'll get that auth warning as well as the PlacementNotConfigured exception.21:53
*** yamamoto has quit IRC21:56
imacdonnhmm, doesn't seem to be working ... still experimenting21:57
fried_bunnyoh21:58
fried_bunnyimacdonn: You don't need auth to get the version document.  So if placement is actually running and there's a service catalog entry for it, that will succeed.21:59
*** _ix_ has joined #openstack-nova21:59
imacdonnwell, it's getting the MissingAuthPlugin, so it doesn't actually get to raise the PlacementNotConfigured21:59
fried_bunnyRight.21:59
fried_bunnyI assume you have the service running and there's an entry for it in the service catalog?21:59
*** _ix has quit IRC21:59
fried_bunny...but no [placement] section in your conf.21:59
imacdonnright22:00
*** yassine has quit IRC22:00
fried_bunnyThe version document doesn't require authentication, and we'll get the endpoint from the service catalog, so get('/') will actually work.  And then you'll blow up later when you try to hit a real URI.22:00
fried_bunnyAnd I contend that's actually the behavior we want.22:00
fried_bunnyIf you shut down your placement service and try again, I think you'll get the PlacementNotConfigured error.22:00
imacdonnthat's not really what this check was intended for, though22:01
imacdonn(originally, at least)22:01
fried_bunnywell, it was to make sure you had "configured" placement.  It didn't previously do anything to ensure you'd configured it *right*.  Heck, it wasn't even checking a thing that you had to have, clearly.22:02
*** burt has quit IRC22:02
imacdonnin my interpretation, it was to check that you had the compute service configured to use placement, not to check that placement is functional22:03
*** felipemonteiro__ has quit IRC22:03
fried_bunnyokay, I can buy that interpretation.  In which case maybe auth stuff not being empty is more appropriate to check for in here.22:04
fried_bunnybecause correct me if I'm wrong, but you *can't* get by without e.g. [placement]auth_type ?22:05
imacdonnI thought so, but Matt said something about different scheduler options, so I lost confidence for a bit22:05
fried_bunnyshit, if there's a scheduler option that doesn't use placement, then why are we enforcing that you have it set up when you're not using that scheduler option.22:06
imacdonn"mriedem> but we do want the computes putting inventory information into placement so we can eventually migrate CachingScheduler users"22:06
fried_bunnyWhatever, this is probably a better thing to discuss on Monday or Tuesday when people who were around for the inception of this check are back from worshipping egg-laying rabbits.22:06
imacdonnyou mean chocolate-egg-laying rabbits, of course22:07
imacdonn        try:22:12
imacdonn            if self.reportclient.get('/') is None:22:12
imacdonn                log.error('placement is not working - I should raise '22:12
imacdonn                          'some sort of exception here')22:12
imacdonn        except keystone_exception.MissingAuthPlugin:22:12
imacdonn            raise exception.PlacementNotConfigured()22:12
imacdonn(maybe - "thinking out loud")22:12
*** fragatina has joined #openstack-nova22:15
*** fragatina has quit IRC22:15
*** fragatina has joined #openstack-nova22:16
fried_bunnyimacdonn: MissingAuthPlugin will never happen there.22:16
imacdonnit does, if the placement config is missing22:16
fried_bunnyIt gets swallowed by @safe_connect22:16
fried_bunnyNo, you get a warning about it, but the exception doesn't get raised.22:16
imacdonnI tried it22:17
imacdonnI mean - I tried the code above, with no placement config, and it did what I expected22:17
fried_bunnythat pastebin you showed me had the warning right above an unrelated exception.  Did you see something different another way?22:17
imacdonnI think that unrelated warning was caused by something that the scheduler happened to do that time ... I don't usually see that warning on startup22:18
fried_bunnyThe warning was coming from the report client trying to bootstrap the compute node inventory.22:19
fried_bunnythrough placement22:19
fried_bunnywhich hits @safe_connect, which catches MissingAuthPlugin and prints that warning.... and then does nothing.  Like, implicitly returns None.  Which is why you got that NoneType blah blah error.22:20
imacdonnhttp://paste.openstack.org/show/718047/22:20
imacdonnthat's with code pasted above, and missing config22:21
*** mlavalle has quit IRC22:21
*** Sukhdev has quit IRC22:21
fried_bunnyimacdonn: Are you running on master?22:22
imacdonnno, this is queens22:22
fried_bunnyif you curl the base placement URI, do you get the version document or a 401?22:23
*** salv-orlando has quit IRC22:23
imacdonn{"versions": [{"min_version": "1.0", "max_version": "1.17", "id": "v1.0"}]}22:23
*** salv-orlando has joined #openstack-nova22:24
fried_bunnyoh - .get isn't wrapped by safe_connect.  Let me see where that MissingAuthPlugin business is coming from.22:24
fried_bunnythough it would be easier for you to find out - by removing the try/except and seeing what .get raises all by itself.22:25
imacdonncan do22:25
fried_bunny_create_client22:25
fried_bunnyget_ksa_adapter22:25
fried_bunny...something in ksa loading...22:25
fried_bunnyis my guess.22:25
fried_bunnyload_auth_from_conf_options22:26
imacdonnhttp://paste.openstack.org/show/718048/22:26
*** salv-orlando has quit IRC22:28
fried_bunnyoh, interesting - we actually let you load up the ksa adapter; and it fails on the request.  But still, that's weird; you shouldn't need auth to get the version document.22:29
fried_bunnyWhat happens when you shut down the placement service?22:30
imacdonnConnectFailure22:30
imacdonnfrom ksa trying to do a GET request22:31
fried_bunnymm22:32
fried_bunnyWell, I'm not happy that you're getting MissingAuthPlugin for /.  But it's what you'll get for anything else you try, so that's not the end of the world.22:33
imacdonnI guess that the client doesn't know that auth is not required to get the version22:34
*** Sukhdev has joined #openstack-nova22:34
fried_bunnymordred will not be happy about that.  Or maybe it's my fault.22:34
fried_bunnyanyway, it's sounding like to cover bases we may want to do something like .get('/resource_providers?name=bogus'), which *should* require auth, and catch both MissingAuthPlugin and ConnectFailure and convert those to PlacementNotConfigured.22:35
fried_bunnyimacdonn: If that's more than you want to take on, or if you want to write part of it and then hand it off, put something somewhere and flag me on it.22:37
*** hongbin has quit IRC22:38
imacdonnfried_bunny: that doesn't seem too bad ... have to think through unit test implications too, though22:39
fried_bunnyI'd be fine just mocking .get.  One case to raise MissingAuthPlugin, one to raise ConnectError.  Done.22:40
fried_bunny(and of course one to make it return successfully)22:40
imacdonnyeah, that makes sense22:40
fried_bunny(which is probably already covered elsewhere)22:40
imacdonnI'll fiddle with that a bit ... and maybe we can discuss further with the others next week22:41
fried_bunnySounds great.22:41
*** swamireddy has quit IRC22:41
imacdonnthanks! :)22:41
*** andreas_s has joined #openstack-nova22:42
imacdonnjust '/resource_providers' should work? That seems to require auth, and provides a meaningful result22:46
*** andreas_s has quit IRC22:48
*** yamamoto has joined #openstack-nova22:52
fried_bunnyimacdonn: If you had a lot of resource providers, it could be slowish.  Adding the ?name=bogus should make it very quick (even if you have a provider named 'bogus')22:53
fried_bunnyI *think* that returns a result with an empty payload (as opposed to a 404).22:54
imacdonnwill try it22:54
imacdonnre. the ConnectError ... IMO it's OK to just let that go ... it should be plenty-obvious what need to be done22:55
* figleaf is worn out debuggin his mess22:56
*** figleaf is now known as edleafe22:57
fried_bunnyimacdonn: wfm22:57
*** yamamoto has quit IRC22:57
imacdonn        try:22:58
imacdonn            LOG.info(self.reportclient.get('/resource_providers?name=justcheckin'))22:58
imacdonn        except keystone_exception.MissingAuthPlugin:22:58
imacdonn            raise exception.PlacementNotConfigured()22:58
fried_bunnyimacdonn: Though the message about placement being required would still be useful there.22:58
imacdonnconfirm that that still gets a 200 ... logging is just to determine that22:58
imacdonnthing is, the actual message that gets logged is "PlacementNotConfigured: This compute is not configured to talk to the placement service. Configure the [placement] section of nova.conf and restart the service."22:59
*** andreas_s has joined #openstack-nova22:59
imacdonnIMO, the placement service being down is not the same thing22:59
*** sdague has quit IRC22:59
*** r-daneel has quit IRC23:00
fried_bunnyfair and true.23:01
fried_bunnyimacdonn: I was thinking of the message that @safe_connect spews as being the useful one.23:01
fried_bunnyimacdonn: this one: 'Placement is optional in Newton, but required in Ocata. '23:02
fried_bunny                'Please enable the placement service before upgrading.'23:02
fried_bunnythough that's probably pretty obsolete at this point.23:02
imacdonnyeah23:03
*** edmondsw has joined #openstack-nova23:03
*** andreas_s has quit IRC23:04
*** mriedem_afk has quit IRC23:06
*** edmondsw has quit IRC23:08
imacdonneep .... 27 unit tests fail with the code-change... this is going to be fun :)23:13
fried_bunnyimacdonn: In how many test classes?  You should be able to mock the reportclient.get in their respective setUp()s.23:14
openstackgerritMatt Riedemann proposed openstack/nova master: Allow scheduling only to enabled cells (Filter Scheduler)  https://review.openstack.org/55052723:16
openstackgerritMatt Riedemann proposed openstack/nova master: Add --enable and --disable options to  nova-manage update_cell  https://review.openstack.org/55541623:16
openstackgerritMatt Riedemann proposed openstack/nova master: Update the cells FAQs and scheduler maintenance docs.  https://review.openstack.org/55645923:16
imacdonnat least 6 different classes :/23:19
*** salv-orlando has joined #openstack-nova23:24
openstackgerritMatt Riedemann proposed openstack/nova master: DNM: test live_migration_wait_for_vif_plug=True  https://review.openstack.org/55800623:26
*** salv-orlando has quit IRC23:29
*** vladikr has quit IRC23:30
*** vladikr has joined #openstack-nova23:30
*** lbragstad has quit IRC23:41
*** swamireddy has joined #openstack-nova23:45
*** hemna_ has quit IRC23:48
*** yangyapeng has joined #openstack-nova23:49
*** Swanson has quit IRC23:53
fried_bunnyleakypipes: still around?23:53
*** yamamoto has joined #openstack-nova23:53
*** yamamoto has quit IRC23:59

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