Wednesday, 2016-10-05

*** haplo37_ has joined #openstack-nova00:00
*** rama_y has quit IRC00:01
*** mlavalle has quit IRC00:01
ryan_____auggy: Thanks! I am pretty sure that is what I am looking for00:03
*** suresh12 has joined #openstack-nova00:04
auggyjlk: well i poked around a little to see if anything stood out and i found this bit of code that does cache cleanup - https://github.com/openstack/nova/blob/master/nova/virt/libvirt/imagecache.py#L38100:07
*** ducttape_ has joined #openstack-nova00:07
auggyooh here's the base file handler bit: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/imagecache.py#L38100:09
auggyanyways, assuming i'm not missing something entirely, maybe the answer to your question is buried in that code00:11
auggyoh yeah here's how it determines "in use" images - https://github.com/openstack/nova/blob/master/nova/virt/libvirt/imagecache.py#L38100:12
auggyhey stewie925! can you provide the full command you are trying to run?00:12
*** diogogmt has joined #openstack-nova00:12
*** penick has quit IRC00:13
*** penick has joined #openstack-nova00:14
jlkauggy: thanks for digging! I'mr eading now00:15
*** diana-test has quit IRC00:15
*** sdake_ has quit IRC00:16
jlkTurns out the file I was hoping could be purged is being held open by qemu though00:16
auggyahhh00:16
auggyyeah i was gonna say it looks like qemu-img is doing the actual conversion00:16
auggybut idk how nova/glance/whoever is interfacing with that exactly00:16
*** ducttape_ has quit IRC00:17
auggythere might be some aussies lingering around that might know.. like mikal ??00:17
*** jamesdenton has joined #openstack-nova00:17
auggyoh yeah dansmith might be around too00:17
*** Apoorva_ has quit IRC00:19
*** Apoorva has joined #openstack-nova00:19
auggyoh and i almost forgot melwitt is in west coast time too, maybe she has an idea?00:19
*** hieulq_ has joined #openstack-nova00:25
auggywow apparently i fail at copy-paste, i just pasted the same 3 links above ahaha00:25
auggydetermining in use images - https://github.com/openstack/nova/blob/master/nova/virt/libvirt/imagecache.py#L15800:26
auggyand this was the part that handles checks for the base image - https://github.com/openstack/nova/blob/master/nova/virt/libvirt/imagecache.py#L31400:27
*** tjones has left #openstack-nova00:29
*** diana-test has joined #openstack-nova00:29
*** mnestratov has quit IRC00:30
*** hieulq__ has joined #openstack-nova00:31
*** mtanino has quit IRC00:32
*** penick has quit IRC00:33
*** hieulq_ has quit IRC00:34
*** stewie925 has quit IRC00:35
jlknod00:39
*** jvgrant_ has joined #openstack-nova00:39
*** claudiub has quit IRC00:40
*** nic has quit IRC00:41
*** jvgrant has quit IRC00:43
*** hoangcx has joined #openstack-nova00:48
*** browne has quit IRC00:52
*** david-lyle has quit IRC00:52
auggyhrm.. now i have a question...00:53
*** sdake has joined #openstack-nova00:53
jlkheh I have many00:54
auggyi just set up nova on a clean vm to verify something and the test_rescue_config_drive fails because i don't have genisoimage installed00:54
jlkWhat it looks like is the snapshot image lands in _base, and becomes the basis for a copy-on-write setup00:54
auggythis is a unit test, shouldn't that call to be mocked?00:54
jlkbut the customer's instance has apparently filled the filesystem, so all the stuff has been copied00:54
auggythat call to the mkiso_cmd or whatever00:55
auggyoh wow00:55
jlkso there's a 300G snapshot sitting in _base, and 300G instance disk sitting in instances/<uuid>00:55
auggyoh man00:55
jlkso that particular instance is consuming 600G of HV disk space00:55
jlkit's windows so I wonder if NTFS is conflicting with copy on write?00:57
*** thorst has quit IRC00:58
jlkoh maybe it's because we have "preallocate_images = space" set00:59
*** gouthamr has quit IRC00:59
auggyyeah i just hack on the code, i don't actually know how to *use* nova haha ;)01:00
openstackgerritSTEW TY proposed openstack/nova: Transform instance.soft_delete notifications  https://review.openstack.org/38212601:00
*** phuongnh has joined #openstack-nova01:00
*** haplo37 has quit IRC01:02
jlkhrm.01:02
*** thorst has joined #openstack-nova01:02
*** karlamrhein has quit IRC01:03
*** esberglu has quit IRC01:03
*** Sukhdev has quit IRC01:04
auggyi think i answered my own question but i'll have to ping mdbooth tomorrow when he's around01:04
*** haplo37 has joined #openstack-nova01:05
*** Apoorva_ has joined #openstack-nova01:05
*** abalutoiu has quit IRC01:05
auggybasically other places that call the mkisoimg_cmd are mocking genisoimage01:05
auggyi mean in the unit tests, so i just need to find out if there was a reason why it wasn't mocked for this test or if it was just overlooked01:06
auggyironically i just triaged a bug where someone was complaining about us having a genisoimage dependency and suggested that we actually didn't01:06
auggyhahah01:06
*** raunak has quit IRC01:07
jlklolol01:07
jlkthe holes we dive into01:08
*** Apoorva has quit IRC01:08
*** thorst has quit IRC01:08
*** baoli has quit IRC01:09
*** Apoorva_ has quit IRC01:10
*** agireud has quit IRC01:10
*** jamesdenton has quit IRC01:11
auggyi know this was totally random01:12
auggyit just so happens i had some issues running some tests on my regular dev environment so spun up a vanilla one01:13
* auggy really should do that more often01:13
auggythis test was added in june01:13
*** karlamrhein has joined #openstack-nova01:13
*** thorst has joined #openstack-nova01:15
*** ducttape_ has joined #openstack-nova01:17
*** rfolco has joined #openstack-nova01:18
*** jamesdenton has joined #openstack-nova01:19
*** thorst has quit IRC01:20
*** baoli has joined #openstack-nova01:20
*** tuanluong has joined #openstack-nova01:21
*** ducttape_ has quit IRC01:24
*** rama_y has joined #openstack-nova01:24
*** thorst has joined #openstack-nova01:26
jlkhrm, can't manage to get Nova to not attach a process to the file in _base/01:26
*** baoli has quit IRC01:27
*** thorst has quit IRC01:29
auggyredirect with treats?01:31
* auggy is so unhelpful01:31
auggyi think i'm gonna wander off for the evening, one of these days i'll actually do the work i set out to do instead of getting distracted by all these silly bugs01:32
openstackgerritOpenStack Proposal Bot proposed openstack/os-vif: Updated from global requirements  https://review.openstack.org/37752701:34
*** hieulq__ has quit IRC01:43
*** brian_price has quit IRC01:45
*** kaisers has joined #openstack-nova01:46
*** gyee has quit IRC01:46
*** bdeschenes has quit IRC01:48
*** suresh12 has quit IRC01:48
*** rama_y has quit IRC01:50
*** ryan_____ has quit IRC01:50
*** woodster_ has quit IRC01:50
*** ducttape_ has joined #openstack-nova01:52
*** kaisers has quit IRC01:55
*** tiendc has joined #openstack-nova01:58
*** mtanino has joined #openstack-nova02:01
*** jwcroppe has joined #openstack-nova02:04
*** rrecio has quit IRC02:15
*** rrecio has joined #openstack-nova02:15
*** browne has joined #openstack-nova02:17
*** unicell1 has quit IRC02:17
*** sdake has quit IRC02:18
*** amotoki has joined #openstack-nova02:19
*** sdake has joined #openstack-nova02:20
*** amotoki has quit IRC02:31
*** raunak has joined #openstack-nova02:37
*** haplo37 has quit IRC02:39
*** Hosam_ has quit IRC02:40
*** Hosam has joined #openstack-nova02:41
*** amotoki has joined #openstack-nova02:43
*** haplo37 has joined #openstack-nova02:44
*** yamahata has quit IRC02:45
*** Hosam has quit IRC02:46
*** thorst has joined #openstack-nova02:50
*** diogogmt has quit IRC02:54
*** thorst has quit IRC02:54
*** thorst has joined #openstack-nova02:54
*** thorst has quit IRC02:55
*** ducttape_ has quit IRC02:57
openstackgerritNguyen Hung Phuong proposed openstack/nova: Remove mox from nova/tests/unit/test_configdrive2.py  https://review.openstack.org/32275402:59
*** amotoki_ has joined #openstack-nova03:04
*** thorst has joined #openstack-nova03:05
*** raunak has quit IRC03:06
*** amotoki has quit IRC03:07
*** Sukhdev has joined #openstack-nova03:09
*** thorst has quit IRC03:11
*** Sukhdev has quit IRC03:13
*** agireud has joined #openstack-nova03:14
*** rrecio has quit IRC03:20
*** Shashi has quit IRC03:23
*** raunak has joined #openstack-nova03:24
*** browne has quit IRC03:27
*** adisky has joined #openstack-nova03:33
*** amotoki has joined #openstack-nova03:35
*** amotoki has quit IRC03:36
*** amotoki_ has quit IRC03:36
*** tongli has quit IRC03:38
*** kaisers has joined #openstack-nova03:40
*** sdake has quit IRC03:43
*** sdake has joined #openstack-nova03:43
*** kaisers has quit IRC03:45
*** links has joined #openstack-nova03:45
*** markvoelker has quit IRC03:48
*** vishwanathj has quit IRC03:50
*** dikonoor has joined #openstack-nova03:55
*** suresh12 has joined #openstack-nova03:56
*** ducttape_ has joined #openstack-nova03:57
*** ducttape_ has quit IRC04:02
*** amotoki has joined #openstack-nova04:06
*** code-R has joined #openstack-nova04:14
*** suresh12_ has joined #openstack-nova04:19
*** amotoki_ has joined #openstack-nova04:19
*** suresh12 has quit IRC04:20
*** suresh12 has joined #openstack-nova04:21
*** amotoki has quit IRC04:23
*** sudipto has joined #openstack-nova04:23
*** sudipto_ has joined #openstack-nova04:23
*** suresh12_ has quit IRC04:23
*** ManishD has joined #openstack-nova04:24
*** sdake has quit IRC04:25
*** mingyu has joined #openstack-nova04:32
*** mingyu_ has joined #openstack-nova04:34
*** mingyu has quit IRC04:34
*** haplo37 has quit IRC04:35
*** mingyu_ has quit IRC04:36
*** mingyu has joined #openstack-nova04:37
*** suresh12_ has joined #openstack-nova04:37
*** suresh12 has quit IRC04:40
*** haplo37 has joined #openstack-nova04:40
*** suresh12 has joined #openstack-nova04:40
*** unicell has joined #openstack-nova04:40
*** pbandark has joined #openstack-nova04:41
*** mingyu has quit IRC04:41
*** salv-orlando has joined #openstack-nova04:41
*** sridharg has joined #openstack-nova04:42
*** suresh12_ has quit IRC04:42
*** coolsvap has joined #openstack-nova04:44
*** unicell has quit IRC04:45
*** GB21 has joined #openstack-nova04:46
*** markvoelker has joined #openstack-nova04:49
*** unicell has joined #openstack-nova04:49
*** Shashi has joined #openstack-nova04:51
*** suresh12 has quit IRC04:51
*** sdake has joined #openstack-nova04:51
*** armax has quit IRC04:51
*** HenryG has quit IRC04:51
*** suresh12 has joined #openstack-nova04:52
*** HenryG has joined #openstack-nova04:52
*** unicell1 has joined #openstack-nova04:53
*** markvoelker has quit IRC04:54
*** unicell has quit IRC04:54
*** jamesdenton has quit IRC04:55
*** priya__ has quit IRC04:58
*** ducttape_ has joined #openstack-nova04:59
*** amotoki_ has quit IRC04:59
*** narayrak has joined #openstack-nova05:02
*** ducttape_ has quit IRC05:04
*** ociuhandu has joined #openstack-nova05:05
*** jaosorior has joined #openstack-nova05:07
*** prometheanfire has joined #openstack-nova05:08
prometheanfiremigrations are failing on postgres for m->n05:08
*** jwcroppe has quit IRC05:09
prometheanfirehttps://gist.github.com/prometheanfire/98689217594ffa210cab83a0ac5ff58805:09
prometheanfirealso, nova doesn't work on py34 still05:10
prometheanfirehttps://gist.github.com/prometheanfire/e25b5f53f3247aca94ec14b67832da1c05:10
prometheanfirepersonlly, I blame mikal for all this05:10
prometheanfiremikal: you might want to look at the first one though05:10
prometheanfiremight be showstopper for newton05:11
prometheanfirekeystone had a similiar problem last cycle05:11
*** thorst has joined #openstack-nova05:11
prometheanfireI kinda wonder if it's just because I never used aggregates05:12
*** psachin has joined #openstack-nova05:13
*** psachin has joined #openstack-nova05:14
*** thorst has quit IRC05:16
*** penick has joined #openstack-nova05:18
*** clarkb has quit IRC05:18
*** agireud has quit IRC05:19
*** prateek has joined #openstack-nova05:20
*** code-R has quit IRC05:22
prometheanfiremikal: https://bugs.launchpad.net/nova/+bug/1630446 for the migration fail05:28
openstackLaunchpad bug 1630446 in OpenStack Compute (nova) "postgresql online_data_migrations fail for m->n" [Undecided,New]05:28
*** kaisers has joined #openstack-nova05:29
*** slaweq_ has joined #openstack-nova05:29
*** akshai has joined #openstack-nova05:32
*** kaisers has quit IRC05:33
*** moshele has joined #openstack-nova05:33
*** sudswas__ has joined #openstack-nova05:34
*** jaosorior has quit IRC05:35
prometheanfiremikal: and here's a post migration failure when doing openstack server list https://bugs.launchpad.net/nova/+bug/163044805:35
openstackLaunchpad bug 1630448 in OpenStack Compute (nova) "postgres newton post upgrade failure DBAPIError exception wrapped from (psycopg2.ProgrammingError) column build_requests.instance_uuid does not exist" [Undecided,New]05:35
*** jaosorior has joined #openstack-nova05:35
*** sudipto has quit IRC05:36
*** kaisers has joined #openstack-nova05:36
*** sudipto has joined #openstack-nova05:37
*** sudipto_ has quit IRC05:37
*** raunak has quit IRC05:37
*** agireud has joined #openstack-nova05:38
*** GB21 has quit IRC05:38
prometheanfireand the py3 failhttps://bugs.launchpad.net/nova/+bug/163044905:38
openstackLaunchpad bug 1630449 in OpenStack Compute (nova) "nova-api - newton - python34 - TypeError: memoryview: str object does not have the buffer interface" [Undecided,New]05:38
prometheanfirebah05:38
prometheanfireand the py3 fail https://bugs.launchpad.net/nova/+bug/163044905:38
*** bks has joined #openstack-nova05:40
*** suresh12 has quit IRC05:41
*** unicell1 has quit IRC05:42
*** unicell has joined #openstack-nova05:43
*** amotoki has joined #openstack-nova05:43
*** sridharg has quit IRC05:44
*** sridharg has joined #openstack-nova05:45
*** markvoelker has joined #openstack-nova05:50
*** hemanthm|bbl is now known as hemanthm|away05:50
*** GB21 has joined #openstack-nova05:50
*** lpetrut has joined #openstack-nova05:51
*** ekuris has joined #openstack-nova05:52
*** mingyu has joined #openstack-nova05:52
*** markvoelker has quit IRC05:55
*** akshai has quit IRC05:56
*** amotoki has quit IRC05:57
*** jwcroppe has joined #openstack-nova05:58
*** suresh12 has joined #openstack-nova05:59
*** ducttape_ has joined #openstack-nova05:59
*** salv-orlando has quit IRC06:01
*** jwcroppe has quit IRC06:04
*** ducttape_ has quit IRC06:04
prometheanfireanyway, sleeping, hope this didn't break nova :|06:05
*** mjura has joined #openstack-nova06:06
*** david-lyle has joined #openstack-nova06:08
*** sandanar has joined #openstack-nova06:11
*** ratailor has joined #openstack-nova06:11
*** mjura has quit IRC06:12
*** mjura has joined #openstack-nova06:12
*** paul-carlton2 has joined #openstack-nova06:12
*** Matti_ has quit IRC06:16
prometheanfiremail sent to list06:18
*** nkrinner_afk is now known as nkrinner06:19
prometheanfiredansmith: ^ think I found a bug for m->n06:22
openstackgerritBéla Vancsics proposed openstack/nova: Transform instance.shelve_offload notifications  https://review.openstack.org/37723906:22
* tonyb waits for mail to arrive06:23
prometheanfiretonyb: getting something?06:23
tonybprometheanfire: a message about how m -> n db migrations don't work06:24
prometheanfireya06:25
prometheanfirelight on details because I have few06:25
*** alexchadin has joined #openstack-nova06:25
openstackgerritIldiko Vancsa proposed openstack/nova: WIP: Allow multi-attach in compute api  https://review.openstack.org/27104706:25
openstackgerritIldiko Vancsa proposed openstack/nova: libvirt: Allow multiple volume attachments  https://review.openstack.org/26758706:25
*** Manish has joined #openstack-nova06:25
*** ManishD has quit IRC06:28
*** andreas_s has joined #openstack-nova06:33
*** unicell has quit IRC06:33
*** unicell has joined #openstack-nova06:34
prometheanfirewell, nn for now then, I'll be back in 6-7 hours06:35
*** salv-orlando has joined #openstack-nova06:36
*** salv-orlando has quit IRC06:40
kashyapauggy: Yes, that article is pretty old, and that part of code has changed completely.  I'll add a note at the top about this.06:41
*** lpetrut has quit IRC06:43
*** szirtesit has joined #openstack-nova06:45
*** pcaruana has joined #openstack-nova06:46
*** liverpooler has joined #openstack-nova06:46
*** markvoelker has joined #openstack-nova06:51
*** rcernin has joined #openstack-nova06:53
*** code-R has joined #openstack-nova06:54
*** hieulq has quit IRC06:55
*** code-R_ has joined #openstack-nova06:56
*** markvoelker has quit IRC06:56
*** jwcroppe has joined #openstack-nova06:56
*** salv-orlando has joined #openstack-nova06:56
*** yamahata has joined #openstack-nova06:57
*** hieulq has joined #openstack-nova06:58
*** hieulq has quit IRC06:59
*** code-R has quit IRC06:59
*** ducttape_ has joined #openstack-nova07:00
*** jwcroppe has quit IRC07:02
*** david-lyle has quit IRC07:02
openstackgerritMaciej Szankin proposed openstack/nova: config options: improve libvirt imagecache  https://review.openstack.org/37849707:03
*** hieulq has joined #openstack-nova07:05
*** ducttape_ has quit IRC07:05
*** hieulq has quit IRC07:06
*** gibi_ has quit IRC07:06
*** tesseract- has joined #openstack-nova07:07
*** suresh12 has quit IRC07:08
*** haplo37 has quit IRC07:09
*** matrohon has joined #openstack-nova07:09
*** hieulq has joined #openstack-nova07:11
*** rcernin has quit IRC07:12
*** rcernin has joined #openstack-nova07:12
*** gibi has joined #openstack-nova07:13
*** haplo37 has joined #openstack-nova07:16
*** amotoki has joined #openstack-nova07:20
*** ihrachys has joined #openstack-nova07:21
*** hogepodge has quit IRC07:21
*** Manish has quit IRC07:22
*** oanson has joined #openstack-nova07:27
*** amotoki has quit IRC07:32
*** claudiub has joined #openstack-nova07:37
openstackgerritBéla Vancsics proposed openstack/nova: Increase the possible size of the flavor extra_spec value  https://review.openstack.org/38217907:41
*** abalutoiu has joined #openstack-nova07:41
*** amotoki has joined #openstack-nova07:43
*** markus_z has joined #openstack-nova07:43
*** GB21 has quit IRC07:49
openstackgerritSergey Nikitin proposed openstack/nova-specs: PCI NUMA Policies  https://review.openstack.org/36114007:49
*** markvoelker has joined #openstack-nova07:51
*** tuanluong has quit IRC07:54
*** salv-orl_ has joined #openstack-nova07:54
openstackgerritAllen proposed openstack/nova: Remove the duplicated test function  https://review.openstack.org/38218507:55
*** markvoelker has quit IRC07:56
*** amotoki has quit IRC07:56
*** salv-orlando has quit IRC07:57
*** zzzeek has quit IRC08:00
*** pilgrimstack has joined #openstack-nova08:00
*** zzzeek has joined #openstack-nova08:00
*** ducttape_ has joined #openstack-nova08:01
*** paul-carlton2 has quit IRC08:02
*** ducttape_ has quit IRC08:06
*** roeyc has joined #openstack-nova08:09
*** hogepodge has joined #openstack-nova08:11
*** zul has quit IRC08:11
*** duonghq has joined #openstack-nova08:14
*** zenoway has joined #openstack-nova08:15
*** EinstCrazy has joined #openstack-nova08:16
*** mgoddard has joined #openstack-nova08:16
*** amotoki has joined #openstack-nova08:17
*** pbandark has quit IRC08:17
*** paul-carlton2 has joined #openstack-nova08:24
*** pbandark has joined #openstack-nova08:24
*** zul has joined #openstack-nova08:24
*** yassine has joined #openstack-nova08:35
*** yassine is now known as Guest8625208:35
*** GB21 has joined #openstack-nova08:36
*** jwcroppe has joined #openstack-nova08:42
*** derekh has joined #openstack-nova08:46
*** suresh12 has joined #openstack-nova08:48
*** salv-orl_ has quit IRC08:48
*** zenoway has quit IRC08:50
*** jaosorior is now known as jaosorior_lunch08:50
*** zenoway has joined #openstack-nova08:51
openstackgerritTimofey Durakov proposed openstack/nova: Change log level to debug for migrations pairing  https://review.openstack.org/38219508:51
*** jwcroppe has quit IRC08:51
*** markvoelker has joined #openstack-nova08:52
*** suresh12 has quit IRC08:53
*** zenoway has quit IRC08:53
*** zenoway has joined #openstack-nova08:54
*** mkoderer has joined #openstack-nova08:54
*** roeyc has quit IRC08:55
*** roeyc has joined #openstack-nova08:56
*** eglynn has joined #openstack-nova08:56
*** eglynn has quit IRC08:57
*** markvoelker has quit IRC08:57
*** zenoway has quit IRC08:58
*** CristinaPauna has quit IRC08:59
*** sdake has quit IRC08:59
*** amotoki has quit IRC09:00
*** lpetrut has joined #openstack-nova09:00
*** lpetrut has quit IRC09:01
*** zenoway has joined #openstack-nova09:02
*** lpetrut has joined #openstack-nova09:03
*** alexchadin has quit IRC09:06
*** alexchadin has joined #openstack-nova09:06
openstackgerritMaciej Szankin proposed openstack/nova: config options: improve libvirt imagecache  https://review.openstack.org/37849709:08
*** sridharg has quit IRC09:10
*** CristinaPauna has joined #openstack-nova09:10
*** alexchadin has quit IRC09:11
*** thorst has joined #openstack-nova09:13
*** zenoway has quit IRC09:16
*** josecastroleon has joined #openstack-nova09:16
*** zenoway has joined #openstack-nova09:16
*** TonyXu has joined #openstack-nova09:18
*** thorst has quit IRC09:19
*** EinstCrazy has quit IRC09:23
*** cdent has joined #openstack-nova09:25
*** sahid has joined #openstack-nova09:27
openstackgerritStephen Finucane proposed openstack/nova: conf: Attempt to resolve TODOs in scheduler.py  https://review.openstack.org/37464709:27
openstackgerritStephen Finucane proposed openstack/nova: conf: Group scheduler options  https://review.openstack.org/34995909:27
openstackgerritStephen Finucane proposed openstack/nova: conf: Deprecate 'scheduler_json_file_location'  https://review.openstack.org/37412109:27
sfinucanraj_singh: Could you look at this again? The release note issue was with the dependency instead https://review.openstack.org/#/c/374121/09:28
*** amotoki has joined #openstack-nova09:31
openstackgerritStephen Finucane proposed openstack/nova: nova-manage: Use consistent prints for errors  https://review.openstack.org/28930909:31
*** amotoki has quit IRC09:31
*** amotoki has joined #openstack-nova09:31
*** EinstCrazy has joined #openstack-nova09:32
*** hferenc has joined #openstack-nova09:34
*** EinstCrazy has quit IRC09:34
*** omnipresent has joined #openstack-nova09:37
*** zenoway has quit IRC09:38
*** zenoway has joined #openstack-nova09:40
*** omnipresent has quit IRC09:43
*** jaosorior_lunch is now known as jaosorior09:46
*** code-R_ has quit IRC09:46
*** alexchadin has joined #openstack-nova09:47
*** ihrachys has quit IRC09:48
*** haplo37 has quit IRC09:50
*** pbandark has quit IRC09:52
bauzasalaski: once you're up, trick bug I'm not opiniated https://bugs.launchpad.net/nova/+bug/163045409:53
openstackLaunchpad bug 1630454 in OpenStack Compute (nova) "shelve offload does not reduce core and RAM quota" [Undecided,New]09:53
*** markvoelker has joined #openstack-nova09:53
*** pbandark has joined #openstack-nova09:54
*** diga has joined #openstack-nova09:55
*** haplo37 has joined #openstack-nova09:56
*** code-R has joined #openstack-nova09:57
*** markvoelker has quit IRC09:58
*** gszasz has joined #openstack-nova09:58
*** roeyc has quit IRC10:00
*** code-R has quit IRC10:02
*** code-R has joined #openstack-nova10:03
*** omnipresent has joined #openstack-nova10:08
*** zenoway has quit IRC10:09
*** mvk has quit IRC10:09
*** hieulq has quit IRC10:13
*** code-R has quit IRC10:13
*** sdague has joined #openstack-nova10:15
*** code-R has joined #openstack-nova10:18
*** salv-orlando has joined #openstack-nova10:19
*** ociuhandu has quit IRC10:20
*** mgoddard_ has joined #openstack-nova10:22
*** cdent has quit IRC10:23
*** dikonoor has quit IRC10:23
*** mgoddard has quit IRC10:25
*** salv-orlando has quit IRC10:25
openstackgerritIldiko Vancsa proposed openstack/nova: Remove check_attach  https://review.openstack.org/33535810:26
*** mingyu has quit IRC10:27
*** code-R has quit IRC10:28
*** GB21 has quit IRC10:30
*** hoangcx has quit IRC10:31
*** code-R has joined #openstack-nova10:31
*** jwcroppe has joined #openstack-nova10:32
*** code-R has quit IRC10:33
*** alexchadin has quit IRC10:34
*** alexchadin has joined #openstack-nova10:38
*** Shashi has quit IRC10:38
*** duonghq has quit IRC10:38
*** ihrachys has joined #openstack-nova10:38
*** jwcroppe has quit IRC10:38
*** GB21 has joined #openstack-nova10:39
*** mingyu has joined #openstack-nova10:40
*** tbachman has quit IRC10:40
*** code-R has joined #openstack-nova10:40
*** abalutoiu has quit IRC10:41
*** mvk has joined #openstack-nova10:41
*** mingyu has quit IRC10:43
*** alexchadin has quit IRC10:46
*** alexchadin has joined #openstack-nova10:46
*** roeyc has joined #openstack-nova10:47
*** alexchadin has quit IRC10:51
*** alexchadin has joined #openstack-nova10:51
*** alexchadin has quit IRC10:52
*** code-R has quit IRC10:52
*** alexchadin has joined #openstack-nova10:52
*** rtheis has joined #openstack-nova10:54
*** markvoelker has joined #openstack-nova10:54
*** omnipresent has quit IRC10:55
*** zenoway has joined #openstack-nova10:56
*** code-R has joined #openstack-nova10:58
*** markvoelker has quit IRC10:59
*** zenoway has quit IRC11:00
*** code-R has quit IRC11:01
*** abalutoiu has joined #openstack-nova11:02
*** tiendc has quit IRC11:04
*** bdeschenes has joined #openstack-nova11:19
*** marksei has joined #openstack-nova11:21
*** salv-orlando has joined #openstack-nova11:21
*** bvanhav has joined #openstack-nova11:23
*** salv-orlando has quit IRC11:26
*** code-R has joined #openstack-nova11:28
*** alexchadin has quit IRC11:29
*** alexchadin has joined #openstack-nova11:29
*** code-R_ has joined #openstack-nova11:30
*** salv-orlando has joined #openstack-nova11:30
*** cdent has joined #openstack-nova11:30
*** coolsvap is now known as coolsvap_11:30
*** code-R has quit IRC11:33
*** bdeschenes has quit IRC11:39
*** mgoddard_ has quit IRC11:44
*** bear3bonds has joined #openstack-nova11:46
*** bear3bonds has left #openstack-nova11:46
*** cdent has quit IRC11:48
*** cdent has joined #openstack-nova11:49
*** thorst has joined #openstack-nova11:51
*** tbachman has joined #openstack-nova11:53
*** markvoelker has joined #openstack-nova11:54
*** bdeschenes has joined #openstack-nova11:57
*** jlanoux has joined #openstack-nova11:58
*** Hosam has joined #openstack-nova11:59
*** markvoelker has quit IRC11:59
openstackgerritStephen Finucane proposed openstack/nova-specs: Reserve NUMA nodes with PCI devices attached  https://review.openstack.org/36446812:01
*** pjm6_ has joined #openstack-nova12:01
*** Hosam has quit IRC12:03
*** pjm6 has quit IRC12:04
*** bdeschenes has quit IRC12:04
*** cdelatte has joined #openstack-nova12:04
*** alexchadin has quit IRC12:04
openstackgerritPavel Kholkin proposed openstack/nova-specs: Strict isolation of group of hosts for image and flavor  https://review.openstack.org/38191212:05
*** sudipto has quit IRC12:06
*** sudswas__ has quit IRC12:06
*** ducttape_ has joined #openstack-nova12:08
*** ociuhandu has joined #openstack-nova12:09
*** ratailor has quit IRC12:10
*** code-R_ has quit IRC12:11
*** coolsvap_ is now known as coolsvap12:13
*** code-R has joined #openstack-nova12:14
*** gouthamr has joined #openstack-nova12:16
*** phuongnh has quit IRC12:17
*** sdake has joined #openstack-nova12:19
*** maticue has joined #openstack-nova12:20
*** mah has joined #openstack-nova12:20
mahHi all, How to let openstack use Nova access API v2.0 instead of v2.1 ?12:21
*** pradk has joined #openstack-nova12:21
bauzasmah: see http://developer.openstack.org/api-guide/compute/microversions.html12:23
bauzasmah: v2.1 is bacwards compatible with v2.012:23
bauzasbackwards*12:23
prometheanfirerpodolyaka, bauzas thanks for pointing out my stupid, it was a late night...12:24
bauzasmah: you just need to modify your compute endpoint but in case your client doesn't ask for a microversion, you'll get v2.1 which is identical to v2.012:24
mahYes but I do not know why in my application using jcloud library I got error12:24
bauzasprometheanfire: np12:24
rpodolyakaprometheanfire: no problem! :)12:24
mahI go error when I create server12:25
mahgot*12:25
mahusing POST12:25
bauzasmah: which Nova version ? newton ?12:25
mahbut using GET is fine12:25
mahMitaka12:25
mahTripleO12:25
bauzasmah: that's possibly because the only change between v2.1 and v2.0 is that the input is verified12:26
bauzasmah: see http://developer.openstack.org/api-guide/compute/microversions.html#client-interaction , do you ask for a microversion ?12:26
mahno12:27
bauzasmah: if not, which resource call are you asking for POST?12:27
bauzasPOST /servers ?12:27
mahthe one used for creating servers12:27
mahyes12:27
bauzasmah: please provide me the n-api ERROR log using paste.openstack.org12:27
*** haplo37 has quit IRC12:28
*** ducttape_ has quit IRC12:29
*** cdent has quit IRC12:29
*** krtaylor has quit IRC12:30
*** haplo37 has joined #openstack-nova12:30
*** mgoddard has joined #openstack-nova12:30
mahhttp://paste.openstack.org/show/584443/12:31
openstackgerritPavel Kholkin proposed openstack/nova: [WIP] scheduler: strictly isolate group of hosts for image/flavor  https://review.openstack.org/37045812:34
openstackgerritStephen Finucane proposed openstack/nova-specs: Add extra-specs-image-meta-conflicts spec  https://review.openstack.org/38238212:34
bauzasmah: I'd prefer the n-api corresponding log12:35
mahok12:35
bauzasmah: here, that doesn't show that Nova has a problem, just that your app has one :)12:35
bauzasmah: mitaka, you said ?12:36
johnthetubaguysounds like jclouds isn't sending a valid request12:36
* bauzas looking at api-paste.ini12:36
bauzasjohnthetubaguy: that's my understanding12:36
bauzasprobably due to v2.1 enforcing the user input validation more than v2.0 was used to12:36
kashyapmdbooth: When you're about, I'm making some changes to this, as best as I can - https://review.openstack.org/#/c/290510/1312:37
bauzasjohnthetubaguy: in mitaka, we keeped the v2.0 legacy path but we changed api-paste to point /v2.0 to the v2.1 codepath, right?12:37
mdboothkashyap: looking12:37
kashyapmdbooth: If you have time, perhaps I could use your help.12:37
kashyapmdbooth: Haven't uploaded yet, fixing PEP8 stuff12:37
bauzasjohnthetubaguy: that's only in this cycle that we dropped the old v2.0 path, right?12:38
mdboothkashyap: Ok, ping me when you've pushed it.12:38
kashyapI haven't addressed every comment yet, mostly the changes in driver.py & fs.py, so far.12:38
kashyapmdbooth: Sure, thanks for the quick response!12:38
*** cleong has joined #openstack-nova12:38
openstackgerritLee Yarwood proposed openstack/nova-specs: Virtual instance rescue with stable disk devices  https://review.openstack.org/38238812:39
mdboothlyarwood: Are you real?12:41
mdboothlyarwood: If so, wonder if you're interested in this I posted while you were away: http://lists.openstack.org/pipermail/openstack-dev/2016-September/104617.html12:42
mahI could not find error in the nova-api.log12:42
lyarwoodmdbooth: yeah and yeah I was going to ask about that ;)12:43
mdboothlyarwood: In the context of stable rescue, I think this would turn into: add a new disk and configure the instance to boot from it.12:43
mdboothWith some complication for config disks12:43
openstackgerritFeodor Tersin proposed openstack/nova: Fix cold migration with qcow2 ephemeral disks  https://review.openstack.org/34626312:43
bauzasmah: could you please make sure you're sending the exact request body as said in http://developer.openstack.org/api-ref-compute-v2.1.html#createServer ?12:44
*** markvoelker has joined #openstack-nova12:44
lyarwoodmdbooth: yeah, we still need to allow users to select either a stable or unstable rescue right?12:44
*** zul has quit IRC12:44
mdboothlyarwood: Do we really?12:44
*** abalutoiu has quit IRC12:44
*** baoli has joined #openstack-nova12:44
mdboothlyarwood: Ask Jony Ive what he thinks about user choice.12:45
mdboothSir Jony Ive.12:45
mahI found it12:45
bauzasmah: first of all, which URL endpoint are you hitting ? /v2.1 or /v2.0 ?12:45
lyarwoodmdbooth: haha, yeah point12:45
mahv2.112:45
lyarwoodmdbooth: I just assumed we would want to keep unstable rescues around12:45
bauzasmah: could you please lemme know the full URL (of course, not the FQDN, just the path)12:46
mahhttp://paste.openstack.org/show/584445/ here is the error at n-api12:46
lyarwoodmdbooth: there's no spec for your libvirt suggestions at the moment right?12:46
mdboothlyarwood: Nope12:46
mdboothlyarwood: However, I believe it would replace persistent instance metadata, and solve more problems.12:47
johnthetubaguybauzas: we didn't drop it this cycle, /2.0 still has no hard validation12:47
mdbooth(But we still need to refactor the storage code)12:47
bauzasmah: I'm sorry but http://paste.openstack.org/show/584445/ really looks like jclouds just kicked the connection while just uploading at the same time12:47
johnthetubaguybauzas: now its possible the deployer has not exposed that end point in the service catalog, which is the bit that just dawned on me12:47
sdaguejohnthetubaguy: is there an API meeting today? alex_xu is out for the week, right?12:48
bauzasjohnthetubaguy: okay, I was unsure, we relaxed the validation then in mitaka12:48
mdboothlyarwood: If you fancied taking it on, we've also had reports of customer surprise due to inconsistent device ordering.12:48
bauzasjohnthetubaguy: I remember your changes12:48
* mdbooth doesn't like surprising customers.12:48
bauzasjohnthetubaguy: here, the user is using jclouds pointing to the /v2.1 path12:48
lyarwoodmdbooth: yeah the MS issues re disks going offline?12:48
mdboothlyarwood: Amongst others.12:48
bauzaswithout microversions I suppose12:48
johnthetubaguysdague: unsure, I can't remember what we said last week12:48
mahbut I tested the same application using jcloud for openstack mitaka with nova access endpoint with v2  , it works fine12:49
*** zul has joined #openstack-nova12:49
mahso may be there is a difference in the Json body that should be used12:49
mahor difference in the response between v2 and v2.1 ?12:49
bauzasmah: that's two codepaths sharing the same routing12:49
johnthetubaguybauzas: oh, I see you are kinda asking the reverse, not sure when we added the relax path for v2.0, but I think it was before that was the default paste12:50
mahSo then why it works fine when it uses /v2 and not working with /v2.1 ?12:50
bauzasmah: that's stange if you say that /v2.0 doesn't tell you the same, because it looks like the http negociation failed before we went to the WSGI app12:50
mahand that happens with Post only12:50
mahbut it works fine with /v2.1 when it  uses GET request12:51
johnthetubaguymah: all valid 2.0 requests should work just fine with 2.1, and get the same response in both cases, the difference is when you send an invalid request12:51
sdaguemah: can you get a raw wire dump there?12:51
sdaguebecause what this really looks like is that content-length is getting sent by jclouds, and then it's not sending the right amount, and webob is freaking out12:51
sdaguethis is pretty low level explosion in webob deserialization12:52
bauzasyeah that's my understanding12:52
*** jaypipes has joined #openstack-nova12:52
mahso how to solve that issue ?12:52
*** kylek3h has joined #openstack-nova12:52
bauzasnothing related to the nova wsgi app I guess12:52
sdaguemah: well, I think we need to figure out what the actual raw HTTP request looks like12:52
sdaguemah: or if you have a reproduce scenario that we could run on a devstack to expose it12:53
bauzasmah: are you sure you tested the same cloud, both hitting /v2.1 and /v2.0 with different results ?12:53
sdaguelike a small jclouds based program12:53
johnthetubaguyoh, its a 500 error12:53
bauzasjohnthetubaguy: that's a very low-level 500 :)12:53
johnthetubaguyack12:53
bauzasjohnthetubaguy: http://paste.openstack.org/show/584445/ is the trace12:54
mahyes  i tried with packstack mitaka ,, and its endpoint for Nova is /v212:54
bauzasI need to drop off for 30 mins or so12:54
mahnow I am doing that for OPNFV APEx which is based on TripleO Mitaka .. the nova enpoint is /v2.112:54
bauzasmah: ah, so different clouds?12:54
mahit is 500 error12:54
mahyes12:55
*** tblakes has joined #openstack-nova12:55
bauzasmah: I'd suggest you to directly hit the /v2.0 endpoint on the TripleO based cloud12:55
bauzasmah: and see if that's reproducable12:55
bauzasmah: because I'd bet you'd see that too with /v2.012:55
sdaguemah: or, if you can build a reproduce for devstack, we can run with debug here. The biggest issue is getting some kind of reproduce for us.12:56
bauzas++12:56
* bauzas bbiab12:56
mahso how to activate /v2.0 instead of /v2.1 without messing up anything ?12:56
*** GB21 has quit IRC12:56
*** prometheanfire has left #openstack-nova12:57
*** josecastroleon has quit IRC12:57
*** bvanhav has quit IRC12:58
sdaguemah: I don't the exact steps in a trippleo environment. The crux of it is to change the compute endpoint definition to point to 2.012:58
*** abalutoiu has joined #openstack-nova12:59
*** diga has quit IRC12:59
*** edmondsw has joined #openstack-nova12:59
*** pradk has quit IRC12:59
*** jheroux has joined #openstack-nova12:59
mahok12:59
sdaguehttps://github.com/openstack-dev/devstack/blob/563d3777823fa4ee113ac930c4066c3f8d5f8373/lib/nova#L411-L425 is where we do that kind of thing in devstack, which you could use as a roadmap12:59
*** bks has quit IRC13:00
mahthere is no command like keystone-endopoint create / delete ?13:00
*** ducttape_ has joined #openstack-nova13:00
sdaguemah: https://github.com/openstack-dev/devstack/blob/563d3777823fa4ee113ac930c4066c3f8d5f8373/functions-common#L1001-L100213:02
*** jichen has joined #openstack-nova13:03
sdagueopenstack endpoint create13:03
sdagueis what you are looking for13:03
sdaguebut I don't think there is an update, so you are going to have to delete the existing compute one first13:03
*** prateek has quit IRC13:03
mahyes13:03
mahwill the deletion of the existing one mess up things ?13:04
sdaguemah: it will globally effect everything, so make sure you are doing this in a test env13:04
mahmmm13:04
mahso I guess I can avoid that now13:05
sdagueonce there is a compute endpoint again, it should be fine. But then again, you also shouldn't be getting this error13:05
*** baoli_ has joined #openstack-nova13:05
mahwhat do you see the problem came from ?13:05
*** ekuris has quit IRC13:05
openstackgerritHussain Chachuliya proposed openstack/nova: Replace uuid4() with uuidsentinel  https://review.openstack.org/37766013:05
openstackgerritHussain Chachuliya proposed openstack/nova: Replace uuid4() with uuidsentinel  https://review.openstack.org/37766113:05
openstackgerritHussain Chachuliya proposed openstack/nova: Replace uuid4() with uuidsentinel  https://review.openstack.org/37766313:05
openstackgerritHussain Chachuliya proposed openstack/nova: Replace uuid4() with uuidsentinel  https://review.openstack.org/37766713:05
openstackgerritHussain Chachuliya proposed openstack/nova: hacking: Use uuidutils or uuidsentinel to generate UUID  https://review.openstack.org/38240113:05
sdaguemah: the webob error makes this seem like it is a deep python library issue13:05
mahin jcloud or in openstack ?13:06
sdaguemah: either you'll need to debug on your side, or create a reproduce scenario we can run in devstack to understand this one more13:06
*** sudswas__ has joined #openstack-nova13:06
*** sudipto has joined #openstack-nova13:06
sdaguemah: I really don't know at this point, there isn't enough details13:06
sdagueand I need to pop off for a bit here, back post breakfast13:07
mahthe reporoduce scenario is to create an instance in openstack13:07
sdaguemah: it's not13:07
sdaguebecause we create 100+ instances of openstack during every gate run13:07
sdagueand never get this issue13:07
mahbut did you tested it on TripleO ?13:08
*** baoli has quit IRC13:08
mahOk ttyl13:08
*** mdrabe has joined #openstack-nova13:09
*** hshiina has joined #openstack-nova13:09
*** roeyc has quit IRC13:10
*** ducttape_ has quit IRC13:11
johnthetubaguymah: did you try create an instance with jclouds for a vanilla devstack setup of stable/mitaka? that would be a good set of repo steps13:12
mahI tried it with Packstack stable/mitaka13:12
*** cdelatte has quit IRC13:12
openstackgerritTakashi NATSUME proposed openstack/nova: Add swap volume notifications (start, end)  https://review.openstack.org/25028313:13
*** xyang1 has joined #openstack-nova13:14
*** bvanhav has joined #openstack-nova13:14
*** EinstCrazy has joined #openstack-nova13:15
*** hemanthm|away is now known as hemanthm13:15
*** EinstCrazy has quit IRC13:15
openstackgerritTakashi NATSUME proposed openstack/nova-specs: Add swap volume notifications  https://review.openstack.org/34071513:16
*** sudipto has quit IRC13:16
*** sudswas__ has quit IRC13:16
openstackgerritJulian proposed openstack/nova: Transform instance.power_off notifications  https://review.openstack.org/33076113:16
*** kevin_ has quit IRC13:17
openstackgerritTakashi NATSUME proposed openstack/nova: Add swap volume notifications (error)  https://review.openstack.org/32805513:18
*** cdelatte has joined #openstack-nova13:18
*** roeyc has joined #openstack-nova13:19
*** cdelatte has quit IRC13:19
alaskibauzas: commented on the shelve/quota bug13:24
*** Matti_ has joined #openstack-nova13:26
*** tongli has joined #openstack-nova13:28
*** kevin_ has joined #openstack-nova13:29
*** zhenguo has joined #openstack-nova13:32
*** akshai has joined #openstack-nova13:34
*** cmartin has joined #openstack-nova13:34
openstackgerritJohn Garbutt proposed openstack/nova-specs: WIP: API: rework security group APIs  https://review.openstack.org/38241413:34
*** jaosorior has quit IRC13:36
*** jaosorior has joined #openstack-nova13:36
*** mriedem has joined #openstack-nova13:37
*** tbachman has quit IRC13:39
*** esberglu has joined #openstack-nova13:39
*** bnemec has joined #openstack-nova13:40
*** marksei has quit IRC13:41
*** hieulq__ has joined #openstack-nova13:43
*** mgoddard_ has joined #openstack-nova13:45
*** abalutoiu has quit IRC13:45
*** moshele has quit IRC13:46
paul-carlton2hi, I'm seeing a bug in evacuate, when an instance with sriov port is evacuated it is allocated a new device id on the target and updates neutron accordingly but the network info used by nova is not updated, see https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L2800-L281013:47
*** ayoung has quit IRC13:47
paul-carlton2Anyone any ideas what the right method to call is to refresh the network_info?13:48
*** mgoddard has quit IRC13:48
*** TonyXu has quit IRC13:49
bauzasmah: AFAIK, TripleO creates a legacy compute endpoint, just look at the service catalog13:49
raj_singhsfinucan: Done13:50
*** dave-mccowan has joined #openstack-nova13:50
openstackgerritJulian proposed openstack/nova: Transform instance.power_off notifications  https://review.openstack.org/33076113:50
sfinucanraj_singh: Thanks :)13:50
*** mgoddard has joined #openstack-nova13:52
bauzasalaski: thanks for your comment, I think I provided the same comment on Twitter13:53
*** mgoddard_ has quit IRC13:53
*** mlavalle has joined #openstack-nova13:53
mahdo you mean the ones in keystone ?13:53
bauzasalaski: I think it's rather a design discussion or a behaviour discussion, not really a bug13:53
alaskibauzas: yep13:53
bauzasmah: yup, the keystone service catalog entries about all the service types13:54
mahyes I found it13:54
*** salv-orl_ has joined #openstack-nova13:54
bauzasmah: computev2 maybe ?13:54
mahbut when I create a new endpoint I do not found it in the list13:54
mah Compute Service V2.113:55
bauzasalaski: okay, I'll put the bug as a Wishlist category13:55
*** eliqiao has quit IRC13:55
*** yamahata has quit IRC13:55
*** alex_xu has quit IRC13:55
*** yamahata has joined #openstack-nova13:55
mahcan you check here please http://paste.openstack.org/show/584459/ ?13:56
*** roeyc has quit IRC13:56
*** salv-orlando has quit IRC13:57
mriedemmdbooth: still seeing swap volume fail even with your libvirt job completion fix http://logs.openstack.org/73/374373/2/check/gate-tempest-dsvm-full-ubuntu-xenial/149fe3e/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-10-04_15_54_52_07813:57
mdboothmriedem: Looking13:57
raj_singhsdague: Keystone spec to allow expired user token is up now https://review.openstack.org/#/c/381361/13:58
sahidbtw mriedem, you might be interested by ACK that one https://review.openstack.org/#/c/378560/13:58
mdboothmriedem: Which patch is that against?13:58
* mdbooth doesn't know how to wrangle the url13:58
mriedemmdbooth: https://review.openstack.org/#/c/378746/13:58
mriedemoh13:58
mdboothThanks13:58
mriedemmdbooth: this https://review.openstack.org/#/c/374373/13:59
mriedemthat's the devstack change that enables the swap volume test13:59
openstackgerritJulian proposed openstack/nova: Transform instance.power_off notifications  https://review.openstack.org/33076114:00
openstackgerritJulian proposed openstack/nova: Transform instance.snapshot notifications  https://review.openstack.org/33012814:01
mdboothmriedem: I wonder if that's the bug referred to in alex_xu's NOTE14:01
mdboothkashyap: ^^^14:01
kashyapmdbooth: Which comment are you referencing?14:02
kashyapJust catching up scroll14:02
mdboothkashyap: http://logs.openstack.org/73/374373/2/check/gate-tempest-dsvm-full-ubuntu-xenial/149fe3e/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-10-04_15_54_52_07814:02
*** alex_xu has joined #openstack-nova14:02
mriedemmdbooth: alex's NOTE?14:02
* kashyap clicks14:03
*** eharney has joined #openstack-nova14:03
openstackgerritKashyap Chamarthy proposed openstack/nova: libvirt: fix detach volume race condition  https://review.openstack.org/29051014:03
kashyapmriedem: Where is the note?14:03
mdboothalex_xu mriedem: So, IIUC (not a certainty!), that bug is saying that we can't do the resize immediately after the abort_job(pivot), because the abort is async, but shouldn't be14:03
mdboothkashyap: driver.py, line 119314:03
kashyapHmm, the dreaded "block copy still active" error14:03
mdboothHowever, it seems that we've got a call path via write_instance_config() which is failing because there's an active block job14:04
bauzasmah: are you using a templated service catalog or a DB-backed service catalog ? I'd consider TripleO using the latter (hopefully)14:04
kashyapmriedem: mdbooth Yes14:04
mriedemoh i see https://github.com/openstack/nova/blob/0f4bd241665c287e49f2d30ca79be96298217b7e/nova/virt/libvirt/driver.py#L119014:04
mdboothIf resize_to is Falsey here, we won't have done the second wait (required because of the libvirt bug)14:04
kashyapBut the referenced bug is fixed, IIRC14:04
*** TonyXu has joined #openstack-nova14:04
mdboothBut we're still poking something which expects it to have finished14:04
mahI think DB-backed service catalog, because what is inside this template not used it is temporary14:05
kashyap(Fixed in 1.2.7 & above, though.)14:05
mdboothI wonder if we should pull that wait out of the Falsey test14:05
openstackgerritVasyl Saienko proposed openstack/nova: WIP: Add portgroups support to ironic virt driver  https://review.openstack.org/38243814:05
mdboothmriedem: Right, also what kashyap says, this was fixed in upstream libvirt a while back14:05
*** pradk has joined #openstack-nova14:05
mriedemso that finally had me wondering the other day14:05
mdboothmriedem: That's my initial working theory, anyway14:05
mriedemif we failed on sometihng else and hit the finally, which fails,14:05
mriedemthen the failure from the finally block is going to overwrite the original error right?14:06
*** tbachman has joined #openstack-nova14:06
mdboothmriedem: You've exceeded my knowledge of python edge cases :)14:06
mriedembtw,14:06
mriedemhttps://github.com/openstack/nova/blob/0f4bd241665c287e49f2d30ca79be96298217b7e/nova/compute/manager.py#L493014:07
mriedemin this scenario resize_to will be false14:07
mriedembecause tempest is creating 2 basically identical volumes14:07
mdboothmriedem: Ah... you're saying that something in the try block failed, but we can't see it because we failed again14:07
mriedemmdbooth: yeah14:07
mdboothHmm, I wonder if we'd see any evidence of that anywhere14:07
mriedemso i might wrap that in a try/except of it's own14:07
mriedemor excutils.save_and_reraise_exception i mean14:08
mdboothmriedem: Gimme an hour to dig in these logs, but yeah, save_and_reraise sounds sensible14:08
*** pbandark has quit IRC14:08
mriedemok i'll push a change quick14:08
kashyapmriedem: Were you referring to this 'finally' block?14:08
kashyap        finally:14:08
kashyapself._host.write_instance_config(xml)14:08
mriedemand make the devstack patch dependent on it14:08
mriedemkashyap: yes14:08
mriedemthat's what's failing in the test14:08
mriedembut i'm wondering if something else is failing before the finally14:08
mdboothmriedem: Is it a deterministic failure, btw?14:09
sdaguemriedem: https://review.openstack.org/#/c/374373/ still seems to be failing. Real or artifact?14:09
mriedemmdbooth: nope14:09
mdbootheurgh14:09
mriedemsdague: that's what we're talking about14:09
sdaguemriedem: gotcha14:09
mdboothmriedem: However, also what I said about resize_to14:09
kashyapmriedem: mdbooth: Slight tangent - That "finally" is actually a (necessary) hack.  Why?14:09
mriedemmdbooth: sure, but we don't actually get into that resize_to block14:09
mdboothif resize_to is falsey we'll carry on without waiting for the abort to complete14:09
kashyapUp above, on lines 1178 & 1179, we're undefining the guest config14:09
mriedemmdbooth: i could add a debug log statement in the resize_to block to show if we're doing it14:09
kashyap            if guest.has_persistent_configuration():14:10
kashyapguest.delete_configuration()14:10
* mdbooth was going to look for the libvirt logs14:10
kashyapThat is also a current "trick" we're using because, copy jobs are not yet re-startable.14:10
mriedemresize_to in this case is 0 i think14:10
mdboothmriedem: In that case, I suspect that's just a bug14:10
mdboothWell, a failure to workaround a known bug :)14:11
mriedemthis is the resize_to logic in the compute manager https://github.com/openstack/nova/blob/0f4bd241665c287e49f2d30ca79be96298217b7e/nova/compute/manager.py#L4927-L493114:11
mriedemnote that we've never tested this code before :)14:11
mriedemso i'm sure it's buggy14:11
*** dims has quit IRC14:11
mdboothmriedem: Are we resizing during the swap operation?14:13
mriedemmdbooth: no14:13
mriedemthe volumes are the same size14:13
mriedemat least in the tempest test14:13
mdboothmriedem: Yeah, that just looks like a straight bug to me14:14
mdboothmriedem: Gimme a sec I'll knock up a patch to test14:14
*** links has quit IRC14:14
mriedemmdbooth: ah so you're saying we need a wait for the abort_job to finish?14:15
mdboothI think so, yes14:15
mriedemok14:15
*** jaosorior has quit IRC14:16
*** eliqiao has joined #openstack-nova14:16
kashyapmriedem: By default, the copy job keeps syncing source & destination.14:16
kashyapThere are two possible actions:14:16
mriedemmdbooth: you want to add a debug log statement in the case that we get into that resize_to block and log what the resize_to value is? and also wrap self._host.write_instance_config(xml) in the finally block in an excutils.save_and_reraise_exception?14:16
kashyap(1) Gracefully abort the sync14:17
mdboothmriedem: Sure. Just going to throw something over the fence first though, no tests.14:17
kashyap(2) "Pivot" == Which implies abort, plus, point live guest to the new copy.14:17
*** dims has joined #openstack-nova14:17
mdboothkashyap: So, if the 'pivot' is still ongoing, any idea why defineXML() would fail?14:18
openstackgerritMatthew Booth proposed openstack/nova: libvirt: Wait for abort_job to complete when not resizing  https://review.openstack.org/38244914:18
mriedemmdbooth: write it against this bug https://bugs.launchpad.net/nova/+bug/163060014:19
openstackLaunchpad bug 1630600 in OpenStack Compute (nova) "swap volume intermittently fails with "libvirtError: block copy still active: domain has active block job"" [Undecided,New]14:19
*** jianghuaw has quit IRC14:19
*** TravT has joined #openstack-nova14:19
mdboothmriedem: So ^^^ just moves the wait14:19
*** annegentle has joined #openstack-nova14:19
mdboothmriedem: Sure thing. I'll add the other things now too. Can you try running the test against ^^^ in the meantime?14:19
*** lamt has joined #openstack-nova14:20
kashyapmdbooth: Hmm, not sure.  The defineXML() should occur post-pivot.14:20
*** TravT has quit IRC14:20
mdboothkashyap: Right, but if resize_to is Falsey here, then we won't have waited for it to complete14:20
mriedemmdbooth: yup14:20
mdboothWhich would make it race.14:20
*** TravT has joined #openstack-nova14:20
*** BobBall has quit IRC14:21
mriedemsdague: welcome back btw14:21
kashyapmdbooth: How exactly are we getting the 'resize_to'?14:21
mriedemkashyap: see above14:22
mriedemkashyap: https://github.com/openstack/nova/blob/0f4bd241665c287e49f2d30ca79be96298217b7e/nova/compute/manager.py#L4927-L493114:22
mriedemkashyap: for the tempest test that comes to 014:22
mdboothkashyap: mriedem posted it above. It should be set by compute manager if we're swapping to a volume of a different size.14:22
mriedemb/c the volumes are the same size14:22
kashyapmriedem: Oh, you've pointed it out above, looking.  (/me still hungry, haven't had lunch)14:22
* mriedem hasn't had coffee14:22
mdboothkashyap: !14:22
*** ducttape_ has joined #openstack-nova14:23
kashyapmriedem: Insane, you breathe fire anyway14:23
mriedemwell i'm working on it14:23
*** Matti__ has joined #openstack-nova14:23
kashyapCoffee or not, doesn't matter :P14:23
*** eliqiao has quit IRC14:25
*** psachin has quit IRC14:28
*** eliqiao has joined #openstack-nova14:28
mdboothmriedem: Incidentally, is it safe/desirable to log connection_info?14:28
gibijaypipes: I created the burndown chart for the notification transformation as you requested. https://vntburndown-gibi.rhcloud.com/index.html14:29
mdboothsafe: does it contain credentials?14:29
mdboothdesirable: is it useful?14:29
mdboothAt DEBUG, obviously14:29
mriedemmdbooth: not safe14:29
mriedemit has creds14:29
mriedemso you'd have to use strutils.mask_password14:29
mdboothmriedem: k, thanks14:29
sdaguemriedem: thanks14:29
mdboothGot it14:30
*** hussain_c has joined #openstack-nova14:30
mriedemsdague: e-r graph is on a cron right?14:30
*** gszasz has quit IRC14:30
sdaguemriedem: yes14:30
mriedemok14:30
sdagueoh, it broke, eh?14:30
sdagueso, the problem with that is all the logs are inexcessible to all the devs14:31
*** rodrigods has quit IRC14:32
*** rodrigods has joined #openstack-nova14:32
*** adisky has quit IRC14:32
*** akshai has quit IRC14:33
*** gszasz has joined #openstack-nova14:33
mriedemsdague: ah there we go it just refreshed http://status.openstack.org//elastic-recheck/index.html14:34
mriedemanteaya: ^14:35
*** baoli_ has quit IRC14:35
*** moshele has joined #openstack-nova14:35
anteayamriedem: thanks, and yay!14:35
*** hieulq__ has quit IRC14:35
mriedemsdague: yeah, clarkb gave a paste but i was able to recreate the failure locally yesterday14:35
mriedemsdague: so i just self-approved the workaround https://review.openstack.org/#/c/382049/14:35
mriedemnot sure that's the right long term solution but it'd been busted since 9/2914:35
sdaguemriedem: oh, right, so something is failing on the ts parsing14:36
mriedemthe timestamp value was too big so ES didn't send it back14:36
mriedemthe trace is in the bug report14:36
mriedemso the data list was [] and we assumed it had a value14:36
mriedemso IndexError14:36
sdaguegotcha14:36
kashyapmriedem: Ah, this race is only uncovered now because _swap_volume() Tempest test is enabled...14:37
*** moshele has quit IRC14:38
*** Matti__ has quit IRC14:38
*** esberglu has quit IRC14:38
*** edmondsw has quit IRC14:38
*** cleong has quit IRC14:38
*** maticue has quit IRC14:38
*** pjm6_ has quit IRC14:38
*** mkoderer has quit IRC14:38
*** hogepodge has quit IRC14:38
*** tesseract- has quit IRC14:38
*** mjura has quit IRC14:38
*** sandanar has quit IRC14:38
*** narayrak has quit IRC14:38
*** rfolco has quit IRC14:38
*** diana-test has quit IRC14:38
*** jdillaman1 has quit IRC14:38
*** ducnc has quit IRC14:38
*** jed56 has quit IRC14:38
*** artom has quit IRC14:38
*** clenimar has quit IRC14:38
*** davidlenwell has quit IRC14:38
*** gabor_antal has quit IRC14:38
*** ejat has quit IRC14:38
*** mugsie has quit IRC14:38
*** anthonyper has quit IRC14:38
*** kwathore has quit IRC14:38
*** mugsie has joined #openstack-nova14:39
*** pjm6 has joined #openstack-nova14:39
*** esberglu has joined #openstack-nova14:39
*** Matti__ has joined #openstack-nova14:39
*** edmondsw has joined #openstack-nova14:39
*** rfolco has joined #openstack-nova14:39
*** kwathore has joined #openstack-nova14:39
*** mjura has joined #openstack-nova14:39
*** diana-test has joined #openstack-nova14:39
*** maticue has joined #openstack-nova14:39
*** artom has joined #openstack-nova14:39
*** gabor_antal has joined #openstack-nova14:39
*** clenimar has joined #openstack-nova14:39
*** jdillaman1 has joined #openstack-nova14:39
*** sandanar has joined #openstack-nova14:39
*** narayrak has joined #openstack-nova14:39
*** anthonyper has joined #openstack-nova14:39
*** hogepodge has joined #openstack-nova14:39
*** ducnc has joined #openstack-nova14:39
*** bnemec has quit IRC14:39
*** tesseract- has joined #openstack-nova14:39
*** dharinic|pto is now known as dharinic14:39
*** ejat has joined #openstack-nova14:40
*** ejat has joined #openstack-nova14:40
*** davidlenwell has joined #openstack-nova14:40
*** alexchad_ has joined #openstack-nova14:40
*** mkoderer has joined #openstack-nova14:40
mriedemkashyap: yes14:40
*** burgerk has joined #openstack-nova14:40
mriedemi've always hated swap_volume b/c it's not tested14:40
mriedemso was loathe to approve changes to it14:40
kashyapYeah, I was just about to complain14:40
kashyapIt's riddled with caveats & hedges that you have to carefully go through14:41
*** akshai has joined #openstack-nova14:41
*** DuncanT has quit IRC14:41
*** cleong has joined #openstack-nova14:42
pkoniszewskimriedem: hi, I just proposed a chain to implement test that will LM VMs back and forth, https://review.openstack.org/#/c/382456/ -> https://review.openstack.org/#/c/382451/ -> https://review.openstack.org/#/c/379638/14:42
*** akshai has quit IRC14:42
*** artom has quit IRC14:42
mriedempkoniszewski: yeah did you see my -1 on the devstack change?14:43
mriedemoh i see you updated it14:43
jaypipesgibi: awesome, thanks!14:43
mriedemcool14:43
*** jed56 has joined #openstack-nova14:43
pkoniszewskimriedem: yeah, did wrong dependency chain14:44
*** bnemec has joined #openstack-nova14:44
*** akshai has joined #openstack-nova14:44
mdboothQuestion for anybody: calling save_and_reraise_exception() from a finally block where we may or may not be in exception context.14:44
mdboothLooks to me like that will fail.14:44
*** penick has quit IRC14:44
mdboothI can obviously hack round this in any number of ways, but is anybody aware of a quick, clean way?14:45
mdboothThis can't be the first time somebody has wanted to do this14:45
*** david-lyle has joined #openstack-nova14:45
mriedempkoniszewski: i think the dep chain is still wrong14:45
mriedemd-g > devstack > tempest14:45
mriedemmdbooth: maybe just use a simple try/except in the finally block14:46
mriedemalthough, if that fails we want to reraise14:46
mdboothThat's one way, but I still need to save the exception myself14:46
mdboothright...14:46
mriedembut we want to raise the original exception if there was one14:46
mriedemhmm14:46
mdboothI can do it, just wondering if there's an existing pattern to follow14:47
mriedemmdbooth: so,14:47
*** kfarr has joined #openstack-nova14:47
mriedemwell,14:47
*** DuncanT has joined #openstack-nova14:47
mdboothAh, wait14:47
mdboothif exc_type is not None...14:47
mriedemwas going to say, change the finally to an except block and use the save_and_reraise_exception in there14:47
mriedemi assume the context manager just noops?14:47
mdboothI think it might just work anyway14:47
*** artom has joined #openstack-nova14:48
mriedemmdbooth: https://github.com/openstack/oslo.utils/blob/3.16.0/oslo_utils/excutils.py#L19414:48
*** Swami has joined #openstack-nova14:48
mriedemi think it'll fail14:48
mdboothmriedem:  I think I can pass (reraise=False)14:49
mdboothErr, then it will never reraise14:49
mdboothThat's undesirable14:49
*** yamahata has quit IRC14:49
mriedemright14:49
mriedemso,14:49
mriedemhowever about we just have both an except and finally?14:49
*** yamahata has joined #openstack-nova14:49
mriedemdoes calling that method even matter if we fail?14:50
mdboothYes14:50
mdboothSo, you can't rebase a persistent domain14:50
mdboothSo we temporarily undefine the domain14:50
mdboothWe need it to be persisten again afterwards, even if it fails14:51
* mdbooth notes that this is also undesirable14:51
mriedemmdbooth: use sys.exc_info()?14:51
mdboothSomething to do with the semantics of rebase not being restartable iirc.14:51
pkoniszewskimriedem: hope this one is correct, tempest change is the first patch14:51
mdboothmriedem: I'll hack something up :)14:52
mriedemexc_info = sys.exc_info()14:52
mriedemsix.reraise(*exc_info)14:52
mriedemreraise if the exc_info tuple values are not None14:53
*** david-lyle has quit IRC14:54
*** lpetrut has quit IRC14:55
*** david-lyle has joined #openstack-nova15:00
*** Matti__ has quit IRC15:00
*** Matti_ has quit IRC15:00
*** gszasz has quit IRC15:00
*** jistr is now known as jistr|call15:01
mriedempkoniszewski: raj_singh: the tempest config option isn't defined in this change.. https://review.openstack.org/#/c/379638/15:02
*** claudiub has quit IRC15:03
mriedemmdbooth: btw, the devstack patch to test swap volume is updated with a depends on your fix15:04
mdboothmriedem: Cool. Are you going to spam it with rechecks a few times?15:05
*** jlanoux has quit IRC15:05
openstackgerritSergey Nikitin proposed openstack/nova-specs: Restore V3 Diagnostics info  https://review.openstack.org/35788415:05
mdboothI'm going to update it, but the core change will remain the same.15:05
*** mjura has quit IRC15:05
openstackgerritMarkus Zoeller (markus_z) proposed openstack/nova: libvirt: virtlogd: use virtlogd for char devices  https://review.openstack.org/32376515:09
openstackgerritMarkus Zoeller (markus_z) proposed openstack/nova: libvirt: remove py26 compat code in "get_console_output"  https://review.openstack.org/33448015:09
*** Matti__ has joined #openstack-nova15:10
*** oanson has quit IRC15:11
*** cdent has joined #openstack-nova15:11
*** rcernin has quit IRC15:12
mdboothmriedem: Can you confirm, btw, that the host this is running on has libvirt <1.2.7 ?15:12
sfinucanwznoinsk: Does the Intel PCI CI do SR-IOV testing?15:12
sfinucanIf not, what does it do? :)15:12
*** stewie925 has joined #openstack-nova15:12
*** gszasz has joined #openstack-nova15:12
mdboothBecause if it's libvirt >= 1.2.7 this should be fixed, and we might be looking in the wrong place.15:12
*** pcaruana has quit IRC15:13
kashyapmdbooth: Yes, but I presume we're using 1.2.5?  I'm also curious what comes iwth 1.2.715:13
*** jistr|call is now known as jistr15:13
mdboothhttps://bugzilla.redhat.com/show_bug.cgi?id=111917315:13
openstackbugzilla.redhat.com bug 1119173 in libvirt "The default behavor of abort block job with pivot flag isn't sync" [Unspecified,Closed: nextrelease] - Assigned to eblake15:13
mriedemmdbooth: host would be 1.3.1 i think15:14
mriedemmdbooth: yeah it's a xenial job so it's libvirt 1.3.1 http://logs.openstack.org/73/374373/2/check/gate-tempest-dsvm-full-ubuntu-xenial/149fe3e/logs/dpkg-l.txt.gz15:14
*** salv-orl_ has quit IRC15:15
mdboothmriedem: In that case we might have the wrong root cause.15:15
*** hshiina has quit IRC15:15
mdboothmriedem: Meh, I still think this is a bug. Lets get it out of the way and see what's left.15:15
*** ijw has joined #openstack-nova15:16
*** armax has joined #openstack-nova15:17
mdboothOf course, it could just change the timing and fix it by coincidence :/15:17
*** hieulq__ has joined #openstack-nova15:18
mdboothmriedem: In that case, I suspect your exception in the try block theory.15:19
kashyapmdbooth: Still, as you noted -- if the definXML() is issued _while_ the pivot is happening the race could still be there15:19
*** rrecio has joined #openstack-nova15:20
*** rrecio has quit IRC15:20
kashyapAnd, heh, yes, it appears "fix it by coincidence" is how _swap_volume() manages to stays alive :-)15:21
*** rrecio has joined #openstack-nova15:21
*** Matti__ has quit IRC15:21
*** diogogmt has joined #openstack-nova15:22
wznoinsksfinucan: it does use SRIOV nic for passthru: http://52.27.155.124/pci/295315/13/console_status.log.gz15:22
wznoinskif that's what you're asking15:23
*** tesseract- has quit IRC15:24
*** code-R has quit IRC15:25
openstackgerritStephen Finucane proposed openstack/nova-specs: Reserve NUMA nodes with PCI devices attached  https://review.openstack.org/36446815:25
sfinucanwznoinsk: Sure is15:25
*** code-R has joined #openstack-nova15:25
sfinucanand these are direct passthrough only, i.e. neutron isn't used?15:26
*** david-lyle has quit IRC15:26
openstackgerritMatthew Booth proposed openstack/nova: libvirt: Wait for abort_job to complete when not resizing  https://review.openstack.org/38244915:27
*** andreas_s has quit IRC15:27
wznoinsksfinucan: correct, no neutron: http://52.27.155.124/pci/295315/13/screen-logs/, it's 'normal' vnic_type15:29
*** bvanhav has quit IRC15:31
*** vishwanathj has joined #openstack-nova15:31
*** david-lyle has joined #openstack-nova15:32
*** peter-hamilton has joined #openstack-nova15:33
*** lucasagomes is now known as lucas-hungry15:35
*** eglynn has joined #openstack-nova15:36
*** jaosorior has joined #openstack-nova15:37
*** Matti__ has joined #openstack-nova15:37
*** jlanoux has joined #openstack-nova15:37
*** gouthamr has quit IRC15:38
*** Matti_ has joined #openstack-nova15:38
*** sudipto has joined #openstack-nova15:38
*** sudswas__ has joined #openstack-nova15:38
*** baoli has joined #openstack-nova15:39
wznoinsksfinucan: actually sorry, got confused, it does pass the VFs as hostdev'ices http://52.27.155.124/pci/295315/13/screen-logs/n-cpu.log.2016-09-02-204034.gz (look for address bus="0x04"), matches bus of the VFs listed here http://52.27.155.124/pci/295315/13/console_status.log.gz15:40
*** rama_y has joined #openstack-nova15:40
*** zenoway has joined #openstack-nova15:41
*** pbandark has joined #openstack-nova15:41
*** Matti__ has quit IRC15:41
*** paul-carlton2 has quit IRC15:42
*** jlanoux_ has joined #openstack-nova15:42
*** zhenguo has quit IRC15:43
raj_singhmriedem: https://review.openstack.org/#/c/37963815:43
jlkmdbooth: it's been suggested that you might have run across something I'm seeing, where an instance is booted from a snapshot (the snapshot is quite large) and seems to immediately copy-on-write the entire space of the snapshot, leaving us with an instance that is consuming 2x the on-disk size as the flavor states, and having both the file in _base and in instances/<UUID> held open by libvirt. Have you ran into anything like this?15:44
mdboothjlk: Is this the same bug as with shelve?15:45
jlkI don't know what that bug is.15:45
*** jlanoux has quit IRC15:45
*** salv-orlando has joined #openstack-nova15:45
jlkI'm actually not even sure this is a "bug" per se, or just a quirk of this customer's snapshot contents and instance contents (it's windows)15:45
*** gouthamr has joined #openstack-nova15:45
mdboothjlk: This sounds like a bug I reported against shelve.15:45
mdboothjlk: I don't have the cycles to double check right now, but iirc...15:46
mriedemraj_singh: commented15:46
jlkI'm happy to plow through it15:46
mdboothIf you're using qcow2, we download the snapshot from glance15:47
*** bvanhav has joined #openstack-nova15:47
mdboothThe snapshot is flattened, i.e. it contains both the original image and the overlay (modifications)15:47
mdboothSo it's the same size as the image15:47
*** Swami has quit IRC15:47
mdboothFor shelve, at least, this is written to _base, and we create a new overlay on top of that in the instance directory15:48
raj_singhmriedem: Thx, uploading another patch set15:48
mdboothSo you've immediately duplicated your original image data15:48
jlknod15:49
mdboothAnd over time you'll duplicate it again in the instance dir as the disk diverges from the original.15:49
jlkwhat I've tested on a linux image, it appears with our setting we download the snapshot to _base, fallocate it to the size of the flavor disk, then create an overlay file in the instance path that is tiny to start with.15:49
*** hieulq__ has quit IRC15:49
mdboothIf it's the same bug with snapshot, that's going to be pretty hard to solve, though15:49
mdboothIt's architectural.15:49
mdboothThe fallocate is irrelevant, but yeah.15:50
mdboothWe need to store different data in glance.15:50
jlkI only mention it because in my test case, the VM flavor was 80G, but the image itself was 1.2g15:50
mdboothNot a one-liner :)15:50
jlk(snapshot)15:50
jlkbut I think in my customer's case, the snapshot image is a full 300~ gigs15:51
mdboothThat code is so stupid...15:51
*** annegentle has quit IRC15:51
mdbooths/stupid/crufty/15:51
jlkit's twisty15:51
mdboothYup, *very* hard to understand fully15:51
mdboothMy personal working set frequently isn't quite big enough, and bits fall out the end while I'm still loading them at the beginning.15:52
*** annegentle has joined #openstack-nova15:52
jlklol15:53
mdboothjlk: So the fallocate is likely a separate bug, tbh.15:53
*** gouthamr has quit IRC15:53
*** david-lyle has quit IRC15:53
*** sudipto has quit IRC15:53
*** sudswas__ has quit IRC15:53
jlkit's a config item we have turned on15:53
mdboothI can't think why we'd fallocate anything in the image cache.15:53
jlkallocate_image = space15:54
jlkbut yeah I don't know why it allocates that in the _base path15:54
*** gouthamr has joined #openstack-nova15:54
*** Matti__ has joined #openstack-nova15:54
*** sandanar has quit IRC15:54
jlksince who knows what other flavors will boot from that cache15:54
*** matrohon has quit IRC15:54
*** kfarr_ has joined #openstack-nova15:54
jlkour goal with that was to make sure that an instance's flavor's disk reservation is accounted for, and couldn't get overcommitted and run out when one instance  starts writing a lot15:55
openstackgerritMarkus Zoeller (markus_z) proposed openstack/nova-specs: libvirt: Move spec "libvirt-virtlogd" from Newton to Ocata  https://review.openstack.org/38252615:55
*** ducttape_ has quit IRC15:56
*** kfarr has quit IRC15:56
*** code-R_ has joined #openstack-nova15:57
*** mdrabe has quit IRC15:57
jlkI just wish I knew what was going on with the customer's instance so that the copy on write "savings" weren't lost.15:57
openstackgerritMarkus Zoeller (markus_z) proposed openstack/nova-specs: libvirt: Move spec "libvirt-virtlogd" from Newton to Ocata  https://review.openstack.org/38252615:58
*** Sukhdev_ has joined #openstack-nova15:59
*** ducttape_ has joined #openstack-nova15:59
jaypipesmriedem, sdague: have you guys noticed a particular issue in check/gate jobs about secgroups/networks/subnets already in use? I'm looking in logstash e-r with the query message:"An object with that identifier already exists" and seeing hundreds of results, but I see no bug in launchpad for it.16:00
*** code-R has quit IRC16:00
*** claudiub has joined #openstack-nova16:00
*** markus_z has quit IRC16:00
*** kfarr_ has quit IRC16:00
*** rrecio_ has joined #openstack-nova16:00
*** kfarr has joined #openstack-nova16:01
*** mdrabe has joined #openstack-nova16:01
mdboothkashyap mriedem: I've been meditating on those logs and came across this:16:01
mdbooth2016-10-04 15:54:52.076+0000: 30555: error : qemuDomainBlockPivot:16137 : block16:02
mdboothcopy still active: disk 'vdb' not ready for pivot yet16:02
*** ducttape_ has quit IRC16:02
mdboothI wonder if we've got a race calling abort_job()16:02
mdboothImmediately before that, I see:16:02
mdbooth2016-10-04 15:54:52.075+0000: 30550: info : qemuMonitorIOProcess:423 :16:03
mdboothQEMU_MONITOR_IO_PROCESS: mon=0x7fa43000ee60 buf={"return": [{"io-status": "ok",16:03
mdbooth"device": "drive-virtio-disk1", "busy": true, "len": 1073741824, "offset":16:03
mdbooth1073741824, "paused": false, "speed": 0, "ready": false, "type": "mirror"}],16:03
mdbooth"id": "libvirt-34"}16:03
mdboothSo immediately before that, BlockJobInfo has return cur==end16:03
mdboothsignalling the mirror phase is complete16:03
mdboothBut then we fail to pivot...16:03
*** rrecio has quit IRC16:04
mriedemjaypipes: link?16:04
*** stewie925 has quit IRC16:04
mriedemmdbooth: so we thought we were complete but the disk isn't ready for pivot yet16:05
mriedemthat's fun16:05
mdboothmriedem: CAVEAT: I'm not familiar with this functionality :)16:05
mdboothHowever, that's how it looks16:05
jaypipesmriedem: here's an example of the failure: http://logs.openstack.org/00/382000/2/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/07e5243/console.html16:06
*** Sukhdev_ has quit IRC16:06
mriedemmdbooth: and we don't get that libvirtError b/c we're swallowing the original exception16:06
mdboothJust reading the BlockJobAbort api16:06
*** baoli has quit IRC16:06
mdboothmriedem: boom!16:06
mriedemfun16:06
jaypipesmriedem: I don't know how to get the URL for an e-r query. If I change the query in logstash/kibana, the URL doesn't change :(16:06
mriedemseems like a libvirt bug16:06
mdboothEither that, or we're abusing the api16:06
mdboothBut at first glance, yeah16:06
mriedemjaypipes: so this? http://logs.openstack.org/00/382000/2/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/07e5243/logs/screen-n-api.txt.gz?level=TRACE#_2016-10-05_14_35_04_33316:07
mriedemdeadlock city http://logs.openstack.org/00/382000/2/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/07e5243/logs/screen-q-svc.txt.gz?level=TRACE16:08
*** suresh12 has joined #openstack-nova16:09
jaypipesmriedem: ah, good spot. is this something you've seen a lot recently?16:09
mriedemmaybe16:09
*** code-R_ has quit IRC16:09
mriedemi was looking for something a week or two ago like this and got lost in the neutron logs16:09
*** Apoorva has joined #openstack-nova16:10
mriedemwell let me fire up logstash16:10
*** mvk has quit IRC16:11
*** ssl329 has joined #openstack-nova16:11
mriedemjaypipes: btw the conflicts in http://logs.openstack.org/00/382000/2/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/07e5243/console.html are just failures on teardown16:12
mriedemteardown vomiting because something went crazy in the test16:12
mriedemchecking syslog and dstat around 14:35:04.33316:13
mriedemfwiw it doesn't look like a recent regression16:14
*** Apoorva has quit IRC16:14
ssl329not sure if this is the right channel to ask.. I'm testing nova+ironic, I use "nove boot" to create baremetal instance. i tried to pass files over to the baremetal instance using "nova boot" with "--file" option, however, it doesn't seem to works (no file is sent)... is this supported? of any additional parameters that I need to change at nova.conf/ironic.conf?16:14
mriedemit's barfing since we're doing our super expensive proxy call to build the list of security groups when doing a server show16:14
*** ihrachys has quit IRC16:15
*** suresh12_ has joined #openstack-nova16:17
*** suresh12 has quit IRC16:17
mdboothmriedem: I have to head out. Sounds like we need to do some more liasing with the libvirt folks, which is kashyap's forte. I'll catch up with him in the morning.16:17
mriedemjaypipes: hmm, logstash is showing 9/2716:17
mriedemwhen it starts16:17
mriedemwhich is < 10 days of the logs we keep16:17
mriedemjaypipes: i wonder if the TLS stuff went in on 9/2716:18
mriedemmtreinish: ^ do you remember?16:18
* kashyap reads scrollback16:18
*** haplo37_ has quit IRC16:18
mriedemyeah https://review.openstack.org/#/c/375776/16:18
mdboothkashyap: Looks like BlockJobInfo returned cur==end, then the pivot failed with:16:18
mtreinishmriedem: that sounds about the right timing16:18
mriedemmtreinish: jaypipes: ^16:18
mdbooth2016-10-04 15:54:52.076+0000: 30555: error : qemuDomainBlockPivot:16137 : block16:18
mdboothcopy still active: disk 'vdb' not ready for pivot yet16:18
mdboothLook in the libvirt logs for the job mriedem originally linked.16:19
mdboothYou can see the BlockJobInfo just before it16:19
mdboothI just read the docs for rebase(), which suggests we're correctly assuming we can pivot at this stage16:19
kashyapmdbooth: Yeah, will do.  I actually have to go bring some groceries befor the store is closed.  Be back in a bit16:19
kashyapmdbooth: Yes, once cur == end16:19
openstackgerritDrew Thorstensen (thorst) proposed openstack/nova-specs: PowerVM Initial Driver Work  https://review.openstack.org/38177216:20
mdboothBut I'm wondering if there might be a race in there, perhaps if something is still writing to the source?16:20
kashyapPivot is definitely a valid operation16:20
* kashyap looks for 'len' / 'offset' values in the logs16:20
kashyapmdbooth:  "ready": false -- means the operation is still in progress16:20
mdboothkashyap: You can see it almost immediately above16:20
*** haplo37_ has joined #openstack-nova16:21
*** nic has joined #openstack-nova16:21
mdboothkashyap: Ooh, that's interesting. We're not looking for that at all.16:21
kashyapmdbooth: Right...is there an event?  /me looks16:21
mdbooth"io-status": "ok",16:21
mdbooth"device": "drive-virtio-disk1", "busy": true, "len": 1073741824, "offset":16:21
mdbooth1073741824, "paused": false, "speed": 0, "ready": false, "type": "mirror"16:21
mdboothThere's no event that I can see16:21
kashyapmdbooth: Can you quickly paste the log URL please?16:22
mdboothWhy why would len==offset and ready==false?16:22
mdboothhttp://logs.openstack.org/73/374373/2/check/gate-tempest-dsvm-full-ubuntu-xenial/149fe3e/logs/libvirt/libvirtd.txt.gz16:22
mdboothI downloaded them.16:22
kashyapmdbooth: If len == offset, and if we get BLOCK_JOB_COMPLETED event, then we're good.16:22
* kashyap brings an interesting commit message for mdbooth 16:22
mdboothWe get len == offset, but *no* BLOCK_JOB_COMPLETED16:23
mriedemjaypipes: https://bugs.launchpad.net/nova/+bug/163066416:23
openstackLaunchpad bug 1630664 in OpenStack Compute (nova) "Intermittent failure in n-api connecting to neutron to list ports after TLS was enabled in CI" [Undecided,New]16:23
mdboothkashyap: Anyway, I had to leave 5 mins ago. Catch up in the morning.16:23
kashyapmdbooth: Here's something you'll surely not find boring -- http://libvirt.org/git/?p=libvirt.git;a=commit;h=eae592416:23
*** rrecio has joined #openstack-nova16:23
kashyapSure.  I too have to run in a few, urgent errands.  But will check in a bit16:24
mdboothkashyap: That looks *exactly* like what we're seeing here16:24
kashyap "Few parts of the code looked at the current progress of and assumed that a two phase blockjob is in the _READY state as soon as the progress reached 100% (info.cur == info.end). In current versions of qemu this assumption is invalid and qemu exposes a new flag 'ready' in the query-block-jobs output that is set to true if the job is actually finished."16:24
mdboothEurgh, we should really move to processing those events :/16:25
kashyapmdbooth: :-)16:25
* mdbooth really really runs this time16:25
kashyap`git tag --contains eae5924` says16:25
mdboothlaters16:25
kashyapWe need at least 1.2.1816:25
kashyap(To take advantage of that "ready: true)16:25
*** woodster_ has joined #openstack-nova16:26
*** rrecio_ has quit IRC16:26
*** nkrinner is now known as nkrinner_afk16:27
*** ayoung has joined #openstack-nova16:28
*** ducttape_ has joined #openstack-nova16:31
*** stewie925 has joined #openstack-nova16:31
*** mdrabe has quit IRC16:31
*** mdrabe has joined #openstack-nova16:31
*** unicell1 has joined #openstack-nova16:32
*** raunak has joined #openstack-nova16:33
*** raunak has quit IRC16:33
*** ociuhandu has quit IRC16:33
*** unicell has quit IRC16:33
*** gus_ is now known as gus16:33
*** raunak has joined #openstack-nova16:34
*** lucas-hungry is now known as lucasagomes16:35
*** ducttape_ has quit IRC16:35
*** sahid has quit IRC16:36
*** suresh12_ has quit IRC16:37
openstackgerritSTEW TY proposed openstack/nova: Transform instance.resume notifications  https://review.openstack.org/37578416:38
*** jlanoux_ has quit IRC16:39
*** annegentle has quit IRC16:41
*** jaosorior has quit IRC16:42
openstackgerritDrew Thorstensen (thorst) proposed openstack/nova-specs: PowerVM Initial Driver Work  https://review.openstack.org/38177216:43
*** yamahata has quit IRC16:44
*** suresh12 has joined #openstack-nova16:44
*** krypto has joined #openstack-nova16:45
*** unicell1 has quit IRC16:46
*** claudiub has quit IRC16:47
openstackgerritSTEW TY proposed openstack/nova: Transform instance.unshelve notifications  https://review.openstack.org/38256516:49
*** hehx has quit IRC16:49
*** Matti__ has quit IRC16:50
*** Matti_ has quit IRC16:50
*** david-lyle has joined #openstack-nova16:52
*** Apoorva has joined #openstack-nova16:53
*** yonglihe has quit IRC16:55
*** lucasagomes is now known as lucas-brb16:55
openstackgerritAndrew Laski proposed openstack/nova: Remove unnecessary credential sanitation for logging  https://review.openstack.org/38257116:56
*** gszasz has quit IRC16:59
*** narayrak has quit IRC16:59
*** tejasvi has joined #openstack-nova17:00
mriedemjaypipes: sdague: johnthetubaguy: https://hangouts.google.com/hangouts/_/calendar/bWF0dHJpZWQyMkBnbWFpbC5jb20.5hegb2ek1bfjdh34e985i7lndg?authuser=017:00
*** derekh has quit IRC17:01
jaypipesmriedem: ty sir.17:01
johnthetubaguymriedem: be with you in a sec, finishing up another meeting17:01
*** hehx has joined #openstack-nova17:01
*** tblakes has quit IRC17:04
*** jed56 has quit IRC17:05
*** tjones has joined #openstack-nova17:05
*** kfarr has quit IRC17:06
*** tejasvi has left #openstack-nova17:06
*** paul-carlton2 has joined #openstack-nova17:09
*** mkoderer has quit IRC17:09
*** lucas-brb is now known as lucasagomes17:11
*** AJaeger has joined #openstack-nova17:11
AJaegernova team, could you review https://review.openstack.org/379962 , please? This fixes an integration test of nova and olso that runs as periodic job every day.17:12
AJaegerIf there's no interest in that job, tell me and we stop it...17:12
*** alexchad_ has quit IRC17:12
oomichiAJaeger: thanks, +217:14
*** suresh12 has quit IRC17:15
*** baoli has joined #openstack-nova17:18
*** amotoki has quit IRC17:21
AJaegerthanks, oomichi.17:21
*** unicell has joined #openstack-nova17:21
*** yamahata has joined #openstack-nova17:22
*** mgoddard has quit IRC17:23
*** rrecio has quit IRC17:24
*** rrecio has joined #openstack-nova17:25
*** mvk has joined #openstack-nova17:25
*** cleong has quit IRC17:27
*** claudiub has joined #openstack-nova17:27
AJaegerthanks, melwitt !17:28
*** AJaeger has left #openstack-nova17:28
*** rrecio has quit IRC17:29
*** browne has joined #openstack-nova17:30
*** Swami has joined #openstack-nova17:30
openstackgerritgreghaynes proposed openstack/nova: Make api-paste.ini part of python module  https://review.openstack.org/38258217:30
*** pbandark has quit IRC17:30
openstackgerritgreghaynes proposed openstack/nova: Make api-paste.ini part of python module  https://review.openstack.org/38258217:31
*** rrecio has joined #openstack-nova17:31
*** ducttape_ has joined #openstack-nova17:31
*** ihrachys has joined #openstack-nova17:32
*** yamahata has quit IRC17:34
*** jichen_ has joined #openstack-nova17:34
*** Matti_ has joined #openstack-nova17:35
*** hemanthm is now known as hemanthm|lunch17:36
*** jichen has quit IRC17:36
*** jichen_ is now known as jichen17:36
*** ducttape_ has quit IRC17:36
*** lpetrut has joined #openstack-nova17:37
*** dikonoor has joined #openstack-nova17:37
*** gouthamr has quit IRC17:41
*** ociuhandu has joined #openstack-nova17:42
*** haplo37 has quit IRC17:43
*** haplo37 has joined #openstack-nova17:44
*** artom has quit IRC17:45
*** karthiks has quit IRC17:46
*** lpetrut has quit IRC17:46
*** artom has joined #openstack-nova17:46
openstackgerritDivya K Konoor proposed openstack/nova-specs: Allow admin users to pass key_name corresponding to another user and deploy a VM successfully  https://review.openstack.org/38258817:53
*** cmartin has quit IRC17:54
*** moshele has joined #openstack-nova17:54
*** ihrachys has quit IRC17:54
*** suresh12 has joined #openstack-nova17:57
*** hemanthm|lunch is now known as hemanthm17:58
*** Apoorva_ has joined #openstack-nova17:59
*** zenoway has quit IRC18:00
*** cmartin has joined #openstack-nova18:00
*** zenoway has joined #openstack-nova18:01
*** prometheanfire has joined #openstack-nova18:01
prometheanfireData migrations for PciDevice are not safe, likely because not all services that access the DB directly are updated to the latest version18:01
*** lpetrut has joined #openstack-nova18:01
prometheanfireI'm not sure why that is showing up when everything is updated18:02
*** ihrachys has joined #openstack-nova18:02
*** Apoorva has quit IRC18:02
*** bvanhav has quit IRC18:03
*** yamahata has joined #openstack-nova18:04
dansmithprometheanfire: it means you have some service records that are still old18:04
*** moshele has quit IRC18:04
dansmithprometheanfire: do you have some services marked as down?18:04
*** mtanino has quit IRC18:04
*** zenoway has quit IRC18:05
prometheanfirenope18:05
prometheanfirechecked that18:06
prometheanfirenone that are missing either18:06
*** gouthamr has joined #openstack-nova18:06
dansmithprometheanfire: can you look at the versions in the services table?18:07
prometheanfireya, gimme a sec18:07
openstackgerritDivya K Konoor proposed openstack/nova-specs: Allow admin users to pass key_name corresponding to another user and deploy a VM successfully  https://review.openstack.org/38258818:09
prometheanfireI do have two services not at version 15, one is nova-network, which is deleted and the other is nova-compute on one of my upgraded nodes18:10
dansmithso that's why18:10
prometheanfireya18:10
prometheanfireI don't know what I need to do to correct nova-compute on the upgraded node18:10
prometheanfiresimply starting the service didn't work?18:11
dansmithprometheanfire: starting the service will do it18:11
*** slaweq_ has quit IRC18:11
prometheanfirewell, it's started and running18:11
prometheanfireand still the old version18:11
* prometheanfire goes to figure out why the update package didn't install18:12
dansmith:)18:12
*** ssl329 has quit IRC18:12
*** tblakes has joined #openstack-nova18:13
dansmithprometheanfire: the deleted one *should* be ignored. If not, please do let me know as that'd be a bug18:13
prometheanfirek18:14
* prometheanfire probably has the oldest postgres backed cloud, so, useful for testing long term cleanup and stuff18:15
prometheanfiremay not be the oldest, but grizzly at least18:15
*** slaweq_ has joined #openstack-nova18:15
openstackgerritDivya K Konoor proposed openstack/nova-specs: Allow admin users to pass key_name corresponding to another user and deploy a VM successfully  https://review.openstack.org/38258818:16
*** thorst is now known as thorst_afk18:17
*** ducttape_ has joined #openstack-nova18:18
mriedemjaypipes: you might like to read #openstack-meeting right now18:19
mriedemdansmith: ^18:19
openstackgerritDivya K Konoor proposed openstack/nova-specs: Allow admin users to pass key_name corresponding to another user and deploy a VM successfully  https://review.openstack.org/38258818:21
*** salv-orlando has quit IRC18:22
*** bvanhav has joined #openstack-nova18:22
*** moshele has joined #openstack-nova18:22
*** slaweq_ has quit IRC18:23
*** Matti_ has quit IRC18:23
*** david-lyle has quit IRC18:25
openstackgerritVasyl Saienko proposed openstack/nova: Testing DROP SERVICE_HOST patch  https://review.openstack.org/34356918:29
cburgessWhat is gluon?18:29
raj_singhcburgess: https://wiki.openstack.org/wiki/Gluon18:30
openstackgerritChris Dent proposed openstack/nova: A demo script for updating resource inventory  https://review.openstack.org/38261318:30
mriedemcburgess: also https://www.openstack.org/videos/video/gluon-an-enabler-for-nfv18:30
cburgessthanks18:31
*** campee has joined #openstack-nova18:31
dansmithcburgess: it's like when you have two things that aren't compatible or related, but you glue one onto the other via abusing some interface of one to accomplish your goal18:33
dansmiththink of it as "glue-on" and it makes more sense18:34
* dansmith runs18:34
cburgessdansmith You really are grumpy old man. :)18:34
dansmithheh18:34
*** dikonoor has quit IRC18:34
*** code-R has joined #openstack-nova18:35
*** annegentle has joined #openstack-nova18:36
auggyi'm amazed it isn't written in perl!18:37
*** code-R_ has joined #openstack-nova18:38
cburgessOuch burn18:39
auggyi didn't mean it as a burn!18:39
* auggy <3's perl18:40
auggyi've written a lot of code to "glue" api's together in perl, it's pretty good at that18:40
cburgessYeah I've done that too18:41
cburgessI wrote a whole CMS in perl once.18:41
auggyomg ME TOO18:41
cburgessWell I worked on one that was written in perl.18:41
*** code-R has quit IRC18:41
cburgessI didn't actually write it.18:41
auggymine glued together oracle, filemaker pro, and mysql18:41
cburgessrmk did18:41
auggythat was a thing for awhile i think, people wanted to roll their own CMS18:42
*** TravT has quit IRC18:43
auggyoh whoops i was thinking CRM18:43
jlkCMS, CRM, CMDB, they're all mostly the same..18:43
auggythat's what i did in perl18:43
auggyhahaha18:43
auggyCMDB is just horrible18:43
cdentSometimes I miss perl, but then I don't.18:45
*** claudiub has quit IRC18:45
*** thorst_afk is now known as thorst_18:45
*** narayrak has joined #openstack-nova18:46
*** eglynn has quit IRC18:49
*** narayrak has quit IRC18:51
*** ducttape_ has quit IRC18:51
*** narayrak has joined #openstack-nova18:51
*** Sukhdev has joined #openstack-nova18:51
*** ducttape_ has joined #openstack-nova18:52
*** haplo37_ has quit IRC18:53
*** annegentle has quit IRC18:53
*** haplo37_ has joined #openstack-nova18:56
*** code-R_ has quit IRC18:56
*** code-R has joined #openstack-nova18:56
*** Apoorva_ has quit IRC18:58
*** Apoorva has joined #openstack-nova18:59
*** TravT has joined #openstack-nova19:01
*** matrohon has joined #openstack-nova19:02
*** TravT has quit IRC19:03
*** ijw has quit IRC19:03
*** marst has joined #openstack-nova19:04
*** TravT has joined #openstack-nova19:04
bauzasdansmith: mriedem: so kinda weirdo bug https://bugs.launchpad.net/nova/+bug/163016119:06
openstackLaunchpad bug 1630161 in python-novaclient "nova image-list is deprecated, but it should work even now" [Undecided,New]19:06
*** raunak has quit IRC19:07
mriedemthey have to use <2.3619:08
*** lamt has quit IRC19:08
*** aleph1 has joined #openstack-nova19:08
*** cdent has quit IRC19:09
mriedembauzas: i've marked it invalid19:09
bauzask19:09
*** Matti_ has joined #openstack-nova19:09
prometheanfiredansmith: looks like it's a bug19:10
dansmithprometheanfire: meaning it's considering that deleted service record?19:11
bauzasmriedem: soooo, just tbc, we still support the proxy calls but only if the user asks for <2.36, right?19:11
mriedemyes19:11
prometheanfireya19:11
dansmithprometheanfire: have you confirmed by purging that one deleted record and seen it continue?19:12
bauzasmriedem: okay, I remember our midcycle, I was unknowing the implementation19:12
prometheanfiredansmith: no, I didn't know if it would be better to do that or to wait so I can test a fix19:12
mriedembauzas: we didn't do all of the work to make the image proxy CLIs work because they were already deprecated19:12
dansmithprometheanfire: well, I was going to say grab a snapshot and then we can run against the snapshot, but..19:12
prometheanfirelol19:12
dansmithprometheanfire: if you file a bug I'll write you up a fix and you can test it live if you want19:12
prometheanfireI'm fine with that19:12
mriedemwhereas the network proxy CLIs weren't deprecated, so we bent over backward to make those fallback to 2.3519:12
prometheanfireI have a before-migration snapshot19:13
prometheanfireI suppose I could make another, but reverting would really suck19:13
mriedembauzas: https://github.com/openstack/python-novaclient/blob/6.0.0/novaclient/v2/images.py#L12319:13
dansmithprometheanfire: not to revert, just for testing19:13
prometheanfirek19:13
bauzasmriedem: looking19:13
dansmithprometheanfire: but either way19:13
mriedembtw, i plan on doing a massive purge of novaclient stuff at some point when i get the time19:14
dansmithprometheanfire: this code is gone in ocata so this will be newton-only19:14
*** bvanhav has quit IRC19:14
*** ihrachys has quit IRC19:15
*** jamesdenton has joined #openstack-nova19:15
bauzasmriedem: okay, so to clarify, given nova image-list was already deprecated, it's fine to just have the exception, instead of asking 2.35, right?19:15
bauzasI suppose the warning can be confusing tho19:16
prometheanfireya19:17
prometheanfireand formatting didn't work :( https://bugs.launchpad.net/nova/+bug/163073219:17
openstackLaunchpad bug 1630732 in OpenStack Compute (nova) "online_data_migrations does not ignore deleted services" [Undecided,New]19:17
mriedembauzas: yeah19:17
mriedemwe're not going to fallback to passing 2.35 on the image CLIs because they were already deprecated19:18
mriedembauzas: i agree it's slightly confusing19:18
auggybauzas: yeah i saw that bug too and was wondering about it, thanks for bringing it up19:18
mriedembauzas: but, it's also going away in 1 week19:18
mriedemand the image CLIs have been deprecated for awhiel19:18
prometheanfiredansmith:     # nova-manage db online_data_migrations19:18
prometheanfire    Running batches of 50 until complete19:18
prometheanfire    2016-10-05 14:11:00.578 2197 ERROR nova.db.sqlalchemy.api [req-60487805-6488-428e-b364-8eb6a1b620aa - - - - -] Data migrations for PciDevice are not safe, likely because not all services that access the DB directly are updated to the latest version19:18
mriedemso my sympathy is real low19:18
prometheanfire    # select * from services;19:18
prometheanfire             created_at         |         updated_at         |         deleted_at         | id |            host             |       binary       |    topic    | report_count | disabled | deleted | disabled_reason |        last_seen_up        | forced_down | version19:18
prometheanfire----------------------------+----------------------------+----------------------------+--    --+-----------------------------+--------------------+-------------+--------------+----------+---------+-----------------+----------------------------+-------------+---------19:18
mriedemprometheanfire: paste buddy19:18
prometheanfire     2016-03-28 21:54:50.624939 | 2016-10-05 05:04:27.88604  |                            |  8 | 127.0.0.1                   | nova-osapi_compute |             |            0 | f        |       0 |                 |                            | f           |      1519:18
prometheanfire     2014-04-01 02:25:19.568992 | 2016-10-05 19:10:36.775756 |                            |  1 | master.openstack.mthode.org | nova-scheduler     | scheduler   |      6508816 | f        |       0 |                 | 2016-10-05 19:10:36.775144 | f           |      1519:18
prometheanfire     2014-09-22 22:48:42.410217 | 2016-10-05 19:10:38.957666 |                            |  5 | master.openstack.mthode.org | nova-cert          | cert        |      5880779 | f        |       0 |                 | 2016-10-05 19:10:38.957042 | f           |      1519:19
prometheanfire     2014-04-01 03:24:01.305666 | 2014-04-08 16:17:50.835133 | 2015-08-03 06:30:12.744504 |  4 | master.openstack.mthode.org | nova-network       | network     |        65072 | f        |       4 |                 |                            | f           |       019:19
jlkgaaaah19:19
prometheanfire     2016-03-28 21:54:51.04119  | 2016-10-05 05:06:33.459861 |                            |  9 | 127.0.0.1                   | nova-metadata      |             |            0 | f        |       0 |                 |                            | f           |      1519:19
prometheanfire     2014-04-01 02:54:42.114856 | 2016-10-05 19:10:43.925853 |                            |  3 | master.openstack.mthode.org | nova-conductor     | conductor   |      6515405 | f        |       0 |                 | 2016-10-05 19:10:43.924894 | f           |      1519:19
prometheanfire     2014-04-01 02:54:22.058152 | 2016-10-05 19:10:35.282541 |                            |  2 | master.openstack.mthode.org | nova-consoleauth   | consoleauth |      6513588 | f        |       0 |                 | 2016-10-05 19:10:35.281509 | f           |      1519:19
prometheanfire 2014-09-23 02:52:56.806792 | 2016-10-05 19:10:44.616719 |                            |  6 | node03.openstack.mthode.org | nova-compute       | compute     |      5329359 | f        |       0 |                 | 2016-10-05 19:10:15.192567 | f           |      1519:19
prometheanfiresorry...19:19
prometheanfireyep19:19
prometheanfiredansmith: https://gist.github.com/prometheanfire/ac6081f6cccf1118dfd6cfc51b2193cb as an example19:19
bauzasmriedem: fair enough :)19:20
dansmithprometheanfire: file a bug please19:20
prometheanfireI did19:20
prometheanfiredansmith: https://bugs.launchpad.net/nova/+bug/163073219:21
openstackLaunchpad bug 1630732 in OpenStack Compute (nova) "online_data_migrations does not ignore deleted services" [Undecided,New]19:21
dansmithprometheanfire: I'm trying to write a test to poke it and not seeing it, but just started19:21
dansmithprometheanfire: ah, thanks19:21
prometheanfire:D19:21
*** moshele has quit IRC19:21
auggymriedem: bauzas: what's the "right" way we are recommending people to do instead of "nova image-list"? is it an osc call?19:21
mriedemauggy: it's in the warning message19:21
bauzasauggy: see the warning :)19:21
auggyok kewl19:21
auggyhaha yeah i should read more ;D19:21
auggythanks :D19:22
dansmithah, I see19:22
*** david-lyle has joined #openstack-nova19:23
*** cmartin has quit IRC19:27
*** paul-carlton2 has quit IRC19:28
*** code-R has quit IRC19:29
*** Hosam has joined #openstack-nova19:31
*** Hosam_ has joined #openstack-nova19:32
*** nic has left #openstack-nova19:33
*** nic has joined #openstack-nova19:33
kashyapmriedem: Okay, I have been up for the last hour or so chatting w/ upstream QEMU folks.  After all of which, the conclusion is: libvirt should be taught to mangle the cur/end values (in the virDomainGetBlockJobInfo() API) when QEMU does not yet report a flag.19:33
kashyapAnyway, it might be too much info for here.  I'll also write an email to openstack-dev list, about its Nova interaction, & my notes from the log.19:34
kashyap[Just to refresh your memory, this is re that _swap_volume() Big Swamp)19:34
dansmithprometheanfire: so, um... network services aren't considered in that check19:34
dansmithprometheanfire: only api and conductor19:34
dansmithohhh19:35
dansmithcripes19:35
*** Hosam has quit IRC19:36
*** ishant|away has quit IRC19:37
prometheanfiredansmith: woo?19:37
*** claudiub has joined #openstack-nova19:37
dansmithprometheanfire: well, woo because I think I know why, but not woo because this has been broken since day one and deserves no wooing19:38
*** ishant|away has joined #openstack-nova19:39
prometheanfireheh19:40
* artom woos dansmith19:40
mriedemkashyap: ok19:41
mriedemyou'll have to dumb it down for me19:41
kashyapmriedem: For Nova, the current workaround seems to be that we have to 'wait' a little longer.19:43
openstackgerritArtom Lifshitz proposed openstack/nova: Send vif-plugged to dest host if evacuating  https://review.openstack.org/37104819:43
kashyapHowever, if _know_ that QEMU is new enough to send an event, waiting for the event is more reliable than polling.19:43
kashyapAnyway, I'll write whatever I can to the list in the morning, or if I can finish it tonight.  Once I file that libvirt bug19:43
*** sdake has quit IRC19:45
*** sdake has joined #openstack-nova19:46
*** annegentle has joined #openstack-nova19:49
jaypipesdansmith: would be cool to get your eyeballs on the https://review.openstack.org/#/q/topic:bp/custom-resource-classes series if you have some free time.19:49
dansmithprometheanfire: https://review.openstack.org/38263919:50
dansmithprometheanfire: pretty stupid :/19:50
dansmithjaypipes: will try but today is full19:51
*** ducttape_ has quit IRC19:51
openstackgerritAndrew Laski proposed openstack/nova: Replace admin check with policy check in placement API  https://review.openstack.org/38264019:52
alaskidansmith: same mistake I made19:52
dansmithalaski: yeah :/19:52
*** krypto has quit IRC19:53
*** salv-orlando has joined #openstack-nova19:53
jaypipesdansmith: not a prob, any time would be cool.19:53
*** salv-orl_ has joined #openstack-nova19:54
*** cmartin has joined #openstack-nova19:54
*** Matti_ has quit IRC19:57
*** Apoorva has quit IRC19:58
*** salv-orlando has quit IRC19:58
mriedemdansmith: are we considering that for a newton rc3?20:01
mriedemlooks latent20:01
dansmithmriedem: it's really important because we removed that code in ocata, requiring people to have run it :/20:02
dansmithso, I think it could go post-rc3 if you want, but.. it's a pretty big deal20:02
*** lucasagomes is now known as lucas-afk20:02
prometheanfiredansmith: testing in a sec20:03
*** ijw has joined #openstack-nova20:03
dansmithprometheanfire: thanks.. super happy you tested this so early :D20:03
mriedemdhellmann: dims: how terrible would it be if we had to do a newton rc3?20:03
auggyi have a dumb question, why didn't any of the gate jobs pick it up? do we have a possible coverage gap elsewhere too?20:04
mriedemauggy: we don't test pci devices in the gate20:04
prometheanfiredansmith: I try to package openstack about a week before actual release20:04
dimsmriedem : what review/bug? just want to peek20:04
prometheanfireand I try to test what I package :D20:04
auggymriedem: ok thx20:04
mriedemdims: https://review.openstack.org/#/c/382639/120:04
mriedemauggy: we have 3rd party ci for pci, but it doesn't test grenade20:04
dansmithauggy: mriedem well, we don't need pci devices for this, but it's also graceful so people can do it when they can, so we didn't gate on it fully20:04
prometheanfiredansmith: if it makes you feel better keystone had the same thing happen to them for mitaka20:04
stevemarit's true20:05
dansmithprometheanfire: no, it does not make me feel better that we're no better than keystone :P20:05
dhellmannmriedem : that looks like a bug blocking some upgrades?20:05
mriedemdhellmann: yes20:05
mriedemit's latent, but we dropped that code in ocata already so it's required to have this working before ocata20:05
dansmithdhellmann: anyone with pci devices wouldn't be able to upgrade from what is currently newton rc2 to ocata20:05
*** TravT has quit IRC20:06
dansmithdhellmann: we coudl backport and require people to be running the latest stable, which they should anyway20:06
dansmithand have had to do before20:06
dhellmannwe're < 24 hrs from "final", and you can do a patch release monday. does that work?20:06
dimsmriedem : did you just mark the bug as won't fix? https://bugs.launchpad.net/nova/+bug/163073220:06
openstackLaunchpad bug 1630732 in OpenStack Compute (nova) newton "online_data_migrations does not ignore deleted services" [High,In progress] - Assigned to Dan Smith (danms)20:06
* dhellmann looks at what else is in stable/newton for nova20:06
mriedemnote that people skip releases on upgrade now too...20:06
mriedemdims: won't fix for master20:06
dimsah20:06
prometheanfirestevemar: didn't know you were around :P20:07
dansmithmriedem: but they shouldn't, so.. I don't care :)20:07
prometheanfiredansmith: that fixed it20:07
*** bvanhav has joined #openstack-nova20:07
dansmithprometheanfire: sweet20:07
stevemarprometheanfire: i'm always around, and mostly round20:07
mriedemdansmith: yeah i know20:07
prometheanfireacked the review20:07
dhellmannmriedem : does this bug block anyone from upgrading to newton?20:07
dansmithdhellmann: no20:07
stevemarsounds like it could be fixed in a patch release?20:08
dhellmannok, with my ultra-cautious hat on I suggest not doing an rc3 and releasing this as a patch early next week20:08
dansmithdhellmann: I agree20:08
dimsdansmith : even if the online migration is stuck things would still work?20:08
dhellmanndoes anyone feel strongly that a patch release is going to cause trouble?20:08
dansmithdims: no20:08
mriedemi'm holding all other newton backports out, so we could slip this in a quick patch release20:08
*** ducttape_ has joined #openstack-nova20:08
prometheanfire14.0.1?20:08
dansmithdims: if you have pci devices, ocata will refuse to upgrade if you missed this20:08
dhellmannmriedem : you could even include several items, if this isn't going to break until someone tries to go newton-ocata20:09
*** ociuhandu has quit IRC20:09
dansmithdims: like, the first db schema migration will bail and mock you via twitter20:09
dimsah!20:09
dhellmannwow, harsh :-)20:09
dansmithdhellmann: we don't fsck around20:09
*** ijw has quit IRC20:10
dhellmannindeed20:10
dhellmannit sounds like we've settled on a patch release, then?20:10
prometheanfiresgtm, I already have the code :P20:10
dansmithhah20:10
*** matrohon has quit IRC20:11
*** Hosam has joined #openstack-nova20:11
dimsdansmith : dhellmann : is there a way to publish work arounds if any?20:12
*** suresh12 has quit IRC20:12
openstackgerritArtom Lifshitz proposed openstack/nova: Send vif-plugged to dest host if evacuating  https://review.openstack.org/37104820:12
dansmithmriedem: actually, this is the one case I couldn't enforce because it's so fuzzy,20:13
dansmithmriedem: so they'll not hit a warning, they will just lose some parenting relationships in their pci devices20:14
dansmithbecause the pci code is so terrible20:14
*** Hosam_ has quit IRC20:14
mriedemdims: i dont think so20:14
mriedemprometheanfire: btw your gist in the bug report is a 40420:15
prometheanfireya, the docs are tied to the repo20:15
prometheanfiremriedem: I know, I removed it on purpose, supose I should have edited it...20:15
mriedemso can we get a paste of the failure?20:15
mriedemoh20:15
*** lpetrut has quit IRC20:16
*** Apoorva has joined #openstack-nova20:16
dianadansmith: I have a few questions about this spec if you have time: https://blueprints.launchpad.net/nova/+spec/paginate-simple-tenant-usage20:16
prometheanfiremriedem: sorry, don't like leaving info up is all, all it was was a select * from services;20:16
prometheanfireshowing the deleted entry20:17
dansmithprometheanfire: we just need an example of the message20:17
dansmithnot the dump20:17
dansmithwhich should be in the gatelogs, I can dig one up20:17
dansmithdiana: kinda in the middle of some stuff atm20:17
prometheanfire2016-10-05 00:08:30.989 14688 ERROR nova.db.sqlalchemy.api [req-47dc2ac8-3c1f-4841-bf44-7a082fc3a3ef - - - - -] Data migrations for PciDevice are not safe, likely because not all services that access the DB directly are updated to the latest version20:17
dianadansmith: okie dokie, I'll circle back tomorrow. thx20:17
prometheanfireit's just the one line20:17
dansmithprometheanfire: yeah that20:18
dansmithmriedem: ^20:18
*** Pavo has joined #openstack-nova20:19
openstackgerritAndrew Laski proposed openstack/nova: Replace admin check with policy check in placement API  https://review.openstack.org/38264020:21
*** raunak has joined #openstack-nova20:23
*** Pavo has quit IRC20:27
*** Pavo has joined #openstack-nova20:27
*** ociuhandu has joined #openstack-nova20:28
mriedemgot it20:29
*** TravT has joined #openstack-nova20:31
*** TravT has quit IRC20:34
*** penick has joined #openstack-nova20:35
*** cmartin has quit IRC20:36
*** bvanhav has quit IRC20:36
*** jichen has quit IRC20:39
mriedemmdbooth: will you still be around in barcelona on friday at 11am?20:39
*** peter-hamilton has quit IRC20:40
*** devananda is now known as devananda|afk20:43
mriedemmikal: you'll be in barcelona right?20:47
*** suresh12 has joined #openstack-nova20:50
*** rtheis has quit IRC20:51
mriedemmikal: because i put your name as chair for this session https://www.openstack.org/summit/barcelona-2016/summit-schedule/events/16936/nova-completing-vendordata-v220:51
mikalmriedem: yep, I will be20:52
mikalmriedem: Is there really enough content for an entire session in that?20:52
auggymriedem: oh thanks for updating the data migrations pci bug, i wasn't sure how to point it at the right project... "Nominate for series"? is that the right clicky thing?20:54
*** lamt has joined #openstack-nova20:55
sdaguemikal: the thinking was that that, plus the token expiration effort puts together a more general keystone / nova session20:56
mriedemauggy: yes20:56
sdagueand it would be nice to close on the vendordata thing and get it landed early in the cycle, as it lets us gut hooks20:56
mriedemmikal: if it's all unicorns and rainbows we can end it early20:57
mriedembut we didn't come out of the nova/keystone session like that in austin20:57
mikalsdague: well, this cycle is only 14 seconds long, so what does "early" mean this time?20:57
sdague1320:57
sdagueseconds20:57
dansmithheh20:57
sdaguehop to it20:58
sdaguetypey typey20:58
mriedemearly means by jesus's birthday20:58
mriedemhappy birthday jesus, btw we're removing the ability to use your hooks20:58
mikalsdague: I don't think you understand how much work related napping I have scheduled this quarter...20:58
mriedemif we say that vendordata is a new project, and needs a PTL, we can trick tonyb into doing it probably21:00
sdague"it's a trap!"21:00
prometheanfiretonyb: don't do it21:01
*** Matti_ has joined #openstack-nova21:02
*** ociuhandu has quit IRC21:04
*** ijw has joined #openstack-nova21:07
*** eharney has quit IRC21:12
*** ayoung has quit IRC21:12
*** ijw has quit IRC21:12
*** BobBall has joined #openstack-nova21:12
*** ociuhandu has joined #openstack-nova21:13
*** BobBall is now known as Guest6085521:13
*** whenry has joined #openstack-nova21:13
*** Guest60855 has quit IRC21:17
openstackgerritKen'ichi Ohmichi proposed openstack/nova: WIP: Add error handling for delete-volume API  https://review.openstack.org/38266021:18
*** lpetrut has joined #openstack-nova21:21
*** ociuhandu has quit IRC21:22
*** tblakes has quit IRC21:22
*** haplo37_ has quit IRC21:24
*** thorst_ has quit IRC21:26
*** haplo37_ has joined #openstack-nova21:26
*** thorst_ has joined #openstack-nova21:26
*** marst has quit IRC21:28
*** thorst_ has quit IRC21:31
*** suresh12 has quit IRC21:33
dimsmikal : how many crowns for tonyb ? :)21:33
*** suresh12 has joined #openstack-nova21:36
*** slaweq_ has joined #openstack-nova21:38
mriedemi guess that depends on how many sweets he eats and how often he brushes his teeth21:38
*** mriedem has quit IRC21:38
*** bnemec has quit IRC21:39
dimshahaha good one21:39
*** kaisers has quit IRC21:42
*** ducttape_ has quit IRC21:44
*** ducttape_ has joined #openstack-nova21:44
*** xyang1 has quit IRC21:44
openstackgerritEd Leafe proposed openstack/nova: Changed the name of the standard resource classes  https://review.openstack.org/38266921:46
*** akshai has quit IRC21:46
*** mtanino has joined #openstack-nova21:46
*** _ducttape_ has joined #openstack-nova21:47
*** narayrak has quit IRC21:48
*** marst has joined #openstack-nova21:48
*** ducttape_ has quit IRC21:49
*** suresh12 has quit IRC21:51
*** jheroux has quit IRC21:52
*** suresh12 has joined #openstack-nova21:52
*** _ducttape_ has quit IRC21:52
*** edmondsw has quit IRC21:53
openstackgerritArtom Lifshitz proposed openstack/nova: Send vif-plugged to dest host if evacuating  https://review.openstack.org/37104821:57
*** lpetrut has quit IRC21:57
*** raunak has quit IRC21:58
*** lamt has quit IRC21:59
tonybmoar PTLs!21:59
tonybI need to be nova PTL and on the TC and then I can lord it over mikal ;P21:59
*** penick has quit IRC22:01
*** BobBall has joined #openstack-nova22:01
*** BobBall is now known as Guest553322:01
*** lamt has joined #openstack-nova22:04
*** whenry has quit IRC22:04
*** Apoorva_ has joined #openstack-nova22:04
*** penick has joined #openstack-nova22:04
*** zul has quit IRC22:07
*** mdrabe has quit IRC22:07
*** rrecio has quit IRC22:08
*** Apoorva has quit IRC22:08
*** ijw has joined #openstack-nova22:08
*** gabor_antal_ has joined #openstack-nova22:09
*** gabor_antal has quit IRC22:09
*** Guest86252 has quit IRC22:11
*** jamesdenton has quit IRC22:12
*** ijw has quit IRC22:13
*** esberglu has quit IRC22:15
*** slaweq_ has quit IRC22:16
*** vishwanathj has quit IRC22:18
*** Guest5533 has quit IRC22:18
*** TravT has joined #openstack-nova22:19
*** raunak has joined #openstack-nova22:19
*** gabor_antal_ has quit IRC22:19
*** gabor_antal has joined #openstack-nova22:21
*** suresh12 has quit IRC22:23
*** kaisers has joined #openstack-nova22:24
*** Pavo has quit IRC22:27
*** Pavo has joined #openstack-nova22:28
*** TravT has quit IRC22:28
*** kaisers has quit IRC22:28
*** TravT has joined #openstack-nova22:29
*** suresh12 has joined #openstack-nova22:32
*** burgerk has quit IRC22:33
*** BobBall_ has joined #openstack-nova22:33
openstackgerritKen'ichi Ohmichi proposed openstack/nova: Add error handling for delete-volume API  https://review.openstack.org/38266022:39
*** BobBall_ has quit IRC22:40
*** gouthamr has quit IRC22:41
*** hamzy has quit IRC22:42
*** mlavalle has quit IRC22:44
*** lamt has quit IRC22:44
*** esberglu has joined #openstack-nova22:48
*** esberglu has quit IRC22:48
*** Pavo has quit IRC22:49
*** BobBall_ has joined #openstack-nova22:49
*** aleph1 has quit IRC22:50
*** Pavo has joined #openstack-nova22:51
*** BobBall_ has quit IRC22:54
*** ducttape_ has joined #openstack-nova22:55
*** yamahata has quit IRC22:57
prometheanfiretonyb: I'd vote for that22:57
tonybprometheanfire: ;P22:57
*** ducttape_ has quit IRC23:00
*** ducttape_ has joined #openstack-nova23:01
*** coreywright has quit IRC23:02
*** diogogmt has quit IRC23:05
*** yamahata has joined #openstack-nova23:05
*** Apoorva_ has quit IRC23:06
*** Apoorva has joined #openstack-nova23:07
*** salv-orl_ has quit IRC23:07
*** vladikr has quit IRC23:08
*** coreywright has joined #openstack-nova23:08
*** jamielennox is now known as jamielennox|away23:09
*** ijw has joined #openstack-nova23:10
*** penick has quit IRC23:15
*** aleph1 has joined #openstack-nova23:15
*** ijw has quit IRC23:15
*** sdague has quit IRC23:17
*** Sukhdev has quit IRC23:17
*** pradk has quit IRC23:18
*** Sukhdev has joined #openstack-nova23:19
*** markvoelker has quit IRC23:22
*** lamt has joined #openstack-nova23:24
*** logan- has quit IRC23:28
*** TravT has quit IRC23:32
*** jamesdenton has joined #openstack-nova23:35
*** TravT has joined #openstack-nova23:35
*** TravT has quit IRC23:36
*** logan- has joined #openstack-nova23:37
*** TravT has joined #openstack-nova23:40
*** hamzy has joined #openstack-nova23:44
*** Swami has quit IRC23:46
*** david-lyle has quit IRC23:47
*** nic has quit IRC23:48
*** sdake has quit IRC23:48
*** mriedem has joined #openstack-nova23:50
*** gouthamr has joined #openstack-nova23:57
*** jamesdenton has quit IRC23:58
*** jamesden_ has joined #openstack-nova23:58

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