Friday, 2015-07-17

mriedem1bauzas: edleafe: ^00:00
kfox1111say I create m1.small. it has extra spec hostagg=type1. I create a host aggregate called type1 and set metadata hostagg=type1 on it.00:00
kfox1111I also setup the hostaggrigate filter in nova.00:01
kfox1111now, when the user goes and uses m1.small, it will only launch on members of the type1 host aggregate.00:01
melwittright00:01
kfox1111then, I go and add magnum_instance_type=vm to m1.small extra_spec.00:01
*** salv-orlando has joined #openstack-nova00:01
*** dannywilson has quit IRC00:02
kfox1111the user goes and tries to lauch, the filter kicks in, finds no host aggregate with magnum_instance_type=vm and fails the launch.00:02
*** openstack has joined #openstack-nova00:04
*** IanGovett has joined #openstack-nova00:04
*** markvoelker has quit IRC00:04
melwittyeah00:05
*** salv-orlando has quit IRC00:06
*** roldyx has joined #openstack-nova00:06
*** SourabhP has quit IRC00:06
roldyxhello, I am using ice-house..00:07
roldyxis it possible to have one tenant by zona??00:07
roldyxone tenant == one host aggregate00:07
roldyxnova availability-zone-list <<-- shows me two zones..00:08
kfox1111kind of?00:08
kfox1111you can set up per tenant flavors, and pin them to host aggregates.00:09
roldyxbut when I execute nova availability-zone-list always have two zones00:10
*** tsekiyam_ has joined #openstack-nova00:11
*** boris-42 has quit IRC00:12
kfox1111not sure. I haven't played with availability zones much.00:12
roldyxwhen i open the dashboard(horizon) and launch one instance.. I have 2 zones in "availability zones"00:13
*** vilobhmm has quit IRC00:14
*** vilobhmm has joined #openstack-nova00:14
*** tsekiyama has quit IRC00:15
*** mtanino has quit IRC00:15
*** Sukhdev has quit IRC00:16
*** tjones1 has left #openstack-nova00:16
*** tsekiyam_ has quit IRC00:16
kfox1111did you create the host aggregate as an availability zone?00:17
kfox1111I think there's a way to make it one, or not.00:17
*** achanda has quit IRC00:17
*** y_sawai has joined #openstack-nova00:18
kfox1111I've been making mine as non az's, then just making them available to flavors that I tag to specific tenants.00:18
*** y_sawai has quit IRC00:19
*** promulo__ has joined #openstack-nova00:21
roldyxkfox1111: i understand you.. but my problem is different..00:22
*** ijw has quit IRC00:24
roldyxmany users use dashboard and select wrong AZ00:24
*** promulo_ has quit IRC00:25
*** hogepodge has joined #openstack-nova00:25
*** yingjun has joined #openstack-nova00:27
roldyxand call me because a "red banner" appear on the screen00:27
kfox1111maby "nova aggregate-update youraggregateid youraggregatename nova"?00:27
kfox1111maybe00:28
*** davideagnello has joined #openstack-nova00:28
kfox1111http://blog.russellbryant.net/2013/05/21/availability-zones-and-host-aggregates-in-openstack-compute-nova/00:28
kfox1111seems to claim that if the az field is set, it exposes it as an az as well.00:29
kfox1111so maybe it needs to be unset.00:29
roldyxAZ nova does not exist :) I have deleted00:29
roldyxkfox1111: tomorrow I try again...00:33
roldyxthaks anyway00:33
roldyx:)00:34
*** achanda has joined #openstack-nova00:36
*** ZZelle_ has quit IRC00:38
*** barra204 has quit IRC00:39
*** ijuwang has joined #openstack-nova00:42
*** roldyx has quit IRC00:42
*** zzzeek has joined #openstack-nova00:43
*** diogogmt has quit IRC00:46
openstackgerritIWAMOTO Toshihiro proposed openstack/nova: Omit RescheduledException in instance_fault.message  https://review.openstack.org/16575100:46
*** MentalRay has joined #openstack-nova00:46
*** ijuwang has quit IRC00:49
*** diogogmt has joined #openstack-nova00:49
*** ijuwang has joined #openstack-nova00:50
*** oomichi has joined #openstack-nova00:50
*** ssurana1 has quit IRC00:53
*** ssurana has joined #openstack-nova00:54
*** otter768 has joined #openstack-nova00:55
*** earlephilhower has quit IRC00:55
*** achanda has quit IRC00:56
*** ijuwang has quit IRC00:57
*** ssurana has quit IRC00:59
*** otter768 has quit IRC00:59
*** newbie_2 has quit IRC01:04
*** achanda has joined #openstack-nova01:07
*** zzzeek has quit IRC01:08
*** jasondotstar has quit IRC01:08
*** yingjun has quit IRC01:10
*** IanGovett has quit IRC01:12
*** hemna has joined #openstack-nova01:14
*** hemna has quit IRC01:21
*** ijw has joined #openstack-nova01:23
*** otter768 has joined #openstack-nova01:25
*** lyanchih has joined #openstack-nova01:25
*** hemna has joined #openstack-nova01:27
*** shuquan has joined #openstack-nova01:27
*** deepthi has joined #openstack-nova01:31
*** patrickeast has quit IRC01:38
*** MentalRay has quit IRC01:45
*** ijw_ has joined #openstack-nova01:45
*** artom has quit IRC01:46
*** jdandrea has quit IRC01:46
*** tobe_ has joined #openstack-nova01:49
*** ijw has quit IRC01:49
*** otter768 has quit IRC01:53
*** liusheng has quit IRC01:53
*** vilobhmm has quit IRC01:57
*** sambol has joined #openstack-nova01:58
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert SMBFS vol driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20277901:58
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert NFS volume driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20277801:58
openstackgerritMatt Riedemann proposed openstack/nova: Introduce LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20277701:58
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert Scality vol driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20278301:58
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert Quobyte driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20278201:58
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert GPFS volume driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20278101:58
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert GlusterFS driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20278001:58
*** thorst has joined #openstack-nova02:01
*** tpeoples has joined #openstack-nova02:02
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert SMBFS vol driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20277902:03
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert NFS volume driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20277802:03
openstackgerritMatt Riedemann proposed openstack/nova: Introduce LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20277702:03
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert Scality vol driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20278302:03
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert Quobyte driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20278202:03
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert GPFS volume driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20278102:03
openstackgerritMatt Riedemann proposed openstack/nova: libvirt: convert GlusterFS driver to LibvirtBaseFileSystemVolumeDriver  https://review.openstack.org/20278002:03
anisha man on a mission here ^02:04
*** ijw has joined #openstack-nova02:04
*** thorst has quit IRC02:06
*** ijw_ has quit IRC02:08
*** shyu has joined #openstack-nova02:12
*** yingjun has joined #openstack-nova02:12
*** shuquan has quit IRC02:13
*** dave-mccowan has quit IRC02:18
*** shuquan has joined #openstack-nova02:19
*** yingjun has quit IRC02:22
*** yingjun has joined #openstack-nova02:22
*** achanda has quit IRC02:23
*** shuquan has quit IRC02:27
*** shuquan_ has joined #openstack-nova02:27
*** yingjun has quit IRC02:27
openstackgerritZhaoBo proposed openstack/nova: Fixed raise SecurityGroupCannotBeApplied as network port_security off  https://review.openstack.org/18826002:30
*** dims_ has quit IRC02:31
*** zhenguo has joined #openstack-nova02:32
*** tonytan4ever has quit IRC02:33
openstackgerritMichael Sambol proposed openstack/nova: DO NOT MERGE  https://review.openstack.org/20285402:34
*** yingjun has joined #openstack-nova02:34
*** yamahata has joined #openstack-nova02:35
*** signed8bit_ZZZzz has quit IRC02:36
*** jogo has quit IRC02:38
openstackgerritZhenyu Zheng proposed openstack/nova: Resize: Return to initial state instead of ACTIVE  https://review.openstack.org/20237902:41
*** y_sawai has joined #openstack-nova02:48
*** y_sawai has quit IRC02:49
*** y_sawai has joined #openstack-nova02:52
*** ijw has quit IRC02:52
*** hakimo has joined #openstack-nova02:53
*** hakimo_ has quit IRC02:55
*** vladikr has quit IRC02:55
*** andreykurilin__ has quit IRC02:57
*** y_sawai_ has joined #openstack-nova03:01
*** Administrator_ has quit IRC03:02
*** y_sawai has quit IRC03:04
*** hakimo_ has joined #openstack-nova03:10
*** hakimo has quit IRC03:10
*** tpeoples has quit IRC03:11
*** boris-42 has joined #openstack-nova03:14
openstackgerritZhenyu Zheng proposed openstack/nova: Resize: Return to initial state instead of ACTIVE  https://review.openstack.org/20237903:18
openstackgerritGhanshyam Mann proposed openstack/nova: Show 'locked_by' information in server Show & List Detail  https://review.openstack.org/20239103:18
*** Kennan has quit IRC03:20
*** Kennan has joined #openstack-nova03:20
*** shuquan_ has quit IRC03:21
*** achanda has joined #openstack-nova03:23
*** liusheng has joined #openstack-nova03:25
*** hakimo has joined #openstack-nova03:27
*** hakimo_ has quit IRC03:27
*** achanda has quit IRC03:28
*** dims_ has joined #openstack-nova03:32
*** unicell has quit IRC03:34
openstackgerritZhenyu Zheng proposed openstack/nova: Add instance action events for live migration  https://review.openstack.org/19537203:36
*** dims_ has quit IRC03:37
*** annegentle has joined #openstack-nova03:38
*** ildikov has quit IRC03:40
*** tonytan4ever has joined #openstack-nova03:40
*** hakimo_ has joined #openstack-nova03:44
*** hakimo has quit IRC03:44
*** mriedem1 has quit IRC03:46
*** y_sawai_ has quit IRC03:48
*** y_sawai has joined #openstack-nova03:48
*** y_sawai has quit IRC03:49
*** yingjun has quit IRC03:49
*** y_sawai has joined #openstack-nova03:49
*** jogo has joined #openstack-nova03:50
*** tpeoples has joined #openstack-nova03:53
*** y_sawai has quit IRC03:54
*** otter768 has joined #openstack-nova03:54
*** coolsvap|away is now known as coolsvap03:54
*** achanda has joined #openstack-nova03:55
openstackgerritZhenyu Zheng proposed openstack/nova: Resize: Return to initial state instead of ACTIVE when resize fails  https://review.openstack.org/20237903:56
*** hemna has quit IRC03:58
*** otter768 has quit IRC03:58
*** achanda has quit IRC04:00
*** erlon has quit IRC04:00
*** hakimo has joined #openstack-nova04:01
*** hakimo_ has quit IRC04:01
*** baoli_ has joined #openstack-nova04:08
*** hemna has joined #openstack-nova04:08
*** baoli_ has quit IRC04:08
*** hemna has quit IRC04:11
*** annegentle has quit IRC04:11
*** baoli has quit IRC04:11
*** newbie_2 has joined #openstack-nova04:11
*** hemna has joined #openstack-nova04:12
*** hemna has quit IRC04:12
*** hakimo_ has joined #openstack-nova04:18
*** hakimo has quit IRC04:18
*** unicell has joined #openstack-nova04:22
*** unicell has quit IRC04:26
*** unicell has joined #openstack-nova04:27
*** y_sawai has joined #openstack-nova04:30
*** thedodd has joined #openstack-nova04:33
*** lyanchih has quit IRC04:35
*** newbie_2 has quit IRC04:36
*** y_sawai has quit IRC04:36
openstackgerritZhenyu Zheng proposed openstack/nova: Resize: Return to initial state instead of ACTIVE when resize fails  https://review.openstack.org/20237904:37
*** sambol has quit IRC04:39
*** haomaiw__ has joined #openstack-nova04:42
*** zhenguo has quit IRC04:43
*** haomaiwa_ has quit IRC04:44
gmann_oomichi: alex_xu : updated 'locked_by' patch - please have  look  -https://review.openstack.org/#/c/202391/04:47
oomichigmann_: yeah, will soon :)04:48
gmann_oomichi: Thanks04:48
*** hemna has joined #openstack-nova04:48
*** hemna has quit IRC04:49
*** hemna has joined #openstack-nova04:52
*** tobe_ has quit IRC04:53
*** SourabhP has joined #openstack-nova04:54
*** tonytan4ever has quit IRC04:56
*** SourabhP_ has joined #openstack-nova04:57
*** shyama has joined #openstack-nova04:58
*** SourabhP has quit IRC04:59
*** SourabhP_ is now known as SourabhP04:59
alex_xugmann_: yea, will do asap04:59
gmann_alex_xu: Thanks :)04:59
alex_xugmann_: np04:59
alex_xuoomichi: hi05:00
*** yingjun has joined #openstack-nova05:02
*** lyanchih has joined #openstack-nova05:02
oomichialex_xu: hello05:04
alex_xuoomichi: one question, why we can't remove this option directly https://review.openstack.org/20272405:04
oomichialex_xu: I am gussing that is the deprecation process manner for options05:05
*** dannywilson has joined #openstack-nova05:06
alex_xuoomichi: emm...as my understand deprecation is for some option rename to another one, or move the control to other option? This option is totally useless now.05:06
oomichialex_xu: yeah, most case. the point is deprecated_for_removal option05:07
oomichialex_xu: http://docs.openstack.org/developer/oslo.config/opts.html05:08
oomichialex_xu: "deprecated_for_removal – indicates whether this opt is planned for removal in a future release"05:08
*** telemonster has quit IRC05:08
*** telemonster has joined #openstack-nova05:08
oomichialex_xu: as the theory, oslo.config seems to contain this option before removing05:08
alex_xuoomichi: ok, let me take a look at05:10
alex_xuoomichi: thanks05:10
oomichialex_xu: np :)05:10
*** yingjun has quit IRC05:12
*** yingjun has joined #openstack-nova05:12
gmann_alex_xu: oomichi : this might be good to have as deprecation as we still support /v3 ?05:13
gmann_alex_xu: oomichi : i mean api-paste.ini05:13
oomichigmann_: does that mean /v3 of api-paste.ini also need deprecation time ?05:15
gmann_oomichi: humm good point, IMO no :)05:15
*** ssurana has joined #openstack-nova05:15
alex_xuoomichi: why we still need /v3? we never release it?05:15
*** browne has quit IRC05:16
oomichigmann_: yeah, my answer also "no"05:16
oomichialex_xu: I also want to remove /v3 endpoint05:16
gmann_oomichi: alex_xu : yea, got it. v3 thing never got released. then we can just delete that config too05:16
alex_xuoomichi: oops, I got you. we are same side05:16
gmann_oomichi: alex_xu : we wil be able to remove soon as test merge thing gets completed05:17
alex_xugmann_: yea05:17
*** thedodd has quit IRC05:17
alex_xugmann_: cool!05:17
*** yingjun has quit IRC05:17
oomichigmann_: yeah, your works will be able to remove it, thats GOOD!05:17
*** boris-42_ has joined #openstack-nova05:20
*** oro has joined #openstack-nova05:21
*** kmARC has joined #openstack-nova05:21
*** kaisers2 has joined #openstack-nova05:21
*** ameade_ has joined #openstack-nova05:21
*** browne has joined #openstack-nova05:21
*** ijw has joined #openstack-nova05:22
*** raorn has joined #openstack-nova05:22
*** obondarev_ has joined #openstack-nova05:23
*** boris-42 has quit IRC05:23
*** kaisers1 has quit IRC05:23
*** jbernard has quit IRC05:23
*** ameade has quit IRC05:23
*** ondergetekende has quit IRC05:23
*** obondarev has quit IRC05:23
*** mmedvede has quit IRC05:23
*** raorn_ has quit IRC05:23
*** samueldmq has quit IRC05:23
*** samuel-dmq has joined #openstack-nova05:23
*** mmedvede has joined #openstack-nova05:24
openstackgerrityalei wang proposed openstack/nova: Support unaddressed port  https://review.openstack.org/20288205:24
*** ameade_ is now known as ameade05:24
*** ondergetekende has joined #openstack-nova05:24
*** boris-42_ is now known as boris-4205:24
*** jbernard has joined #openstack-nova05:24
openstackgerritGhanshyam Mann proposed openstack/nova: Show 'locked_by' information in server Show & List Detail  https://review.openstack.org/20239105:25
*** hust has joined #openstack-nova05:27
*** browne has quit IRC05:27
*** lpetrut has joined #openstack-nova05:28
hustCan guys help me?05:28
*** vilobhmm has joined #openstack-nova05:29
husti cann't ping on instance to internet05:29
hustwhere i run #ifconfig, that is config ipv6 address, not ipv4 address05:30
hustnext, i run #router, it return empty,05:30
hustIn my network node, it can ping to external05:31
hustthanks!05:31
tonybhust: #openstack is a better place for that question.05:31
tonybhust: this is more more deleopment questions05:31
hust:((, ok, thanks you05:32
tonybhust: sorry I can't be of more help.05:32
*** lpetrut has quit IRC05:34
*** Murali has joined #openstack-nova05:35
*** dannywilson has quit IRC05:35
*** dannywilson has joined #openstack-nova05:36
*** markvoelker has joined #openstack-nova05:41
*** redbeard has joined #openstack-nova05:41
openstackgerritChangBo Guo(gcb) proposed openstack/nova: Remove unused parameter overwrite in elevated  https://review.openstack.org/20288505:43
*** Nikolay_St has quit IRC05:43
*** Sukhdev has joined #openstack-nova05:43
*** markvoelker_ has joined #openstack-nova05:44
*** humble_ has joined #openstack-nova05:45
*** markvoelker has quit IRC05:45
*** tobe_ has joined #openstack-nova05:46
*** hust has quit IRC05:46
*** wanghua has quit IRC05:48
*** lyanchih has quit IRC05:50
*** annashen has joined #openstack-nova05:51
*** lyanchih has joined #openstack-nova05:51
*** y_sawai has joined #openstack-nova05:52
*** otter768 has joined #openstack-nova05:55
*** yingjun has joined #openstack-nova05:56
*** otter768 has quit IRC05:59
*** dims_ has joined #openstack-nova06:00
*** dims_ has quit IRC06:06
*** ig0r_ has joined #openstack-nova06:08
*** SourabhP has quit IRC06:08
*** SourabhP has joined #openstack-nova06:13
*** rajesht has joined #openstack-nova06:15
*** tobe_ has quit IRC06:16
*** slong_ has quit IRC06:17
*** SourabhP_ has joined #openstack-nova06:18
*** SourabhP has quit IRC06:20
*** SourabhP_ is now known as SourabhP06:20
*** achanda has joined #openstack-nova06:21
openstackgerritOpenStack Proposal Bot proposed openstack/nova: Imported Translations from Transifex  https://review.openstack.org/19721306:21
*** SourabhP has quit IRC06:22
openstackgerritSergey Vilgelm proposed openstack/nova: Switch to the oslo_utils.fileutils  https://review.openstack.org/19957506:23
*** dannywil_ has joined #openstack-nova06:24
*** scheuran has joined #openstack-nova06:24
*** dannywil_ has quit IRC06:25
*** dannywil_ has joined #openstack-nova06:26
*** dannywilson has quit IRC06:27
*** tobe_ has joined #openstack-nova06:31
*** karimb has joined #openstack-nova06:32
*** Nikolay_St has joined #openstack-nova06:35
*** hemna has quit IRC06:36
*** Sukhdev has quit IRC06:37
*** ijw has quit IRC06:37
*** deepakcs has joined #openstack-nova06:38
*** achanda has quit IRC06:39
*** ndipanov has quit IRC06:42
*** lyanchih has quit IRC06:43
*** ndipanov has joined #openstack-nova06:43
*** oro has quit IRC06:44
*** kmARC has quit IRC06:44
*** achanda has joined #openstack-nova06:45
*** ig0r_ has quit IRC06:45
openstackgerritAlex Xu proposed openstack/nova-specs: Remove extension from Nova V2.1 API  https://review.openstack.org/20290006:46
*** jyuso1 has quit IRC06:48
*** ig0r_ has joined #openstack-nova06:48
*** ijw has joined #openstack-nova06:49
alex_xuoomichi: gmann_ https://review.openstack.org/#/c/202900/1 :)06:50
openstackgerritAbhishek Kekane proposed openstack/nova-specs: Improve performance of UnShelve API  https://review.openstack.org/13538706:51
*** belmoreira has joined #openstack-nova06:51
gmann_alex_xu: that is nice. will look over weekend :)06:52
alex_xugmann_: thanks :)06:52
*** cfriesen has quit IRC06:53
oomichialex_xu: yeah, many people love it :) but the scope seems huge, will check it later carefully06:54
alex_xuoomichi: yea, thanks06:54
openstackgerritNikola Dipanov proposed openstack/nova: Allow for migration object to be passed to _move_claim  https://review.openstack.org/19967906:55
openstackgerritNikola Dipanov proposed openstack/nova: rt: generalize claim code to be useful for other move actions  https://review.openstack.org/19713806:55
openstackgerritNikola Dipanov proposed openstack/nova: rt: move filtering of mygration by type lower in the call stack  https://review.openstack.org/19967806:55
openstackgerritNikola Dipanov proposed openstack/nova: compute: Make rebuild_instance RPC take an optional migration  https://review.openstack.org/20048506:55
openstackgerritNikola Dipanov proposed openstack/nova: Define migration states and transitions and use when changing status  https://review.openstack.org/19766906:55
openstackgerritNikola Dipanov proposed openstack/nova: Introduce a simple state machine module  https://review.openstack.org/19766806:55
*** lyanchih has joined #openstack-nova06:58
*** sudipto has joined #openstack-nova07:00
*** ssurana has quit IRC07:01
*** sahid has joined #openstack-nova07:02
*** sgordon has quit IRC07:03
*** afazekas has joined #openstack-nova07:06
*** vilobhmm has quit IRC07:07
*** y_sawai has quit IRC07:07
*** bradjones has quit IRC07:08
alex_xuoomichi: could you take the comment of this patch also https://review.openstack.org/#/c/197871/07:08
*** markus_z has joined #openstack-nova07:10
*** bradjones has joined #openstack-nova07:11
*** bradjones has quit IRC07:11
*** bradjones has joined #openstack-nova07:11
*** boris-42 has quit IRC07:12
*** doude has joined #openstack-nova07:12
*** ijw has quit IRC07:15
*** sgordon has joined #openstack-nova07:25
*** achanda has quit IRC07:27
*** alex_klimov has joined #openstack-nova07:28
openstackgerrityalei wang proposed openstack/nova: Support unaddressed port  https://review.openstack.org/20288207:29
*** shyu has quit IRC07:36
*** shyu has joined #openstack-nova07:37
*** jlanoux has joined #openstack-nova07:37
*** salv-orlando has joined #openstack-nova07:39
*** lyanchih has quit IRC07:40
*** achanda has joined #openstack-nova07:42
openstackgerritShiina, Hironori proposed openstack/nova: Add a compute RPC API to inject an NMI  https://review.openstack.org/20260507:42
*** jlanoux has quit IRC07:43
*** jlanoux has joined #openstack-nova07:44
*** oomichi has quit IRC07:47
*** dannywil_ has quit IRC07:49
*** dims_ has joined #openstack-nova07:49
*** coolsvap is now known as coolsvap|afk07:51
garykcores, daily beg time, please review the patch https://review.openstack.org/#/c/188789/807:53
*** dguitarbite has joined #openstack-nova07:55
ndipanovgaryk, it's depending on another patch that also needs to merge07:55
ndipanovand I don't think it's going to get much love either07:55
*** eglynn has quit IRC07:55
*** dguitarbite is now known as Guest1351307:55
*** lyanchih has joined #openstack-nova07:55
*** otter768 has joined #openstack-nova07:56
garykndipanov: ah, correct - https://review.openstack.org/#/c/198312/107:56
ndipanovgaryk, I can bet you a fiver that no one will look at that other than me ever07:56
*** dims_ has quit IRC07:56
garyknothing is getting any love.07:56
*** kumar has joined #openstack-nova07:57
garykndipanov: what can i say. i have tried to raise issues about reviews but that just pisses people off….07:57
ndipanovthe thing with this is - you need a lot of context. I can see this taking a core who has not worked on this bit of code upwards of an hour to review07:58
garykthe core team is getting smaller and smaller and the amount of code landing is linear. in addition that bug fixes are also not landing and we are hitting endless bugs with out testing07:58
ndipanovno one has that kind of time07:58
garykndipanov: so if they are going to commit to the project then they need to make that time07:58
*** kaisers2 has quit IRC07:59
garykseriously07:59
garykwe are being paid by companies to do this :)07:59
ndipanovthat is true but I am also certain that most of "us" have at least 4 other things they need to deal with that they are also being paid to do08:00
*** otter768 has quit IRC08:00
garykit is all a matter of priorities.08:00
garyki am unable to comment on the priorities of others as i am not wearing their shoes.08:00
ndipanovI am wearing no shoes atm08:01
*** Jeffrey4l has quit IRC08:01
garykbut from the standpoint of the project things are a a standstill08:01
garykme too :)08:01
garykbut it is my weekend and i am working08:01
ndipanovah yes08:01
*** romainh has joined #openstack-nova08:01
ndipanovI'll review that series later hopefully08:01
garykndipanov: this is what life in nova feels like one moment you are up … https://vine.co/v/enhjKXxjPrT08:02
ndipanovomg?!08:03
ndipanovthat poor kid08:03
garykyeah, you pass the gate and it all goes pear shape from then on...08:03
*** Marga_ has quit IRC08:04
garykthey should lock his parents away for posting that - i am sure it is going to be many years of therapy08:04
*** lucasagomes has joined #openstack-nova08:05
*** annashen has quit IRC08:05
ndipanovhaha08:06
*** yingjun has quit IRC08:10
*** jistr has joined #openstack-nova08:15
*** kmARC has joined #openstack-nova08:15
*** shuquan has joined #openstack-nova08:16
*** achanda has quit IRC08:16
*** salv-orlando has quit IRC08:17
*** eglynn has joined #openstack-nova08:17
*** oro has joined #openstack-nova08:19
*** yingjun has joined #openstack-nova08:19
*** moshele has joined #openstack-nova08:22
*** ijw has joined #openstack-nova08:24
johnthetubaguygaryk: you got a sec for this one: https://review.openstack.org/#/c/170641/908:26
johnthetubaguygaryk: its not got a green CI run08:26
johnthetubaguyalso, bit confused by the commit message, can you clarify that for me, I think the code should be fine though, but would feel better with a green CI run08:28
*** yingjun has quit IRC08:29
*** yingjun has joined #openstack-nova08:30
*** yassine has joined #openstack-nova08:31
mdboothgaryk: That vine is awesome08:31
* tonyb just gets internal error 500 :(08:32
sahidndipanov: hi, something i do not understand here http://git.openstack.org/cgit/openstack/nova/tree/nova/virt/hardware.py#n73208:33
sahidwhy and who can we have limit_cell=None ?08:33
sahids/who/how08:33
*** armax has quit IRC08:33
sahidi mean we should always have limit_cell defined08:33
ndipanovsahid, well08:33
ndipanovthat's a very good question08:33
*** shuquan has quit IRC08:34
*** shuquan_ has joined #openstack-nova08:34
ndipanovforcing a host means it will not go thorugh filters08:34
ndipanovwhich means it'll be None08:34
ndipanovbauzas, ^08:34
openstackgerritShiina, Hironori proposed openstack/nova: Add a Nova API to inject an NMI  https://review.openstack.org/20261708:34
ndipanovit's wrong08:34
*** yingjun has quit IRC08:34
ndipanovand we should probably fix that08:34
ndipanovbut at the moment it is like that08:34
* mdbooth larts python 308:35
*** abhishekk has joined #openstack-nova08:36
sahidndipanov: what about to have ram/cpu_allocation_ratio to 1 if limit_cell is not set?08:36
openstackgerritQin Zhao proposed openstack/nova: Add hacking check for greenthread.spawn() and eventlet.spawn()  https://review.openstack.org/19571308:36
mdboothHmm, here's an interesting thing08:37
*** derekh has joined #openstack-nova08:37
mdboothIt turns out python3 renamed iteritems for some retarded reason08:37
ndipanovsahid, well that's not good either is it - that would fail otherwise potentially valid requests on the claim08:37
*** oomichi has joined #openstack-nova08:37
ndipanovmdbooth, yes that's a well known fact08:37
mdboothThis causes a python 34 failure in the gate08:37
ndipanovitems does what iteritms used to08:37
*** pixelbeat_ has joined #openstack-nova08:38
mdboothHowever, _exact_instance_filter uses iteritens08:38
ndipanovthat's basically what people have been fixing08:38
mdboothSuggesting that it has no unit test coverage08:38
ndipanovmostly with py3 patches08:38
*** eglynn has quit IRC08:38
ndipanovyou need to use six08:38
ndipanov.iteritems08:38
mdboothndipanov: Got that (python 3 is still a stupid idea). The interesting thing was the lack of unit test failures.08:39
mdboothAnother example of python code which is obviously 'syntactically' incorrect, but doesn't actually fail until you run it08:41
*** markvoelker_ has quit IRC08:42
*** lpetrut has joined #openstack-nova08:42
*** lpetrut has quit IRC08:43
*** ociuhandu has joined #openstack-nova08:43
*** kumar has quit IRC08:43
mdboothIs there a reason we don't tend to pass additional context in exceptions, except for ec2 exceptions?08:45
*** tpeoples has quit IRC08:45
*** shuquan has joined #openstack-nova08:45
*** shuquan_ has quit IRC08:45
mdboothI've ensured that InstanceUpdateConflict contains both expected and actual values, which should be usable in calling code08:46
mdboothHowever, they're stuffed into exc.kwargs, instead of fields of the class08:46
openstackgerritMatthew Booth proposed openstack/nova: Implement compare-and-swap for instance update  https://review.openstack.org/20259308:47
*** bfic has joined #openstack-nova08:48
lyanchihWhy nova will allow users attach volume to or detach volume from paused instance?08:49
johnthetubaguygaryk: can I ask you questions about the NSXv stuff, getting a bit confused08:49
openstackgerritMatthew Booth proposed openstack/nova: Fix un-sixed use of iteritems in _exact_instance_filter  https://review.openstack.org/20292708:50
*** haypo has joined #openstack-nova08:52
*** coolsvap|afk is now known as coolsvap08:54
nagyz_ndipanov, how come you're online 24/7? are you a robot? :P08:54
*** yingjun has joined #openstack-nova08:54
nagyz_johnthetubaguy, if it's a general NSX question, shoot, I might know the answer08:55
*** markus_z has quit IRC08:56
johnthetubaguynagyz_: cool, looking at this patch (gets link)08:56
johnthetubaguynagyz_: https://review.openstack.org/#/c/147126/1708:56
*** ociuhandu has quit IRC08:56
johnthetubaguynagyz_: I am curious what it fails when the vnic is not updated, and in what cases the update is actually required08:57
*** markvoelker has joined #openstack-nova08:57
johnthetubaguys/it//08:57
ndipanovnagyz_, it's 9:57 AM here - that's human time08:57
*** lpetrut has joined #openstack-nova09:00
*** lpetrut has quit IRC09:00
*** kumar has joined #openstack-nova09:00
*** markvoelker has quit IRC09:02
*** promulo__ has quit IRC09:02
*** promulo_ has joined #openstack-nova09:02
*** deepakcs has quit IRC09:04
*** danpb has joined #openstack-nova09:06
ndipanovso johnthetubaguy this http://docs.openstack.org/infra/manual/developers.html#peer-review09:06
ndipanovthat's absolutely the worst guide to reviewing known to man09:06
ndipanov:)09:06
*** eglynn has joined #openstack-nova09:06
johnthetubaguyndipanov: its just a starting point right, thats cross project09:06
*** aix has joined #openstack-nova09:07
johnthetubaguyndipanov: I would say its way better than not having one, but yeah, lots of room for additions09:07
ndipanovit's basically "how to be the nitpickiest reviewer in the world"09:07
ndipanovit literally starts with something that is (should be) checked by a machine09:07
ndipanovas point 1.09:08
*** Maike has joined #openstack-nova09:08
*** bauzas is now known as bauwser09:08
johnthetubaguyndipanov: yeah, I would prefer spotting of bugs over any of the things listed, but yeah09:08
ndipanovso reviewers should know these things09:09
nagyz_johnthetubaguy, ah, so not an actual NSX question but an OpenStack <> NSXv integration question. then you'll have to wait for garyk :)09:09
ndipanovbut that's not what code review should be about09:09
ndipanovor at least a good code review09:09
johnthetubaguynagyz_: ah, no worries, yeah, its more about the neutron API for the NSXv stuff, than anything else09:09
ndipanovyou do make a point of understanding the context first09:09
ndipanovbut we should ephasize that more imho09:10
johnthetubaguyndipanov: yep, I try to cover that more in the Nova one, but I am not happy with the wording yet, we can push that up09:10
ndipanovcool09:10
*** lpetrut has joined #openstack-nova09:10
johnthetubaguyndipanov: so I have reached a break in reviews, if you fancy a quick hangout now to catch up with these process things before the midcycle?09:10
johnthetubaguyndipanov: I can PM you a room, if that helps09:11
*** moshele has quit IRC09:11
*** markvoelker has joined #openstack-nova09:12
lifelessndipanov: send in patches to that manual :)09:13
*** markus_z has joined #openstack-nova09:13
ndipanovlifeless, well the manual is a good baseline of useful information but we link it in the context of a review tutorial09:14
bauwserndipanov: mmm ?09:15
*** dims_ has joined #openstack-nova09:15
*** pczesno has joined #openstack-nova09:15
bauwserndipanov: re: http://git.openstack.org/cgit/openstack/nova/tree/nova/virt/hardware.py#n732 ?09:15
*** lpetrut has quit IRC09:16
*** markvoelker has quit IRC09:17
*** bfic has quit IRC09:18
*** gszasz has joined #openstack-nova09:18
*** liusheng has quit IRC09:18
*** liusheng has joined #openstack-nova09:19
*** dims_ has quit IRC09:20
*** kumar has quit IRC09:21
*** yamahata has quit IRC09:23
*** tobe_ has quit IRC09:25
*** markvoelker has joined #openstack-nova09:26
andrearosawanghao: I have updated the bug description and title for the old --force-detach bug: https://bugs.launchpad.net/nova/+bug/1449221 Please have a look and add your comments if you have time. Thanks09:30
openstackLaunchpad bug 1449221 in OpenStack Compute (nova) "Nova doesn't allow to cleanup volumes stuck in 'attaching' or 'detaching' status" [Undecided,In progress] - Assigned to Andrea Rosa (andrea-rosa-m)09:30
*** markvoelker has quit IRC09:31
*** pczesno has quit IRC09:31
*** zzz_pczesno has joined #openstack-nova09:31
*** ZZelle has quit IRC09:31
*** zzz_pczesno is now known as pczesno09:31
wanghaoandrearose: Sure09:31
*** yingjun has quit IRC09:33
*** Kennan2 has joined #openstack-nova09:33
*** Kennan has quit IRC09:33
lifelessndipanov: yes, but if the advice can be improved, surely we should09:35
*** redbeard has quit IRC09:37
bauwseralex_xu: aloha :)09:37
wanghaoandrearose: I saw the bug description, there is a question: Will nova don't call the force-detach of cinder API if nova catch the exception which came from cinder?09:37
bauwseralex_xu: seen your comment on https://review.openstack.org/#/c/197911/3/nova/objects/image_meta.py,cm but not sure I understand :)09:37
wanghaoandrearose: I think nova should do this operation.09:38
*** marzif_ has joined #openstack-nova09:39
*** asselin_ has joined #openstack-nova09:40
*** asselin has quit IRC09:40
*** markvoelker has joined #openstack-nova09:41
*** humble_ has quit IRC09:42
*** gibi has quit IRC09:42
*** gibi has joined #openstack-nova09:42
andrearosawanghao: the idea is that nova shouldn't take any specific actions to react to a cinder failure. It is up to an operator decide how to fix the cinder side and decide to call the cinder -force directly to cinder09:44
andrearosathe change is basically leave nova retry to detach a stuck volume and if the nova detach operations go well then nova has done its job and every other potential errors in cinder have to be addressed directly in cinder and not using nova09:45
*** markvoelker has quit IRC09:45
*** bfic has joined #openstack-nova09:46
andrearosawanghao: that was the outcome from the long discussion on the spec09:46
wanghaoandrearosa: em.. if cinder is in failure, even if nova call the force-detach ,it also can't make work.09:48
wanghaoandrearosa: I got this.09:48
*** romainh has quit IRC09:49
wanghaoandrearosa: Well, nova just need to ensure BDM could be cleand up when volume stuck in detaching or attaching. I'm ok with this bug description.09:51
andrearosawanghao: thanks for taking time to review it.09:53
wanghaoandrearosa: you09:54
wanghaoandrearosa: you're welcome.09:54
*** bfic has quit IRC09:54
*** toan has quit IRC09:55
*** markvoelker has joined #openstack-nova09:55
wanghaoandrearosa: About this "Nova will delete the BDM record only if the call to cinder "terminate_connection" will success."  If cinder is in failure, this API may be not successful.09:56
*** toan has joined #openstack-nova09:56
wanghaoandrearosa: It's a synchronization API in cinder.09:56
*** otter768 has joined #openstack-nova09:56
*** jyuso1 has joined #openstack-nova09:57
*** shuquan has quit IRC09:57
andrearosawanghao: yes you are right but we can't remove BDM until we have terminated the connection otherwise the volume could show back up.09:58
*** liusheng has quit IRC09:59
andrearosaso if the terminate_connection fails because cinder is down we leave the situation as it is in nova09:59
*** markvoelker has quit IRC10:00
andrearosabut when the cider is up again re-detaching the volume will clean-up the nova DB10:00
*** jichen has joined #openstack-nova10:01
*** bfic has joined #openstack-nova10:01
*** sudipto has quit IRC10:01
*** otter768 has quit IRC10:01
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw_cpu_threads_policy' image metadata prop  https://review.openstack.org/20264710:03
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw:cpu_threads_policy=separate' scheduling  https://review.openstack.org/20265210:03
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Make use of 'InstanceNUMACell.cpu_policy' field  https://review.openstack.org/20265310:03
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: trivial: Make use of 'CPUAllocation' enum values  https://review.openstack.org/20265410:03
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw:cpu_threads_policy=isolate' scheduling  https://review.openstack.org/20265510:03
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'cpu_policy' and 'cpu_threads_policy' fields  https://review.openstack.org/20264810:03
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw:cpu_threads_policy=avoid' filtering  https://review.openstack.org/20264910:03
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: trivial: Add some logs to 'numa_topology_filter'  https://review.openstack.org/20265010:03
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw:cpu_threads_policy=require' scheduling  https://review.openstack.org/20265110:03
wanghaoandrearosa: If in this situation, we also can use force-detach API of cinder to terminated connection when cinder is up.10:03
andrearosawanghao: that won't cleanup the nova DB10:04
*** bfic has quit IRC10:05
*** dims_ has joined #openstack-nova10:05
andrearosawe still need to call bdm.destroy() in nova10:05
wanghaoandrearosa: I mean Nova clean up BDM first no matter the terminated_connection exception. And then user call force-detach in cinder to finish the terminated_conection.10:05
*** shyu has quit IRC10:07
*** shyu has joined #openstack-nova10:07
andrearosawanghao: I think we can't, let me find the comment where that point was discussed10:07
*** deepakcs has joined #openstack-nova10:07
*** markvoelker has joined #openstack-nova10:07
openstackgerritGhanshyam Mann proposed openstack/nova: Show 'locked_by' information in server Show & List Detail  https://review.openstack.org/20239110:08
*** wverdugo500 has quit IRC10:08
andrearosawanghao: please have a look at the comment that hemnafk add here https://review.openstack.org/#/c/84048/48/specs/liberty/approved/add-force-detach-to-nova.rst10:10
*** markvoelker has quit IRC10:12
andrearosawanghao: my reading is that we can safetly remove the DBM record only when cinder have unexported the volume to the host and that happens when we call the terminate_connection10:12
openstackgerritQin Zhao proposed openstack/nova: Refuse to delete compute service if host is in host aggregate  https://review.openstack.org/19764810:14
wanghaoandrearosa: yeah, I remember this, my response is that we will call force-detach in cinder side to make sure unexported volume.10:14
*** IanGovett has joined #openstack-nova10:15
garykjohnthetubaguy: nagyz_: i am around10:15
andrearosawanghao: then we are exposed to race conditions, if we get rid of BDM then we call the force-detach and cinder is down we are in a bad situation.10:17
wanghaoandrearosa: you're right. It will make thing worse.10:18
*** amotoki has joined #openstack-nova10:18
andrearosawanghao: I am wonder if we should put this disucssion on the bug and ask someone from cinder to chime in, what do you think?10:18
wanghaoandrearose: Great.10:19
*** jasondotstar has joined #openstack-nova10:21
openstackgerritEli Qiao proposed openstack/nova: BDM: Stop booting if a blank volume as boot device  https://review.openstack.org/18045710:21
*** markvoelker has joined #openstack-nova10:22
*** shyu has quit IRC10:27
wanghaoandrearose: I have added a comment about what we discussed. You can add your opinion on this.10:27
andrearosawanghao: thanks10:28
*** amotoki_ has joined #openstack-nova10:28
wanghaoandrearose: :)10:28
*** mleroy has joined #openstack-nova10:30
johnthetubaguygaryk: hey, sorry, on a call, about to finish10:30
*** amotoki has quit IRC10:31
johnthetubaguygaryk: I added comments in the code review basically10:31
johnthetubaguygaryk: just wondering about how it works10:31
*** openstackgerrit has quit IRC10:31
*** markvoelker has quit IRC10:32
*** openstackgerrit has joined #openstack-nova10:32
gmann_mtreinish: clarkb : multinode job sometimes fails for live migration too.10:37
gmann_mtreinish: clarkb - http://logs.openstack.org/91/202391/5/check/gate-tempest-dsvm-multinode-full/f838b41/logs/testr_results.html.gz10:37
*** markvoelker has joined #openstack-nova10:37
*** danpb has left #openstack-nova10:37
mdboothSo, if I fix a bug in a unit test, do I have to submit a unit test to ensure that the unit test isn't subsequently re-broken?10:38
lifelessI'd say that depends on the nature of the bug10:38
*** danpb has joined #openstack-nova10:38
gmann_mtreinish: clarkb : migration started for host "devstack-trusty-2-node-hpcloud-b3-3757707" but after migration finish, server has host "devstack-trusty-2-node-hpcloud-b3-3757707-20386"10:38
mdboothWe need to go deeper10:38
gmann_mtreinish: clarkb : is this known one or whats wrong?10:38
lifelessmdbooth: wait until I get you writing on the tests for the testing tools tests10:38
lifelessthe dream gets unstable10:39
*** lsmola has joined #openstack-nova10:40
*** RuiChen has quit IRC10:40
*** thorst has joined #openstack-nova10:40
*** aix has quit IRC10:41
*** markvoelker has quit IRC10:42
openstackgerritMatthew Booth proposed openstack/nova: Fix libguestfs failure in test_can_resize_need_fs_type_specified  https://review.openstack.org/20297310:44
mdboothlifeless: I'm not submitting a unit test for that ^^^ :P10:44
*** aix has joined #openstack-nova10:45
*** thorst has quit IRC10:45
lifelessmdbooth: so, what I think would be nice there - and no, not asking you to do it - would be to have two variations of all the tests that exercise the guestfs influenced code path (generated dynamically)10:47
lifelessmdbooth: and have one set skip() automatically if its not executing usefully10:47
lifelessmdbooth: and we really need a test slave running the other half of the set10:47
lifelessmdbooth: further, having some type validation in the method would be good too10:48
lifelessduck typing is well and good, except when it goes awful :)10:48
mdboothduck typing is awful except when...10:48
mdboothit's just awful10:48
lifelessheh10:48
* lifeless potters off to write some haskell10:49
lifelessnow the question is, did I totally wedge openstack with mock 1.1.410:49
mdboothIn all seriousness, I do like to tidy up Nova rather than produce fly-by minimal fixes to let me get my work done10:50
mdboothHowever, when I do this, they inevitably become the whole job10:50
mdboothThen they get rejected for idiotic bike-shedding reasons10:50
mdboothThen the actual job never gets done10:50
lifelessI have little tolerance for that pain myself10:50
mdboothI get the impression that people just like it untidy round here10:51
lifelessso hardly going to critique pavlov :)10:51
mdboothSo, whatever10:51
lifelessare you going to the midcycle ?10:51
mdboothNo10:51
*** markvoelker has joined #openstack-nova10:51
*** markvoelker has quit IRC10:56
*** garyk has quit IRC10:57
*** toan has quit IRC10:58
*** toan has joined #openstack-nova10:59
*** pedroalvarez has quit IRC10:59
*** pedroalvarez has joined #openstack-nova11:00
mdboothOh, ffs11:01
mdboothAssertionError: Expected 'seek' to be called once. Called 0 times11:01
mdboothCan we *please* stop writing tests like that11:01
mdboothThey're idiotic11:01
openstackgerritAnthony PERARD proposed openstack/nova: contrib: Add vif-bridge-nova-network script for Xen.  https://review.openstack.org/20125711:02
danpbmdbooth: what, you mean you don't like tests that are essentially saying    assertEqual(read("/path/to/file.py"), "copy of contents of /path/to/file.py")11:03
mdboothdanpb: That would be it :/11:03
rgerganovmdbooth: next step is to compute MD5 checksum of the code under test and assert it is the correct one11:05
*** lyanchih has quit IRC11:05
mdboothrgerganov: That's an excellent idea. You should propose it in Tokyo11:05
*** dims_ has quit IRC11:06
mdboothIt would have the advantage of provably preventing all regressions11:06
mdboothThat has to be worth a lot11:06
*** markvoelker has joined #openstack-nova11:06
rgerganovright .. I am actually thinking of creating test generator11:06
mdboothAwesome11:06
rgerganov100% test coverage11:06
mdboothThe holy grail!11:07
*** oomichi has quit IRC11:09
*** markvoelker has quit IRC11:11
*** bfic has joined #openstack-nova11:13
*** coolsvap is now known as coolsvap|away11:14
*** Guest13513 has quit IRC11:14
*** bfic has quit IRC11:18
*** markvoelker has joined #openstack-nova11:19
*** lucasagomes is now known as lucas-hungry11:20
*** bfic has joined #openstack-nova11:21
openstackgerritOpenStack Proposal Bot proposed openstack/nova: Updated from global requirements  https://review.openstack.org/20070811:23
*** markvoelker has quit IRC11:24
rgerganovndipanov: johnthetubaguy: do we need to update cells_api when adding new functionality or this is deprecated by CellsV2 ?11:28
alex_xubauwser: hey :) I may misunderstand, so using new name for image properties in the object, but we still need back-compatible with old properties name, is it right?11:31
*** markvoelker has joined #openstack-nova11:32
*** alex_xu is now known as alexus11:34
*** roldyx has joined #openstack-nova11:37
roldyxhi11:37
*** bfic has quit IRC11:38
roldyxI have a problem.. I am using ice-house and I have 2 AZ Abailability Zones11:38
roldyxMy problem is the following..11:39
roldyxTwo Tenants: prod_int and prod_ext11:40
roldyxtwo AZ: AZ_prod_int and AZ_prod_ext11:41
*** redbeard has joined #openstack-nova11:42
roldyxbut.. when i execute 'nova avalability-zone-list', I obtain always AZ_prod_int and AZ_prod_ext11:43
mnaserroldyx: this channel isnt for support, please check out #openstack for help11:43
roldyxmnaser.. ups.. :(11:44
mnasernp11:44
*** markvoelker has quit IRC11:44
*** bfic has joined #openstack-nova11:46
*** moshele has joined #openstack-nova11:48
openstackgerritHans Lindgren proposed openstack/nova: Remove/deprecate unused parts of the compute node object  https://review.openstack.org/18675711:48
openstackgerritHans Lindgren proposed openstack/nova: Make ComputeNode.service_id nullable to match db schema  https://review.openstack.org/16928411:48
*** dprince has joined #openstack-nova11:49
openstackgerritHans Lindgren proposed openstack/nova: Avoid querying for Service in resource tracker  https://review.openstack.org/16928811:50
*** roldyx has quit IRC11:51
*** josecastroleon has joined #openstack-nova11:51
*** deepthi has quit IRC11:53
*** markvoelker has joined #openstack-nova11:55
openstackgerritDeepak C Shetty (deepakcs) proposed openstack/nova: libvirt: Nova part of volume snapshot improvements  https://review.openstack.org/17281311:55
openstackgerritDeepak C Shetty (deepakcs) proposed openstack/nova: objects: Add support for OnlineSnapshotStatus object  https://review.openstack.org/19453811:55
bauwseralexus: hey, there is no reason IMHO for that11:56
bauwseralexus: just because it's not checked11:56
*** markus_z has quit IRC11:57
alexusbauwser: so we can free to change existed properties name?11:57
bauwseroh oh, API meeting in 2 mins, and I can going there!11:57
mdboothHas anybody proposed a revert of change Id835d080a1ada52cbd3f24dad9bab5eeb2f29a54 yet?11:57
*** Jeffrey4l has joined #openstack-nova11:57
alexusbauwser: thanks :)11:57
mdboothIt breaks python27 tests, so it's weird it could get in at all11:57
*** otter768 has joined #openstack-nova11:57
bauwseralexus: well, the legacy fields is needed for helping, but not really needed for something missed11:58
mdboothsdague: Incidentally, that change adds the following comment to tox.ini:11:58
mdbooth+  # TODO(sdague) this is a brute force work around for pip not respecting test-requirements.txt11:58
*** gmann has joined #openstack-nova11:58
mdboothsdague: However, see https://review.openstack.org/#/c/200579/11:58
mdboothNova has intentionally broken tox in this regard :/11:58
alexusbauwser: ok, I think the key is "missed"...I need recheck the code11:58
*** gmann has quit IRC11:59
*** gmann has joined #openstack-nova11:59
*** lyanchih has joined #openstack-nova11:59
alexusnova api meeting in 1 min~11:59
sdaguemdbooth: because it was the only way that anyone could ever land changes12:00
*** markvoelker has quit IRC12:00
sdagueas the doc job was failing, if you can get that revert to pass, probably by rebasing on master, it's fine to change back12:00
mdboothsdague: See above for the reason I think it's required12:01
mdboothIt's because we're breaking tox with:12:01
mdboothinstall_command = pip install -U --force-reinstall {opts} {packages}12:01
sdaguemdbooth: you are not listening to me12:01
*** amotoki_ has quit IRC12:02
sdaguemdbooth: no, that used to work fine using the test-requirements.txt file12:02
*** otter768 has quit IRC12:02
sdaguethere was a pip change where that stopped being a thing12:02
sdagueand there might be a fix now12:02
mdboothAre you sure, or did it happen to work coincidentally because there wasn't an upstream package which broke it?12:02
mdboothBecause that force update thing is evil12:03
sdaguenope, totally sure, because the break is about sphinx12:03
sdagueit really isn't12:03
sdaguenot for tox, and we've had it a long time12:03
mdboothIt breaks tox --sitepackages, for eg12:03
mdboothThat command no longer does what you ask12:03
mdboothBecause we then tell pip to go ahead and blow it all away anyway12:03
sdaguewe've been doing that forever12:04
mdboothWe've been doing it for a while12:04
sdagueanyway, if you want to make that patch work, please do12:04
sdaguethere was half a day of working through that issue to get things working here so patches could land again12:04
mdboothI'm patching install_commands out of tox.ini downstream, for eg, because it produces non-deterministic behaviour12:04
sdagueright, do whatever you like downstream, for upstream we want to be taking new code12:05
sdagueand running in a venv12:05
sdaguethat's been a core tenant for years12:05
*** mgoddard has joined #openstack-nova12:05
*** nkrinner_afk is now known as nkrinner12:05
*** moshele has quit IRC12:06
*** lyanchih has quit IRC12:06
*** jasondotstar has quit IRC12:06
*** markvoelker has joined #openstack-nova12:09
*** markvoelker has quit IRC12:13
lifelesssdague: whats this tox issue ?12:14
lifelesssdague: [can I help?]12:14
sdaguelifeless: that sphinx thing we were debugging the other day12:14
lifelessoh right12:14
sdaguewhere the venv wasn't respecting the sphinx pin12:14
lifelessthat was a pbr bug12:14
sdagueright, is that released now?12:14
lifelessinteracting with markers in mock's dependencies12:14
lifelessyes. pbr 1.3 is good12:15
sdagueso we can revert it?12:15
sdagueok, cool12:15
openstackgerritSean Dague proposed openstack/nova: Don't force package upgrades when running tox  https://review.openstack.org/20057912:15
*** romainh has joined #openstack-nova12:15
lifelesssdague: the mock_open thing should be fixed for you in 1.1.412:16
*** markvoelker has joined #openstack-nova12:16
lifelesssdague: but of course that fix broke someone else.12:16
sdagueheh12:16
lifelesssdague: https://github.com/testing-cabal/mock/issues/28812:16
lifelessI did love the report 'does not work'.12:17
*** ferest has joined #openstack-nova12:18
sdagueheh12:19
*** markvoelker has quit IRC12:21
*** lsmola has quit IRC12:21
*** jasondotstar has joined #openstack-nova12:21
*** ferest has quit IRC12:21
*** baoli has joined #openstack-nova12:21
*** lyanchih has joined #openstack-nova12:22
*** lucas-hungry is now known as lucasagomes12:22
*** lsmola has joined #openstack-nova12:23
*** edmondsw has joined #openstack-nova12:23
*** kylek3h has joined #openstack-nova12:24
*** mmedvede_ has joined #openstack-nova12:24
*** markvoelker has joined #openstack-nova12:24
sdaguelifeless: did you ever look at what was happening here - https://review.openstack.org/#/c/200500/5/nova/tests/unit/virt/hyperv/test_vhdutils.py,cm ?12:24
sdaguewe ended up just skipping that test12:25
*** dims_ has joined #openstack-nova12:25
*** lpetrut has joined #openstack-nova12:28
lifelesssdague: I don't know. Check your bugs in mock upstream, if there isn't one matching, file it on bugs.python.org and link it from your skip12:29
lifelesssdague: but12:29
*** aysyd has joined #openstack-nova12:30
lifelesssdague: that looks like the mock_open thing 1.1.4 fixes12:30
lifelesssdague: so maybe try removing the skip to start with12:30
lifelesssdague: orthogonally, thats where i'd use an expectedfailure rather than a skip, so you can tell if its fixed or not12:30
lifelessnight12:31
*** markvoelker has quit IRC12:32
sdaguenight12:33
*** thorst has joined #openstack-nova12:33
*** deepakcs has quit IRC12:34
openstackgerritGhanshyam Mann proposed openstack/nova: Removing extension "OS-EXT-VIF-NET" from v2.1 extension-list  https://review.openstack.org/19893412:34
*** thorst has quit IRC12:35
openstackgerritMichal Rostecki proposed openstack/nova: Dedicate aggregates for specific tenants  https://review.openstack.org/19578312:36
*** coolsvap|away is now known as coolsvap12:37
*** markvoelker has joined #openstack-nova12:39
openstackgerritRadoslav Gerganov proposed openstack/nova: Add MKS protocol for remote consoles  https://review.openstack.org/19912912:39
openstackgerritRadoslav Gerganov proposed openstack/nova: Add MKS console support  https://review.openstack.org/20300612:39
*** eharney has quit IRC12:41
*** vladikr has joined #openstack-nova12:42
*** markvoelker has quit IRC12:43
*** lpetrut has quit IRC12:46
pczesnojohnthetubaguy: hi, regarding : https://blueprints.launchpad.net/nova/+spec/virt-driver-cpu-thread-pinning12:46
*** abhishekk has quit IRC12:46
johnthetubaguypczesno: hi12:46
pczesnojohnthetubaguy: the code was send yesterday, which is after the deadline12:46
pczesnojohnthetubaguy: can we get an approval again?12:47
johnthetubaguypczesno: it seems to have the unit tests failing, is that expected?12:47
openstackgerritRadoslav Gerganov proposed openstack/nova: VMware: add serial port device  https://review.openstack.org/14920312:47
pczesnojohnthetubaguy: nope, i need an hour or two to fix that12:48
johnthetubaguypczesno: it looks like you have not updated all the version numbers12:48
pczesnojohnthetubaguy: right12:48
johnthetubaguypczesno: so it doesn't look ready for review yet, so still doesn't meet the freeze requirements12:48
pczesnojohnthetubaguy: and if i would get it working today?12:49
johnthetubaguypczesno: OK, since you asked nicely, yes. Although do be aware its really really tight to get this merged now, lots of other stuff has already been through a cycle of reviews, etc :(12:50
pczesnojohnthetubaguy: thanks, i get that, will work with reviewer to make it happen12:50
*** eharney has joined #openstack-nova12:51
johnthetubaguypczesno: so we do have another 80 or so blueprints currently under review and trying to get in, and no where near enough people doing reviews right now, but its still technically possible12:52
* johnthetubaguy is going to get some lunch now12:52
*** markvoelker has joined #openstack-nova12:53
*** scheuran has quit IRC12:54
*** dims_ has quit IRC12:54
*** nkrinner has quit IRC12:55
bauwseralexus: johnthetubaguy: sdague: I was thinking of https://docs.python.org/2/tutorial/modules.html#packages-in-multiple-directories by using the __path__ globals to provide an incremental way to change legacy_v2 stuff12:55
sdaguebauwser: incremental is really not worth it, lets just rip the bandaid off on this one12:56
sdagueit doesn't impact our users12:56
*** afaranha has joined #openstack-nova12:56
alexusit is already incremental way https://review.openstack.org/#/c/193725/ isn't move all the plugins, just move part of that12:57
bauwsersdague: my biggest worries with https://review.openstack.org/#/c/193589/ is that it mixes both a package rename, a new WSGI resource and some refactoring12:58
*** markvoelker has quit IRC12:58
afaranhahello12:59
afaranhadoes anyone knows if there is a bug in some tests in Nova?13:00
*** browne has joined #openstack-nova13:00
afaranhaI just cloned the nova and run this test and I got fail nova.tests.unit.virt.hyperv.test_vhdutils.VHDUtilsTestCase.test_get_vhd_format_zero_length_file13:00
*** gmann has quit IRC13:00
bauwserafaranha: yeah, that's a CI issue13:01
lyanchihGuys can you please help me review our patch     https://review.openstack.org/#/c/202436/13:01
bauwserafaranha: I mean, our gate is broken13:02
sdaguebauwser: wait, it is?13:02
sdaguebauwser: is anyone working on that fix?13:02
bauwsersdague: yup, just looking at it now13:02
sdagueso, probably another mock open issue13:02
bauwsersdague: looking at logstash while I type13:03
*** edleafe is now known as figleaf13:03
sdaguelifeless fixed one issue, but I think broke another case at the same time13:03
*** samuel-dmq has quit IRC13:04
*** Murali has quit IRC13:04
*** baoli has quit IRC13:04
*** samueldmq has joined #openstack-nova13:04
*** Maike has quit IRC13:05
bauwsersdague: http://logs.openstack.org/57/186757/13/check/gate-nova-python27/c75a463/console.html as an other example13:05
*** strictlyb has quit IRC13:05
lyanchihHi, why nova allow users attach volume or detach volume from paused instance? I had test one issue, when yoou detach volume from paused instance, then attach any volume to same device name. Libvirt will throw exception.13:05
bauwsersdague: I mean http://logs.openstack.org/57/186757/13/check/gate-nova-python27/c75a463/console.html#_2015-07-17_12_11_00_98813:05
jrollsdague: ironic is busted too, looking like https://github.com/testing-cabal/mock/commit/e9db0161fc11eceba189a0cc161deefce57529a813:05
*** markvoelker has joined #openstack-nova13:05
afaranhabauwser, do you now if the submitted patches will be frozen until this bug is fixed?13:05
jrollI think the fix is s/return_value/return_value()/13:05
bauwserafaranha: I'm trying to see the number of occurrences to see if it's a transient issue13:06
jroll(for things using mock_open().return_value)13:06
bauwsercall me stupid, but I'm unable to get a logstash pattern :/13:06
afaranhabauwser, thank you13:06
*** lyanchih has left #openstack-nova13:07
*** markvoelker_ has joined #openstack-nova13:07
*** lyanchih has joined #openstack-nova13:07
alexusbauwser: re: https://review.openstack.org/#/c/197911/ for now, we didn't use the requestspec obj yet. So image properties in request spec dict, and use 'hypervisor_version_requires' as properties name, after we change to obj, the original name won't work anymore13:08
*** bfic has quit IRC13:09
bauwseralexus: no because I'm hydrating correctly when needed :)13:09
*** markvoelker has quit IRC13:09
bauwseralexus: and the filter is later modified to call the correct field13:09
alexusbauwser: but the old original property won't load into ImageMetaProps obj13:10
*** bnemec has joined #openstack-nova13:11
*** jasondotstar has quit IRC13:11
alexusbauwser: you need load image properties into ImageMetaProps obj first.13:12
*** baoli has joined #openstack-nova13:12
bauwseralexus: double checking13:12
*** mdrabe has joined #openstack-nova13:13
*** rdo has quit IRC13:13
*** ivasev has joined #openstack-nova13:14
*** baoli has quit IRC13:15
*** rdo has joined #openstack-nova13:15
bauwseralexus: okay, sounds like I owe you something13:16
alexusbauwser: :)13:16
bauwseralexus: it will be your fault when I'll flood that channel13:16
*** rajesht has quit IRC13:17
*** doude has quit IRC13:18
*** xyang1 has joined #openstack-nova13:18
*** doude has joined #openstack-nova13:19
openstackgerritlyanchih proposed openstack/nova: nova secgroup-list-rules shows empty table with neutron  https://review.openstack.org/20302213:20
*** Piet has quit IRC13:21
* alexus reboot again...13:21
kashyapmdbooth: Randomly stumbled on this, on your libguestfs test fix patch -- http://logs.openstack.org/73/202973/1/check/gate-nova-python27/665d6f4/console.html#_2015-07-17_11_42_35_47813:23
mdboothkashyap: I bisected that earlier, btw13:23
kashyapReading a bit of scroll, seems like you already are on it.13:23
mdboothIt's broken in master by the looks of it13:24
kashyapmdbooth: Ah, okay. Interesting, learnt something new reading that.13:24
*** jecarey has joined #openstack-nova13:24
mdboothIt was originally broken by https://review.openstack.org/#/c/200500/13:24
mdboothBut that adds a skip for the affected test13:24
mdboothSo I wonder if it was subsequently removed13:24
*** mriedem has joined #openstack-nova13:24
* mdbooth hasn't got there, yet13:24
kashyapmdbooth: A silly question - why are there multiple py27 logs?13:24
kashyapThought it should be one for a single run, no? - http://logs.openstack.org/73/202973/1/check/gate-nova-python27/665d6f4/tox/13:24
mdbooth-0 is installation of the virtualenv13:24
mdbooth-1 is installation of deps13:25
mdbooth-2 is installation of the application under test13:25
kashyapAh, thanks for the education.13:25
*** baoli has joined #openstack-nova13:26
*** cpschult has joined #openstack-nova13:28
mdboothdansmith mriedem sdague: This seems to have caused a gate regression: https://review.openstack.org/#/c/200500/13:28
mdboothExample: http://logs.openstack.org/73/202973/1/check/gate-nova-python27/665d6f4/console.html#_2015-07-17_11_42_35_47813:28
mdboothThe above patch includes 1 skip13:28
dansmithit was to fix a gate regression, IIRC13:28
mdboothBut I'm hitting the same issue in other tests13:28
mdboothIt's weird that it's only manifesting 7 days after it was merged13:29
dansmithwell, I saw that bug locally13:29
mriedemmdbooth: are the other tests using mock_open?13:29
mdboothpip changing packages under our noses?13:29
dansmithrebuilding my .tox helped13:29
mdboothmriedem: Yes13:29
mriedemmdbooth: then it's some weirdness with mock_open13:29
jrollso, mock_open was changed in the mock release from this morning13:29
mdboothdansmith: I do that lots. Above is a failure on jenkins.13:29
dansmithjroll: again?13:29
jrollhttps://github.com/testing-cabal/mock/commit/e9db0161fc11eceba189a0cc161deefce57529a813:29
jrollyep13:29
dansmithffs13:29
jrollironic is busted too13:29
jroll\o/13:29
bauwsermdbooth: I was unable to find a correct logstash pattern for it :/13:30
*** dansmith is now known as superdan13:30
jrolldansmith: I think it broke things accessing mock_open().return_value directly13:30
mriedembauwser: fingerprint is going to suck since it's going to depend on the test case that's failing, randomly, with mock_open13:31
mriedemPLUS13:31
mriedemlogstash indexing is behind by 13 hours13:31
bauwsermriedem: mmm, not really13:31
bauwsermriedem: AH !13:31
mriedemso logstash isn't going to show anything from today so far13:31
* bauwser was thinking he was having fat fingers13:31
*** Jeffrey4l has quit IRC13:31
mriedemjroll: do you know if there is an LP bug open?13:31
mdboothAnyway, it looks to me as though all python27 jobs will fail due to the above13:32
jrollmriedem: I opened https://bugs.launchpad.net/ironic/+bug/147565313:32
openstackLaunchpad bug 1475653 in Ironic "Gate broken with mock 1.1.4 release" [Critical,Confirmed]13:32
jrollidk about nova though13:32
bauwsermriedem: I spotted the issue since 1 hour app.13:32
bauwsermriedem: no bugs founds13:32
bauwsermriedem: except https://bugs.launchpad.net/nova/+bug/1473401 which could be related13:33
openstackLaunchpad bug 1473401 in OpenStack Compute (nova) "gate-nova-python27 and gate-nova-docs failing for mock 1.1.0" [Critical,Fix committed] - Assigned to Sean Dague (sdague)13:33
mriedembauwser: that's the old one from last week13:33
mriedemfor mock 1.1.013:33
bauwsermriedem: yup, I know13:33
mriedemnext week there will be a bug for mock 1.1.5 breaking the gate13:34
*** jang3 has joined #openstack-nova13:34
*** jang has quit IRC13:34
bauwser\o/13:34
*** READ10 has joined #openstack-nova13:34
mdboothWould we consider *not* just taking whatever our upstream wants to break?13:34
*** markvoelker_ has quit IRC13:34
bauwsermdbooth: the question is why the regression passed the gate ?13:34
mriedemmdbooth: well we'd have to block mock >= 1.1.413:34
mriedembauwser: it's not tested in the gate13:34
mriedemit's the forked mock library in github13:35
bauwsermriedem: I see13:35
mdboothbauwser: Because mock wasn't broken at the time it was introduced, I assume13:35
mdboothSo we broke because pypi was updated13:35
bauwsergotcha13:35
mriedemwell, guys, it's a library13:35
mriedemit breaks us for the same reason that oslo releases often break us13:35
mriedemanyway13:36
*** rgerganov has quit IRC13:36
bauwserokay, I suppose I should write a change ? :)13:36
*** raph_ has joined #openstack-nova13:36
mriedemthe other day someone was saying that mock_open behaved differently if you used it as a context manager, i have no idea if that would fix this13:36
mdboothIf mock is being unstable right now, could we add a version ceiling until it's working again?13:36
*** jang3 has quit IRC13:36
bauwsermriedem: opening the bug13:37
mriedemyeah let's get the bug open first,13:37
mriedemw/o logstash it's hard to know who else is broken, so i'm asking in some other channels13:38
*** tcammann has quit IRC13:38
mriedemif it were pervasive we could think about a cap13:38
*** anteaya has quit IRC13:38
mriedemmdbooth: btw, is this random or completely repeatable locally?13:39
*** ctrath has joined #openstack-nova13:39
*** jang1 has joined #openstack-nova13:39
mdboothAlso fails locally for me13:39
mdboothI used git bisect to blame the above patch13:39
mdboothI can play with mock versions if you'd like13:39
bauwsermriedem: https://bugs.launchpad.net/nova/+bug/147566113:39
openstackLaunchpad bug 1475661 in OpenStack Compute (nova) "py27 jobs failing due to mock_open" [Critical,Confirmed]13:39
mriedemwell as superdan said that was to fix for busted mock 1.1.013:39
*** tcammann has joined #openstack-nova13:40
*** ijuwang has joined #openstack-nova13:40
mdboothSounds like a cap at <1.1.0 might be in order13:40
bauwsertesting locally as well - not sure a bisect can help13:40
mriedemthe cap would be <1.1.413:40
raph_hello everybody. https://bugs.launchpad.net/nova/+bug/1475652 -> can somebody confirm or invalidate ?13:41
openstackLaunchpad bug 1475652 in OpenStack Compute (nova) "libvirt, rbd imagebackend, disk.rescue not deleted when unrescued" [Undecided,New]13:41
mriedemjbernard: ^13:41
mdboothmriedem: Well, the above patch introduced a skip13:41
*** zzzeek has joined #openstack-nova13:41
mdboothWhich isn't great13:41
*** anteaya has joined #openstack-nova13:42
mriedemnot great no but neither is completely blocking the entire project13:43
*** hakimo has joined #openstack-nova13:43
*** hakimo_ has quit IRC13:43
jrollthis mock change completely removes the ability to set a side effect for write() on a mock file, best I can tell13:43
jrollthat's super awesome13:43
mriedemyeah13:44
mriedemhttp://git.openstack.org/cgit/openstack/nova/tree/nova/tests/unit/virt/hyperv/test_vhdutils.py#n26813:44
mriedemf it, let's just go back to mox :)13:44
jrolloh god no13:44
mriedemalthough i suspect mox3 has some issues too since we forked it13:44
mdboothWell, mock isn't a runtime requirement of nova. It's not critical. We don't have to rush to take the latest release if it's currently broken.13:44
jrolllol13:44
bauwsermriedem: http://status.openstack.org/zuul/ shows that all nova changes are impacted AFAICS13:44
mriedemmdbooth: it's critical in that we can't pass anything through the gate13:45
mdboothmriedem: Right. If we roll back to <1.1.0 we can do that again.13:45
openstackgerritStefan Amann proposed openstack/nova: Perform port_rescan on s390x platforms  https://review.openstack.org/20303513:45
mriedem<1.1.413:45
*** dims_ has joined #openstack-nova13:45
mdboothIf we roll back to 1.1.0 we can take the skip out13:45
mriedemi do'nt care about the skip13:45
mdboothSorry, <1.1.013:45
mdboothOk, but it's related13:45
mdboothSounds like we're about to add more skips13:45
mriedemso is there anything in the docs about how this is supposed to be used but we're not using it properly?13:46
mriedemhttps://docs.python.org/dev/library/unittest.mock.html#mock-open13:46
mriedemhttp://git.openstack.org/cgit/openstack/nova/tree/nova/tests/unit/virt/hyperv/test_vhdutils.py#n26813:46
*** diogogmt has quit IRC13:47
*** leseb_ has left #openstack-nova13:48
*** markvoelker has joined #openstack-nova13:49
openstackgerritSergey Nikitin proposed openstack/nova: Added server tags support in nova-api  https://review.openstack.org/12894013:50
openstackgerritSergey Nikitin proposed openstack/nova: Fixed incorrect behaviour of method _check_instance_exists  https://review.openstack.org/20303713:50
*** mwagner_lap has joined #openstack-nova13:50
*** raildo1 is now known as raildo13:51
*** dave-mccowan has joined #openstack-nova13:54
*** markvoelker has quit IRC13:54
*** artom has joined #openstack-nova13:55
*** artom has quit IRC13:56
*** doude has quit IRC13:56
*** artom has joined #openstack-nova13:56
mdboothSo yes, the return value of the MagicMock() returned by mock_open is not as expected13:56
*** jdandrea has joined #openstack-nova13:56
mdbooth(Pdb) mock_open.return_value13:56
mdbooth<MagicMock name='open()' id='140548935772688'>13:56
mdbooth(Pdb) mock_open()13:56
mdbooth<MagicMock name='open()' spec='file' id='140548935772752'>13:56
mdbooth(Pdb) mock_open()13:56
mdbooth<MagicMock name='open()' spec='file' id='140548933406608'>13:56
sdagueyeh, lifeless was trying to fix the other mock_open issue13:57
sdaguebut apparently this broke a new one13:57
mdboothThe above isn't the behaviour I expect from a MagicMock13:57
mdboothIt looks like mock is broken to me13:57
mriedemhere https://github.com/testing-cabal/mock/issues/28813:57
mriedemjroll: ^13:57
mriedemi'm going to push a cap to g-r13:58
mriedemwhich is what lifeless suggests in that issue13:58
*** otter768 has joined #openstack-nova13:58
jrollso I think this is intentional13:59
jrolland not just a fallout of trying to fix the other thing13:59
* jroll checks if behavior in python3 matches13:59
*** markvoelker has joined #openstack-nova13:59
jrollmdbooth: mriedem: yeah, this appears to match 3.4.0, at least14:00
jrolland matching python3 is the goal here14:00
*** gyee has joined #openstack-nova14:00
mdboothjroll: So the new behaviour is the intended behaviour going forward?14:00
*** shuquan has joined #openstack-nova14:01
jrollmdbooth: it appears so, or at least you're going to be told it's a bug in python, not in mock14:01
mriedemsdague: do we cap mock <1.1.4 or just block it !=1.1.4?14:01
jrollpython3, that is14:01
*** otter768 has quit IRC14:03
sdaguemriedem: !=14:04
sdagueand ask lifeless to *please* run nova unit tests with new mock releases, because we're going to expose compat issues like this14:04
jrollthat doesn't help other projects :/14:06
*** eharney has quit IRC14:06
*** shuquan has quit IRC14:06
jrollmriedem: if you're curious on the fix, this is the fix for ironic https://review.openstack.org/#/c/203042/14:06
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw_cpu_threads_policy' to ImageMetaProps  https://review.openstack.org/20264714:06
jrollshould be similar things for broken nova tests14:06
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw:cpu_threads_policy=separate' scheduling  https://review.openstack.org/20265214:06
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Make use of 'InstanceNUMACell.cpu_policy' field  https://review.openstack.org/20265314:06
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: trivial: Make use of 'CPUAllocation' enum values  https://review.openstack.org/20265414:06
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw:cpu_threads_policy=isolate' scheduling  https://review.openstack.org/20265514:06
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'cpu_policy' and 'cpu_threads_policy' fields  https://review.openstack.org/20264814:06
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw:cpu_threads_policy=avoid' filtering  https://review.openstack.org/20264914:06
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: trivial: Add some logs to 'numa_topology_filter'  https://review.openstack.org/20265014:06
openstackgerritPrzemyslaw Czesnowicz proposed openstack/nova: Add 'hw:cpu_threads_policy=require' scheduling  https://review.openstack.org/20265114:06
*** markvoelker has quit IRC14:07
*** dboik has joined #openstack-nova14:07
mriedemjroll: boy i don't know, i feel like working around the regression in 1.1.4 will just lead to a failure when 1.1.5 tries to fix that regression14:08
jrollmriedem: reading that bug report, it doesn't seem like lifeless believes it's a regression14:08
*** Piet has joined #openstack-nova14:09
mriedem"but something isn't quite linked up properly there.I think this should be filed upstream at https://bugs.python.org/"14:09
jrollmriedem: and then what happens when python folks say "this isn't a bug" :P14:09
*** cinerama has quit IRC14:09
mriedemyeah14:09
mriedemidk14:09
mriedembut it's friday and lifeless isn't around14:09
mriedemso i'd rather not guess14:09
*** jecarey has quit IRC14:09
jrollurgh14:10
mriedemfor nova i'd prefer to block 1.1.4 and then hash it out with lifeless next week since he's going to be at the nova meetup14:10
mriedemironic can do whatever it wants to do14:10
*** jecarey has joined #openstack-nova14:10
jrollwell, if g-r blocks it we really have no choice14:11
*** hakimo has quit IRC14:11
*** hakimo_ has joined #openstack-nova14:11
jrollunless we don't merge requirements bumps until this is over14:12
jrollI'm just going to wip it14:12
mriedemyou could still merge your change if you want and it works with mock 1.1.314:12
openstackgerritBart Wensley proposed openstack/nova: Add new pci_max_virtual_functions config option  https://review.openstack.org/20304414:13
jrollyeah, I don't think it will work with 1.1.314:13
* jroll tests14:13
*** rdo has quit IRC14:13
mriedemwell, unless you require a minimum of 1.1.4 then that's probably a bad idea to begin with14:13
mdboothHere's an interesting thing. global requirements for stable/kilo correctly has testtools>=1.4.0, but nova stable/kilo has broken testtools!=1.2.0,>=0.9.3614:13
mdboothAny idea why those 2 aren't in sync?14:14
*** markvoelker has joined #openstack-nova14:14
mriedemmdbooth: umm? https://github.com/openstack/requirements/blob/stable/kilo/global-requirements.txt#L26614:14
mriedemyou were looking at g-r master14:15
mdboothmriedem: Nah, I was looking in requirements.txt14:15
mdboothnot global-requirements.txt14:15
mdboothRight14:15
mriedemrequirements repo wasn't syncing on itself in kilo14:15
*** shihanzhang has quit IRC14:15
mdboothtest-requirements.txt14:15
mdbootheven14:16
mdboothOk, what's the process to fix that?14:16
mdboothJust propose the fix to stable g-r.txt?14:16
mriedemto do what?14:16
mriedemraise the minimum required testtools?14:16
mdboothYeah14:16
mriedemwhy do we need to?14:16
mdboothIn Nova kilo it's currently 1.4.014:16
mdboothBecause that's the minimum version which used unittest214:16
mdboothWhich we're using14:17
mriedemhttps://github.com/openstack/nova/blob/stable/kilo/test-requirements.txt#L2114:17
*** shihanzhang has joined #openstack-nova14:17
mriedem?14:17
mdboothmriedem: Yeah, that needs to be >=1.4.014:17
mdboothI'll propose it to g-r14:17
*** markvoelker has quit IRC14:18
mriedemhonestly i don't really know what you're talking about14:20
mdboothmriedem: Sec, code makes all clear14:20
mdboothmriedem: https://review.openstack.org/20304614:20
mriedemi don't see nova using unittest2 in stable/kilo14:21
mriedemexplicitly anyway14:21
mdboothIt doesn't. *testtools* uses unittest/unittest214:21
mdboothSo we use testtools.TestCase14:21
mdboothwhich inherits from unittest(2)?.TestCase14:21
mriedemok?14:22
mriedemand?14:22
mdboothOur tests fail if we're not using unittest214:22
mdboothwhich is never the case before testtools version 1.4.014:22
mdboothSo our kilo tests always fail with testtools <1.4.014:22
mdboothTry it if you don't believe me :)14:22
mriedemso just propose a cherry pick of this https://github.com/openstack/requirements/commit/74e2456c40f294633791b1581ada242c6792e67a14:23
openstackgerritPavel Kholkin proposed openstack/nova: switch to oslo.cache  https://review.openstack.org/20304914:23
mdboothmriedem: That's a better idea, will do14:23
* mdbooth isn't familiar with this repo14:23
*** unicell1 has joined #openstack-nova14:24
mriedemit'd be helpful if you had a paste of a test that fails in kilo with testtools < 1.4.014:24
mdboothgit grep assertRaisesRegex14:24
mdboothAll of them14:24
*** unicell has quit IRC14:25
*** mestery has quit IRC14:25
*** erlon has joined #openstack-nova14:26
*** yamahata has joined #openstack-nova14:27
mriedemmdbooth: are you on py26 or py27?14:28
mdboothpy2714:28
mdboothIt's not hard to follow in the code14:28
*** markvoelker has joined #openstack-nova14:28
*** chaochin has quit IRC14:29
*** Jeffrey4l has joined #openstack-nova14:29
*** chaochin has joined #openstack-nova14:29
*** rdo has joined #openstack-nova14:32
*** eharney has joined #openstack-nova14:32
*** Kennan2 has quit IRC14:32
*** tpeoples has joined #openstack-nova14:33
mdboothmriedem: Here's an example failure: http://paste.fedoraproject.org/245395/37143575/14:33
*** park_heijlong has quit IRC14:33
*** markvoelker has quit IRC14:33
mdboothHmm, no it isn't14:33
mdboothsec14:33
*** park_heijlong has joined #openstack-nova14:33
*** Kennan has joined #openstack-nova14:33
mdboothmriedem: There: http://paste.openstack.org/show/383823/14:34
mdboothI reproduced that by recreating my venv after adding <1.4.0 to testtools in test-requirements.txt14:34
*** xyang2 has joined #openstack-nova14:34
openstackgerritSergey Nikitin proposed openstack/nova: Added server tags support in nova-api  https://review.openstack.org/12894014:35
openstackgerritSergey Nikitin proposed openstack/nova: Fixed incorrect behaviour of method _check_instance_exists  https://review.openstack.org/20303714:35
*** chuckcarmack has joined #openstack-nova14:36
openstackgerritjichenjc proposed openstack/nova: Check flavor type before add tenant access  https://review.openstack.org/12433814:36
*** tsekiyama has joined #openstack-nova14:37
*** apmelton has quit IRC14:38
openstackgerritDavanum Srinivas (dims) proposed openstack/nova: Enable python34 tests for nova/tests/unit/scheduler/test*.py  https://review.openstack.org/18796814:40
*** apmelton has joined #openstack-nova14:40
*** tongli has joined #openstack-nova14:42
*** mgarza_ has joined #openstack-nova14:43
*** krtaylor has quit IRC14:45
*** MentalRay has joined #openstack-nova14:45
*** hemna has joined #openstack-nova14:46
*** sambol has joined #openstack-nova14:48
*** mtanino has joined #openstack-nova14:49
*** cfriesen has joined #openstack-nova14:50
openstackgerritjichenjc proposed openstack/nova-specs: Delete version specified code suggestion  https://review.openstack.org/16422914:50
*** markvoelker has joined #openstack-nova14:50
*** Jeffrey4l has quit IRC14:51
*** tonytan4ever has joined #openstack-nova14:51
*** hemna has quit IRC14:52
*** ddaskal has joined #openstack-nova14:53
*** achanda has joined #openstack-nova14:53
*** gyee has quit IRC14:53
*** markvoelker has quit IRC14:57
*** rdo has quit IRC14:57
mriedemwell it's 10am and i've wasted my morning14:57
mriedemnow what do i do14:57
*** markvoelker_ has joined #openstack-nova14:57
*** markvoelker_ has quit IRC14:57
*** krtaylor has joined #openstack-nova14:57
*** markvoelker has joined #openstack-nova14:57
*** mestery has joined #openstack-nova14:58
*** rdo has joined #openstack-nova14:59
*** jlearman has quit IRC14:59
bauwsermriedem: coffee always hlep14:59
bauwserhelps (even)14:59
mriedemalready downed 2 cups15:00
openstackgerritNikola Dipanov proposed openstack/nova: objects: send PciDeviceList 1.2 to all code that can handle it  https://review.openstack.org/20261615:00
*** mgoddard1 has joined #openstack-nova15:00
*** jaypipes has joined #openstack-nova15:01
*** mgoddard has quit IRC15:01
*** Jeffrey4l has joined #openstack-nova15:01
bauwsermriedem: planning to port your g-r change to nova once it's merged ?15:01
bauwsermriedem: I have a 17 patches series holding15:01
openstackgerritZhang Hua proposed openstack/nova: Enable password support for vnc session  https://review.openstack.org/20306415:02
mriedembauwser: that's automatic, the sync15:02
mriedemi don't want to review code15:02
mriedemsomeone can review my code for a change15:02
bauwsermriedem: the bot, you mean?15:02
mriedemyeah15:02
bauwsermriedem: okay, thought you were planning to not wait for the bot but that's fair :)15:03
*** dprince has quit IRC15:03
*** gyee has joined #openstack-nova15:03
*** tonytan4ever has quit IRC15:03
cfriesenbauwser: Some time back I mentioned a problem with nova.pci.devspec.MAX_FUNC being too small, so you suggested we should make it a config option.   Here you go (from a coworker):  https://review.openstack.org/#/c/203044/15:04
*** achanda has quit IRC15:05
bauwsercfriesen: well, I suggested it like at 1am my time - not ebriated, but sleepy :)15:05
*** READ10 has quit IRC15:05
bauwsercfriesen: but that sounds still a good point :p15:05
*** adreznec has quit IRC15:07
*** gszasz has quit IRC15:09
*** adreznec has joined #openstack-nova15:09
*** wwriverrat has quit IRC15:10
mnaserhi friends, wondering if any cores have time to review a small patch (submitted since july 8th and i already have 2 +1s) .. https://review.openstack.org/#/c/199516/15:10
*** tonytan4ever has joined #openstack-nova15:10
*** piyanai has joined #openstack-nova15:14
*** cpschult has quit IRC15:16
*** mdrabe has quit IRC15:16
*** dprince has joined #openstack-nova15:16
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: Nested Quota Driver: Create column allocated in Quota table  https://review.openstack.org/15132715:17
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: Nested Quota : cloud_admin and project_admin creation  https://review.openstack.org/18252215:17
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: Removal of redundant context checking in wsgi.py file  https://review.openstack.org/18214015:17
*** dannywilson has joined #openstack-nova15:20
*** diogogmt has joined #openstack-nova15:22
*** jecarey has quit IRC15:23
*** coolsvap is now known as coolsvap|away15:23
openstackgerritSylvain Bauza proposed openstack/nova: Modify Scheduler RPC API select_dests()  https://review.openstack.org/19920515:25
openstackgerritSylvain Bauza proposed openstack/nova: Remove unnecessary method in FilterScheduler  https://review.openstack.org/18848515:25
openstackgerritSylvain Bauza proposed openstack/nova: Create RequestSpec object  https://review.openstack.org/14552815:25
openstackgerritSylvain Bauza proposed openstack/nova: Consider that all scheduler calls are IO Ops  https://review.openstack.org/18848615:25
openstackgerritSylvain Bauza proposed openstack/nova: Use RequestSpec object in the FilterScheduler  https://review.openstack.org/18848715:25
openstackgerritSylvain Bauza proposed openstack/nova: Modify left filters for RequestSpec  https://review.openstack.org/20267815:25
openstackgerritSylvain Bauza proposed openstack/nova: Prepare filters for using RequestSpec object  https://review.openstack.org/19791215:25
openstackgerritSylvain Bauza proposed openstack/nova: Modify metric-related filters for RequestSpec  https://review.openstack.org/20267615:25
openstackgerritSylvain Bauza proposed openstack/nova: Use RequestSpec in the ChanceScheduler  https://review.openstack.org/19905115:25
openstackgerritSylvain Bauza proposed openstack/nova: Modify NUMA, PCI and num_instances filters for RequestSpec  https://review.openstack.org/20267715:25
openstackgerritSylvain Bauza proposed openstack/nova: Modify Aggregate filters for RequestSpec  https://review.openstack.org/20267415:25
openstackgerritSylvain Bauza proposed openstack/nova: Modify default filters for RequestSpec  https://review.openstack.org/20267515:25
openstackgerritSylvain Bauza proposed openstack/nova: Add RequestSpec methods for primitiving into dicts  https://review.openstack.org/18719715:25
openstackgerritSylvain Bauza proposed openstack/nova: Modify Affinity filter for RequestSpec  https://review.openstack.org/20267315:25
openstackgerritSylvain Bauza proposed openstack/nova: Use RequestSpec object in HostManager  https://review.openstack.org/19125115:25
openstackgerritSylvain Bauza proposed openstack/nova: Use the same pci_requests field for all filters and HostManager  https://review.openstack.org/19125015:25
openstackgerritSylvain Bauza proposed openstack/nova: Add two fields to ImageMetaProps object  https://review.openstack.org/19791115:25
openstackgerritSylvain Bauza proposed openstack/nova: WIP: Modifies conductor to use RequestSpec object  https://review.openstack.org/20307815:25
bauwserok, cores, I think I need some help for reducing my changes number :)15:26
*** rdo has quit IRC15:27
bauwserjaypipes: alaski: ^15:27
jaypipesbauwser: lol, ok :)15:27
*** cinerama has joined #openstack-nova15:27
*** jaypipes is now known as blockedpipes15:27
bauwserjaypipes: I won't be at the midcycle, but I'm preparing to be virtually there15:27
*** rdo has joined #openstack-nova15:27
*** annashen has joined #openstack-nova15:28
bauwserblockedpipes: meaning that we could possibly do some sprint for all our stuff :)15:28
bauwserblockedpipes: on my own, ^ is fully implemented now15:29
bauwserblockedpipes: the last one is WIP because I'm lazy but it will be complete by Monday15:29
bauwserblockedpipes: on your own, do you need some special review traction ?15:29
openstackgerritMichael Sambol proposed openstack/nova: Move V2.1 code into correct directories  https://review.openstack.org/20285415:30
*** tongli has quit IRC15:30
*** mdrabe has joined #openstack-nova15:30
*** tongli has joined #openstack-nova15:31
figleafblockedpipes: I hope the new Friday nick isn't reflective of anything physical :)15:31
openstackgerritMichael Sambol proposed openstack/nova: Move V2.1 code into correct directories  https://review.openstack.org/20285415:31
*** cpschult has joined #openstack-nova15:31
openstackgerritMatt Riedemann proposed openstack/nova: Updated from global requirements  https://review.openstack.org/20070815:33
mriedembauwser: there you go ^15:33
bauwser\o/15:33
*** READ10 has joined #openstack-nova15:33
*** READ10 has quit IRC15:33
*** READ10 has joined #openstack-nova15:33
bauwsermriedem: too late, I pulled the trigger ^15:33
openstackgerritraphael.glon proposed openstack/nova: Fix proposal for libvirt rbd unrescue action  https://review.openstack.org/20308615:33
*** artom has quit IRC15:33
*** dannywilson has quit IRC15:34
mriedemblockedpipes: maybe a fiber supplement is the answer to your problem?15:34
superdanhehe15:34
mriedemi mean, you are in florida15:34
mriedemi thought they just handed those out on the corners15:34
cfriesenadd it to the water supply...15:34
*** annashen has quit IRC15:35
blockedpipesmriedem, cfriesen: no, my queue is just entirely full.15:36
tdurakovmriedem, Hi Matt15:37
openstackgerritStefan Amann proposed openstack/nova: Perform port_rescan on s390x platforms  https://review.openstack.org/20303515:38
tdurakovmriedem, could you review my patches for conductor? https://review.openstack.org/#/c/184495/15:38
*** earlephilhower has joined #openstack-nova15:40
cfriesenblockedpipes: just write a bigger value to /proc/sys/fs/pipe-max-size15:40
bauwserblockedpipes: np, I fully understand :)15:40
*** armax has joined #openstack-nova15:40
blockedpipescfriesen: heh. a personal sysctl. nice.15:41
*** gyee has quit IRC15:41
cfriesenblockedpipes: I've often thought babies should have diagnostic ports15:41
blockedpipescfriesen: the fact that they don't is partly why my wife and I choose to be child-free.15:42
mriedemthe os-brick integration change is ready to go IMO https://review.openstack.org/#/c/175569/15:42
mriedemthere are changes lined up behind this and it's big so would be good to avoid rebase hell on this one15:42
mriedembig as in: +193, -228115:43
*** belmoreira has quit IRC15:43
blockedpipesyeah, will try to get to that this afternoon, mrda-away15:43
blockedpipesgah, mriedem15:43
mriedemi'd like to see ndipanov review it since it's all libvirt volume stuff15:43
mriedemnudge nudge15:44
* ndipanov raises head above grass15:44
ndipanovwill do it today15:44
*** Marc_F has quit IRC15:44
mriedemcool15:45
*** jogo has quit IRC15:46
*** ildikov has joined #openstack-nova15:47
*** jogo has joined #openstack-nova15:47
*** Nikolay_St has quit IRC15:49
*** raildo_ has joined #openstack-nova15:49
*** gyee has joined #openstack-nova15:50
*** earlephilhower has quit IRC15:51
*** Nikolay_St has joined #openstack-nova15:52
*** romainh has left #openstack-nova15:52
*** redbeard has quit IRC15:53
*** earlephilhower has joined #openstack-nova15:55
*** hemnafk is now known as hemna15:55
*** raildo_ has quit IRC15:58
*** afazekas has quit IRC15:58
*** schwicke has joined #openstack-nova15:58
*** otter768 has joined #openstack-nova15:59
*** vilobhmm has joined #openstack-nova16:00
*** Jeffrey4l has quit IRC16:00
openstackgerritStefan Amann proposed openstack/nova: Perform port_rescan on s390x platforms  https://review.openstack.org/20303516:00
*** mestery has quit IRC16:01
*** jlanoux has quit IRC16:01
*** mestery has joined #openstack-nova16:01
*** mgoddard1 has quit IRC16:02
*** mgoddard has joined #openstack-nova16:03
*** amotoki has joined #openstack-nova16:03
*** otter768 has quit IRC16:04
mriedemso close https://jenkins04.openstack.org/job/gate-tempest-dsvm-neutron-full/1054/console16:05
superdandanpb: https://review.openstack.org/#/c/197911/416:07
superdandanpb: have you looked that over? I put some comments inline16:08
danpbsuperdan: not looked at any reviews yet - still working through my vacation email backlog today16:09
superdanokay16:09
danpbi'll check it out next week16:10
*** oro has quit IRC16:10
*** kmARC has quit IRC16:11
*** jichen has quit IRC16:12
mriedemg-r block on mock 1.1.4 is merged, should see a sync soon16:13
*** artom has joined #openstack-nova16:13
openstackgerritOpenStack Proposal Bot proposed openstack/nova: Updated from global requirements  https://review.openstack.org/20070816:16
*** annashen has joined #openstack-nova16:16
dims_superdan: added jaypipes to oslo-versionedobjects-core?16:17
openstackgerritOpenStack Proposal Bot proposed openstack/python-novaclient: Updated from global requirements  https://review.openstack.org/20314116:18
superdandims_: he's always been there16:18
dims_superdan: ah! just spotted his vote yesterday. yay!16:18
superdanheh16:18
dims_superdan: want to add more folks?16:19
mriedemlike oprah, you get to be core, and you get to be core16:19
superdanI don't get the oprah joke :)16:19
*** angdraug has joined #openstack-nova16:20
*** tonytan4ever has quit IRC16:21
superdanalI know about oprah is you have to time it to be there on the right day16:21
superdanand you get a car16:21
superdanand a spaceshit16:21
superdaner, spaceship16:21
superdanheh16:21
*** ildikov_ has joined #openstack-nova16:21
*** nic has joined #openstack-nova16:24
*** ildikov has quit IRC16:24
*** alex_klimov has quit IRC16:25
superdanmriedem: will that mock thing affect stable/juno?16:27
mriedemsuperdan: we have mock capped on stable16:27
johnthetubaguysdague: I am just wondering about the need to raise the min version of python-cinderclient with this bug fix: https://review.openstack.org/#/c/192158/216:27
openstackgerritRadoslav Gerganov proposed openstack/nova: Add MKS console support  https://review.openstack.org/20300616:27
openstackgerritRadoslav Gerganov proposed openstack/nova: Add MKS protocol for remote consoles  https://review.openstack.org/19912916:27
superdanokay, this failure is something else I guess16:27
mriedembtw, i want to officially announce that i submit to my new google overlords16:29
superdanusing gmail? or rewriting everything in go?16:30
earlephilhowerOr this: http://www.theregister.co.uk/2015/07/17/google_signs_as_thirdrate_openstack_sponsor/16:30
ndipanovor starting work there?16:30
earlephilhower?16:30
mriedemhttp://fortune.com/2015/07/16/google-joins-openstack/16:30
mriedemsuperdan: i figured it'd be all over the twitters16:30
superdansure, like yesterday16:30
mriedemi know16:30
superdanI figured you meant something about you personally16:30
superdanlike moving there16:31
mriedemno16:31
mriedemhell no16:31
mriedemsee, i'm > 30 + wife and child16:31
*** jistr has quit IRC16:31
mriedemtherefore, not eligible for employment16:31
superdanheh16:31
ndipanovmriedem, but if you lift...16:31
ctrathwhat mriedem is saying is that he loves Minnesota winters16:32
mriedemi do16:32
mnaserany cores mind having a look at this patch.. submitted on july 8th .. https://review.openstack.org/#/c/199516/16:32
mriedemwinter is a socially approved excuse for being a shut in16:32
*** ashuk has joined #openstack-nova16:32
figleafmriedem: so are summers in south texas16:33
superdanbauwser: maybe you should move this to the front so we can get it out of your set? https://review.openstack.org/#/c/188485/1416:33
*** sahid has quit IRC16:34
*** tonytan4ever has joined #openstack-nova16:34
*** annashen has quit IRC16:36
*** cpschult has quit IRC16:37
*** haypo has left #openstack-nova16:37
*** dims_ has quit IRC16:37
*** artom has quit IRC16:38
*** piyanai has quit IRC16:38
*** annashen has joined #openstack-nova16:40
*** elmiko has joined #openstack-nova16:42
elmikohi all, i'm having trouble determining something about the novaclient Client object , specifically surrounding cacert, insecure and the use of keystone Session objects.16:43
elmikocould anyone help me understand the cacert and insecure options, i've looked at the code but i'm not sure how it works.16:44
elmikolike, if i specify insecure=True, that means it will ignore the cacert?16:44
*** moshele has joined #openstack-nova16:44
elmikofurther, if we have users who specify a cacert, and i want to pass a Session object to the Client, can i just switch around the cacert and ignore the insecure option?16:45
elmiko(for creating the Session, that is)16:45
*** Nikolay_St has quit IRC16:46
*** gyee has quit IRC16:46
*** unicell1 has quit IRC16:50
*** jlearman has joined #openstack-nova16:50
*** artom has joined #openstack-nova16:50
*** cpschult has joined #openstack-nova16:50
*** browne has quit IRC16:54
*** artom has quit IRC16:54
*** artom has joined #openstack-nova16:55
openstackgerritSudipta Biswas proposed openstack/nova: Introduce utility module for pcp  https://review.openstack.org/20316316:57
*** piyanai has joined #openstack-nova16:58
*** ijw_ has joined #openstack-nova17:01
*** vilobhmm has quit IRC17:01
*** derekh has quit IRC17:01
*** patrickeast has joined #openstack-nova17:04
*** ijw__ has joined #openstack-nova17:04
* johnthetubaguy wishes everyone a safe journey to the mid cycle17:07
tonybjohnthetubaguy: see you in a couple of days.17:07
*** ijw_ has quit IRC17:07
figleafjohnthetubaguy: see you in sunny Minnesota!17:08
*** cpschult has quit IRC17:08
*** unicell has joined #openstack-nova17:10
*** lucasagomes is now known as lucas-beer17:11
*** yamahata has quit IRC17:11
openstackgerritMichael Sambol proposed openstack/nova: DO NOT MERGE  https://review.openstack.org/20285417:12
openstackgerritMichael Sambol proposed openstack/nova: Move existing V2 to legacy-v2  https://review.openstack.org/19372517:12
openstackgerritRadoslav Gerganov proposed openstack/nova: VMware: add serial port device  https://review.openstack.org/14920317:13
*** piyanai has quit IRC17:14
bauwsersuperdan: sure thing, thanks for reviewing my changes17:15
superdanbauwser: np17:15
superdanonly done a few so far17:16
bauwsersuperdan: that's fine, the series is very long, so reviewing the first is good IMHO17:16
*** schwicke has quit IRC17:17
*** annashen has quit IRC17:17
*** MVenesio has joined #openstack-nova17:17
*** danpb has quit IRC17:17
*** thangp has joined #openstack-nova17:18
*** msambol has joined #openstack-nova17:19
*** msambol has quit IRC17:20
*** msambol has joined #openstack-nova17:21
*** piyanai has joined #openstack-nova17:22
*** sambol has quit IRC17:22
*** ssurana has joined #openstack-nova17:22
*** otter768 has joined #openstack-nova17:24
*** dillinga has joined #openstack-nova17:25
*** msambol has quit IRC17:25
*** harlowja has quit IRC17:26
*** harlowja has joined #openstack-nova17:26
*** tonytan4ever has quit IRC17:26
*** ashuk has quit IRC17:26
*** irenab has joined #openstack-nova17:27
*** dillinga has quit IRC17:27
*** annashen has joined #openstack-nova17:27
*** piyanai has quit IRC17:27
*** amotoki has quit IRC17:33
*** oro has joined #openstack-nova17:35
*** mestery has quit IRC17:35
*** yamahata has joined #openstack-nova17:35
*** dougwig has quit IRC17:35
*** kmARC has joined #openstack-nova17:35
*** achanda has joined #openstack-nova17:35
*** leseb_ has joined #openstack-nova17:36
*** jdurgin has joined #openstack-nova17:36
*** mestery has joined #openstack-nova17:36
*** dougwig has joined #openstack-nova17:37
mriedemsuperdan: with this https://review.openstack.org/#/c/203169/ - kilo -> liberty is still good right?17:42
mriedemi remember the change on master saying it depended on the change in kilo17:42
mriedemi also pointed it out to apevec as a blocker for 2015.1.117:42
*** rook has quit IRC17:42
superdanmriedem: yeah, this only affects kilo->kilo things.. the relationships that get used are those of your conductor, so if you're running conductor from L, then these are ignored17:43
*** Sukhdev has joined #openstack-nova17:43
*** karimb has quit IRC17:44
*** boris-42 has joined #openstack-nova17:45
*** vilobhmm has joined #openstack-nova17:46
*** SourabhP has joined #openstack-nova17:47
*** cpschult has joined #openstack-nova17:48
*** irenab has quit IRC17:48
*** shyama_ has joined #openstack-nova17:49
*** irenab has joined #openstack-nova17:49
*** shyama has quit IRC17:50
*** shyama_ is now known as shyama17:50
*** browne has joined #openstack-nova17:52
*** irenab has quit IRC17:53
*** lykinsbd has joined #openstack-nova17:54
*** lucas-beer has quit IRC17:57
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: Nested Quota Driver: Set default values to sub-projects and users.  https://review.openstack.org/15167717:58
sdaguejohnthetubaguy: yes, we should17:59
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: NestedQuotaDriver:Modification of settable quotas of nested projects  https://review.openstack.org/20034218:00
*** piyanai has joined #openstack-nova18:00
melwittsuperdan, bauwser: about https://review.openstack.org/#/c/188485/, does that not fall into the category of a pluggable thing we shouldn't remove public interfaces from unless there's a compelling reason? I'm thinking of the review from awhile back that wanted to remove a thing ironic uses (https://review.openstack.org/#/c/143285/)18:00
superdanmelwitt: I think his point was the it's still in instance_properties, right?18:01
melwittsuperdan: oh, probably. I looked at it too quickly18:02
superdanmelwitt: in the commit message18:03
melwittsuperdan: yeah. I got turned around a bit by alaski's comment in there18:03
*** tonytan4ever has joined #openstack-nova18:04
*** Kennan2 has joined #openstack-nova18:04
superdanmelwitt: may I suggest "melaknee" ?18:04
*** Kennan has quit IRC18:05
melwittsuperdan: haha, that's a good one18:05
*** haomaiw__ has quit IRC18:06
*** shyama has quit IRC18:06
superdanor melwitty18:07
*** mestery has quit IRC18:10
*** dannywilson has joined #openstack-nova18:10
mriedemhemna: make your os-brick change in nova depend on this: https://review.openstack.org/#/c/203193/18:12
mriedemhemna: so add this to your nova change:18:12
mriedemDepends-On: Id36f9665c8ff2a720713ceaaa5b05f9b0370668118:12
mriedemhemna: and then it looks like you'll be able to abandon this https://review.openstack.org/#/c/175569/18:13
openstackgerritWalter A. Boring IV (hemna) proposed openstack/nova: Switch to using os-brick  https://review.openstack.org/17556918:13
*** piyanai has quit IRC18:14
hemnaok added it18:15
mriedem+2 again18:15
*** aarefiev has quit IRC18:16
mriedemhemna: while we're at it, could you also remove this line from volume.py?18:16
mriedemarch=platform.machine())18:16
mriedemfor fc?18:16
mriedemsince that's no longer necessary in brick 0.3.018:16
hemnaah yah good idea.18:16
ndipanovsuperdan, so what do we do about this https://review.openstack.org/#/c/202616/18:16
hemnarerunning tox locally before I push that up.18:17
ndipanovI think we can just land it no problem18:17
ndipanovbut I'll run a recheck once https://review.openstack.org/#/c/203169/1 lands18:18
*** Mike_D_laptop has joined #openstack-nova18:18
superdanndipanov: I think we can land it anytime, but agree we should wait until after that one just to be sure18:19
ndipanovsuperdan, NB it will break if someone goes from 2015.1.0 -> 2015.2 in a rolling upgrade fashion18:20
ndipanovso we might want to document that at least18:20
superdanis that kilo GA to lemming you mean?18:21
ndipanovyes18:21
superdanyeah, I'll add that to the lemming note now18:21
ndipanovI think that's a good tradeoff18:22
superdanaye18:22
*** haomaiwang has joined #openstack-nova18:23
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: NestedQuotaDriver:Modification of settable quotas of nested projects  https://review.openstack.org/20034218:25
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: Nested Quota Driver: Create column allocated in Quota table  https://review.openstack.org/15132718:25
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: Nested Quota : cloud_admin and project_admin creation  https://review.openstack.org/18252218:25
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: Removal of redundant context checking in wsgi.py file  https://review.openstack.org/18214018:25
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/nova: Nested Quota Driver: Set default values to sub-projects and users.  https://review.openstack.org/15167718:25
*** yassine has quit IRC18:25
*** angdraug has quit IRC18:27
*** haomaiwang has quit IRC18:28
*** piyanai has joined #openstack-nova18:28
*** mestery has joined #openstack-nova18:31
*** haomaiwa_ has joined #openstack-nova18:31
*** markvoelker has quit IRC18:32
mriedemchuckcarmack: i have an easy thing you could do18:33
mriedemit's not nova, but is helpful regardless18:34
*** eglynn has quit IRC18:36
chuckcarmackmriedem: ok, what is it?18:36
mriedemwe need to cleanup old elastic-recheck queuries that are no longer valid, see the bottom of this page http://status.openstack.org/elastic-recheck/index.html18:36
*** haomaiwa_ has quit IRC18:36
mriedemanything that hasn't hit in over 10 days and the bug is marked as fixed or invalid in launchpad, we should delete those queries18:36
mriedemthat's in this project http://git.openstack.org/cgit/openstack-infra/elastic-recheck/18:37
mriedemthe queries are all here http://git.openstack.org/cgit/openstack-infra/elastic-recheck/tree/queries18:37
mriedemso it's just a matter of removing the ones that don't hit anymore for fixed/invalid bugs18:37
*** unicell1 has joined #openstack-nova18:38
*** unicell has quit IRC18:38
openstackgerritWalter A. Boring IV (hemna) proposed openstack/nova: Switch to using os-brick  https://review.openstack.org/17556918:39
chuckcarmackmriedem: ok, I'll work on that.  Its going to take me some time to understand what is elastic-recheck.18:40
mriedemchuckcarmack: http://docs.openstack.org/infra/elastic-recheck/readme.html18:40
*** lpetrut has joined #openstack-nova18:40
chuckcarmackthanks.. mriedem18:40
*** Sayaji has joined #openstack-nova18:41
mriedemawesome, something else is pulling in mock 1.1.418:41
mriedemso g-r block doesn't fix it yet18:41
*** haomaiwang has joined #openstack-nova18:41
chuckcarmackmriedem:  g-r?18:42
mriedemchuckcarmack: unrelated18:42
mriedemhttps://bugs.launchpad.net/nova/+bug/147566118:42
openstackLaunchpad bug 1475661 in OpenStack Compute (nova) "py27 jobs failing due to mock_open after mock 1.1.4 released" [Critical,In progress] - Assigned to Matt Riedemann (mriedem)18:42
mriedemg-r == global-requirements https://github.com/openstack/requirements/blob/master/global-requirements.txt18:42
SayajiI want to set mtu on a vm interface by modifying libvirt.xml. Is is possible to do it by writing a vif driver ?18:44
openstackgerritChinmaya Bharadwaj proposed openstack/nova: VMware: Fixes instance creation failure using block device mapping  https://review.openstack.org/19719218:48
*** ildikov_ has quit IRC18:49
lifelesssdague: :/18:51
mgagnealaski: I'm working on making Kilo api cell compatible with Juno compute cell. It looks like all compute_node and services are represented by a dict by Juno instead of objects and Kilo is missing code to transform the response to object. What's the best way to make it compatible?18:53
*** haomaiwang has quit IRC18:53
mgagnealaski: I'm using _from_db_object to convert compute_node dict to object but it's eating away the host field :/18:54
*** otter768 has quit IRC18:54
sdaguelifeless: so pinning mock does not work18:54
sdaguebecause it doesn't stay pinned18:54
sdaguethat used to work, any idea why it doesn't now18:55
sdaguebecause if the answer is that we've got to pin mock in every dependency for it to be pinned in nova, that's not an answer18:55
lifelesssdague: so it will with constraints, which we're nearly ready to roll out for tox18:56
lifelessbut that doesn't help us right today18:56
sdagueright18:57
lifelesspoint me at a log?18:57
sdagueso I think mriedem is just going to do the flame thrower override18:57
sdaguehttps://jenkins02.openstack.org/job/gate-nova-python27/1136/console18:57
*** haomaiwang has joined #openstack-nova18:57
sdaguealso, please, before you release another mock, can you run the nova unit tests with it18:57
lifelessI can probably do better18:57
lifelesswhatever flame thrower is18:57
sdaguebecause I think we've demonstrated that we touch most of the edges of mock, so it's a good sample set18:58
mriedemwe're going to install mock ahead of reqiurements/test-requirements in tox.ini18:58
sdaguemriedem: actually, after18:58
sdagueput it in the commands list18:58
sdaguethen nothing can change it18:59
sdaguethe cinder unit tests got broken by the mock release as well, not sure how bad the rest of the carnage is18:59
mriedemironic alo18:59
mriedem*also18:59
mriedemjroll: was pushing a separate workaround for the single ironic test that was busted18:59
jrollohai19:00
lifelesslet me revert and cut a 1.219:00
sdagueok, got to run19:00
lifelessafter I look at the actual test19:00
*** Mike_D_laptop has quit IRC19:00
jrolllifeless: if you're curious, https://review.openstack.org/#/c/203042/19:00
sdaguegood weekend folks19:00
*** lpetrut has quit IRC19:00
*** gyee has joined #openstack-nova19:00
jrolllifeless: tl;dr accessing mock_open().return_value, and using that to set e.g. write() side effect, is now broken19:00
*** adreznec has quit IRC19:02
lifelessjroll: indeed, because it now returns different objects19:02
lifelessbecause of the closure issue19:02
jrollright19:02
jrolljust making sure you're aware with how it broke19:02
lifelessthank you19:03
jrollnp, thanks in advance for fixing the world ;D19:03
mriedemwe'll see about this ^19:04
openstackgerritMatt Riedemann proposed openstack/nova: Updated from global requirements  https://review.openstack.org/20070819:05
mriedemer ^19:05
openstackgerritDavid Medberry proposed openstack/nova: Update Filter Scheduler doc  https://review.openstack.org/20321419:06
*** cpschult has quit IRC19:07
*** adreznec has joined #openstack-nova19:07
*** MentalRay_ has joined #openstack-nova19:08
*** ndipanov has quit IRC19:09
lifelessok so19:10
lifelesshttp://git.openstack.org/cgit/openstack/nova/tree/nova/tests/unit/virt/hyperv/test_vmops.py#n98119:10
lifelessthat looks very odd19:11
lifelessunexpected facility even19:11
*** haomaiwang has quit IRC19:11
lifelessDid it work under 1.0.1 ?19:11
mriedemworked on 1.1.319:11
*** MentalRay has quit IRC19:11
lifelessnot what I asked ;)19:11
mriedemworked < 1.1.0 also19:12
mriedemi don't kno wabout 1.0.1 specifically19:12
*** haomaiwang has joined #openstack-nova19:12
mriedemlifeless: if it helps, we had this workaround for mock 1.1.0 https://github.com/openstack/nova/commit/4442979e71bb09ff9b71604c0dddd37c2bede04d19:13
lifelessright19:13
lifelessso the point of 1.1.4 was to fix folk that couldn't move to 1.1.0 because it was different to 1.0.119:13
lifelessso I don't expect that nova/tests/unit/virt/hyperv/test_vmops.py to work19:14
lifelessthe question is whether the prior code works19:14
mriedemlike revert that part of 4442979e71bb09ff9b71604c0dddd37c2bede04d ?19:14
lifelessyes, which i'm trying now19:15
lifelesswhich works19:17
lifelessso that hack was IMO broken19:17
*** dims_ has joined #openstack-nova19:18
*** haomaiwang has quit IRC19:18
mriedemok, so let me try undoing those19:18
lifelesstest_get_vhd_format_vhd isn't fixed19:18
lifelessand the zero length file thing is new19:18
lifelesstrying them under 1.0.119:19
mriedemoh19:19
*** otter768 has joined #openstack-nova19:20
*** unicell1 has quit IRC19:20
*** lyanchih has quit IRC19:21
openstackgerritmelanie witt proposed openstack/nova: rebuild: fix rebuild of server with volume attached  https://review.openstack.org/17689119:21
*** unicell has joined #openstack-nova19:22
lifelessjroll: looking into ironic now19:23
*** tonytan4ever has quit IRC19:23
*** edmondsw has quit IRC19:24
*** tonytan4ever has joined #openstack-nova19:25
*** tonytan4ever has quit IRC19:26
lifelessjroll: ok your one makes sense as a regression19:27
lifelessjroll: I'll roll the revert etc19:27
lifelesshmm19:29
*** erlon has quit IRC19:30
*** dims__ has joined #openstack-nova19:30
*** ddaskal has quit IRC19:31
*** haomaiwang has joined #openstack-nova19:32
openstackgerritWalter A. Boring IV (hemna) proposed openstack/nova: Switch to using os-brick  https://review.openstack.org/17556919:32
*** dims_ has quit IRC19:34
*** lpetrut has joined #openstack-nova19:35
melwittmgagne: what do you mean by "it's eating away the host field"? like the compute_node dict has host key set and then when you get the object, it has nothing for the host field?19:36
mgagnemelwitt: I'm still debugging but it looks like the host is found in the service key19:36
*** haomaiwang has quit IRC19:36
mgagnemelwitt: and current _from_db_object method does not account for that case19:36
mgagnemelwitt: nor is _host_from_db_object19:37
*** haomaiwa_ has joined #openstack-nova19:37
mgagnemelwitt: I'm really struggling to make it work. A long of stuff has moved to objects and not compat code has been made for Juno19:37
lifelessmriedem: jroll: so19:38
lifelessthe ironic thing, I think there's a better way to write the test19:38
*** Nikolay_St has joined #openstack-nova19:39
melwittmgagne: in _host_from_db_object (I'm looking at it) it does a lookup for service in the db and will set host accordingly, so it's supposed to be accounting for that case19:40
*** haomaiwang has joined #openstack-nova19:40
mgagnemelwitt: there is no service in the api cell db for the compute node19:41
melwittmgagne: oh. okay :(19:41
mgagnemelwitt: either it's not properly syncing up or we made the wrong assumption that it would be there19:41
*** haomaiwa_ has quit IRC19:41
*** ddaskal has joined #openstack-nova19:42
*** Sukhdev has quit IRC19:43
openstackgerritEarle F. Philhower, III proposed openstack/nova: Add os_brick-based VolumeDriver for HGST connector  https://review.openstack.org/19441219:44
lifelessjroll: I think there's a more pithy way to write the test anyhow19:44
*** otter768 has quit IRC19:44
lifelessjroll: but I'm going to do a 1.2 with it reverted anyway19:44
*** otter768 has joined #openstack-nova19:45
mgagnemelwitt: so it looks like I'm always falling into that except block: https://github.com/openstack/nova/blob/master/nova/objects/compute_node.py#L11019:46
*** haomaiwang has quit IRC19:47
*** freyes has quit IRC19:47
*** ig0r_ has quit IRC19:47
mgagnemelwitt: so yea, there is a service_id in the db_compute but it's not found in the database because it's never synced up19:48
lifelessmriedem: jroll: 1.2.0 up on pypi19:49
*** freyes has joined #openstack-nova19:49
*** ddaskal has quit IRC19:50
mriedemlifeless: ok, testing quick19:52
*** haomaiwa_ has joined #openstack-nova19:52
*** jichen has joined #openstack-nova19:52
mriedemrpodolyaka: melwitt: is there a typo in here https://review.openstack.org/#/c/176891/ ?19:53
melwittmgagne: right... I just took a look myself. so it seems like we need another case where we can pull the host from the service key in the message like you said19:53
mgagnemelwitt: I'm going down that path. I fixed it and now it's breaking somewhere else19:53
*** cpschult has joined #openstack-nova19:53
*** piyanai has quit IRC19:53
*** jecarey has joined #openstack-nova19:53
melwittmgagne: :( the lack of compat code is an oversight so I think we'd want to go through and add it and backport it to kilo19:54
mgagnefinally19:54
mgagneI fixed ONE call :D19:54
mgagnea lot of calls expect an object, not a dict19:54
jrolllifeless: nice, ty19:55
melwittmgagne: yeah. the way it's supposed to be done (and I'm guilty of forgetting to do it) is on the far side, check if something is an object, if it's not, convert it to one so stuff downstream works19:55
lifelessjroll: see my comments in https://github.com/testing-cabal/mock/issues/28819:56
lifelessjroll: the thing special about mock_open is read_data, and name support, nothing else really19:56
lifelessjroll: so while the revert fixes you, I suspect you can have a cleaner test without mock_open anyhow19:56
*** moshele has quit IRC19:57
melwittmriedem: it seems that way at first glance but I think rpodolyaka might mean recreate as in destroy followed by a create. I just don't know if rebuild will create it if it doesn't exist i.e. don't know if the term "recreate" is accurate19:57
mgagnemelwitt: yea... I'm working to get kilo working here so I don't mind fixing stuff. What I fear is: missing broken calls and the atrocious latency in getting stuff reviewed and then backported :-/19:57
jrolllifeless: yeah, I tend to agree, I wasn't sure if there was a reason mock_open was used specifically there19:57
*** gyee has quit IRC19:57
*** haomaiwa_ has quit IRC19:57
melwittmriedem: as opposed to, does rebuild simply end up with no BDM in the current state19:58
jrolllifeless: fwiw, fixing that test was the first time I had seen mock_open :P19:58
mriedemmelwitt: well, destroy_bdm means delete the bdm entry from the d19:58
mriedem*db19:58
mriedemso when rebuild tries to detach and attach later, we get BlockDeviceMappingNotFound from the db api19:59
mriedemhttp://paste.openstack.org/show/28194519:59
mriedemmelwitt: can you update the wording there and then we'll push it through and start working on backports?20:00
melwittmriedem: sure20:01
mriedemI'd just say, "If True, the corresponding BDM is deleted from the database. False is useful for operations like rebuild when the BDM must be preserved."20:02
mriedemsometihng like that20:02
mriedemnot a huge deal, i think i'd be +2 on this anyway20:02
*** haomaiwang has joined #openstack-nova20:03
openstackgerritMatt Riedemann proposed openstack/nova: Updated from global requirements  https://review.openstack.org/20070820:03
mriedemlifeless: thar she blar ^20:03
*** READ10 has quit IRC20:06
*** haomaiwa_ has joined #openstack-nova20:06
*** mjturek1 has quit IRC20:06
lifelessoh yeah20:07
lifeless1.2 is compat with 2.6 again20:07
lifelessfolk stepped up20:07
*** dave-mccowan has quit IRC20:07
*** haomaiwang has quit IRC20:08
*** figleaf is now known as edleafe20:09
*** piyanai has joined #openstack-nova20:10
mriedemlifeless: hrm, them it seems we could just make these two lines mock>=1.220:11
mriedemhttps://github.com/openstack/requirements/blob/master/global-requirements.txt#L24420:11
openstackgerritmelanie witt proposed openstack/nova: rebuild: fix rebuild of server with volume attached  https://review.openstack.org/17689120:11
openstackgerritmelanie witt proposed openstack/nova: rebuild: make sure server is shut down before volumes are detached  https://review.openstack.org/17689220:11
mriedemmelwitt: +220:12
mriedemif you want to push that through, you only added the test right?20:13
melwittmriedem: yeah, I added the test_rebuild_driver_with_volumes. I wasn't sure if it's okay for me to +220:14
superdanpretty safe I think20:14
mriedemdo it20:14
mriedemi want to start squashing and backporting the fixes to stable so the tempest change gets in20:15
superdanwe should be conservative with such things, but seems legit, especially if others agree it's cool to push through20:15
melwittokay, just wanted to check first. :)20:15
mriedemmelwitt: generally people make a comment when approving saying what they added or changed20:16
*** haomaiwa_ has quit IRC20:16
melwittmriedem: right. doing that now20:16
mriedemto at least ack that they worked on it20:16
mriedemok20:16
*** dave-mccowan has joined #openstack-nova20:16
*** jasondotstar has joined #openstack-nova20:16
mriedemfwiw i would have probably asked that the rebuild test added to test_compute.py was done in test_compute_mgr.py and done with mock, but i see why you did it in test_compute.py (copy of the test already in there + the volume stuff)20:17
*** lpetrut has quit IRC20:18
melwittmriedem: yeah, good point20:19
*** thangp has quit IRC20:21
*** haomaiwang has joined #openstack-nova20:21
mriedemcool, got the stable/kilo backport running tests now20:24
*** haomaiwang has quit IRC20:26
*** dboik has quit IRC20:26
*** haomaiwang has joined #openstack-nova20:26
*** adreznec has quit IRC20:27
*** afaranha has quit IRC20:28
*** angdraug has joined #openstack-nova20:29
melwittmgagne: I have optimism about cells compat fixes and backports because we're actively working on cells in general. and I think the majority of fixes should be simple (converting to objects on the far side)20:32
*** tongli has quit IRC20:34
*** dims__ has quit IRC20:34
*** adreznec has joined #openstack-nova20:34
*** haomaiwang has quit IRC20:34
*** lsmola has quit IRC20:35
*** haomaiwang has joined #openstack-nova20:35
*** raildo has quit IRC20:35
mgagnemelwitt: ok, I managed to fix calls related to services and hypervisors20:36
*** kylek3h has quit IRC20:36
mgagnemelwitt: we are not running tempest yet and I'm not sure if tempest covers "admin" calls20:36
*** piyanai has quit IRC20:36
*** vladikr has quit IRC20:40
melwittmgagne: cool. this is the exclusion list we use for the cells tempest job, excluding APIs not supported by cells v1 https://github.com/openstack/nova/blob/master/devstack/tempest-dsvm-cells-rc20:42
*** piyanai has joined #openstack-nova20:44
*** piyanai has quit IRC20:46
*** aysyd has quit IRC20:47
kfox1111got a problem. have a vm that has an ephemeral disk created ext4 by the centos 7.1 host.20:47
kfox1111the vm itself is centos 6.6.20:47
kfox1111it crashed. it rebooted, and complaining it doesnt like the 64bit extention on /dev/vdb120:48
*** piyanai has joined #openstack-nova20:48
*** haomaiwang has quit IRC20:48
kfox1111I tried to nova rescue the vm, but it only attaches the main disk, not the ephemeral...20:48
*** Piet has quit IRC20:49
*** haomaiwang has joined #openstack-nova20:51
*** piyanai has quit IRC20:51
*** dprince has quit IRC20:53
*** bnemec has quit IRC20:54
*** jwcroppe_ has joined #openstack-nova20:54
openstackgerritMathieu Gagné proposed openstack/nova: Fix compat support for compute cells running Juno  https://review.openstack.org/20324120:55
*** jwcroppe has quit IRC20:56
*** haomaiwang has quit IRC20:56
*** eharney has quit IRC20:57
*** ijw__ has quit IRC20:57
*** jogo is now known as flashgordon20:57
*** edmondsw has joined #openstack-nova20:59
*** dims_ has joined #openstack-nova21:00
dims_mriedem: melwitt: one of you have some time for a oslo related review? https://review.openstack.org/#/c/192900/ (switching nova to oslo.service) thanks in advance!21:04
*** jichen has quit IRC21:04
*** jasondotstar has quit IRC21:05
*** haomaiwang has joined #openstack-nova21:11
*** jecarey has quit IRC21:12
*** htruta has quit IRC21:12
*** y_sawai has joined #openstack-nova21:12
*** jwcroppe has joined #openstack-nova21:14
*** chuckcarmack has left #openstack-nova21:14
*** jwcroppe_ has quit IRC21:16
*** jwcroppe_ has joined #openstack-nova21:17
*** haomaiwang has quit IRC21:17
*** ijw_ has joined #openstack-nova21:18
*** jwcroppe has quit IRC21:19
*** haomaiwa_ has joined #openstack-nova21:21
*** tomen has joined #openstack-nova21:21
*** jwcroppe has joined #openstack-nova21:23
*** tpeoples has quit IRC21:25
*** jwcroppe_ has quit IRC21:25
*** kmARC has quit IRC21:26
*** oro has quit IRC21:26
*** haomaiwang has joined #openstack-nova21:27
*** dave-mccowan has quit IRC21:27
*** dave-mccowan has joined #openstack-nova21:28
*** jwcroppe_ has joined #openstack-nova21:28
*** tomen has quit IRC21:29
*** haomaiwa_ has quit IRC21:29
*** blockedpipes has quit IRC21:29
*** jwcroppe has quit IRC21:30
clarkbI am trying to fix the tempest migration tests in hpcloud because they fail on name resolution of the remote compute node. What determines the name that nova will try to resolve there?21:31
mgagnemelwitt: unfortunately, looks like what I found was only a small part of the problem. Now I'm getting timeout from juno conductor because an exception seems to be raised in the api cell: AttributeError: 'dict' object has no attribute 'obj_reset_changes'21:31
*** jasondotstar has joined #openstack-nova21:31
clarkbthere fqdn of the test nodes are foo.novalocal and bar.novalocal which is what we have in /etc/hosts but nova tries to resolve foo and bar (just the hostname no fqdn)21:31
clarkbsuperdan: ^21:32
mgagneclarkb: I think it's only the shortname found in the service tables. I might be wrong.21:32
*** haomaiwang has quit IRC21:32
clarkbok so if I put hostname and not hostname -f in /etc/hosts that should fix it, just want to make sure that is the correct thing here (rather than configuring nova to use fqdns)21:33
superdanclarkb: I think it's actually just using myip right?21:33
*** dave-mccowan has quit IRC21:33
mgagnehttps://github.com/openstack/nova/blob/master/nova/netconf.py#L33-L3921:34
mgagneI vote for that one21:34
melwittmgagne: you're probably hitting the instance_update_at_top in cells/messaging.py. that needs to detect non-object and create an object otherwise, I think21:34
*** ivasev has quit IRC21:34
*** eglynn has joined #openstack-nova21:35
*** jwcroppe has joined #openstack-nova21:35
*** mdrabe has quit IRC21:35
mgagnemelwitt: I already added compat code and it still fails :-/21:35
clarkbsuperdan: my_ip has a record for the fqdn in /etc/hosts too so would expect reverse lookups t use that name21:36
melwittmgagne: in instance_update_at_top you check "if not isinstance(instance, objects.Instance):" and convert it?21:36
clarkbah the dfault is socket.gethostname21:36
superdanclarkb: can you show me logs of the failed name resolution? because I thought migration uses just myip for communication between nodes21:36
clarkbso ya I should just remove the -f21:37
mgagne        if isinstance(instance, dict):21:37
mgagne            instance = objects.Instance._from_db_object(ctxt,21:37
mgagne                    objects.Instance(), instance)21:37
clarkbsuperdan: http://logs.openstack.org/25/193725/11/check/gate-tempest-dsvm-multinode-full/5029b4b/logs/subnode-2/screen-n-cpu.txt.gz?level=TRACE21:37
*** jwcroppe_ has quit IRC21:37
clarkbsuperdan: it only fails on hpcloud (not rax) because hpcloud adds a novalocal domain name via cloud-init21:37
superdanoh live migration21:37
mriedemmelwitt: oh btw, on your nested quota ML re: keystone v3 ML - bknudson is going to be sitting in on the nova meetup at some point next week (he's local) so you should ask him about all of that then21:37
mriedemhe worked on it21:37
*** eglynn has quit IRC21:38
melwittmgagne: okay. where is that error being raise then, in instance_update_from_api?21:38
mgagnemelwitt: should the code be in messaging.py ?21:38
melwittmgagne: yes21:38
*** eglynn has joined #openstack-nova21:38
mgagnemelwitt: I got it wrong then21:38
melwittmgagne: well, I'm not sure21:38
*** haomaiw__ has joined #openstack-nova21:38
melwittmgagne: that's where I would have done it but I'm not sure if doing it at cells/manager.py would/should work too21:39
mgagnehttp://paste.openstack.org/show/384674/21:39
melwittmriedem: oh, cool. thanks21:39
mgagnemelwitt: it's already in manager.py and it looks to have no effect21:39
*** jwcroppe_ has joined #openstack-nova21:40
mgagnemelwitt: problem is there is no ctxt available in messaging to pass to objects.Instance._from_db_object21:41
*** jwcroppe has quit IRC21:42
*** jwcroppe has joined #openstack-nova21:43
*** lykinsbd has quit IRC21:45
*** jwcroppe_ has quit IRC21:45
melwittmgagne: there is as message.ctxt, I'm trying to think why what you did didn't work21:47
mgagnemelwitt: yep, just found it :D21:47
*** eglynn has quit IRC21:48
*** haomaiw__ has quit IRC21:48
mgagnemelwitt: manager.py is not involved at all. logging in there never shows up21:48
*** eglynn has joined #openstack-nova21:50
*** haomaiwa_ has joined #openstack-nova21:50
melwittmgagne: hm. I notice the instance_delete_everywhere is done the same way you did, so I would think that's the right way to do it. I don't know why it isn't working21:51
mgagnemelwitt: could be related to the direction (up/down) of the call21:51
mgagnemelwitt: I suspect instance_delete_everywhere is called from api cell while instance_update_at_top is called from compute cell and therefore messaging.py in called, not manager.py21:52
*** eglynn_ has joined #openstack-nova21:52
*** Piet has joined #openstack-nova21:53
*** mriedem has quit IRC21:54
*** cpschult has quit IRC21:55
mgagnemelwitt: and now it fails elsewhere http://paste.openstack.org/show/384715/21:55
*** eglynn has quit IRC21:55
melwittmgagne: that means the object thinks it has no context21:56
mgagneok, I used message.ctxt21:57
melwittmgagne: like "instance = objects.Instance._from_db_object(message.ctxt" ?21:58
mgagneyes21:58
mgagneif every instance "object" coming from Juno compute cell is a fict, I'm not sure how fixable that it without major work21:58
mgagnehttp://paste.openstack.org/show/384717/21:59
mgagnedict*21:59
melwitthm21:59
*** piyanai has joined #openstack-nova22:04
mgagneok I fixed with expected_attrs=['flavor']22:04
openstackgerritEarle F. Philhower, III proposed openstack/nova: Add os_brick-based VolumeDriver for HGST connector  https://review.openstack.org/19441222:04
mgagnenow it fails elsewhere, I'm not sure if it's due to me having broken instances or what22:04
mgagnehttp://paste.openstack.org/show/384719/22:06
melwittmgagne: okay. I think you're going to need to add more to the expected_attrs22:07
*** MentalRay_ has quit IRC22:07
mgagnemelwitt: sure, system_metadata ?22:07
melwittmgagne: if you take a look at run_compute_api_method in messaging.py, those are the common ones22:08
mgagnemelwitt: ok, what is run_compute_api_method used for? can I add instance_update_at_top to it&22:08
mgagnehmm22:09
melwittmgagne: that is, in there we have something similar where we converted to objects and we're going to send an instance off to compute22:09
mgagnecoded changed since22:09
mgagneok so it's for downstream messages22:09
melwittmgagne: I just meant it has expected_attrs = ['metadata', 'system_metadata', 'security_groups', 'info_cache']22:09
melwittmgagne: so I think you can do the same to prevent the commonly accessed attrs from lazy loading22:10
mgagnealright, will try now22:10
melwittmgagne: and also flavor as you already ahve22:11
mgagnenow you are reading my screen =)22:11
melwitthaha22:12
mgagneawesome, it looks to not be falling apart anymore22:13
melwittmgagne: the other methods where you may see fails are instance_destroy_at_top and instance_info_cache_update_at_top. basically if you look in cells/rpcapi.py in the docstring, anything new in there that doesn't have compat code :(22:14
melwittmgagne: * 1.35 - Make instance_update_at_top, instance_destroy_at_top and instance_info_cache_update_at_top use instance objects22:15
mgagnewell, rpcapi is invoked from the compute cell which is running Juno. You can't update it retroactively. So compat code for those new calls need to be in messaging.py of api cell right?22:15
melwittmgagne: I was just saying you can know from the docstring in rpcapi.py what areas could be problematic, what changed in kilo that would be missing the compat code22:16
mgagnesure. I'm still trying to understand how cells code is structured =)22:17
melwittI still don't understand the flow entirely myself. example being thinking the cells/manager.py compat code for instance_update_at_top would have worked fine22:18
*** zzzeek has quit IRC22:18
*** y_sawai has quit IRC22:19
*** zzzeek has joined #openstack-nova22:21
*** davideagnello has quit IRC22:21
*** haomaiw__ has joined #openstack-nova22:21
*** haomaiwa_ has quit IRC22:22
*** Nikolay_St has quit IRC22:23
*** Nikolay_St has joined #openstack-nova22:24
mgagnemelwitt: thank you very much for your help. I'll continue my tests and propose patches as I find more of those.22:25
*** piyanai has quit IRC22:26
*** MVenesio has quit IRC22:26
*** ijuwang has quit IRC22:27
*** edmondsw has quit IRC22:28
melwittmgagne: sure. sorry for all the trouble with it, and thank you for fixing and proposing the patches. I'll be reviewing them22:28
*** IanGovett has quit IRC22:34
*** xyang2 has quit IRC22:39
*** haomaiwa_ has joined #openstack-nova22:42
*** haomaiw__ has quit IRC22:43
*** jasondotstar has quit IRC22:44
*** haomaiw__ has joined #openstack-nova22:45
*** ctrath has quit IRC22:46
*** haomaiwa_ has quit IRC22:46
*** ijw_ has quit IRC22:48
*** mgarza_ has quit IRC22:49
*** eglynn_ has quit IRC22:53
*** mriedem has joined #openstack-nova22:57
*** flashgordon has quit IRC22:58
*** haomaiw__ has quit IRC22:59
*** haomaiwa_ has joined #openstack-nova22:59
*** Sayaji has quit IRC23:01
*** achanda has quit IRC23:04
*** haomaiwa_ has quit IRC23:06
*** annashen has quit IRC23:06
*** ijw_ has joined #openstack-nova23:06
*** annashen has joined #openstack-nova23:08
*** ijw_ has quit IRC23:12
*** haomaiwa_ has joined #openstack-nova23:13
*** ijw_ has joined #openstack-nova23:13
*** flashgordon has joined #openstack-nova23:14
*** dave-mccowan has joined #openstack-nova23:16
*** davideagnello has joined #openstack-nova23:17
*** haomai___ has joined #openstack-nova23:17
*** haomaiwa_ has quit IRC23:18
*** y_sawai has joined #openstack-nova23:19
*** davideagnello has quit IRC23:20
*** MVenesio has joined #openstack-nova23:21
*** MVenesio has quit IRC23:22
*** haomai___ has quit IRC23:23
*** y_sawai has quit IRC23:24
*** haomaiwa_ has joined #openstack-nova23:25
*** ijw_ has quit IRC23:26
*** tpeoples has joined #openstack-nova23:30
*** hemna is now known as hemnafk23:31
*** haomaiw__ has joined #openstack-nova23:32
*** haomaiwa_ has quit IRC23:33
*** vilobhmm has quit IRC23:41
*** cfriesen has quit IRC23:41
*** haomaiw__ has quit IRC23:42
*** pixelbeat_ has quit IRC23:43
*** haomaiwa_ has joined #openstack-nova23:46
*** moshele has joined #openstack-nova23:54
*** MentalRay_ has joined #openstack-nova23:56

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