Monday, 2016-11-28

*** hfu_ has joined #openstack-nova00:00
*** hfu has quit IRC00:01
*** kaisers has joined #openstack-nova00:04
*** thorst_ has quit IRC00:04
*** kaisers has quit IRC00:09
*** hfu_ has quit IRC00:13
*** ducttape_ has quit IRC00:13
*** TTris has joined #openstack-nova00:24
*** CrashOverride has joined #openstack-nova00:37
*** hoangcx has joined #openstack-nova00:41
*** rcernin has quit IRC00:42
*** tuanluong has joined #openstack-nova00:46
*** huanxie has joined #openstack-nova00:47
*** tovin07 has joined #openstack-nova00:48
*** thorst_ has joined #openstack-nova00:50
*** thorst_ has quit IRC00:50
*** thorst_ has joined #openstack-nova00:54
*** CrashOverride has quit IRC00:59
*** thorst_ has quit IRC01:00
*** gongysh has joined #openstack-nova01:03
*** tovin07 has quit IRC01:04
*** phuongnh has joined #openstack-nova01:04
*** kaisers has joined #openstack-nova01:06
*** gongysh has quit IRC01:07
*** gus has quit IRC01:07
openstackgerritJay Pipes proposed openstack/nova: placement: REST API for resource classes  https://review.openstack.org/39195901:10
openstackgerritJay Pipes proposed openstack/nova: placement: adds ResourceClass.save()  https://review.openstack.org/40044801:10
openstackgerritJay Pipes proposed openstack/nova: placement: adds ResourceClass.destroy()  https://review.openstack.org/39191801:10
*** gus has joined #openstack-nova01:11
*** catinthe_ has quit IRC01:16
*** gus has quit IRC01:16
*** gus has joined #openstack-nova01:17
*** catintheroof has joined #openstack-nova01:17
*** tovin07 has joined #openstack-nova01:17
*** liusheng has quit IRC01:19
*** victorhe has joined #openstack-nova01:19
*** catintheroof has quit IRC01:21
*** huanxie has quit IRC01:24
*** liusheng has joined #openstack-nova01:26
*** jamielennox is now known as jamielennox|away01:26
openstackgerritalex proposed openstack/nova: there are some data left over after resize  https://review.openstack.org/40236101:26
*** siva_krish has joined #openstack-nova01:33
*** hfu has joined #openstack-nova01:37
*** ljxiash has joined #openstack-nova01:38
*** ljxiash has quit IRC01:38
*** ljxiash has joined #openstack-nova01:38
*** hfu has quit IRC01:40
*** brad[] has quit IRC01:40
*** hfu has joined #openstack-nova01:41
*** brad[] has joined #openstack-nova01:42
*** hieulq has joined #openstack-nova01:44
openstackgerritZhenyu Zheng proposed openstack/nova: Check destination_type when booting with bdm provided  https://review.openstack.org/40237201:49
*** ducttape_ has joined #openstack-nova01:53
openstackgerritJay Pipes proposed openstack/nova: rt: pass the nodename to public methods  https://review.openstack.org/39847001:53
openstackgerritJay Pipes proposed openstack/nova: rt: remove fluff from test_resource_tracker  https://review.openstack.org/39847101:53
openstackgerritJay Pipes proposed openstack/nova: rt: pass nodename to internal methods  https://review.openstack.org/39846901:53
openstackgerritJay Pipes proposed openstack/nova: rt: explicitly pass compute node to _update()  https://review.openstack.org/39847201:53
openstackgerritJay Pipes proposed openstack/nova: rt: use a single ResourceTracker object instance  https://review.openstack.org/39847301:53
*** thorst_ has joined #openstack-nova01:57
*** baoli has joined #openstack-nova01:57
*** baoli has quit IRC02:02
*** thorst_ has quit IRC02:03
*** ducttape_ has quit IRC02:06
*** kaisers_ has joined #openstack-nova02:09
*** victorhe has quit IRC02:09
*** siva_krish has quit IRC02:11
*** baoli has joined #openstack-nova02:12
*** baoli has quit IRC02:12
*** baoli has joined #openstack-nova02:12
*** kaisers has quit IRC02:12
*** victorhe has joined #openstack-nova02:13
*** liuyulong has joined #openstack-nova02:13
*** kaisers_ has quit IRC02:14
*** jamielennox|away is now known as jamielennox02:15
*** kaisers has joined #openstack-nova02:15
*** baoli has quit IRC02:17
*** kaisers has quit IRC02:20
*** masayukig has joined #openstack-nova02:21
*** hfu has quit IRC02:22
*** gcb has joined #openstack-nova02:23
*** hfu has joined #openstack-nova02:24
*** claudiub has quit IRC02:25
*** Jeffrey4l has joined #openstack-nova02:28
*** shuquan has joined #openstack-nova02:30
*** markvoelker has joined #openstack-nova02:31
*** hfu has quit IRC02:41
openstackgerritLi Yingjun proposed openstack/nova: Optimize creating security_group  https://review.openstack.org/31531102:42
*** hfu has joined #openstack-nova02:45
*** gongysh has joined #openstack-nova02:45
*** baoli has joined #openstack-nova02:46
*** baoli has quit IRC02:48
*** thorst_ has joined #openstack-nova02:52
*** thorst__ has joined #openstack-nova02:54
*** thorst_ has quit IRC02:57
*** thorst__ has quit IRC03:02
*** liuyulong_ has joined #openstack-nova03:03
*** liuyulong has quit IRC03:06
*** gongysh has quit IRC03:14
*** swamireddy has joined #openstack-nova03:15
*** kaisers has joined #openstack-nova03:17
openstackgerritHieu LE proposed openstack/nova: Remove mox from unit/virt/libvirt/test_imagebackend.py (4)  https://review.openstack.org/33582003:17
*** efried has quit IRC03:18
*** efried has joined #openstack-nova03:32
*** shihanzhang has joined #openstack-nova03:32
openstackgerritEric Brown proposed openstack/nova: VMware: Update supported OS types for ESX 6.5  https://review.openstack.org/40349203:33
*** shuquan has quit IRC03:34
openstackgerritEric Brown proposed openstack/nova: VMware: Update supported OS types for ESX 6.5  https://review.openstack.org/40349203:36
*** ayoung has joined #openstack-nova03:38
*** cfriesen has joined #openstack-nova03:39
*** shuquan has joined #openstack-nova03:42
*** kaisers has quit IRC03:46
*** liuyulong__ has joined #openstack-nova03:48
*** shuquan_ has joined #openstack-nova03:48
*** shuquan has quit IRC03:50
*** ljxiash has quit IRC03:50
*** ljxiash has joined #openstack-nova03:51
*** liuyulong_ has quit IRC03:52
*** victorhe has quit IRC03:53
*** hfu has quit IRC03:56
*** ljxiash has quit IRC03:59
*** thorst_ has joined #openstack-nova04:04
*** thorst_ has quit IRC04:05
*** victorhe has joined #openstack-nova04:05
*** ducttape_ has joined #openstack-nova04:06
*** code-R has quit IRC04:09
*** code-R has joined #openstack-nova04:09
*** psachin has joined #openstack-nova04:10
*** ducttape_ has quit IRC04:11
*** links has joined #openstack-nova04:13
*** liuyulong_ has joined #openstack-nova04:13
*** victorhe has quit IRC04:14
*** liuyulong__ has quit IRC04:16
*** sreeram_v has joined #openstack-nova04:16
*** victorhe has joined #openstack-nova04:16
*** code-R has quit IRC04:21
*** code-R has joined #openstack-nova04:21
*** victorhe has quit IRC04:24
*** victorhe has joined #openstack-nova04:27
*** mdnadeem has joined #openstack-nova04:28
*** mdnadeem has quit IRC04:28
*** mdnadeem has joined #openstack-nova04:31
*** mdnadeem_ has joined #openstack-nova04:32
*** mdnadeem has quit IRC04:32
*** shuquan_ has quit IRC04:37
*** code-R has quit IRC04:41
*** kaisers has joined #openstack-nova04:42
*** ayogi has joined #openstack-nova04:46
*** kaisers has quit IRC04:48
*** kaisers has joined #openstack-nova04:48
*** kaisers has quit IRC04:49
*** kaisers has joined #openstack-nova04:50
*** kaisers has quit IRC04:55
*** ratailor has joined #openstack-nova05:04
*** zhangjl has joined #openstack-nova05:09
*** thorst_ has joined #openstack-nova05:10
*** sudipto_ has joined #openstack-nova05:15
*** I has joined #openstack-nova05:15
*** I is now known as Guest3575305:15
*** ecelik has joined #openstack-nova05:17
*** ecelik has left #openstack-nova05:17
*** Guest35753 has quit IRC05:18
*** sudipto_ has quit IRC05:18
*** thorst_ has quit IRC05:19
*** kaisers has joined #openstack-nova05:20
*** ducnc has quit IRC05:25
*** giri has quit IRC05:28
openstackgerritJay Pipes proposed openstack/nova: placement: REST API for resource classes  https://review.openstack.org/39195905:33
*** ljxiash has joined #openstack-nova05:33
*** shuquan has joined #openstack-nova05:38
openstackgerritMichael Still proposed openstack/nova-specs: Spec for continued vendordata work in Ocata.  https://review.openstack.org/39595905:46
*** cfriesen has quit IRC05:46
*** cfriesen has joined #openstack-nova05:50
*** prateek has joined #openstack-nova05:51
*** shuquan has quit IRC05:52
*** shuquan has joined #openstack-nova05:52
*** victorhe has quit IRC05:54
*** victorhe has joined #openstack-nova05:55
*** jaosorior has joined #openstack-nova05:57
*** gjayavelu has joined #openstack-nova05:58
*** hfu has joined #openstack-nova05:58
openstackgerritChangBo Guo(gcb) proposed openstack/nova: Port virt.disk.mount.test_nbd to Python 3  https://review.openstack.org/40350805:59
*** code-R has joined #openstack-nova06:00
*** hfu has quit IRC06:04
*** hfu has joined #openstack-nova06:06
*** moshele has joined #openstack-nova06:09
*** cfriesen has quit IRC06:09
*** hfu has quit IRC06:09
*** victorhe has quit IRC06:12
*** victorhe has joined #openstack-nova06:13
*** hfu has joined #openstack-nova06:14
*** nandal has joined #openstack-nova06:14
*** victorhe_ has joined #openstack-nova06:16
*** victorhe has quit IRC06:16
*** thorst_ has joined #openstack-nova06:17
*** yufei has joined #openstack-nova06:23
*** thorst_ has quit IRC06:24
*** lpetrut has joined #openstack-nova06:25
*** claudiub has joined #openstack-nova06:28
*** yufei has left #openstack-nova06:29
*** ircuser-1 has quit IRC06:30
*** hfu has quit IRC06:31
*** hfu has joined #openstack-nova06:32
*** gjayavelu has quit IRC06:34
*** mjura has joined #openstack-nova06:42
*** code-R_ has joined #openstack-nova06:49
*** mjura has quit IRC06:50
*** mjura has joined #openstack-nova06:50
*** code-R has quit IRC06:52
*** markus_z has joined #openstack-nova06:56
*** I has joined #openstack-nova06:57
*** sudipto has joined #openstack-nova06:57
*** I is now known as Guest8124206:57
*** nkrinner_afk is now known as nkrinner06:59
*** oanson has joined #openstack-nova07:00
openstackgerritMarkus Zoeller (markus_z) proposed openstack/nova: libvirt: Acquire TCP ports for console during live migration  https://review.openstack.org/27580107:03
*** jaosorior has quit IRC07:04
*** jaosorior has joined #openstack-nova07:05
*** sridharg has joined #openstack-nova07:06
openstackgerritzhaolihui proposed openstack/nova: Fix keypair quota error  https://review.openstack.org/40352907:11
*** shuquan has quit IRC07:11
*** victorhe has joined #openstack-nova07:13
*** victorhe_ has quit IRC07:13
*** shuquan has joined #openstack-nova07:15
*** victorhe has quit IRC07:15
*** victorhe has joined #openstack-nova07:16
*** Oku_OS-away is now known as Oku_OS07:16
openstackgerritMarkus Zoeller (markus_z) proposed openstack/nova: live-migration test hook for serial console  https://review.openstack.org/34747107:17
*** kaisers_ has joined #openstack-nova07:19
*** code-R_ has quit IRC07:20
*** shuquan has quit IRC07:21
*** kaisers has quit IRC07:22
*** thorst_ has joined #openstack-nova07:23
*** shuquan has joined #openstack-nova07:23
*** thorst_ has quit IRC07:29
*** lennyb has quit IRC07:29
openstackgerritMoshe Levi proposed openstack/nova: Enhance PCI passthrough whitelist to support regex  https://review.openstack.org/19948807:30
*** ekuris has joined #openstack-nova07:31
*** paul-carlton2 has joined #openstack-nova07:32
*** victorhe has quit IRC07:32
*** lennyb has joined #openstack-nova07:32
*** lpetrut has quit IRC07:34
openstackgerritAlex Xu proposed openstack/nova-specs: Add whitelist for filter and sort query parameters for server list API  https://review.openstack.org/39320507:35
*** Jeffrey4l has quit IRC07:35
*** code-R has joined #openstack-nova07:35
openstackgerritNguyen Hung Phuong proposed openstack/nova: Remove mox from nova/tests/unit/test_configdrive2.py  https://review.openstack.org/32275407:39
*** andreas_s has joined #openstack-nova07:39
*** nherciu has joined #openstack-nova07:43
*** Jeffrey4l has joined #openstack-nova07:43
*** rcernin has joined #openstack-nova07:44
openstackgerritChangBo Guo(gcb) proposed openstack/nova: Port api.openstack.compute.test_disk_config to Python 3  https://review.openstack.org/40353607:44
*** hfu has quit IRC07:44
*** gouthamr has joined #openstack-nova07:44
*** hfu has joined #openstack-nova07:45
*** pcaruana has joined #openstack-nova07:45
*** shuquan_ has joined #openstack-nova07:45
*** shuquan has quit IRC07:46
*** irenab has quit IRC07:46
*** irenab has joined #openstack-nova07:47
*** mnestratov has joined #openstack-nova07:48
openstackgerritBin Zhou proposed openstack/nova: Avoid misremove of volume when live migrate fail  https://review.openstack.org/38722607:49
*** yingjun has joined #openstack-nova07:50
yingjunping gibi07:50
*** matrohon has joined #openstack-nova07:52
openstackgerritHieu LE proposed openstack/nova: Remove mox from unit/virt/libvirt/test_imagebackend.py (5)  https://review.openstack.org/33592107:52
*** ducnc has joined #openstack-nova07:53
*** ralonsoh has joined #openstack-nova07:53
openstackgerritHieu LE proposed openstack/nova: Remove mox from unit/virt/libvirt/test_imagebackend.py (end)  https://review.openstack.org/33592507:54
*** irenab has quit IRC07:55
*** irenab has joined #openstack-nova07:55
*** WillUK2010 has joined #openstack-nova07:56
*** code-R_ has joined #openstack-nova07:57
tdurakovmarkus_z: hi07:57
markus_ztdurakov: hey ho07:57
tdurakovmarkus_z: about test hook, I'm investigating that issues locally, it looks like tempest deletes instance even before live migration, trying to figure out what causes tempest to do so07:58
tdurakovmarkus_z: will submit new version once figure out what goes wrong07:59
tdurakovjfyi^07:59
*** code-R has quit IRC07:59
markus_ztdurakov: hm, weird. ok, thanks for that. I pushed a new ps in tempest too, which solves the "resource not found" thing.08:00
tdurakovmarkus_z: which one?08:00
tdurakovwhen you are trying to get serial console?08:00
markus_zhttps://review.openstack.org/34681508:01
markus_zYes08:01
openstackgerritXuanzhou Perry Dong proposed openstack/nova: Add service status enforcement for consoleauth  https://review.openstack.org/33636408:01
tdurakovmarkus_z: what was the root cause?08:02
tdurakovI saw that nova already deletes instance before tempest attempts to get serial console08:02
markus_ztdurakov: I used an REST API which was dropped in an microversion. Microversion 2.6 introduced the unified console, but I used the deprecated "get-serial-console" REST API.08:04
markus_ztdurakov: The doc change is here: https://review.openstack.org/#/c/402138/2/api-ref/source/servers-action-remote-consoles.inc08:04
markus_z(for the sake of completeness)08:04
tdurakovmarkus_z: hmmm, ok, let's wait for the tests are finished, my understanding was a bit different)08:05
gibiyingjun: ping08:05
*** gmann has quit IRC08:06
*** yingjun has quit IRC08:07
*** ducttape_ has joined #openstack-nova08:08
openstackgerritTimofey Durakov proposed openstack/nova: live-migration test hook for serial console  https://review.openstack.org/34747108:10
openstackgerritTimofey Durakov proposed openstack/nova: live-migration test hook for serial console  https://review.openstack.org/34747108:10
tdurakovmarkus_z: you forgot about the block-migration flag:-p08:11
*** sreeram_v has quit IRC08:11
*** sreeram_v has joined #openstack-nova08:12
*** irenab has quit IRC08:12
*** ducttape_ has quit IRC08:13
*** irenab has joined #openstack-nova08:13
openstackgerritBalazs Gibizer proposed openstack/nova: Transform aggregate.create notification  https://review.openstack.org/39451108:15
openstackgerritBalazs Gibizer proposed openstack/nova: Transform aggregate.add_host notification  https://review.openstack.org/39621008:15
openstackgerritBalazs Gibizer proposed openstack/nova: Transform aggregate.remove_host notification  https://review.openstack.org/39621108:15
openstackgerritBalazs Gibizer proposed openstack/nova: Add aggregate notification related enum values  https://review.openstack.org/39620908:15
openstackgerritBalazs Gibizer proposed openstack/nova: Transform aggregate.delete notification  https://review.openstack.org/39451208:15
*** sam_nowitzki has joined #openstack-nova08:15
*** sreeram_v has quit IRC08:16
*** ihrachys has joined #openstack-nova08:22
*** nherciu_ has joined #openstack-nova08:22
sudiptohi can someone help me with a few queries on availability zones?08:23
*** nherciu has quit IRC08:26
*** shuquan_ has quit IRC08:26
openstackgerritChangBo Guo(gcb) proposed openstack/nova: Port api.openstack.compute.test_extended* to Python 3  https://review.openstack.org/40354808:28
*** yingjun has joined #openstack-nova08:28
markus_ztdurakov: damn, thanks, I did forget that you made a change.08:30
*** code-R_ has quit IRC08:30
*** bkopilov has quit IRC08:30
tdurakovmarkus_z: np)08:30
*** sreeram_v has joined #openstack-nova08:31
*** bkopilov has joined #openstack-nova08:32
*** shuquan has joined #openstack-nova08:34
*** code-R has joined #openstack-nova08:34
openstackgerritBin Zhou proposed openstack/nova: Avoid misremove of volume when live migrate fail  https://review.openstack.org/38722608:39
sudiptojohnthetubaguy, is it a good idea to have a  availability zone per host?08:39
openstackgerritBin Zhou proposed openstack/nova: Avoid misremove of volume when live migrate fail  https://review.openstack.org/38722608:40
sudiptothat is if someone wants to do targeted deployment of instances...08:40
openstackgerritMaxim Nestratov proposed openstack/nova: don't store vnc/spice listen addrs in migration data if disabled  https://review.openstack.org/39621808:41
openstackgerritPavlo Shchelokovskyy proposed openstack/nova: DNM PoC Enable VNC console access to Ironic nodes  https://review.openstack.org/39827008:44
*** gjayavelu has joined #openstack-nova08:46
*** bauwser is now known as bauzas08:47
bauzassudipto: what do you wanna know about AZs ?08:47
sudiptobauzas, hi, thanks. Basically I have a few questions - 1. Is it a good idea to group individual hosts into one availability zone each to do targeted deployments to hosts? 2. If at a later point in time, the hosts change the AZs, will there be an impact on the instances on them?08:48
bauzassudipto: you know what's a Nova AZ, right?08:49
sudiptobauzas, yup.08:49
sudiptothink i know :)08:49
bauzassudipto: so, it's just an aggregate metadata08:49
sudiptobauzas, yeah - if you do a flavor based extra_specs - then we can do it via aggregates is what you are saying right?08:49
bauzaswhile aggregates are hidden from end-users, AZs are known08:50
openstackgerritNguyen Hung Phuong proposed openstack/nova: Remove mox from nova/tests/unit/virt/test_virt.py  https://review.openstack.org/32328808:50
bauzassudipto: not sure I understand your concern08:50
bauzassudipto: if you want to provide some extra specs for flavors, they're also hiddent08:51
*** gjayavelu has quit IRC08:51
bauzashidden08:51
sudiptobauzas, ok sorry. I want to know - 1. What's the best way to do targeted deployments of instances to a given host?08:51
openstackgerritNguyen Hung Phuong proposed openstack/nova: Remove mox from nova/tests/unit/compute/test_virtapi.py  https://review.openstack.org/32321308:52
bauzassudipto: heh, there are a LOOOOOOT of possibilities08:52
bauzassudipto: first, you mean for a end-user ?08:52
*** amoralej|off is now known as amoralej08:52
bauzassudipto: because end-users don't know hosts, right?08:53
sudiptobauzas, yeah08:53
bauzassudipto: end-users don't know the deployment, they just want to make sure that 2 instances are not within the same host08:53
bauzasor they want to trust the operator for creating 2 zones08:54
sudiptobauzas, ok08:54
openstackgerritMichael Still proposed openstack/nova: List support for force-completing a live migration in Feature support matrix  https://review.openstack.org/39787108:54
tdurakovmarkus_z: so, it works https://review.openstack.org/#/c/347471/38 need to figure out what's happened with grenade job08:54
sudiptobauzas, and if it's an operator who's deploying some pets?08:55
*** unicell1 has joined #openstack-nova08:55
bauzassudipto: that's doesn't mean they know how the 2 different zones will be separated, they just "trust" that if two instances are in two different zones, they expect to have a failure domain different08:55
bauzassudipto: well, an end-user doesn't know if that's a pet or not08:56
bauzassudipto: they just ask for something specific that the operator would get to them08:56
*** pilgrimstack has joined #openstack-nova08:56
sudiptobauzas, got it.08:56
*** unicell has quit IRC08:57
bauzassudipto: they can say to the operator 'I want a pet' and then the operator will tell them "okay, you have to do this or that in order to get a pet"08:57
*** sreeram_v has quit IRC08:57
*** sreeram_v has joined #openstack-nova08:58
bauzaslike for example using a specific flavor, or an image, or a specific AZ etc.08:58
sudiptobauzas, got it..08:58
*** aloga_ has joined #openstack-nova08:58
bauzasor all the instances in some cloud could be treated equally and be all pets08:58
sudiptofrom a operator standpoint, if the AZ is changed for a given host, will it have any implication?08:58
*** swamireddy has quit IRC08:59
bauzasyou can change an AZ metadata on an aggregate, the corollar being that all the hosts belonging to that aggregate will change from AZ08:59
bauzasbut there are verifications08:59
*** zzzeek has quit IRC09:00
bauzaslike, we verify first that as an operator, if you modify the agg AZ info, you don't turn hosts belonging to two AZs09:00
sudiptoyeah because one host is unique for one AX09:00
sudiptoAZ09:00
*** code-R has quit IRC09:00
*** kevinz has joined #openstack-nova09:00
*** lpetrut has joined #openstack-nova09:01
*** shuquan has quit IRC09:01
openstackgerritTovin Seven proposed openstack/nova: Integrate OSProfiler and Nova  https://review.openstack.org/25470309:01
*** zzzeek has joined #openstack-nova09:01
*** sreeram_v has quit IRC09:02
sudiptobauzas, but since there's a AZ change, will the scheduler to be alright with any operations performed on an instance which was a part of a different (older) AZ?09:02
*** paul-carlton2 has quit IRC09:02
*** shuquan has joined #openstack-nova09:03
sudiptobasically host 1 --> AZ_1 -> instance 1 changed to host 1 --> AZ_2 --> instance 1 --> now let's say a resize on the same host is performed for instance 1.09:03
openstackgerritZhenyu Zheng proposed openstack/nova: Don't delete neutron port when attach failed  https://review.openstack.org/40356809:03
sudiptoor let's say host 1 --> AZ_1 --> instance 1, host2,host1 --> AZ_2 --> instance 1 - now a scheduler activity is performed on instance 1.09:04
bauzassudipto: AFAIR, if the user didn't specify an AZ, that's fine09:05
*** hshiina has joined #openstack-nova09:05
*** CristinaPauna has joined #openstack-nova09:05
markus_ztdurakov: Looks like it is this one: https://bugs.launchpad.net/zuul/+bug/163511109:05
openstackLaunchpad bug 1635111 in Zuul "All grenade jobs are failing with error" [High,New]09:05
bauzassudipto: but if the user asked for a specific AZ, we deny to change the AZ09:05
*** andrey-mp has joined #openstack-nova09:05
bauzassudipto: there is the notion of "default AZ" for an instance standpoint09:05
sudiptobauzas, I see that i deployed instance 1 with AZ_1 and then re-added the host to another AZ_2 -- now i perform a resize operation on the instance and all of the instance Availability zones are flipped to AZ_209:06
sudiptoor maybe there's a periodic task that modifies it?09:06
tdurakovmarkus_z: origin issue is hidden by ansible bug that causes post-failure, see http://logs.openstack.org/71/347471/38/check/gate-grenade-dsvm-neutron-multinode-live-migration-nv/55c5533/console.html#_2016-11-28_08_47_42_19647409:06
bauzassudipto: tl;dr: if you *explicitely* specified an AZ at boot time, your instance will be stuck within that AZ09:07
sudiptobauzas, ok...09:07
*** ayogi has quit IRC09:07
*** ayogi has joined #openstack-nova09:07
andrey-mpHi. What happens with reviews for nova? How it should be proceeded? https://review.openstack.org/#/c/352612/4  Why core reviewers didn't check this and review was abandoned by them with reason 'no activity'?09:07
*** pilgrimstack has left #openstack-nova09:08
kashyapandrey-mp: mikal should've first asked a question before abandoning with that blanet reason09:09
kashyaps/blanet/blanket/09:09
openstackgerritNguyen Hung Phuong proposed openstack/nova: Remove mox from nova/tests/unit/db/test_db_api.py  https://review.openstack.org/32316509:09
andrey-mpkashyap: but I didn't see this question...09:10
kashyapandrey-mp: Which question?09:10
openstackgerritMaxim Nestratov proposed openstack/nova: libvirt: enable console log for virtuozzo  https://review.openstack.org/39716609:11
andrey-mpkashyap: You've wrote that he should asked a question09:11
andrey-mpor I misunderstood the process?09:12
markus_zandrey-mp: A script abandons patches with certain criteria automatically09:12
kashyapandrey-mp: Well, I don't know what rationale he used to just close it09:12
kashyap(Apart from that 12-week thing)09:12
markus_zandrey-mp: That script needs a credential to to the auto-abandon09:13
kashyapmarkus_z: Ah, right.09:13
markus_zandrey-mp: mikal gives his credentials for this script.09:13
markus_zandrey-mp: There was *never* such a scenario like "hm, andrey's patch sucks, I'll close it" :)09:13
markus_zandrey-mp: The script is relatively simple, it checks "has it a -1 for more than 12 weeks?", if that's the case, an abandon happens09:14
markus_zandrey-mp: Reading the comment history of your patch, it looks like the VMware CI voted with -1 some time ago.09:15
andrey-mpmarkus_z: ok, got it. So, how to proceed such reviews? It's has +1 from jenkins and awaiting for review.09:15
markus_zandrey-mp: You should be able to revive it. Maybe under "reply".09:15
*** ralonsoh_ has joined #openstack-nova09:15
bauzassudipto: https://github.com/openstack/nova/blob/master/nova/compute/api.py#L427709:16
andrey-mpmarkus_z: I can't because it's not my review - it fixes my bug )09:16
markus_zandrey-mp: I think your change was an exception, as the VMware CI isn't voting anymore AFAICT.09:16
markus_zandrey-mp: Ah, right. Anyone here with the name "Anusha Unnam"?09:17
*** portdirect_away is now known as portdirect09:17
markus_zandrey-mp: A core member can revive patches from other people too.09:17
kashyapmarkus_z: The script didn't take it into account that the -1 _was_ addressed?09:18
markus_zbauzas: Can you revive https://review.openstack.org/#/c/352612/ please? It got auto-closed by mistake.09:18
kashyapThe "-1" was for adding tests09:18
kashyapmarkus_z: Okay, you note why it's an exception above09:18
markus_zkashyap: I think it checks for *any* -1 by either human or machine09:18
*** ralonsoh has quit IRC09:19
sudiptobauzas, this is case, where you aren't allowed to change the AZ of a host unless that host is not present in any other AZ right?09:19
kashyapUh, that's dumb as hell09:19
*** ralonsoh_ is now known as ralonsoh09:19
markus_zkashyap: I simply assume that, I don't know where this script is to double-check my assumption.09:19
andrey-mpok, thanks all for help!09:19
markus_zandrey-mp: I know it can be frustrating sometimes, but sometimes it's just an honest mistake :)09:20
kashyapmarkus_z: Thanks for clarification, either way09:21
markus_zandrey-mp: FWIW, the review backlog is far too huge to check everything manually09:21
markus_z*before abandoning it09:21
sudiptos/unless, if09:21
sudiptos/unless/if09:22
andrey-mpyeah, there are many reviews for nova... )09:22
*** WillUK2010 has quit IRC09:22
markus_zTo "Anusha Unnam", please consider adding your IRC handle to your Launchpad profile, so that it comes up when "stalking" you here: http://www.openstack.org/community/members/profile/5220609:23
bauzasmarkus_z: well, I can, sure09:23
markus_zbauzas: thanks a lot!09:24
bauzasmarkus_z: but the patch probably would love some rebase09:24
*** mgoddard has joined #openstack-nova09:24
markus_zandrey-mp: ^ can you do that?09:24
bauzasdo we have someone stepping up for possible follow-ups ?09:24
bauzasandrey-mp: you seem interested in that change, volunteer for handing over the patch ?09:25
andrey-mpmarkus_z: sure09:25
markus_zandrey-mp: coolio, thanks09:26
andrey-mpbauzas: I'll try to track it09:26
*** lucas-afk is now known as lucasagomes09:27
bauzasandrey-mp: cool, thanks I appreciate09:27
openstackgerritAndrey Pavlov proposed openstack/nova: Fix floating-ip-list to show associated instance info  https://review.openstack.org/35261209:27
bauzasandrey-mp: here, the fact is that we want to make sure that we have resources for ensuring that this change can get merged09:27
bauzasandrey-mp: thanks for the rebase09:28
markus_zandrey-mp: For the sake of completeness, the freeze is earlier this time https://releases.openstack.org/ocata/schedule.html It should aim to get it merged until middle of January09:28
markus_zs/It/You09:28
bauzasthat's a bug ?09:28
*** shuquan has quit IRC09:28
markus_zyeah09:29
markus_zhm, but nova-network...09:29
bauzassec, we stopped showing information from the API ?09:30
*** yassine has joined #openstack-nova09:30
*** yassine is now known as Guest8969109:31
*** thorst_ has joined #openstack-nova09:31
*** swamireddy has joined #openstack-nova09:31
andrey-mpbauzas: yes, from my point of view.09:31
bauzasandrey-mp: if you deploy with n-net ?09:32
andrey-mpyeah09:32
bauzas:/09:32
andrey-mpit's still supported...09:33
openstackgerritRoman Podoliaka proposed openstack/nova: Integrate OSProfiler and Nova  https://review.openstack.org/25470309:34
bauzasandrey-mp: my point is more that we broke the API contract in the past09:34
bauzasis s/more/rather/09:35
*** rmart04 has joined #openstack-nova09:36
openstackgerritStephen Finucane proposed openstack/nova: Add PCIWeigher  https://review.openstack.org/37952409:37
openstackgerritStephen Finucane proposed openstack/nova: Prefer non-PCI host nodes for non-PCI instances  https://review.openstack.org/37962509:37
*** thorst_ has quit IRC09:39
*** nandal has quit IRC09:39
*** ihrachys has quit IRC09:42
*** yingjun has quit IRC09:43
*** yingjun has joined #openstack-nova09:43
*** yingjun has quit IRC09:46
*** yingjun has joined #openstack-nova09:46
*** erlon-airlong has joined #openstack-nova09:47
*** shuquan has joined #openstack-nova09:50
*** mdnadeem_ has quit IRC09:50
*** yingjun has quit IRC09:51
*** mdnadeem_ has joined #openstack-nova09:53
*** code-R has joined #openstack-nova09:55
*** Yingxin has quit IRC09:56
*** code-R_ has joined #openstack-nova09:57
*** derekh has joined #openstack-nova09:59
*** huanxie has joined #openstack-nova09:59
*** shuquan has quit IRC09:59
*** hfu has quit IRC09:59
*** code-R has quit IRC10:00
*** cdent has joined #openstack-nova10:00
*** gabor_antal has joined #openstack-nova10:02
*** aloga_ has quit IRC10:02
*** mgoddard_ has joined #openstack-nova10:03
*** gabor_antal_ has quit IRC10:05
*** mgoddard has quit IRC10:06
*** gouthamr has quit IRC10:07
*** gouthamr has joined #openstack-nova10:09
*** gouthamr has quit IRC10:09
*** sahid has joined #openstack-nova10:09
*** gouthamr has joined #openstack-nova10:09
*** ducttape_ has joined #openstack-nova10:09
*** gouthamr has quit IRC10:12
*** gouthamr has joined #openstack-nova10:13
*** ducttape_ has quit IRC10:14
alex_xujohnthetubaguy: good morning, I updated https://review.openstack.org/#/c/393205/8, but still have problem with sort which I'm not sure what is best choice, and I commented in the spec. hope you can take a look at10:15
alex_xuI also will catch Jay when he online10:16
johnthetubaguyalex_xu: yeah, its a good question, I don't know the answer to that10:16
tdurakovmarkus_z: see http://logs.openstack.org/71/347471/38/check/gate-grenade-dsvm-neutron-multinode-live-migration-nv/9b31271/logs/n-cpu.txt  2016-11-28T09:31:35.488874Z10:17
johnthetubaguyalex_xu: I assume the index would still help keep sort efficient on the smaller set, but thats random guessing10:17
*** andrey-mp has quit IRC10:18
alex_xujohnthetubaguy: i only test on huge table, the index doesn't help at here. i can do another test.10:19
*** stevemar has quit IRC10:19
alex_xulet me catch jay :)10:19
johnthetubaguyalex_xu: what was the example you were looking at?10:20
alex_xujohnthetubaguy: I just did 'select * from instances order by project_id', we have index 'instances_project_id_deleted_idx', but it doesn't help. It only help for 'select id from instances order by project_id' or 'select project_id, deleted_at from instances order by project_id'10:22
alex_xufor nova, we basically equal to 'select * from instances'10:22
johnthetubaguyright, if you look at the query we make, we almost always have deleted=0 in a where clause10:24
johnthetubaguybecause we don't list delete instances for most users10:24
johnthetubaguytry add the where clause, I think thats the bit that matters10:24
*** andrey-mp has joined #openstack-nova10:25
*** xinliang has joined #openstack-nova10:25
*** kaisers_ has quit IRC10:27
*** kaisers has joined #openstack-nova10:27
johnthetubaguyalex_xu: also, I would try using EXPLAIN EXTENDED in your query, it should tell you what is going on: http://dev.mysql.com/doc/refman/5.7/en/explain-extended.html10:29
openstackgerritStephen Finucane proposed openstack/nova: hardware: Flatten functions  https://review.openstack.org/36747010:30
openstackgerritStephen Finucane proposed openstack/nova: Standardize '_get_XXX_constraints' functions  https://review.openstack.org/38507110:30
openstackgerritStephen Finucane proposed openstack/nova: Rename '_numa_get_constraints_XXX' functions  https://review.openstack.org/38507210:30
openstackgerritStephen Finucane proposed openstack/nova: De-duplicate _numa_get_flavor_XXX_map_list  https://review.openstack.org/38507410:30
* sfinucan thought johnthetubaguy had finally cracked and was yelling at people10:30
johnthetubaguysfinucan: heh10:30
alex_xujohnthetubaguy: yea, EXPLAIN told me the index doesn't help at here10:30
johnthetubaguyalex_xu: gotcha10:31
openstackgerritStephen Finucane proposed openstack/nova-specs: Fix additional mistakes in the NUMA spec document  https://review.openstack.org/32325210:31
openstackgerritStephen Finucane proposed openstack/nova-specs: priorities: Populate Ocata priorities  https://review.openstack.org/40032610:31
alex_xujohnthetubaguy: if there is huge size of tenant, the thing should be ok i guess. for the non-admin user, the result always filter by project_id and user_id first, then the db only sort on a small set.10:32
johnthetubaguyalex_xu: you find totally brings up a good point though, show_delete=True is probably not very efficient, more so than the fact its going to return lots of things10:32
alex_xus/there is/there isn't/10:32
johnthetubaguyalex_xu: so don't forget the tenant with thousands of VMs, but yeah, there is damage limited with the quota10:32
markus_ztdurakov: That issue is solved with https://review.openstack.org/#/c/275801/ I think the rebase removed it from the dependency list.10:32
tdurakovmarkus_z: resubmit it then10:33
tdurakovotherwise looks good:)10:33
markus_ztdurakov: review 347471 (nova hook) needs review 346815 (tempest test) needs review 275801 (nova ports fix).10:34
tdurakovso, hook should depends on both patches, right?10:35
markus_ztdurakov: yes10:35
markus_zone in nova and one in tempest10:35
openstackgerritTimofey Durakov proposed openstack/nova: live-migration test hook for serial console  https://review.openstack.org/34747110:36
tdurakovmarkus_z: done^10:36
*** thorst_ has joined #openstack-nova10:37
markus_ztdurakov: yeah, that should work too, thanks.10:37
*** hoangcx has quit IRC10:37
tdurakovmarkus_z: btw, https://review.openstack.org/#/c/275801/ - need to be backported, right?10:37
markus_ztdurakov: would be awesome but I'm not sure if/how it can be done10:38
*** CristinaPauna has quit IRC10:39
*** CristinaPauna has joined #openstack-nova10:39
alex_xujohnthetubaguy: yea10:40
markus_zI will be happy as a clam if it merges for Ocata :)10:40
alex_xujohnthetubaguy: and after filter by project_id, the index 'instances_project_id_deleted_idx' already used. and only one index can be used in a query. so nothing can help if there is sort10:41
*** phuongnh has quit IRC10:42
*** ihrachys has joined #openstack-nova10:43
*** zhangjl has quit IRC10:44
*** thorst_ has quit IRC10:44
alex_xujohnthetubaguy: btw, I will go to the bug smash this week. there is event at Wednesday, i'm not sure i can back in time. If i'm not, would you mind running the meeting?10:44
johnthetubaguyalex_xu: no problem, do you the agenda covering what you think we need to cover?10:45
*** rfolco has joined #openstack-nova10:45
alex_xujohnthetubaguy: the only thing I have in mind is query parameters10:46
johnthetubaguyalex_xu: trimming it down to a small number of results quickly is probably the important part I guess, so maybe thats the best we can hope for10:46
johnthetubaguyalex_xu: yeah, thats the hot topic I guess10:46
alex_xujohnthetubaguy: yea, agree with you10:46
* alex_xu go home now, back later10:48
johnthetubaguyso. has anyone noticed the ceph job has got very angry recently?10:50
*** ducnc has quit IRC10:50
bauzasjohnthetubaguy: any chance you could look at https://review.openstack.org/#/c/403035/ soon ?10:52
lyarwoodjohnthetubaguy: nope, can't say I have, it has been green in my libvirt block volume changes for the last week AFAIK10:52
johnthetubaguylyarwood: maybe its just bad luck then, see a few red ones some up for stuff I have +W ed10:53
johnthetubaguybauzas: whats the alternative one from roman again?10:53
johnthetubaguybauzas: I see tdurakov is prefering that approach10:53
bauzasjohnthetubaguy: yup, but I don't agree with tdurakov10:53
bauzasjohnthetubaguy: there are 2 reasons for that10:53
*** paul-carlton2 has joined #openstack-nova10:54
*** kragniz has quit IRC10:54
bauzas#1 the object is having a Boolean field type, and we understood on Friday why10:54
bauzasthe change is saying that we should change it to an integer, which means roman doesn't understand why it's different from SQL2A10:54
bauzasSQLA10:54
*** kragniz has joined #openstack-nova10:54
*** mgoddard_ has quit IRC10:54
johnthetubaguybauzas: do you have the link to his change? sounds different to what I saw before10:55
bauzas#2 because roman's change is changing all the classes by using a different Mixin which is exactly the same than oslo.db but just for something about postgre10:55
johnthetubaguybauzas: regardless, I think we should do your change as its a direct fix of the regression, which totally makes sense to me (like a partial revert)10:55
bauzasjohnthetubaguy: https://review.openstack.org/#/c/402090/10:56
*** mgoddard has joined #openstack-nova10:56
*** gouthamr has quit IRC10:57
bauzasjohnthetubaguy: we can wait for US folks coming around tho10:58
*** sambetts|afk is now known as sambetts10:58
*** ljxiash has quit IRC11:00
*** paul-carlton has joined #openstack-nova11:02
*** paul-carlton has left #openstack-nova11:03
openstackgerritChris Dent proposed openstack/nova: Add rudimentary CORS support to placement API  https://review.openstack.org/39289111:06
*** irenab has quit IRC11:11
*** irenab has joined #openstack-nova11:12
johnthetubaguybauzas: I added my comments around what I think we should do11:12
openstackgerritLee Yarwood proposed openstack/nova: libvirt: Ensure to_xml always returns an ASCII string  https://review.openstack.org/40238211:13
openstackgerritLee Yarwood proposed openstack/nova: libvirt: utils.get_disk return the target dev of the root device  https://review.openstack.org/40271611:13
openstackgerritLee Yarwood proposed openstack/nova: libvirt: Use the mirror element to detect when to pivot  https://review.openstack.org/39973511:13
openstackgerritLee Yarwood proposed openstack/nova: libvirt: Make guest.BlockDevice only use the target dev of a disk  https://review.openstack.org/40216311:13
openstackgerritLee Yarwood proposed openstack/nova: libvirt: Wait for abort_job to complete when not resizing  https://review.openstack.org/38244911:13
bauzasjohnthetubaguy: I agree with your opinion : #1 fix the regression, #2 discuss on the direction we want to get for the deleted field11:13
bauzasjohnthetubaguy: tbh, I thought about that on Friday night, and I think we can just modify https://github.com/openstack/nova/blob/master/nova/objects/base.py#L219 to be read_only=True11:15
johnthetubaguybauzas: +111:15
openstackgerritBob Ball proposed openstack/nova: Use physical utilisation for cached images  https://review.openstack.org/35386211:15
johnthetubaguybauzas: that seems a good starting point to me11:15
bauzasjohnthetubaguy: I haven't found any call modifying the object field directly11:16
johnthetubaguybauzas: do you fancy throwing up at patch, and seeing what it does to the tests?11:16
bauzassure, I can do that11:16
bauzasthe only time we modify the deleted field in SQLA is by using the oslo.db method11:16
johnthetubaguybauzas: honestly, all of those fields should be read_only11:16
bauzasperhaps11:16
bauzasI haven't checked the others11:16
johnthetubaguyI suspect we do strange things with updated_at, but the other two should be read_only11:17
*** GnomeKing has joined #openstack-nova11:18
bauzasjohnthetubaguy: yeah, I remember some discussion about modifying updated_at11:19
bauzasat least the DB servicegroup11:20
bauzaswhich is touching that field11:20
openstackgerritStephen Finucane proposed openstack/nova: Check Config Options Consistency  for xenserver.py  https://review.openstack.org/35028411:20
openstackgerritStephen Finucane proposed openstack/nova: conf: Covert StrOpt -> PortOpt  https://review.openstack.org/39439211:20
openstackgerritStephen Finucane proposed openstack/nova: conf: Deprecate 'remap_vbd_dev' option  https://review.openstack.org/39439311:20
openstackgerritStephen Finucane proposed openstack/nova: conf: Deprecate 'torrent_' options  https://review.openstack.org/40362911:20
GnomeKingjohnthetubaguy: Any chance you could take a gander at https://review.openstack.org/#/c/353862/ ? I'm curious if the DiskFilter is used at rax?11:20
openstackgerritAndrey Volkov proposed openstack/nova: PoC: add hierarchy quota driver  https://review.openstack.org/39107211:20
johnthetubaguyGnomeKing: I don't believe we use that at all, in public cloud at least11:21
johnthetubaguyGnomeKing: everything is sized around RAM slots11:21
*** TTris has quit IRC11:22
GnomeKingRight.  Would explain why you don't hit this bug.11:22
*** portdirect is now known as portdirect_away11:22
*** Bobba has quit IRC11:23
johnthetubaguyGnomeKing: so physical_utilisation isn't really a thing11:23
GnomeKingWhy?11:23
GnomeKingIt is for base VDIs - clearly not for the leaf ones used by a VM11:24
gcbjohnthetubaguy,  thanks for your review commits of Python 3 porting  :-)11:26
johnthetubaguygcb: no worries, I got chance to do some reviews while it was quiet :)11:27
*** Guest81242 has quit IRC11:27
*** sudipto has quit IRC11:27
johnthetubaguyGnomeKing: I was looking at the SR total one in that patch I guess11:28
*** gszasz has joined #openstack-nova11:28
GnomeKingIt isn't getting the SR total physical used; it's getting all VDIs on the SR and counting virtual allocation for any VDIs attached to a VM, and physical for any VDIs not attached (since they cannot expand)11:29
*** tuanluong has quit IRC11:29
*** jaosorior has quit IRC11:30
*** oanson has quit IRC11:30
gcbI have more commits of python 3 porting in https://etherpad.openstack.org/p/nova_py35,  Nova cores, please help review when you are free :-)11:30
*** mpaolino has joined #openstack-nova11:30
*** mpaolino has quit IRC11:31
*** oanson has joined #openstack-nova11:31
*** zenoway has joined #openstack-nova11:32
*** sam_nowitzki has quit IRC11:32
paul-carlton2kaisers, I'm struggling to get https://review.openstack.org/#/c/268053 to pass nova-quobyteci-dsvm-volume ci, seems to keep failing11:33
*** irenab has quit IRC11:34
pkholkinnova-specs cores, please review the spec! https://review.openstack.org/#/c/38191211:34
*** TTris has joined #openstack-nova11:34
johnthetubaguypkholkin: just for context, we are well past spec freeze for ocata now11:34
*** kaisers_ has joined #openstack-nova11:36
pkholkinjohnthetubaguy: yes, John, I know, but I think we can make an exception for this, the spec is already in one 'special' list https://etherpad.openstack.org/p/nova-ocata-spec-review-sprint11:36
*** nandal has joined #openstack-nova11:36
johnthetubaguypkholkin: its worth asking the question11:36
pkholkinI had many positive feedback there11:36
*** irenab has joined #openstack-nova11:37
*** kaisers has quit IRC11:37
pkholkinand I tried to be very active on this11:38
paul-carlton2salv-orlando still struggling with Vmware NSX CI for https://review.openstack.org/#/c/268053?11:39
*** irenab has quit IRC11:42
*** thorst_ has joined #openstack-nova11:42
*** irenab has joined #openstack-nova11:42
openstackgerritGergely Csatari proposed openstack/nova: Optional name in Update Server description in api-ref  https://review.openstack.org/40363811:44
*** nicolasbock has joined #openstack-nova11:45
*** ayogi has quit IRC11:46
openstackgerritPavel Kholkin proposed openstack/nova: WIP: [scheduler] fixes aggregate_image_properties_isolation filter  https://review.openstack.org/40364011:47
*** irenab has quit IRC11:47
*** slagle has joined #openstack-nova11:49
*** thorst_ has quit IRC11:49
*** irenab has joined #openstack-nova11:54
openstackgerritMatthew Booth proposed openstack/nova: libvirt: Resize an existing disk  https://review.openstack.org/40364711:55
*** rtheis has joined #openstack-nova11:56
*** code-R_ has quit IRC11:59
*** irenab has quit IRC12:02
*** code-R has joined #openstack-nova12:04
GnomeKingGood call on the potential race with VDIs being deleted - thanks johnthetubaguy12:04
*** irenab has joined #openstack-nova12:08
*** GnomeKing has quit IRC12:10
*** yingjun has joined #openstack-nova12:10
*** ducttape_ has joined #openstack-nova12:10
openstackgerritChris Dent proposed openstack/nova: Optional separate database for placement API  https://review.openstack.org/36276612:14
*** ducttape_ has quit IRC12:15
*** bvanhav has joined #openstack-nova12:17
*** Serlex has joined #openstack-nova12:17
*** rodrigods has quit IRC12:17
*** rodrigods has joined #openstack-nova12:17
*** dave-mccowan has joined #openstack-nova12:19
openstackgerritAlex Szarka proposed openstack/nova: Transform instance-exists notification  https://review.openstack.org/40366012:20
*** ljxiash has joined #openstack-nova12:22
*** ratailor has quit IRC12:24
*** ljxiash has quit IRC12:26
openstackgerritAlex Szarka proposed openstack/nova: Transform instance.rebuild notification  https://review.openstack.org/38492212:27
*** yuntongjin has joined #openstack-nova12:28
*** oanson has quit IRC12:29
*** jaosorior has joined #openstack-nova12:29
*** alexpilo_ has quit IRC12:29
tdurakovjohnthetubaguy: hi, seen your comments on postgre gate fixes, my understanding, that rpodolyaka's patch will be transparent for code users. I'm also not a big fan of hot-fixing for special cases, like if field.name == 'special_case': continue:-p12:30
*** ducttape_ has joined #openstack-nova12:32
*** alexpilotti has joined #openstack-nova12:32
*** yingjun_ has joined #openstack-nova12:32
*** oanson has joined #openstack-nova12:33
*** bauzas has quit IRC12:34
*** mdnadeem_ has quit IRC12:35
*** yingjun has quit IRC12:36
*** ketann has joined #openstack-nova12:36
ketanncan someone help review this spec: https://review.openstack.org/#/c/390413/ for Veritas HyperScale driver for Nova12:37
*** nandal has quit IRC12:38
*** bauzas has joined #openstack-nova12:39
*** mdnadeem_ has joined #openstack-nova12:39
*** prateek has quit IRC12:39
*** yuntongjin has quit IRC12:40
bauzastdurakov: have you read our discussion ?12:41
bauzastdurakov: and why I don't agree with you ?12:41
tdurakovbauzas: yep12:42
tdurakovbauzas: have you read my comment?12:42
bauzastdurakov: as well12:42
*** lucasagomes is now known as lucas-hungry12:44
*** gouthamr has joined #openstack-nova12:44
*** sudipto has joined #openstack-nova12:44
bauzastdurakov: so, you prefer to modify *all* the SQLA classes just for a postgre problem, and you think it's not something a tech debt ?12:44
*** Guest81242 has joined #openstack-nova12:44
tdurakovbauzas: yes, I am12:45
bauzasfor example, you think that someone looking in 2 years at the module wouldn't have problems understanding why we added a special layer for just postgre ?12:45
bauzasand you don't think that someone looking at that would say "meh, why nova isn't just using oslo.db ?"12:46
*** amoralej is now known as amoralej|off12:46
*** amoralej|off is now known as amoralej|lunch12:46
tdurakovbauzas: the same is valid for your idea, tbh12:46
tdurakovbauzas: let's just wait for feedback from other cores12:46
bauzastdurakov: no, because for 2 reasons12:47
bauzastdurakov: one, I explained in my comment why we should NEVER try to modify the deleted field12:47
bauzastdurakov: secondly, because it's just in one place about something really small => only the instance object12:48
*** thorst_ has joined #openstack-nova12:48
*** mnestratov|3 has joined #openstack-nova12:48
bauzaseither way, I'm adding a new followup change for really fixing the real problem12:48
bauzasthe real problem is not that postgre should have the right type, rather that we should never try to modify the deleted field12:48
openstackgerritChangBo Guo(gcb) proposed openstack/nova: Add volume status check when deleting instances  https://review.openstack.org/26033912:48
tdurakov> rather that we should never try to modify the deleted field - won't it affect *all* classes?12:49
tdurakovbauzas: ^12:49
bauzastdurakov: see my changer going in 30 mins12:50
tdurakovbauzas: ok12:50
*** mnestratov has quit IRC12:51
bauzastdurakov: have you seen my comment on why I also dislike saying that we should modify the field type for deleted ?12:51
tdurakovbauzas: yes, I've read comments on that 2 patches12:51
*** andrey-mp has quit IRC12:52
*** tbachman has joined #openstack-nova12:53
*** Guest81242 has quit IRC12:55
*** sudipto has quit IRC12:55
*** jaypipes has joined #openstack-nova12:55
*** ababich has joined #openstack-nova12:56
*** gcb has quit IRC12:56
*** lamt has quit IRC12:58
*** andrey-mp has joined #openstack-nova13:00
*** pradk has joined #openstack-nova13:00
*** markus_z has quit IRC13:01
openstackgerritRoman Podoliaka proposed openstack/nova: db: coerce deleted param to be an integer value  https://review.openstack.org/40209013:03
alex_xujaypipes: good morning, I updated the https://review.openstack.org/#/c/393205/, but I have one problem, found the sort acutally can't get any benefit from the index, so not sure what i should do , I commented in the spec. looking for your help13:06
*** kylek3h has quit IRC13:07
*** ducttape_ has quit IRC13:10
*** ketann has quit IRC13:10
*** baoli has joined #openstack-nova13:16
*** markus_z has joined #openstack-nova13:16
*** jaosorior is now known as jaosorior_brb13:16
jaypipesalex_xu: will take a look shortly. just getting through holiday email backlog ;)13:18
alex_xujaypipes: thanks :)13:18
*** code-R_ has joined #openstack-nova13:20
johnthetubaguytdurakov: my take is, lets merge the direct fix of the regression, while we work out the best way to fix things in general13:21
rpodolyakajohnthetubaguy: thanks for the context on the deleted field in objects! I'm fine with either solution13:22
rpodolyakait's just that we probably still want to see something like this on oslo.db13:22
johnthetubaguyrpodolyaka: yeah, not against making oslo.db do the right thing on the conversion too13:23
rpodolyakaso...  you may end up using this transparently13:23
johnthetubaguyrpodolyaka: yeah, I suspect we might want both longer term13:23
*** code-R has quit IRC13:23
*** jwcroppe has quit IRC13:24
*** tbachman_ has joined #openstack-nova13:24
*** jwcroppe has joined #openstack-nova13:25
openstackgerritSylvain Bauza proposed openstack/nova: Block updating o.vo fields only DB related  https://review.openstack.org/40369413:25
bauzasrpodolyaka: johnthetubaguy: tdurakov: ^13:25
*** tbachman has quit IRC13:26
*** tbachman_ is now known as tbachman13:26
bauzasthat's I think the best approach for making sure those fields should only be returned from the DB, and never tried to be updated13:26
rpodolyakabauzas: as I replied to John's comment on review - I'm all for making the field read-only13:26
rpodolyakait's just I'm not sure what OVO behaviour is when the object is created13:27
rpodolyakawhether it will use the default of the field for initialization or not13:27
*** ljxiash has joined #openstack-nova13:27
jaypipesalex_xu: done.13:28
johnthetubaguyrpodolyaka: I assume read_only means you can't set the object attribute directly? which would have fixed the case we ran into I believe.13:28
johnthetubaguyrpodolyaka: I am not certain tough13:29
johnthetubaguythough13:29
alex_xujaypipes: thanks, checking now13:29
rpodolyakajohnthetubaguy: yeah, I get that, but what happens when you do Instance(...).create() without passing the value for deleted?13:29
rpodolyakaI'd expect OVO to use the field default value13:29
rpodolyakawhich is False13:30
rpodolyakanot 013:30
*** jwcroppe has quit IRC13:30
alex_xujaypipes: do you means it is ok keep those sort keys even they didn't get benefit on the indexes, just focus on the filters?13:31
openstackgerritPavel Kholkin proposed openstack/nova: WIP: [scheduler] fixes aggregate_image_properties_isolation filter  https://review.openstack.org/40364013:31
johnthetubaguyrpodolyaka: so it wasn't set, so I don't think its in the changes list, so its not passed, but again, I am not 100% sure13:32
*** paul-carlton has joined #openstack-nova13:33
*** dims has quit IRC13:33
*** kylek3h has joined #openstack-nova13:34
*** shuquan has joined #openstack-nova13:34
*** paul-carlton has quit IRC13:34
rpodolyakaif it's not passed, then we use the model column's default which is 0 and everything's fine13:34
rpodolyakaso what's the purpose of an object field default then? is it only used  when you create an object instance in the code? (i.e. not load it from the DB)13:36
bauzasrpodolyaka: so, the purpose of readonly is to only make sure we set a field once13:38
rpodolyakabauzas: I'm more interested in field default value and whether it's going to be used in create() when the object is persisted or not13:38
bauzasrpodolyaka: in the case of most of our objects that reflect the DB (ie. those that are using the PersistentObject Mixin), we do create the object in SQLA and then we're hydrating a fresh new object from what we read in DB13:39
*** sreeram_v has joined #openstack-nova13:39
*** shuquan has quit IRC13:39
edleafeScheduler subteam meeting in 20 minutes in #openstack-meeting-alt13:40
*** shuquan has joined #openstack-nova13:40
*** mdnadeem_ has quit IRC13:41
*** mrsoul has quit IRC13:41
*** mdrabe has joined #openstack-nova13:42
*** dims has joined #openstack-nova13:44
*** stevemar__ has joined #openstack-nova13:47
*** mrsoul has joined #openstack-nova13:47
*** paul-carlton2 has quit IRC13:47
*** amoralej|lunch is now known as amoralej13:50
*** jwcroppe has joined #openstack-nova13:50
*** ducttape_ has joined #openstack-nova13:52
*** paul-carlton2 has joined #openstack-nova13:53
*** jheroux has joined #openstack-nova13:53
*** lucas-hungry is now known as lucasagomes13:55
*** ducttape_ has quit IRC13:56
*** sreeram_v has quit IRC13:57
sfinucanmacsz: RE conf options - there's a reason for not indenting the bullet points under 'Related Options' etc, right?13:58
*** sreeram_v has joined #openstack-nova13:58
macszsfinucan: yes, if you do indent, the doc generates the list in <blockquote>13:59
sfinucanmacsz: Thought so. Cheers :)13:59
*** yingjun has joined #openstack-nova13:59
macszsfinucan: example: http://docs.openstack.org/newton/config-reference/compute/config-options.html14:00
macszand grep for consoleauth_topic = consoleauth14:00
*** lamt has joined #openstack-nova14:00
macszsfinucan: cheers, buddy :)14:00
*** prateek has joined #openstack-nova14:00
*** ralonsoh_ has joined #openstack-nova14:01
johnthetubaguymacsz: sfinucan: my horrendous hack to make that all work is very whitespace dependent right now (that could be tweaked... but its tricky to do a good general job).14:02
*** yingjun_ has quit IRC14:02
*** sreeram_v has quit IRC14:03
*** ralonsoh has quit IRC14:03
*** sam_nowitzki has joined #openstack-nova14:04
*** oanson has quit IRC14:04
*** irenab_ has joined #openstack-nova14:04
*** links has quit IRC14:04
*** thorst_ is now known as thorst_coffee_ru14:05
*** irenab has quit IRC14:06
macszjohnthetubaguy: i found to force consistency 'non-space' approach in reviews easier than mess with the doc scripts ;)14:06
*** bvanhav has quit IRC14:07
macszjohnthetubaguy kudos to you for even doing this doc parsing stuff14:07
*** irenab_ has quit IRC14:08
*** sam_nowitzki has quit IRC14:11
*** irenab has joined #openstack-nova14:12
*** tblakes has joined #openstack-nova14:12
johnthetubaguymacsz: meh, I just crawled in a hole with a sledgehammer for a few hours, then the docs folks merged it14:13
*** lpetrut has quit IRC14:13
*** bvanhav has joined #openstack-nova14:14
*** markus_z has quit IRC14:15
*** thorst_coffee_ru is now known as thorst_14:16
*** bvanhav_ has joined #openstack-nova14:16
*** tblakes has quit IRC14:16
*** lpetrut has joined #openstack-nova14:17
*** tblakes has joined #openstack-nova14:17
*** clenimar has joined #openstack-nova14:18
*** ducttape_ has joined #openstack-nova14:18
*** tblakes_ has joined #openstack-nova14:19
*** bvanhav has quit IRC14:19
*** shuquan has quit IRC14:21
*** yingjun has quit IRC14:22
*** yingjun has joined #openstack-nova14:22
*** tblakes has quit IRC14:22
*** tblakes_ is now known as tblakes14:22
*** Lord_balancer is now known as umbSublime14:26
*** yingjun has quit IRC14:26
*** mriedem has joined #openstack-nova14:27
*** rcernin has quit IRC14:27
*** yingjun has joined #openstack-nova14:27
*** openstackstatus has quit IRC14:28
*** openstackstatus has joined #openstack-nova14:29
*** ChanServ sets mode: +v openstackstatus14:29
*** yingjun has quit IRC14:31
*** baoli has quit IRC14:35
*** esberglu has joined #openstack-nova14:36
*** rcernin has joined #openstack-nova14:36
*** eharney has joined #openstack-nova14:37
*** victorhe has joined #openstack-nova14:42
mriedembauzas: i'm a bit confused looking at https://review.openstack.org/#/c/403035/ - and why we blow up when creating the instance from the buildrequest when instance.deleted is set in this case but not when creating a 'normal' instance which also has a boolean 'deleted' field14:42
mriedembauzas: the only difference i can see would be if the instance.deleted field was never set before this14:42
*** sridharg has quit IRC14:43
*** eharney has quit IRC14:43
*** vishwana_ has quit IRC14:44
*** moshele has quit IRC14:44
*** vishwanathj has joined #openstack-nova14:44
*** baoli has joined #openstack-nova14:46
*** jamesdenton has joined #openstack-nova14:46
mriedemdansmith: have you taken a look at ^ yet?14:46
*** kevinz has quit IRC14:46
dansmithno14:46
dansmithoh boy14:47
*** moshele has joined #openstack-nova14:47
*** victorhe has quit IRC14:47
*** victorhe has joined #openstack-nova14:48
dansmithmriedem: yeah, I don't get that at all14:48
*** markus_z has joined #openstack-nova14:48
mriedemo14:49
mriedem*i'm glad i'm not alone14:49
dansmithmakes no sense to me actually14:50
mriedem>>> from nova.objects import instance as instance_obj14:50
mriedem>>> instance = instance_obj.Instance()14:50
mriedem>>> instance.obj_attr_is_set('deleted')14:50
mriedemFalse14:50
dansmitheven still, deleted=False is fine, and we're still using instance.create(), which can only ever see the boolean of the field anyway14:51
bauzasdansmith: mriedem: sorry was afk for a bit14:52
*** victorhe has quit IRC14:52
bauzasso, lemme tell you a looooong story14:52
bauzaswhile you folks were eating turkey14:52
*** gcb has joined #openstack-nova14:53
*** tblakes has quit IRC14:54
bauzasdansmith: mriedem: all of that is blowing up because https://github.com/openstack/nova/blob/master/nova/objects/build_request.py#L8514:54
dansmiththat should be cast to a boolean though14:55
bauzaspreviously, we were setting some fields in the compute.api module, then calling .create() which was hydrating all the Instance object fields by getting the DB14:55
bauzasdansmith: agreed, that's another problem, but we're casting integers in the coercing method14:55
bauzasdansmith: anyway, the point is that we have a different type between SQLA and the object14:56
bauzasthat's fine by me14:56
bauzasbecause we only want to return False or True for the user14:56
dansmithyeah, but that's intentional14:56
bauzasexactly14:56
*** nherciu_ has quit IRC14:56
*** eharney has joined #openstack-nova14:57
dansmithexplain how we're not casting 0 to False?14:57
dansmithhttps://github.com/openstack/oslo.versionedobjects/blob/master/oslo_versionedobjects/fields.py#L396-L39714:57
mriedemi think we are14:58
mriedemfrom the sqla dump14:58
mriedem'deleted': False,14:58
*** oanson has joined #openstack-nova14:58
dansmithoh, I see,14:58
dansmiththe problem is actually that we're not going back to an integer on create()14:58
openstackgerritHironori Shiina proposed openstack/nova: Add soft reboot support to ironic driver  https://review.openstack.org/40374514:58
mriedemright14:58
dansmithI thought the opposite was being asserted14:58
dansmithgotcha14:58
dansmiththat needs to be fixed, so why skip the deleted field?14:59
mriedemand was never a problem before because instance.deleted was never set before we called create on it14:59
dansmithyea14:59
*** cfriesen has joined #openstack-nova14:59
bauzasthe problem is that we want to set again that field14:59
*** paw has quit IRC14:59
dansmiththe problem is that we're not properly changing a bool into an int in create() if it's set :)15:00
* dansmith cooks up a patch for that15:00
bauzasdansmith: why should we modify that ?15:01
dansmithwell, actually, I guess that's hard because we don't yet know the id, so we need to do it in the db layer15:01
bauzasdansmith: the only reason for modifying the deleted field should be when we destroy the instance, right?15:01
dansmithbauzas: yes, we should, IMHO15:01
dansmiththe create() method is trying to create something that doesn't match the model15:01
bauzasdansmith: so, when we're calling instance.destroy(), it goes into oslo.db which sets the deleted biy15:01
bauzasbit15:01
bauzasdansmith: to the objec tid15:02
*** hshiina has quit IRC15:02
dansmithbauzas: yeah15:02
bauzasdansmith: that's why I provided a follow-up15:02
mriedemi guess you could convert False to 0 in https://github.com/openstack/nova/blob/520ee65a55bf9894d5915d3cebc892439d703312/nova/db/sqlalchemy/api.py#L166415:02
bauzasdansmith: putting read-only to the PersistentObject mixin fields15:02
bauzasmriedem: honestly, I want to go the way where noone updates that field :)15:03
mriedemhttps://review.openstack.org/#/c/403035/2/nova/objects/build_request.py as a hack works because we only ever use that method during the create flow15:03
*** victorhe has joined #openstack-nova15:03
dansmithmriedem: but not True15:03
mriedemdansmith: i know15:03
*** cfriesen_ has joined #openstack-nova15:03
mriedemi don't know what that would be, error?15:03
dansmithhttp://pastebin.com/EtjGqDfa15:04
bauzasmriedem: dansmith: https://review.openstack.org/#/c/403694/1 is the real fix IMHO15:04
dansmithnot very hard15:04
*** cfriesen has quit IRC15:04
dansmithbauzas: I disagree15:04
bauzasdansmith: why so ?15:04
*** ralonsoh__ has joined #openstack-nova15:04
dansmithbauzas: that those fields are backed by oslo.db right now may not be the case in the future15:04
dansmithit's a detail15:04
*** psachin has quit IRC15:05
*** jaosorior_brb has quit IRC15:05
*** clenimar has quit IRC15:05
mdboothjaypipes: Are you up and about, yet? Responded to https://review.openstack.org/#/c/337790/15:05
dansmithbauzas: we set some of those fields in a few places right?15:05
*** jaosorior_brb has joined #openstack-nova15:05
mriedemdansmith: that patch seems ok, instance_ref.delete() is a bit weird though, not sure we'd ever expect to create a deleted instance15:05
mriedemand does calling instance_ref.delete() work before context.session.add(instance_ref)?15:06
*** ralonsoh_ has quit IRC15:06
bauzasdansmith: I looked at deleted, and I actually don't find any of those15:06
dansmithmriedem: we've got id there at that point so it should be fine, I'll write tests15:06
bauzasI mean, no places where we actually set deleted15:06
dansmithbauzas: I see several15:06
bauzasdansmith: where ? :)15:06
bauzasI'm curious15:06
*** Guest81242 has joined #openstack-nova15:06
*** sudipto has joined #openstack-nova15:06
dansmithbauzas: https://github.com/openstack/nova/blob/master/nova/objects/network.py#L165-L16915:07
openstackgerritCorentin Ardeois proposed openstack/nova: Add CORS filter to versions pipeline  https://review.openstack.org/40078515:07
dansmithbauzas: we do some delete operations in-place where we don't re-load the object from the db layer15:07
openstackgerritCorentin Ardeois proposed openstack/nova: Add CORS filter to versions pipeline  https://review.openstack.org/40078515:07
bauzasdansmith: ah, that's for another object15:07
*** clenimar has joined #openstack-nova15:07
bauzasI see15:07
dansmithbauzas: even still, anything that does _from_db_object() won't ever be able to update the deleted field15:07
bauzasand given people don't re-load it from the DB, they prefer to set it straight and mark it non-persistent15:08
dansmithlike instance.refresh() after something else has deleted15:08
bauzas_from_db_object() sets the right value for deleted15:08
bauzasthat's how I understood why it's intentional to have a boolean15:08
bauzaseither way, folks, it's just 2 days I'm passing around that problem15:09
dansmithbauzas: but it can't if we make it read only15:09
bauzasfeel free to cook whatever you want, I just provided https://review.openstack.org/#/c/403035/2 as a possible fixup for short term15:09
dansmithheh, we have no test_instance_create() in test_db_api ?15:09
*** daemontool has joined #openstack-nova15:10
mriedemwhile we're fixing things, shouldn't https://github.com/openstack/nova/blob/master/nova/objects/build_request.py#L85 match the logic in https://github.com/openstack/nova/blob/master/nova/objects/instance.py#L347 ?15:10
*** ljxiash_ has joined #openstack-nova15:10
bauzasit should15:10
dansmithmriedem: definitely15:10
mriedemi guess https://github.com/openstack/nova/blob/master/nova/objects/build_request.py#L85 is assuming that because the build request is short lived until the instance is created, the build request won't ever hold a deleted instance15:10
dansmithbut it's doing the right thing at the middle layer anyway15:11
mriedemdansmith: ok separate patch or also in yours?15:11
bauzasyup, because we delete the BuildRequest when we delete the instance15:11
mriedembauzas: well we delete the build request after we create the instance15:11
mriedemin conductor i thought15:11
*** vladikr has joined #openstack-nova15:11
mriedembuild request is only around to provide a response to the api until the instance lives in a cell15:11
jaypipesmdbooth: just got back from breakfast... looking now.15:12
dansmithmriedem: correct15:13
*** ljxiash has quit IRC15:13
bauzaseither way, there are millions of ways to correct the problem, the real thing being that we set something in https://github.com/openstack/nova/blob/master/nova/objects/build_request.py#L85 that we want to persist15:14
mriedemalright i've got scrum in 15 minutes so i'll assume https://github.com/openstack/nova/blob/master/nova/objects/build_request.py#L85 is being handled by someone else, and i'll review after that15:14
mriedemi also saw no takers in the ML thread on getting pg coverage back in the integrated gate :)15:14
bauzasso, either we consider just removing that L85 setting, or we drop deleted from the items we wanna set in the SQLA layer, or we make sure we're not passing it before calling .save()...15:14
mriedembauzas: i think we're doing the first two15:15
mriedemwell, not removing L8515:15
mriedembut fixing it to be accurate15:15
bauzasI chose the 3rd option :)15:15
bauzasbut okay15:15
mriedemwe don't know how get_new_instance is going to be used in the furture15:15
mriedem*future15:15
mriedemso i'm less inclined to go with that option15:15
markus_zI need one last change to finish bp/libvirt-virtlogd but cannot reach danpb since 2 weeks: https://review.openstack.org/#/c/323765/ Whom can I ask for a libvirt driver review?15:15
bauzasmriedem: I'm fine with that, I just wanted to provide a short-term fix15:16
jaypipesmarkus_z: I can do one.15:16
bauzasmriedem: you need to remember the special timing that was Friday afternoon my time15:16
markus_zjaypipes: That would be really great, thank you!15:16
jaypipesnp15:16
bauzasmriedem: where litterally nobody except john and me around in the channel15:16
mriedemmarkus_z: i'd try to get sahid to take a look15:16
bauzasdansmith: you okay with me touching https://github.com/openstack/nova/blob/master/nova/objects/build_request.py#L85 ?15:17
mriedembauzas: yes i know you were trying to put out a fire, i appreciate that15:17
mriedemand rpodolyaka for also helping out15:17
dansmithbauzas: yep15:17
markus_zsahid: Could you maybe also have a look at https://review.openstack.org/#/c/323765/ please?15:17
bauzasokay, that should be short15:17
*** jlvill-travel is now known as jlvillal15:17
bauzass/short/quick15:17
rpodolyakamriedem: np!15:17
sahidmarkus_z, markus_z sure will look at it shortly15:19
sahidmriedem: ^15:19
markus_zsahid: Thanks! Let me know if you want a review on one of your patches.15:19
mriedemmarkus_z: danpb has a series up for review related to secure console proxy, might be in your wheelhouse15:20
jaypipesmdbooth: done.15:20
mdboothjaypipes: Thank you!15:20
markus_zmriedem: I read the spec. Yep, will look for them and review.15:20
mriedemhttps://review.openstack.org/#/q/topic:bp/websocket-proxy-to-host-security15:20
*** tbachman has quit IRC15:23
*** tblakes_ has joined #openstack-nova15:24
*** ekuris has quit IRC15:27
openstackgerritMoshe Levi proposed openstack/nova: Enhance PCI passthrough whitelist to support regex  https://review.openstack.org/19948815:27
dansmithhmm, no openstack bot15:27
dansmithfor me15:27
dansmithmriedem: bauzas: https://review.openstack.org/40375615:28
*** tblakes_ is now known as tblakes15:28
*** READ10 has joined #openstack-nova15:29
dansmithmriedem: your comment about session.add() was right, I thought you meant "when the context manager returns", but I had just put it there because I wanted it at the end and saw the closure as the next method in the file incorrectly15:29
bauzasdansmith: mmm, so if someone updates instance.deleted = True, then we would call soft_delete() ?15:29
dansmithmriedem: so yeah, after session.add(), and seems to work fine15:29
mnestratov|3mriedem: thanks for updating https://review.openstack.org/#/c/282398/ for us :)15:29
diana_clarkeI've run into a couple of snafus for the simple tenant usage pagination work. I wonder if I could pick your brain for a minute, dansmith.15:29
dansmithbauzas: yes15:29
diana_clarkedansmith: The 'nova usage' CLI only shows the usage totals (not details), making it impossible to determine the marker (an instance uuid) to pass to the CLI to get subsequent pages.15:29
diana_clarkedansmith: For example: http://paste.openstack.org/show/589771/15:29
diana_clarkedansmith: Do you think I should dog food the next links for the python-novaclient CLI and continue to show the complete totals? Other ideas? Thanks!15:30
bauzasdansmith: that adds a new behaviour, but okay15:30
bauzasanyway, I need to disappear for the next 30 mins :(15:30
dansmithbauzas: well, corrects a behavior IMHO but yeah :)15:30
bauzasdansmith: agreed15:30
*** moshele has quit IRC15:30
*** mnestratov|3 is now known as mnestratov15:30
bauzasoh man, I need to change all the mocks for just changing .deleted = 0 to something like db['deleted'] == db['id']15:31
bauzasgraah15:31
dansmithdiana_clarke: the client should handle the paging internally right?15:31
mriedemmnestratov: np15:32
diana_clarkedansmith: It wasn't, but now I'm thinking it should. 'nova usage' wouldn't accept limit & marker, but rather always show the full totals (page under the hood).15:33
*** andrey-mp has quit IRC15:33
*** paw has joined #openstack-nova15:33
diana_clarkedansmith: And then I wonder how the plain old python object client interface should work. It should accept limit & marker I think for maximum flexibility.15:34
diana_clarkedansmith: Or not. That way horizon wouldn15:34
diana_clarkeoops15:34
mriedemdoes http://status.openstack.org/zuul/?openstack/nova work for others?15:34
mriedemdoes that populate the filters box?15:35
diana_clarkedansmith: Or not. That way horizon wouldn't need to change at all. The json payload would still be large, but the memory usage wouldn't balloon b/c it would be constructed with multiple smaller DB result sets.15:35
dansmithdiana_clarke: yeah, I would expect novaclient to just do the thing internally, especially since we have to fix up the totals15:35
jaypipesmarkus_z: done.15:36
diana_clarkedansmith: For both cases? python-novaclient CLI and POPOs?15:36
*** dims has quit IRC15:36
*** bnemec has joined #openstack-nova15:37
*** jaosorior_brb is now known as jaosorior15:37
mriedemnope i guess it doesn't15:37
openstackgerritFrancesco Santoro proposed openstack/os-vif: os-vif: add vif_name to VIFVHostUser class  https://review.openstack.org/39022515:38
openstackgerritFrancesco Santoro proposed openstack/os-vif: os-vif: add new classes to enable fast path vhostuser  https://review.openstack.org/37553315:38
dansmithdiana_clarke: um, who you calling a poopoo?15:38
*** slaweq_ has quit IRC15:39
mriedemi assume she meant police officers15:40
mriedemwriting REST API clients for nova15:40
mriedemto catch criminals15:40
*** mlavalle has joined #openstack-nova15:40
dansmithmriedem: heh15:41
*** dims has joined #openstack-nova15:41
dansmithI assume she means "horizon"15:41
diana_clarkePlain Old Python Objects (the Usage API in python-novaclient as opposed to the CLI)15:42
*** rfolco_ has joined #openstack-nova15:42
*** mtanino has joined #openstack-nova15:42
markus_z"popo" means ass in German :D15:42
diana_clarkelol15:43
*** rfolco has quit IRC15:44
*** mtanino has quit IRC15:46
dansmithdiana_clarke: the python api probably shouldn't hide that from the layer above, I would think15:47
dansmithor in german,15:47
dansmith"the ASS probably shouldn't..."15:47
diana_clarkedansmith: Okay, thanks for the sanity check. I'll give that a shot (hide paging in the CLI, but expose it in the python API).15:48
diana_clarkeMy next snafu has to do with the change in sorting that came out of spec review. Sorting my uuid makes functional tests hard...15:48
diana_clarkes/my/by15:48
*** ralonsoh_ has joined #openstack-nova15:49
diana_clarkeWhen it was sorted by an auto-incrementing id, I could create two instances and deterministicly predict the order for the next links etc. With uuids I can't do that...15:50
*** mtanino has joined #openstack-nova15:50
*** ralonsoh__ has quit IRC15:50
*** prateek_ has joined #openstack-nova15:50
*** code-R_ has quit IRC15:51
*** harlowja_at_home has joined #openstack-nova15:51
*** slaweq_ has joined #openstack-nova15:52
*** xyang1 has joined #openstack-nova15:52
*** jdurgin1 has joined #openstack-nova15:53
*** prateek has quit IRC15:53
*** Sukhdev has joined #openstack-nova15:54
*** hongbin has joined #openstack-nova15:54
openstackgerritMatt Riedemann proposed openstack/nova-specs: Spec for continued vendordata work in Ocata.  https://review.openstack.org/39595915:56
*** yamahata has joined #openstack-nova15:56
openstackgerritStephen Finucane proposed openstack/nova: conf: Deprecate 'torrent_' options  https://review.openstack.org/40362915:57
openstackgerritStephen Finucane proposed openstack/nova: Check Config Options Consistency  for xenserver.py  https://review.openstack.org/35028415:57
openstackgerritStephen Finucane proposed openstack/nova: conf: Covert StrOpt -> PortOpt  https://review.openstack.org/39439215:57
openstackgerritStephen Finucane proposed openstack/nova: conf: Deprecate 'remap_vbd_dev' option  https://review.openstack.org/39439315:57
mriedemdansmith: johnthetubaguy: i'd still like jpenick to comment on the user roles part of this https://review.openstack.org/#/c/395959/ but i'm +2 as there are other things in that spec we agreed to get done in ocata15:57
*** avolkov has quit IRC15:59
johnthetubaguymriedem: ah, I will try take a look at that ASAP15:59
*** ducttape_ has quit IRC15:59
*** ducttape_ has joined #openstack-nova16:00
*** avolkov has joined #openstack-nova16:00
*** ducttape_ has quit IRC16:01
*** mlavalle has quit IRC16:01
*** erlon-airlong has quit IRC16:01
*** swamireddy has quit IRC16:01
*** hieulq has quit IRC16:01
*** tovin07 has quit IRC16:01
*** alineb has quit IRC16:01
*** shaohe_feng has quit IRC16:01
*** mirrorbo1 has quit IRC16:01
*** mvk has quit IRC16:01
*** jklare has quit IRC16:01
*** david-lyle has quit IRC16:01
*** HenryG has quit IRC16:01
*** purplerbot has quit IRC16:01
*** andreaf has quit IRC16:01
*** ameade has quit IRC16:01
*** karlamrhein has quit IRC16:01
*** Kimmo__ has quit IRC16:01
*** zigo has quit IRC16:01
*** ccard_ has quit IRC16:01
*** scottynomad has quit IRC16:01
*** keekz has quit IRC16:01
*** haukebruno has quit IRC16:01
*** zigo has joined #openstack-nova16:01
*** haukebruno has joined #openstack-nova16:01
*** Kimmo__ has joined #openstack-nova16:02
*** mirrorbo1 has joined #openstack-nova16:02
*** keekz has joined #openstack-nova16:02
*** mvk has joined #openstack-nova16:02
*** ccard_ has joined #openstack-nova16:02
*** tovin07_ has joined #openstack-nova16:02
*** jklare has joined #openstack-nova16:02
*** david-lyle has joined #openstack-nova16:02
*** hieulq has joined #openstack-nova16:02
*** scottynomad has joined #openstack-nova16:02
*** ducttape_ has joined #openstack-nova16:02
*** shaohe_feng has joined #openstack-nova16:02
*** mlavalle has joined #openstack-nova16:02
*** swamireddy has joined #openstack-nova16:02
*** HenryG has joined #openstack-nova16:02
*** eharney has quit IRC16:03
*** mjura has quit IRC16:03
*** purplerbot has joined #openstack-nova16:03
*** gouthamr_ has joined #openstack-nova16:04
*** mlavalle has quit IRC16:04
*** erlon-airlong has joined #openstack-nova16:04
*** ameade has joined #openstack-nova16:05
*** gouthamr has quit IRC16:05
*** gouthamr_ is now known as gouthamr16:06
*** karlamrhein has joined #openstack-nova16:07
*** Sukhdev has quit IRC16:08
sahidmarkus_z: i have a question https://review.openstack.org/#/c/275801 ?16:11
*** andreaf has joined #openstack-nova16:12
markus_zsahid: I'll answer in the review. Thanks for reviewing.16:12
*** danpawlik has quit IRC16:12
*** zenoway has quit IRC16:14
*** zenoway has joined #openstack-nova16:14
openstackgerritCorentin Ardeois proposed openstack/nova: Add CORS filter to versions pipeline  https://review.openstack.org/40078516:15
markus_zsahid: Hm, maybe here too: My only reason was to have one method argument less. That's all.16:17
markus_zsahid: Do you prefer a different way?16:17
*** mvk has quit IRC16:17
*** eharney has joined #openstack-nova16:18
openstackgerritDanil Akhmetov proposed openstack/nova: Use proper user and tenant in the owner section of libvirt.xml.  https://review.openstack.org/39967916:18
*** Sukhdev_ has joined #openstack-nova16:18
*** zenoway has quit IRC16:19
*** nkrinner is now known as nkrinner_afk16:19
sahidmarkus_z: no, no it's that "guess" parameter passed to the method I thought it was a guest object but it's actually a config object16:21
*** prometheanfire has joined #openstack-nova16:22
markus_zsahid: Yeah, that causes a lot of confusion. There's a TODO in line 4346 for that. I was thinking to do the renaming with this change, but it felt like an additional thing out of scope for this change.16:23
prometheanfiremriedem: I'd like your advice on how I handle this since it's been marked invalid16:23
prometheanfiremriedem: https://bugs.launchpad.net/nova/+bug/162955516:23
openstackLaunchpad bug 1629555 in OpenStack Compute (nova) "Allow the usage of mkisofs instead of genisoimage" [Undecided,Invalid]16:23
sahidmarkus_z: yes sure, don't do that16:23
markus_zsahid: After the ports thing is fixed and virtlogd is merged, I'll push a proposal to refactor this method. The rename will be part of it.16:23
sahidmarkus_z: that'd be nice, we really have to dom something in that part of code16:24
prometheanfiremriedem: nova currently uses genisoimage from cdrkit, which is unmaintained and dead code.  I could patch the relevent code, but really think the default should change upstream, given the deadness of cdrkit16:24
markus_zsahid: yep, it's a mess16:24
*** code-R has joined #openstack-nova16:25
prometheanfiremriedem: I'm aware I can use a config option to override it, but I can't force my users to do so, which means false bug reports and the like16:26
*** tbachman has joined #openstack-nova16:26
prometheanfiremight be able to specify an 'admin' config file that includes that info though16:27
*** rcernin has quit IRC16:27
mriedemprometheanfire: so i'm assuming you don't have genisoimage in gentoo?16:27
mriedemand that's the issue?16:27
prometheanfirewe are removing it16:28
prometheanfirehttps://bugs.gentoo.org/show_bug.cgi?id=59177816:28
openstackbugs.gentoo.org bug 591778 in Current packages "app-cdr/cdrkit removal request" [Normal,Confirmed] - Assigned to maintainer-needed16:28
mriedemhyper-v has to workaround this by setting mkisofs_cmd to the full path of mkisofs.exe16:28
mriedemprometheanfire: do your packages not ship a nova.conf.sample?16:29
mriedemor just straight up default nova.conf?16:29
prometheanfireya, we ship the sample16:29
mriedemso why not just set mkisofs_cmd in the nova.conf that you ship?16:29
prometheanfireI think I'll update our init scripts and use a second config file with that option16:29
mriedemif you're worried about users16:29
prometheanfiredidn't think of that just now16:29
mriedemi seem to remember gcb or someone trying to change to using mkisofs by default16:30
mriedembut it got hung up on something16:30
mriedemoh no i'm thinking of this https://review.openstack.org/#/c/262744/16:30
sahidmarkus_z: something seems to be wrong in post_live_migration_at_destination, i commented on the review16:31
*** code-R_ has joined #openstack-nova16:31
*** paul-carlton2 has quit IRC16:32
mriedemprometheanfire: if you wanted to work on making mkisofs the default for the mkisofs_cmd option, that'd be fine, but probably requires some changes to devstack to make sure that package is installed16:32
prometheanfireya, it would16:34
*** code-R has quit IRC16:34
*** liuyulong__ has joined #openstack-nova16:34
prometheanfireI'm considering it, you think it'd be well recieved?16:34
mriedemprometheanfire: if genisoimage is going the way of the dinosaur, then sure16:35
mriedemi can't speak for ubuntu or fedora or centos though16:35
*** liuyulong_ has quit IRC16:38
prometheanfiremriedem: I'd expect them to follow, upstream is dead, so it should be pruned imo16:38
markus_zsahid: yeah, true. I think that would even introduce a bug.16:38
*** rama_y has joined #openstack-nova16:38
markus_zextremely unlikely, but possible16:38
*** claudiub has quit IRC16:38
mriedemprometheanfire: if you want to lead that charge be my guest16:39
mriedemwould be good to checkpoint with some other packaging people first16:39
mriedemi'm assuming you know those people involved in packaging upstream better tha nme16:39
*** claudiub has joined #openstack-nova16:39
*** josecastroleon has quit IRC16:40
prometheanfireyarp16:41
*** nherciu_ has joined #openstack-nova16:41
*** kristian__ has joined #openstack-nova16:41
kristian__Hi. May someone help me with this gpu passthrough bug?16:41
kristian__https://bugs.launchpad.net/nova/+bug/164241916:41
openstackLaunchpad bug 1642419 in kolla-ansible "GPU Passthrough isn't working" [Low,Confirmed]16:41
mriedemsfinucan: cfriesen_: sounds like something you might know about ^16:42
openstackgerritMarkus Zoeller (markus_z) proposed openstack/nova: libvirt: Acquire TCP ports for console during live migration  https://review.openstack.org/27580116:42
*** harlowja_at_home has quit IRC16:42
sfinucanmriedem, kristian__: I'll take a look16:43
kristian__sfinucan: If you will need ssh for local debugging I may give you access16:44
*** rama_y has quit IRC16:44
openstackgerritPavel Gluschak proposed openstack/nova: don't store VNC/SPICE listen addrs in migration data if disabled  https://review.openstack.org/39621816:44
diana_clarkeHere's an easy api-ref review [1]. This fix is the result of multiple ops being unable to figure out how to see server groups when then have more than osapi-max-limit.16:45
diana_clarke[1] https://review.openstack.org/#/c/400851/16:45
* markus_z leaves16:45
*** markus_z has quit IRC16:45
diana_clarkeTurns out paging exists for server groups, but that it's just not documented.16:45
*** irenab has quit IRC16:49
cdentmacsz: is https://bugs.launchpad.net/nova/+bug/1623483 still relevant now that the aggregates stuff has merged, or are you planning to be nice and tidy and do some kind of microversion-based cleanup?16:49
openstackLaunchpad bug 1623483 in OpenStack Compute (nova) "In placement api links in resource provider representation links to aggregates but we never merged aggregates support" [Low,In progress] - Assigned to Maciej Szankin (mszankin)16:49
*** claudiub has quit IRC16:50
*** jschwarz is now known as jschwarz|mtg16:50
macszcdent: i was wandering wether this bug is really a bug right now16:51
cdentI think it may not be anymore16:51
*** gjayavelu has joined #openstack-nova16:51
*** kaisers_ has quit IRC16:51
macszcdent: and yeah, it seems like there is none right now, so we can close this one and maybe, as you suggested, just do some refactors / micro16:51
openstackgerritMatt Riedemann proposed openstack/nova: docs: cleanup wording for 'SOFT_DELETED' in api-guide  https://review.openstack.org/40380216:52
pkholkinmriedem: dansmith: hey folks, could you please review https://review.openstack.org/#/c/381912/16:52
lbeliveaukristian__: it's definitively not a nova issue, something with libvirt, looking ...16:52
pkholkinI tried to be very active on this16:52
mriedemdiana_clarke: that would probably be an easy change to the api-ref docs16:52
cdentmacsz: yeah, I'll go ahead and comment and mark it dead16:52
pkholkinand got many positive feedback16:52
mriedemdiana_clarke: you could report a bug against the nova api-ref to keep track of that16:52
mriedempkholkin: spec freeze was 11/1716:52
pkholkinthe implementation is ready, also I found some things to discuss16:52
diana_clarkemriedem: I did the fix here (https://review.openstack.org/#/c/400851/) unless I've missunderstood.16:52
kristian__lbeliveau: so what are you suggesting?16:52
pkholkinmriedem: yeah, I know, I think we can make an exception for this16:53
*** tbachman has quit IRC16:53
pkholkinI found this list e.g. https://etherpad.openstack.org/p/nova-ocata-spec-review-sprint16:53
lbeliveaukristian__: which platform/linux distro are you using ?16:53
pkholkinthis cycle is short, but I am sure I can make it16:54
kristian__Ubuntu 16.04.1 x6416:54
*** irenab has joined #openstack-nova16:54
kristian__with kolla16:54
kristian__and they said that I should talk with you16:54
*** claudiub has joined #openstack-nova16:54
*** rama_y has joined #openstack-nova16:54
openstackgerritDan Smith proposed openstack/nova: Honor deleted flag in instance_create()  https://review.openstack.org/40375616:55
bauzasmriedem: dansmith: interesting things I discovered when looking at how to fix https://github.com/openstack/nova/blob/master/nova/objects/build_request.py#L8516:55
dansmithmriedem: bauzas: ^ one test definitely thought it could create with deleted=True :)16:55
*** claudiub|2 has joined #openstack-nova16:55
bauzasmriedem: dansmith: we basically assume that the primitived instance object is correct, so when doing https://github.com/openstack/nova/blob/master/nova/objects/build_request.py#L64-L65 we set the right value to deleted16:56
dansmithbauzas: if it's set in the blob, sure16:56
mriedemdiana_clarke: ok, so offset is basically equivalent to marker?16:56
*** andreas_s has quit IRC16:56
pkholkinmriedem: I got +1 from two cores in nova (but not cores in specs), +1 from the original author of the spec, and some others16:56
bauzasdansmith: I can't find situations where we're primitiving an instance not having that field set16:57
mriedempkholkin: it's not a matter of *you* making it, it's a matter of review bandwidth16:57
*** anush has joined #openstack-nova16:57
*** rmart04 has quit IRC16:57
pkholkinmriedem: and that's the problem16:58
bauzasdansmith: the problem is that if that blob doesn't have the deleted field set, I'm unable to know whether the instance was deleted or not16:58
diana_clarkemriedem: No, offset is old-school. It's more like: "start at item 50, and give me the next 25 items" Just simple integers.16:58
pkholkinI think we should not lose another cycle waiting16:58
bauzasdansmith: as I don't have the DB value, just the object boolean16:58
*** claudiub has quit IRC16:59
dansmithbauzas: um, what? if it's unset it's not deleted16:59
diana_clarkemriedem: I manually tested that it;s working: http://paste.openstack.org/show/589962/17:00
pkholkinmriedem: bauzas promised to support this, too17:00
lbeliveaukristian__: same guest without GPU passthrough works right ?17:00
openstackgerritPavel Gluschak proposed openstack/nova: libvirt: make live migration possible with Virtuozzo  https://review.openstack.org/35580517:00
bauzaspkholkin: you mean adding the pike structure ?17:01
kristian__yes17:01
*** sahid has quit IRC17:01
mriedembauzas: no he means this https://review.openstack.org/#/c/381912/17:01
*** gjayavelu has quit IRC17:01
pkholkinyes17:01
*** BobBall is now known as BobBall_AWOL17:01
lbeliveaukristian__: it doesn't makes sense that libvirt tries to do something with ethtool on this kind of device17:01
lbeliveaulooking ...17:01
kristian__yes17:02
kristian__weird17:02
bauzaswell, those two filters are disabled by default17:02
bauzasso, the problem is really with operators deploying them17:02
mriedemdiana_clarke: do you know if we have any functional tests for that?17:02
bauzasdansmith: okay, I can turn that way, and consider that if the field is unset, then it's for a non-deleted instance17:03
bauzaswe actually default "deleted" to False17:03
*** matrohon has quit IRC17:04
openstackgerritChris Dent proposed openstack/nova: Small improvements to placement.rst  https://review.openstack.org/40381117:04
mriedemdiana_clarke: not that you'd need to add one in that docs patch17:04
*** lpetrut has quit IRC17:04
*** daemontool has quit IRC17:04
*** armax has joined #openstack-nova17:04
diana_clarkemriedem: It looks like only the utility method is tested, but not the 5 or so endpoints that employ simple paging with limit & offset.17:05
mriedemdiana_clarke: also, looks like we could get an IndexError out of that offset being wrong? like in your example, if i specify offset=2?17:05
*** gjayavelu has joined #openstack-nova17:05
mriedemi'm assuming you'd get a 500 for passing a bad offset17:05
mriedemit's pretty nasty that we limit in python rather than the db17:06
pkholkindo we have some exceptions to specs?17:06
diana_clarkemriedem: it's using python slices under the hood, so I don't think so. When foo = [1, 2, 3] foo[100] is fine.17:06
diana_clarkeI mean, foo[:100]17:06
lbeliveaukristian__: I tried something similar not so long ago with an older version of libvirt (1.2.17), and it used to work17:06
*** tbachman has joined #openstack-nova17:07
*** lpetrut has joined #openstack-nova17:07
lbeliveaukristian__: Maybe you should try with an older release of libvirt17:07
mriedemdiana_clarke: yeah i guess we just get an empty list then17:07
diana_clarkemriedem: I'll look at adding a functional test. I also have looking at the other 4 endpoints on my TODO list. But this one is stumping actual users in the wild.17:08
kristian__ok so 1.2.1717:08
*** jschwarz|mtg is now known as jschwarz17:08
pkholkinbauzas: I also think that we have a bug in current implementation of aggregate_image_properties_isolation filter17:08
kristian__I will get in touch with kolla team to help me out17:08
lbeliveaukristian__: The libvirt XML for the PCI passthrough looks good ...  so that's why I'm encline to think it is a libvirt issue (googled it a bit, but no luck)17:08
lbeliveaukristian__: ok let me know, you can ping me17:08
pkholkinbut in general it is not related to strict case in my spec17:09
penickmriedem: i’ll take a look at https://review.openstack.org/#/c/395959/ later today (vendordata)17:09
*** andrey-mp has joined #openstack-nova17:09
*** penick has quit IRC17:09
kristian__ok we will see17:09
*** gjayavelu has quit IRC17:09
kristian__lbeliveau: how can I get specific libvirt version?17:11
mriedemdiana_clarke: yup, +217:11
mriedemnice find17:11
*** tbachman has quit IRC17:12
mriedempkholkin: we don't have an exception process for ocata specs17:12
mriedempkholkin: there are some that will be marged after the spec freeze but that's because they are tied to priorities17:12
pkholkinthat's too bad to hear17:13
pkholkinI pinged folks many times, I think I got too few attention to this (17:13
mriedempkholkin: yes, but also, take a look at this list https://blueprints.launchpad.net/nova/ocata17:14
*** archies has joined #openstack-nova17:14
lbeliveaukristian__: look at this http://askubuntu.com/questions/138284/how-to-downgrade-a-package-via-apt-get  (worst case get the source and building it from scratch)17:15
mriedempkholkin: if you want to make a case for an exception in the mailing list and try to get some support there, that's fine with me, but i don't really want to be opening the door for a bunch of other spec exception requests for ocata given how much we already have on our plate and how little time we have left in the release17:15
*** gjayavelu has joined #openstack-nova17:15
*** mdrabe has quit IRC17:15
*** mdrabe_ has joined #openstack-nova17:15
pkholkinmriedem: ok, I think I will give a try, thanks!17:16
*** mlavalle has joined #openstack-nova17:16
kristian__ok17:17
pkholkinbauzas: I think you should look at this, what's your opinion? https://review.openstack.org/#/c/403640/17:17
pkholkinthis changes the behaviour of the old filter, but I think it is a bug17:18
kristian__lbeliveau: no such package found17:18
*** pcaruana has quit IRC17:19
mriedemjaypipes: is https://review.openstack.org/#/c/386710/1/specs/ocata/approved/nested-resource-providers.rst@100 something you can flesh out a bit in the spec? that's all that's holding me up there, documenting the plan from the whiteboard session at the summit so we don't lose that.17:19
jaypipesmriedem: yeah, gimme about an hour to push a rev.17:19
mriedemthanks17:19
jaypipesnp, thx for your patience matt.17:19
jaypipesmriedem: too bad about your vikings, btw.17:20
jaypipesmriedem: if it makes you feel any better, Browns are 0-12.17:20
*** gjayavelu has quit IRC17:20
mriedemjaypipes: as i said in the ML, i knew they'd lose17:21
jaypipesheh17:21
*** kaisers has joined #openstack-nova17:21
mriedem0-12 means high draft picks to squander17:22
kristian__lbliveau: downloading 1.2.16 from ubuntu17:22
*** ducttape_ has quit IRC17:22
*** ducttape_ has joined #openstack-nova17:22
*** stewie925 has joined #openstack-nova17:26
kristian__dberrange: Please may you help me with installing custom libvirt?17:29
*** unicell1 has quit IRC17:29
*** nic has joined #openstack-nova17:33
archies@mriedem: hi about the https://bugs.launchpad.net/nova/+bug/1636489. As discussed would like to share the script with you to get your views on it.17:34
openstackLaunchpad bug 1636489 in OpenStack Compute (nova) "Volume attachment fails for all the available instances after running different volume operations for 1-2 hours or more." [Undecided,New]17:34
*** code-R_ has quit IRC17:35
*** code-R has joined #openstack-nova17:35
mriedemarchies: just attach the script in the bug report17:35
archiesok17:35
openstackgerritGábor Antal proposed openstack/nova: Transform instance.volume_attach notification  https://review.openstack.org/40199217:36
*** Apoorva has joined #openstack-nova17:37
*** mlavalle has quit IRC17:39
*** lpetrut has quit IRC17:39
openstackgerritSylvain Bauza proposed openstack/nova: Default deleted if the instance from BuildRequest is not having it  https://review.openstack.org/40382117:40
bauzasdansmith: mriedem: first approach for fixing the bad behaviour of instance.deleted = 017:40
* bauzas afk for 2 hours17:40
mriedemgibi: i'm looking at https://blueprints.launchpad.net/nova/+spec/additional-notification-fields-for-searchlight and noting the fields to add to the instance payload, and i see those are based on what's in the first bug report, but i'm also wondering about some other fields that we return for server show in microversion >= 2.3: http://docs.openstack.org/developer/nova/api_microversion_history.html#maximum-in-kilo17:41
mriedemgibi: maybe we only care to make incremental changes as searchlight needs them?17:41
*** prometheanfire has left #openstack-nova17:41
*** smatzek has joined #openstack-nova17:42
*** mlavalle has joined #openstack-nova17:42
*** gjayavelu has joined #openstack-nova17:43
openstackgerritGábor Antal proposed openstack/nova: Transform instance.volume_attach notification  https://review.openstack.org/40199217:43
*** claudiub has joined #openstack-nova17:44
*** gjayavelu has quit IRC17:44
openstackgerritGábor Antal proposed openstack/nova: Transform instance.volume_attach notification  https://review.openstack.org/40199217:45
mriedemdansmith: you're against this right? https://review.openstack.org/#/c/403694/17:46
mriedemmight want to drop a hammer on it17:46
*** claudiub|2 has quit IRC17:46
*** paw has quit IRC17:47
openstackgerritSTEW TY proposed openstack/nova: Complete verification of servers-action-fixed-ip.inc  https://review.openstack.org/33860617:47
mriedembauzas: i'm not sure about the fix here https://review.openstack.org/#/c/403821/1/nova/objects/build_request.py17:50
mriedemand why you're not doing what we talked about earlier17:50
openstackgerritJay Pipes proposed openstack/nova-specs: Add concept of nested resource providers  https://review.openstack.org/38671017:50
jaypipesmriedem: ^17:50
mriedemthanks17:50
*** prateek_ has quit IRC17:50
*** Sukhdev_ has quit IRC17:51
*** weshay is now known as weshay_pto17:52
*** bvanhav_ has quit IRC17:55
*** gcb has quit IRC17:55
*** bvanhav_ has joined #openstack-nova17:56
openstackgerritJay Pipes proposed openstack/nova-specs: Add concept of nested resource providers  https://review.openstack.org/38671017:57
openstackgerritMatt Riedemann proposed openstack/nova-specs: Add concept of nested resource providers  https://review.openstack.org/38671017:57
jaypipesmriedem: sorry, missed your reviiew typo fixes. now done17:57
jaypipeserr...17:57
mriedemheh17:57
mriedemteamwork17:58
*** sreeram_v has joined #openstack-nova18:00
openstackgerritSTEW TY proposed openstack/nova: Complete verification of servers-action-fixed-ip.inc  https://review.openstack.org/33860618:00
dansmithmriedem: yeah, I'll hit it18:01
*** Serlex has quit IRC18:01
*** ihrachys has quit IRC18:02
*** sudipto has quit IRC18:02
*** Guest81242 has quit IRC18:02
*** ralonsoh_ has quit IRC18:02
*** catintheroof has joined #openstack-nova18:04
*** portdirect_away is now known as portdirect18:04
*** gjayavelu has joined #openstack-nova18:04
*** sreeram_v has quit IRC18:04
*** lucasagomes is now known as lucas-afk18:05
*** gjayavelu has quit IRC18:06
*** derekh has quit IRC18:06
*** jaosorior has quit IRC18:08
*** TTris has quit IRC18:10
*** eharney has quit IRC18:11
openstackgerritGábor Antal proposed openstack/nova: Transform instance.volume_attach notification  https://review.openstack.org/40199218:11
dansmithmriedem: replied to your comments on my patch18:11
dansmithif you're cool, I'll do another on top for the instance create change18:11
mriedemlooking18:12
mriedemhttps://www.youtube.com/watch?v=IJJzlXy2YWo18:12
dansmithheh18:12
*** slaweq_ has quit IRC18:13
*** jdurgin1 has quit IRC18:13
*** archies has quit IRC18:17
*** sambetts is now known as sambetts|afk18:17
mriedemdansmith: replied https://review.openstack.org/#/c/403756/1/nova/db/sqlalchemy/api.py18:18
mriedemi'm not sure why we don't just error out if you're trying to create a new soft-deleted instance, it's not something we support18:19
dansmithmriedem: we don't support it at the api controller layer, but this is model, right?18:19
dansmithI mean, we can throw an error too, but I don't see why we should18:19
dansmiths/too/instead18:20
dansmithlike, what happens when we start wanting to move instances to cell0 when they're deleted (making this up)?18:20
*** nherciu_ has quit IRC18:20
mriedemi don't feel great either way :) we could also handle this for any other soft-deletable resource in the model18:20
dansmithuser doesn't care18:20
*** lpetrut has joined #openstack-nova18:21
mriedemso maybe my issue is precedent18:21
dansmithI dunno why I'm arguing, I don't care18:21
dansmithI'll just change it to what you want18:21
*** anush has quit IRC18:23
*** nherciu has joined #openstack-nova18:25
openstackgerritDan Smith proposed openstack/nova: Check deleted flag in Instance.create()  https://review.openstack.org/40375618:27
*** browne has joined #openstack-nova18:28
openstackgerritDan Smith proposed openstack/nova: Check deleted flag in Instance.create()  https://review.openstack.org/40375618:29
*** Swami has joined #openstack-nova18:30
*** penick has joined #openstack-nova18:31
dansmithcripes18:31
*** kristian__ has quit IRC18:31
penickegads18:32
* dansmith learns to indent properly18:32
openstackgerritDan Smith proposed openstack/nova: Check deleted flag in Instance.create()  https://review.openstack.org/40375618:32
*** eharney has joined #openstack-nova18:35
*** code-R has quit IRC18:38
*** code-R has joined #openstack-nova18:38
openstackgerritSTEW TY proposed openstack/nova: Transform instance.rescue notifications  https://review.openstack.org/38564418:39
*** kristian__ has joined #openstack-nova18:39
*** gszasz has quit IRC18:39
*** bvanhav__ has joined #openstack-nova18:40
*** bvanhav__ is now known as bvanahv18:40
*** bvanahv is now known as bvanhav18:40
*** bvanhav_ has quit IRC18:41
*** unicell has joined #openstack-nova18:41
*** lpetrut has quit IRC18:42
*** rmart04 has joined #openstack-nova18:42
*** mgoddard_ has joined #openstack-nova18:44
mriedemdansmith: ok i've updated https://review.openstack.org/#/c/403101/18:44
mriedemto depend on your change18:44
openstackgerritDan Smith proposed openstack/nova: Make RPCFixture support multiple connections  https://review.openstack.org/39641718:44
dansmithokay18:44
mriedemi have a feeling it won't fix the bug though b/c we'll be trading one failure for another18:44
dansmithyou need bauzas too18:44
mriedemyeah18:44
dansmithmy previous one would have fixed it18:45
dansmithnow it doesn't18:45
mriedemso maybe i'll roll his on top of yours and address my issue in his18:45
dansmithyeah18:45
*** bnemec has quit IRC18:45
dansmitheff, I might have another pep8 fail in that one18:46
*** rmart04 has quit IRC18:47
*** amrith has joined #openstack-nova18:47
mriedemok update yours and i'll cherry pick it on top of bauzas'18:47
amrithmriedem, ping.18:47
*** mgoddard has quit IRC18:47
amrithmriedem, we've reverted the nova-networking change in trove (see: https://review.openstack.org/#/c/397371/)18:47
*** mgoddard_ has quit IRC18:48
*** lpetrut has joined #openstack-nova18:52
mriedemamrith: and things are passing on master with the gate-trove-functional-dsvm-* job change?18:52
amrithdansmith, mriedem I am proposing a change to undo the earlier reverts ... stay tuned18:52
dansmithahead of schedule, I like it18:52
amrithmriedem, no they are not all passing but we are far enough along that we have reverted the changes in our ci jobs to force nova networking on.18:53
amrithso now, we are running the CI with neutron and the changes for that are almost ready to go18:53
amrithwe will be disabling specific tests which we have to work on18:53
amrithwe are doing it this way because another significant set of changes (ubuntu-trusty to xenial) is also queued18:53
amrithand we want to get them both as soon as possible.18:54
amrithand this (the jump off the deep end) approach seems to be the best one at this point.18:54
jaypipescdent: you mind if you or I fix that "containing application will catch a not found here" thing in a separate follow-up patch?18:55
cdentjaypipes: Yeah, sure, or even not at all. I only mentioned it to make reference to the other changes. the -1 was solely for the microversion methods18:56
jaypipescdent: k, cool. I like the suggestion, just don't want to hold this up any further.18:56
openstackgerritJay Pipes proposed openstack/nova: placement: REST API for resource classes  https://review.openstack.org/39195918:56
cdent+118:56
jaypipescdent: ^^18:56
*** tlian has joined #openstack-nova18:58
openstackgerritamrith proposed openstack/nova: Revert "Log a warning when starting nova-net in non-cellsv1 deployments"  https://review.openstack.org/40385319:00
openstackgerritDan Smith proposed openstack/nova: Check deleted flag in Instance.create()  https://review.openstack.org/40375619:01
dansmithmriedem: another test depended on it just working ^19:01
*** jgriffith is now known as jgriffith_away19:02
openstackgerritamrith proposed openstack/nova: Revert "Revert "Make n-net refuse to start unless using CellsV1""  https://review.openstack.org/40385519:02
amrithdansmith, mriedem please see commits ^^19:03
amriththanks for the help with these19:03
*** irenab has quit IRC19:05
*** amoralej is now known as amoralej|off19:11
*** kristian__ has quit IRC19:13
mriedemmnestratov: questions about https://github.com/openstack-infra/devstack-gate/blob/master/functions.sh#L666 in #openstack-infra19:13
mriedemgah this test_build_request is messed up19:19
*** kristian__ has joined #openstack-nova19:19
*** kristian__ has quit IRC19:24
*** lpetrut has quit IRC19:28
openstackgerritEd Leafe proposed openstack/nova: Add a retry loop to ResourceClass creation  https://review.openstack.org/39917019:29
*** kristian__ has joined #openstack-nova19:30
*** rajathagasthya has joined #openstack-nova19:30
dansmithmelwitt: I meant to ask you about this last week, but on that rpc fixture patch, I'm getting this in devstack setup: http://logs.openstack.org/17/396417/13/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/db9c7a3/logs/devstacklog.txt.gz#_2016-11-28_19_05_24_61019:33
dansmithmelwitt: I'm fairly confused about the presence (or not) of transport_url, and whether we own it, o.msg owns it, etc19:33
dansmithit's clearly there in our config: http://logs.openstack.org/17/396417/13/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/db9c7a3/logs/etc/nova/nova.conf.txt.gz19:35
dansmithmelwitt: any ideas?19:35
*** rajathagasthya has quit IRC19:35
*** victorhe has quit IRC19:38
*** victorhe has joined #openstack-nova19:39
*** swann has joined #openstack-nova19:40
*** josecastroleon has joined #openstack-nova19:41
*** swann has left #openstack-nova19:42
*** sam_nowitzki has joined #openstack-nova19:42
*** matrohon has joined #openstack-nova19:44
*** swann has joined #openstack-nova19:44
*** READ10 has quit IRC19:45
*** josecastroleon has quit IRC19:46
*** slaweq_ has joined #openstack-nova19:51
*** Sukhdev_ has joined #openstack-nova19:53
*** ijw has joined #openstack-nova19:53
*** kfarr has joined #openstack-nova19:59
*** rfolco_ has quit IRC20:01
*** bnemec has joined #openstack-nova20:03
*** paw has joined #openstack-nova20:04
*** slaweq_ has quit IRC20:04
*** whenry has joined #openstack-nova20:04
*** mnasiadka has joined #openstack-nova20:05
*** woodster_ has joined #openstack-nova20:05
*** whenry has quit IRC20:06
*** browne has quit IRC20:08
*** tbachman has joined #openstack-nova20:10
*** browne has joined #openstack-nova20:10
mriedemdansmith: a walk cleared something up for me here https://review.openstack.org/#/c/403821/1/nova/objects/build_request.py@8720:12
mriedemi think we literally can't set the instance.deleted field based on the serialized instance object in the build request, we'd have to get the instance from the db based on it's uuid, which we probably don't care to do20:12
mriedemso i think bauzas' change is probably the best we can do20:12
*** avolkov has quit IRC20:13
dansmithI don't understand why we're not just setting that to False (like the 0 now)20:13
dansmithwe know it's not deleted yet because it's not even created20:13
dansmithand we handle deleting the instance after creation, if the build request is deleted from underneath us20:14
dansmithusing the set_defaults() there isn't even right, in case that later means something else (unlikely, but..)20:14
dansmithI'm confused about why there's so much fuss over this seemingly simple thing, I guess :)20:14
dansmithand I'm not sure I understand your second comment about soft-deletedness20:14
*** victorhe has quit IRC20:14
mriedemwell this morning we were talking about doing logic like https://github.com/openstack/nova/blob/646151ff1b8d481b70884d201a1b395d904e35b0/nova/objects/instance.py#L334 in buildrequest, which is why i was on a goose chase20:15
dansmithinstance.deleted = True means "soft deleted"20:15
mriedemmy latest comment is that we can't do ^20:15
mriedembecause we don't have a db instance primitive, we have a serialized instance object20:15
dansmithwho was talking about that?20:15
mriedemso deleted isn't the same thing20:15
mriedemyou, me and bauzas20:15
mriedem(9:11:02 AM) dansmith: mriedem: definitely20:15
dansmithwell, right, but I mean.. I don't recall discussing the integerness20:16
dansmithmriedem: I was saying "definitely use instance.deleted=False there instead of =0"20:16
*** tbachman has quit IRC20:16
*** victorhe has joined #openstack-nova20:16
dansmithmriedem: maybe we should hangout to sync up?20:16
mriedemif it's just a matter of setting self.instance.deleted = False in the build request then i'll just do that20:17
dansmithyeah, that's all20:17
mriedemas i said, i was on a different goose chase20:17
dansmithI dunno why bauzas wanted the set_defaults() thing because there's no reason for that20:17
dansmithnote that we could also set all these things in the get_new_instance() helper thing and not rewrite them every time we do a load20:18
dansmithif we persist the instance with deleted set, it'll come out with deleted set20:18
*** jgriffith_away is now known as jgriffith20:18
mriedemthat's closer to this then https://review.openstack.org/#/c/403035/2/nova/objects/build_request.py20:19
dansmithmriedem: ah, maybe he wants that because it will not override the value if it's stored with one20:19
dansmithif we were setting this in get_new_instance() or whatever, we'd definitely want to just force it =False20:19
dansmithbut maybe there's a reasonable point to be made to use the defaults thing there just so we're not always loading it out and un-deleting it, even though that will never happen20:20
*** victorhe has quit IRC20:20
dansmithmriedem: what is your specific complaint with the defaults thing?20:20
dansmithor just because it's different?20:20
mriedemi don't have one, you had the problem with using obj_set_defaults :)20:20
dansmithokay, you commented initially though20:21
dansmithANYWAY20:21
mriedemwait, who's on first?20:21
dansmiththe smallest fix is to just s/0/False/20:21
*** bvanhav has quit IRC20:21
dansmithwe could then argue that we should move several of these things to get_new_instance()20:21
dansmithbut, smallest change wins, IMHO20:21
mriedemdansmith: the simplest thing for me is just +2ing this https://review.openstack.org/#/c/403821/20:22
mriedemas-is20:22
*** rajathagasthya has joined #openstack-nova20:22
dansmithI guess20:23
*** yuanyuan has joined #openstack-nova20:25
*** slaweq_ has joined #openstack-nova20:25
*** yamahata has quit IRC20:25
*** victorhe has joined #openstack-nova20:25
*** lpetrut has joined #openstack-nova20:26
*** victorhe has quit IRC20:27
*** victorhe has joined #openstack-nova20:28
rajathagasthyaHello! Relative newbie to working with nova. I was wondering if nova generates notifications/events if a hypervisor is down? I took a look at https://wiki.openstack.org/wiki/SystemUsageData, but doesn't look like it has hypervisor events.20:29
*** ociuhandu has quit IRC20:30
*** anush has joined #openstack-nova20:31
mriedemrajathagasthya: that wiki is old20:31
mriedemsee https://github.com/openstack/nova/blob/master/nova/objects/service.py#L31920:31
*** claudiub has quit IRC20:33
jaypipesgibi: you around by any chance?20:33
mriedemdansmith: +2 on your change. the ceilometer pg change is passing now with both fixes https://review.openstack.org/#/c/403101/20:34
mriedemjaypipes: want to get this in? https://review.openstack.org/#/c/403756/20:34
jaypipesmriedem: on it.20:35
rajathagasthyamriedem: Thanks! Is there a list of all the event types in nova somewhere?20:35
*** oanson has quit IRC20:36
jaypipesrajathagasthya: those aren't the events you're looking for...20:37
mriedemthere are existing versioned notifications here http://docs.openstack.org/developer/nova/notifications.html#existing-versioned-notifications20:37
mriedembut that's missing the service notifications pointed out above, which is a bug20:37
jaypipesrajathagasthya: if I had to guess, you are actually looking for an event bus that notifies guests when the hypervisor/host experiences failures/faults, not when a hypervisor is manually marked "down for maintenance".20:37
mriedemlegacy notifications are here https://github.com/openstack/nova/blob/master/nova/rpc.py#L21120:37
rajathagasthyaAh, thanks. It looks like most of them are instance related notifications. I'd like to generate notifications based on hypervisor availability and send it to syslog so it can be handled by the syslog consumer. So far I thought of checking if nova-compute service is up and then pinging hypervisors to see if they're up. If nova already somehow provides such events, I thought I'd just subscribe to them.20:43
jaypipesyup, just as I thought :)20:43
rajathagasthyaBut if someone has suggestions on the best way to do this, I'd appreciate it!20:43
jaypipesrajathagasthya: when you say "hypervisor availability" what precisely are you referring to?20:44
*** ijw has quit IRC20:45
*** rtheis has quit IRC20:45
rajathagasthyajaypipes: Just checking if the hypervisor is up or down for starting instances on it. If my ping to the hypervisor doesn't work, it's not available and I'd like to know that to fix it20:45
*** moshele has joined #openstack-nova20:46
jaypipesrajathagasthya: is "my ping" a tenant-level communication or an administrative/management-level communication?20:47
*** Sukhdev_ has quit IRC20:47
rajathagasthyajaypipes: Admin level communication20:47
diana_clarkepython-novaclient has 4 different CLIs that say something like: "if limit == -1, all keypairs|flavors|servers|hypervisors will be returned", but I can't for the life of me find the magic -1 case code. Anyone know where it is?20:48
diana_clarkeI'm asking because I was thinking of doing something similar for simple tenant usage, but I'm not sure if I should push this magic case up into nova or the nova client.20:48
*** andrey-mp has quit IRC20:48
*** beagles is now known as beagles_biab20:49
jaypipesrajathagasthya: I think what you're looking for there is something like an npre check script that monitors the results of something like `virsh list` then. Remember that the hypervisor's state != the state of the nova-compute daemon. The former is the thing that launches guests on a host. The latter is the control plane for OpenStack. what mriedem described earlier is the event notification for20:49
jaypipesthe latter, not the former.20:49
mriedemdiana_clarke: not sure how that would get past this https://github.com/openstack/nova/blob/master/nova/api/openstack/common.py#L20520:49
mriedemunless the -1 is purely novaclient sugar that does the paging for you20:49
diana_clarkemriedem: I don't see it there either. Maybe it's just lies... perhaps I should manually try the -1 cases and see if they even work.20:50
diana_clarkeI'm usually pretty good at grepping my way to answers, but I can't find this magic -1 code anywhere.20:51
mriedemdiana_clarke: i see it20:51
diana_clarkenice!20:51
mriedemhttps://github.com/openstack/python-novaclient/blob/6.0.0/novaclient/v2/servers.py#L81320:51
mriedemhttps://github.com/openstack/python-novaclient/blob/6.0.0/novaclient/v2/servers.py#L83920:51
*** slaweq_ has quit IRC20:51
diana_clarkemriedem: I did find that one already... but not the other three. I should have mentioned that.20:52
mriedemi'm not really sure how ^ works if you have over 1000 instances and it's not using a marker20:52
mriedemoh it sets it's own marker20:52
diana_clarkemriedem: and like you said, I think common is going to trump that with osapi_max_limit anyway, so it's still lying, I think.20:53
rajathagasthyajaypipes: Thanks! Yeah, I think that's a better way. I thought if I check nova-compute, I could also make sure things are okay with openstack as well. I guess that's additional check I could still make20:53
mriedemwell, the -1 for server is novaclient doing the paging for you20:53
mriedemit sets its own marker here https://github.com/openstack/python-novaclient/blob/6.0.0/novaclient/v2/servers.py#L84120:53
rajathagasthyaBut it would've been great if nova also gave me events on whether the hypervisor is reachable for it to schedule instances on it :)20:54
mriedemdiana_clarke: i don't see any limit parameter to nova keypair-list20:54
mriedemor for flavors or hypervisors20:55
diana_clarkemriedem: it was added in microversion 2.3520:55
mriedemdiana_clarke: i mean the -120:55
diana_clarkemriedem: ah, yes. sorry20:55
mriedemthere is no limit=-1 support for novaclient for those other resources20:55
diana_clarkemriedem: Okay, thanks. That's the conclusion I was coming to too. Lies!20:56
jaypipesrajathagasthya: ya, you will want to have npre (or similar monitoring) checks for both nova-compute events *and* the hypervisor failures.20:56
*** Sukhdev has joined #openstack-nova20:57
mriedemdiana_clarke: oh i was looking at old code, from liberty, sorry20:57
mriedemso nova keypair-list has a limit option https://github.com/openstack/python-novaclient/blob/6.0.0/novaclient/v2/shell.py#L331920:57
mriedemdiana_clarke: but you're right, the -1 isn't implemented for keypairs in novaclient https://github.com/openstack/python-novaclient/blob/6.0.0/novaclient/v2/keypairs.py#L19120:57
mriedemthe help text was just copy pasta20:58
mriedemthat's a bug20:58
rajathagasthyajaypipes: Got it! Thanks for your help :)20:58
*** slaweq_ has joined #openstack-nova20:58
diana_clarkemriedem: I think it's 3 copy pasta bugs. I'll add them to my list.20:58
mriedemyeah, easy docs fix there though20:59
mriedemping me when you have a change up20:59
mriedemrajathagasthya: i've also updated https://wiki.openstack.org/wiki/SystemUsageData at the top to try and redirect people now20:59
mriedemthat's been a long time coming20:59
mriedemgibi: fyi https://bugs.launchpad.net/nova/+bug/164546621:00
openstackLaunchpad bug 1645466 in OpenStack Compute (nova) "ServiceStatusNotification is not in docs for existing versioned notifications" [Medium,Confirmed]21:00
diana_clarkemriedem: will do, thanks! Now I have to figure out how to actually implement a -1 case (or something similar). It's hard to test in the client side.21:00
rajathagasthyaPerfect. Thanks mriedem21:00
mriedemdiana_clarke: for which resource? simple tenant usage?21:00
*** penick has quit IRC21:00
mriedemdiana_clarke: you thought you were just going to remove the -1 lie from the help strings?21:00
mriedemthat's the simple fix21:01
mriedem*i thought you21:01
diana_clarkemriedem: yup, just a doc fix for 3 of the 4 existing -1 cases, but I also need a -1 case for usage (or something, perhaps not a -1)21:01
diana_clarkemriedem: because 'nova usage' CLI needs to loops over the next links and still provide the full summary21:02
*** penick has joined #openstack-nova21:03
*** yamahata has joined #openstack-nova21:04
*** vishwana_ has joined #openstack-nova21:04
mriedemdiana_clarke: does it? can't we just expose limit but not handle -1 right now?21:05
mriedemby default you get the os_api_max_limit or whatever21:05
mriedemi guess i'd add the -1 support in later if you feel the need21:05
mriedemas it's really a novaclient side feature21:05
diana_clarkemriedem: 'nova usage' only returns totals, making it impossible for the user to figure out what the marker should be to get the next page of data. Example: http://paste.openstack.org/show/589771/21:06
*** slaweq_ has quit IRC21:06
diana_clarkemriedem: Once I realized that flaw, I marked the client patch as a WIP.21:06
openstackgerritPushkar Umaranikar proposed openstack/nova: [WIP] Placement api: Add json_error_formatter to defaults  https://review.openstack.org/39519421:07
diana_clarkemriedem: My current plan is to dog food the next links and basically remove paging from 'nova usage'.21:07
yuanyuanHi, I have a question about updating  aggregate, if I run the CLI commands:  nova aggregate-update 4 ha-2 --availability-zone "", how the parser handle the empty string of availability zone name21:07
diana_clarkemriedem: but the client test hardness isn't really set up for wackiness like that.21:08
diana_clarkeharness21:08
*** vishwanathj has quit IRC21:08
mriedemdiana_clarke: hmm, we have the functional tests which run in a live devstack,21:08
mriedembut you'd need to hack CONF.osapi_max_limit i think21:08
*** slaweq_ has joined #openstack-nova21:08
mriedemand you can't do that from the client side, it would have to be from the server side when setting up devstack...21:09
mriedemidk, there are probably ways you could stub out the limit set in the functional tests and still test the paging code in the client21:10
mriedemlike always send limit=1 but somehow fake out the client side code to think that the user provided limit=-121:10
mriedems/set/sent/21:10
diana_clarkemriedem: but the looping over next links logic should go in the client right? or do you think I can get away with pushing it up into nova with a special flag?21:11
mriedemthe paging should happen client-side21:11
diana_clarke(it would still page under the hood in nova)21:11
mriedemi'm just saying i think we could be creative in testing that in the novaclient functional tests21:11
*** whenry has joined #openstack-nova21:13
diana_clarkemriedem: Anyhoo, I'll think about it a bit some more, and come back with more fully formed thoughts. I don't want to eat up anymore of your time. Mostly, I just popped by for a -1 sanity check. Thanks!21:13
*** anush has quit IRC21:13
*** victorhe has quit IRC21:14
*** whenry has quit IRC21:18
*** swamireddy has quit IRC21:18
*** moshele has quit IRC21:20
*** slaweq_ has quit IRC21:21
*** kristia__ has joined #openstack-nova21:22
*** kristian__ has quit IRC21:22
*** slaweq_ has joined #openstack-nova21:22
mriedemdansmith: this has to be totally busted doesn't it? https://github.com/openstack/nova/blob/4e747092bcb015303efc2ab13da98ef5ce575ec8/nova/api/openstack/compute/server_external_events.py#L7221:23
mriedemexpected_attrs should be a list21:23
mriedemthat ends up coming in https://github.com/openstack/nova/blob/4e747092bcb015303efc2ab13da98ef5ce575ec8/nova/objects/instance.py#L7321:23
dansmithyeah totally21:23
mriedemand i think simple_cols just ends up being []21:23
dansmithI think I reviewed that too21:24
mriedembecause 'm', 'i', 'g' aren't in tehre21:24
mriedem*there21:24
mriedemok, me fixy21:24
*** tbachman has joined #openstack-nova21:24
dansmithoh, I guess it doesn't fail because it's just expecting an iterable there21:24
dansmithugh21:24
mriedemyeah21:25
dansmithartom: we suck21:25
mriedemalso backported that...21:25
mriedemoops!21:25
dansmithyeah21:25
mriedemand tony just rammed it in https://review.openstack.org/#/c/392219/21:25
*** victorhe has joined #openstack-nova21:25
mriedemanyway, fixing :)21:25
dansmithwell, I guess it doesn't break,21:25
dansmithit just doesn't give us the optimization21:25
mriedemyeah i need to add info_cache in there, that's what got me looking21:26
dansmithso I guess it's obscure enough for us to retain a shred of dignity21:26
mriedembut i'll always know21:26
dansmiththe horror!21:26
dansmiththat's okay, I know things no human should know about tonyb21:26
dansmithmutually assured destruction21:26
mriedembut not me21:26
*** victorhe has quit IRC21:26
dansmithtrue.21:26
mriedemexcept, maybe that public bath in budapest21:27
dansmithheh21:27
openstackgerritSivasathurappan Radhakrishnan proposed openstack/nova: Initiate all network changes from source during live migration  https://review.openstack.org/36942321:27
openstackgerritSivasathurappan Radhakrishnan proposed openstack/nova: Don't call setup_networks_on_host(dest) multiple times  https://review.openstack.org/37008921:27
mriedemnice https://review.openstack.org/#/c/371048/10/nova/tests/unit/api/openstack/compute/test_server_external_events.py21:28
*** tblakes has quit IRC21:28
*** kristia__ is now known as kristian__21:28
*** smatzek has quit IRC21:28
*** anush has joined #openstack-nova21:29
openstackgerritDiana Clarke proposed openstack/python-novaclient: Correct copy/paste errors in help  https://review.openstack.org/40391321:32
*** rajathagasthya has quit IRC21:33
*** vishwana_ has quit IRC21:35
*** Jeffrey4l has quit IRC21:35
*** vishwanathj has joined #openstack-nova21:35
*** yuanyuan has quit IRC21:36
*** thorst_ has quit IRC21:37
*** thorst_ has joined #openstack-nova21:37
*** anush has quit IRC21:37
*** tblakes has joined #openstack-nova21:38
*** thorst_ has quit IRC21:42
mriedemdiana_clarke: i'd like to backport that so please associate a bug with it and then i'm +221:44
artomdansmith, what?21:45
artomdansmith, I mean, yeah, we do21:45
mriedemartom: bug 164547921:45
openstackbug 1645479 in OpenStack Compute (nova) "ServerExternalEventsController doesn't properly pre-load migration_context" [Low,Triaged] https://launchpad.net/bugs/1645479 - Assigned to Matt Riedemann (mriedem)21:45
artomBut in this specific case, why do we?21:45
*** matrohon has quit IRC21:45
diana_clarkemriedem: Sure, will do. First, I need to torture my family by feeding them beets for dinner. back in a bit21:45
artomAh, we passed a string when we should have passed an array21:46
artomI mean, strictly speaking, we're right21:46
artomA string is iterable ;)21:46
artomIt's trying to load m, i, g, etc :D21:46
openstackgerritMatt Riedemann proposed openstack/nova: Fix expected_attrs kwarg in server_external_events  https://review.openstack.org/40391721:47
mriedemartom: dansmith: ^21:47
*** Jeffrey4l has joined #openstack-nova21:47
melwittdansmith: transport_url is owned by oslo.messaging, it defines it https://github.com/openstack/oslo.messaging/blob/ea8fad4/oslo_messaging/transport.py#L42-L4621:48
mriedembtw, i have to use the gross ass assert because it's a classmethod21:48
melwittdansmith: as for the presence of it, we had a change in the past to set it in devstack here https://github.com/openstack-dev/devstack/blob/dec1211/lib/rpc_backend#L122 so I'm not yet sure what's happening in that trace21:50
*** victorhe has joined #openstack-nova21:50
*** masuberu has quit IRC21:51
*** erlon-airlong has quit IRC21:52
*** jheroux has quit IRC21:52
*** victorhe has quit IRC21:53
openstackgerritDanil Akhmetov proposed openstack/nova: Use proper user and tenant in the owner section of libvirt.xml.  https://review.openstack.org/39967921:53
jaypipesguh, finally figured out the source of this pesky bug..21:56
*** kylek3h has quit IRC21:58
tonybdansmith: ummm you said you wouldn't tell  somethign about mutually assured destruction ;P21:59
*** sreeram_v has joined #openstack-nova22:01
tonybmriedem that was a clear mistake.  No idea why I hit +W22:01
*** tblakes has quit IRC22:01
melwittdansmith: I commented on the review22:02
*** rajathagasthya has joined #openstack-nova22:03
*** ijw has joined #openstack-nova22:04
dansmithtonyb: :P22:04
*** ljxiash_ has quit IRC22:05
*** lamt has quit IRC22:05
*** ljxiash has joined #openstack-nova22:06
dansmithmelwitt: but it's registered in here too right? https://github.com/openstack/oslo.messaging/blob/ea8fad4/oslo_messaging/transport.py#L25822:06
*** sreeram_v has quit IRC22:06
dansmithoh, but not before parse maybe22:06
dansmithcripes.22:06
melwittdansmith: oh, I didn't see that other call. so yeah, two ways to register the options ... this is odd22:07
dansmithbut still, not in the path we need22:07
melwittlooks like a bug that it doesn't try to register the opts before access in the parse being that it's a classmethod22:08
dansmithright22:09
dansmithcooking up something now22:09
*** ljxiash has quit IRC22:10
*** lamt has joined #openstack-nova22:10
*** ljxiash has joined #openstack-nova22:10
melwittokay. the change that added 'url or conf.transport_url' was recently done as part of the changes we made in devstack to move to transport_url. so it was just an oversight at that time22:11
dansmithno tests for that stuff?22:11
openstackgerritMatt Riedemann proposed openstack/nova: Pre-load info_cache when handling external events and handle NotFound  https://review.openstack.org/40392522:11
melwittor rather, when I went poking around the rpc options it caused the deprecation of all the backend-specific options in oslo.messaging and so some changes were made to use oslo.messaging22:11
dansmithadded you to the o.msg review22:12
melwitt*were made to oslo.messaging22:12
dansmithI guess we're kinda stuck for the moment then22:12
melwittokay. I think there's some testing but obviously not for that I guess. a TransportURL.parse right off the bat22:12
*** vladikr has quit IRC22:12
*** thorst_ has joined #openstack-nova22:12
dansmithwell, nothing that checks opts registering in test_transport that I can see22:13
openstackgerritDiana Clarke proposed openstack/python-novaclient: Correct copy/paste errors in help  https://review.openstack.org/40391322:14
*** thorst__ has joined #openstack-nova22:15
*** jamesdenton has quit IRC22:15
diana_clarkemriedem: ^ attached to a bug, and also cherry picked for stable/newton. thanks again for the sanity check22:16
diana_clarkemriedem: I need to fix the cherry pick, I used the UI which didn't give me the -x stuff, sorry22:17
*** thorst_ has quit IRC22:17
melwittdansmith: yeah. I meant a test that just does a TransportURL.parse at the beginning of it that would raise without the option registration22:17
dansmithyeah22:17
mriedemdiana_clarke: thanks22:18
openstackgerritSTEW TY proposed openstack/nova: Transform instance.rescue notifications  https://review.openstack.org/38564422:18
*** Sukhdev has quit IRC22:19
*** kfarr has quit IRC22:21
pumaranikarcdent, I have updated https://review.openstack.org/#/c/395194/. Add json_formatter to defaults for placement. Please let me know your suggestions.22:22
*** jheroux has joined #openstack-nova22:22
*** jheroux has quit IRC22:24
*** mvk has joined #openstack-nova22:25
*** smatzek has joined #openstack-nova22:26
*** liverpooler has joined #openstack-nova22:26
*** catintheroof has quit IRC22:28
*** zigo has quit IRC22:29
*** xyang1 has quit IRC22:29
*** zigo has joined #openstack-nova22:36
*** kristian__ has quit IRC22:36
*** ircuser-1 has joined #openstack-nova22:36
*** lpetrut has quit IRC22:41
*** nherciu has quit IRC22:42
*** baoli has quit IRC22:43
*** longlq_ has joined #openstack-nova22:44
*** smatzek has quit IRC22:45
*** sam_nowitzki has quit IRC22:47
openstackgerritDan Smith proposed openstack/nova: Make RPCFixture support multiple connections  https://review.openstack.org/39641722:48
*** gouthamr has quit IRC22:50
openstackgerritMichael Still proposed openstack/nova: libvirt: prefer cinder rbd auth values over nova.conf  https://review.openstack.org/38939922:51
*** mnasiadka has quit IRC22:51
*** ljxiash has quit IRC22:53
*** ljxiash has joined #openstack-nova22:53
openstackgerritEd Leafe proposed openstack/nova: placement: REST API for resource classes  https://review.openstack.org/39195922:54
*** slaweq_ has quit IRC22:56
*** slaweq_ has joined #openstack-nova22:58
*** ljxiash has quit IRC22:58
*** mriedem has quit IRC23:02
*** eharney has quit IRC23:04
*** Swami has quit IRC23:05
*** tbachman has quit IRC23:07
*** lamt has quit IRC23:18
*** ducttape_ has quit IRC23:19
*** ducttape_ has joined #openstack-nova23:20
*** esberglu has quit IRC23:20
*** mdrabe_ has quit IRC23:20
*** jwcroppe has quit IRC23:20
*** esberglu has joined #openstack-nova23:20
*** thorst__ is now known as thorst_23:21
*** jwcroppe has joined #openstack-nova23:21
*** thorst_ has quit IRC23:23
*** thorst_ has joined #openstack-nova23:24
*** ducttape_ has quit IRC23:24
*** esberglu has quit IRC23:25
*** jwcroppe has quit IRC23:25
*** esberglu has joined #openstack-nova23:32
*** thorst_ has quit IRC23:32
*** baoli has joined #openstack-nova23:33
*** baoli has quit IRC23:37
*** bnemec has quit IRC23:37
*** ijw has quit IRC23:40
*** Guest89691 has quit IRC23:58

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