*** dklyle has joined #openstack-nova | 00:02 | |
openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add new default roles in os-deferred_delete policies https://review.opendev.org/707485 | 00:03 |
---|---|---|
*** ozzzo has quit IRC | 00:06 | |
*** brinzhang_ has joined #openstack-nova | 00:07 | |
*** brinzhang has quit IRC | 00:11 | |
*** slaweq has joined #openstack-nova | 00:11 | |
*** brinzhang has joined #openstack-nova | 00:12 | |
*** abaindur has quit IRC | 00:13 | |
*** abaindur has joined #openstack-nova | 00:13 | |
*** brinzhang_ has quit IRC | 00:15 | |
*** nweinber__ has joined #openstack-nova | 00:16 | |
*** dklyle has quit IRC | 00:19 | |
*** toabctl has quit IRC | 00:19 | |
*** toabctl has joined #openstack-nova | 00:22 | |
*** dklyle has joined #openstack-nova | 00:22 | |
*** slaweq has quit IRC | 00:27 | |
*** igordc has quit IRC | 00:33 | |
*** mvkr has quit IRC | 00:41 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Correct the actual target in os-instance-actions policy https://review.opendev.org/710411 | 00:53 |
*** igordc has joined #openstack-nova | 00:53 | |
*** happyhemant has quit IRC | 00:55 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Correct the actual target in os-instance-actions policy https://review.opendev.org/710411 | 00:56 |
*** nweinber__ has quit IRC | 01:04 | |
*** mvkr has joined #openstack-nova | 01:06 | |
*** gyee has quit IRC | 01:10 | |
*** slaweq has joined #openstack-nova | 01:11 | |
*** sapd1 has joined #openstack-nova | 01:16 | |
*** slaweq has quit IRC | 01:16 | |
*** lbragstad_ has joined #openstack-nova | 01:34 | |
*** lbragstad has quit IRC | 01:36 | |
*** brinzhang_ has joined #openstack-nova | 01:49 | |
*** tkajinam has quit IRC | 01:49 | |
*** tkajinam has joined #openstack-nova | 01:50 | |
*** brinzhang_ has quit IRC | 01:50 | |
*** brinzhang_ has joined #openstack-nova | 01:51 | |
*** brinzhang has quit IRC | 01:52 | |
*** igordc has quit IRC | 02:07 | |
*** slaweq has joined #openstack-nova | 02:11 | |
*** zhanglong has joined #openstack-nova | 02:12 | |
openstackgerrit | Merged openstack/nova stable/train: Make RBD imagebackend flatten method idempotent https://review.opendev.org/707650 | 02:15 |
*** slaweq has quit IRC | 02:16 | |
openstackgerrit | Merged openstack/nova master: Remove oslo_db.sqlalchemy.compat reference https://review.opendev.org/711093 | 02:28 |
openstackgerrit | Merged openstack/nova master: Introduce scope_types in os-agents policy https://review.opendev.org/701645 | 02:47 |
*** brinzhang has joined #openstack-nova | 02:50 | |
*** psachin has joined #openstack-nova | 02:50 | |
*** brinzhang_ has quit IRC | 02:53 | |
*** spatel has joined #openstack-nova | 03:04 | |
*** lbragstad_ has quit IRC | 03:09 | |
*** slaweq has joined #openstack-nova | 03:11 | |
*** nicolasbock has joined #openstack-nova | 03:12 | |
*** slaweq has quit IRC | 03:16 | |
*** mkrai has joined #openstack-nova | 03:36 | |
*** yedongcan has joined #openstack-nova | 03:39 | |
*** larainema has joined #openstack-nova | 03:44 | |
*** abaindur has quit IRC | 03:51 | |
*** links has joined #openstack-nova | 03:56 | |
*** spatel has quit IRC | 04:05 | |
*** spatel has joined #openstack-nova | 04:06 | |
*** udesale has joined #openstack-nova | 04:09 | |
*** slaweq has joined #openstack-nova | 04:11 | |
*** slaweq has quit IRC | 04:16 | |
*** zhanglong has quit IRC | 04:23 | |
*** nicolasbock has quit IRC | 04:30 | |
*** brinzhang has quit IRC | 04:36 | |
*** brinzhang has joined #openstack-nova | 04:37 | |
*** brinzhang has quit IRC | 04:37 | |
openstackgerrit | Merged openstack/nova master: libvirt: Remove native LUKS compat code https://review.opendev.org/669121 | 04:44 |
*** bbowen_ has quit IRC | 05:00 | |
*** bbowen_ has joined #openstack-nova | 05:00 | |
*** slaweq has joined #openstack-nova | 05:11 | |
*** sapd1 has quit IRC | 05:12 | |
*** abaindur has joined #openstack-nova | 05:22 | |
*** zhanglong has joined #openstack-nova | 05:30 | |
*** udesale has quit IRC | 05:31 | |
*** evrardjp has quit IRC | 05:35 | |
*** evrardjp has joined #openstack-nova | 05:35 | |
*** slaweq has quit IRC | 05:38 | |
*** udesale has joined #openstack-nova | 05:39 | |
*** factor has quit IRC | 05:47 | |
*** factor has joined #openstack-nova | 05:48 | |
*** yedongcan has quit IRC | 06:05 | |
*** spatel has quit IRC | 06:07 | |
*** efried has quit IRC | 06:07 | |
*** efried1 has joined #openstack-nova | 06:07 | |
*** sapd1 has joined #openstack-nova | 06:09 | |
*** efried1 is now known as efried | 06:09 | |
*** rnoriega_ has quit IRC | 06:41 | |
*** rnoriega_ has joined #openstack-nova | 06:46 | |
*** threestrands has quit IRC | 06:48 | |
*** abaindur has quit IRC | 06:55 | |
*** abaindur has joined #openstack-nova | 06:55 | |
*** damien_r has joined #openstack-nova | 07:00 | |
*** ccamacho has quit IRC | 07:02 | |
*** damien_r has quit IRC | 07:20 | |
*** efried has quit IRC | 07:22 | |
openstackgerrit | Eric Xie proposed openstack/nova master: Catch exception when use invalid architecture of image https://review.opendev.org/711363 | 07:22 |
*** efried has joined #openstack-nova | 07:22 | |
*** efried has quit IRC | 07:23 | |
*** efried has joined #openstack-nova | 07:23 | |
*** mkrai has quit IRC | 07:27 | |
*** liuyulong has quit IRC | 07:31 | |
*** rnoriega_ has quit IRC | 07:39 | |
*** haleyb|away has quit IRC | 07:39 | |
*** kashyap has quit IRC | 07:39 | |
*** kukacz_ has joined #openstack-nova | 07:42 | |
*** tetsuro has joined #openstack-nova | 07:44 | |
*** bbowen_ has quit IRC | 07:48 | |
*** bbowen_ has joined #openstack-nova | 07:49 | |
*** happyhemant has joined #openstack-nova | 07:50 | |
*** tesseract has joined #openstack-nova | 07:52 | |
*** damien_r has joined #openstack-nova | 07:54 | |
*** rnoriega_ has joined #openstack-nova | 07:55 | |
*** iurygregory has joined #openstack-nova | 07:56 | |
*** maciejjozefczyk has joined #openstack-nova | 07:59 | |
*** brinzhang has joined #openstack-nova | 08:03 | |
*** ccamacho has joined #openstack-nova | 08:11 | |
*** tkajinam has quit IRC | 08:16 | |
*** abaindur has quit IRC | 08:21 | |
*** mkrai has joined #openstack-nova | 08:21 | |
*** ralonsoh has joined #openstack-nova | 08:22 | |
*** abaindur has joined #openstack-nova | 08:22 | |
*** abaindur has joined #openstack-nova | 08:23 | |
*** rnoriega_ has quit IRC | 08:25 | |
*** rnoriega_ has joined #openstack-nova | 08:28 | |
*** zhanglong has quit IRC | 08:31 | |
*** zhanglong has joined #openstack-nova | 08:40 | |
*** zhanglong has quit IRC | 08:44 | |
*** amoralej|off is now known as amoralej | 08:45 | |
*** rpittau|afk is now known as rpittau | 08:46 | |
*** andreykurilin has quit IRC | 08:56 | |
*** andreykurilin has joined #openstack-nova | 08:56 | |
*** _erlon_ has quit IRC | 09:07 | |
*** tinwood has quit IRC | 09:08 | |
*** portdirect has quit IRC | 09:08 | |
*** StevenK has quit IRC | 09:08 | |
*** mkrai has quit IRC | 09:08 | |
*** tosky has joined #openstack-nova | 09:25 | |
*** tetsuro has quit IRC | 09:29 | |
*** mkrai has joined #openstack-nova | 09:38 | |
*** _erlon_ has joined #openstack-nova | 09:43 | |
*** tinwood has joined #openstack-nova | 09:43 | |
*** portdirect has joined #openstack-nova | 09:43 | |
*** StevenK has joined #openstack-nova | 09:43 | |
*** openstackstatus has quit IRC | 09:45 | |
*** martinkennelly has joined #openstack-nova | 09:51 | |
*** rishabhhpe97 has joined #openstack-nova | 09:55 | |
*** raghavendrat has joined #openstack-nova | 09:59 | |
*** jangutter has joined #openstack-nova | 09:59 | |
*** abaindur has quit IRC | 09:59 | |
raghavendrat | Hi, | 09:59 |
raghavendrat | In nova, unable to attach interface to instance. | 10:00 |
raghavendrat | Output is available here: http://paste.openstack.org/show/790328/ | 10:00 |
raghavendrat | Appreciate if anyone can provide any pointers. | 10:00 |
*** ociuhandu has joined #openstack-nova | 10:03 | |
*** raghavendrat has quit IRC | 10:04 | |
*** ociuhandu has quit IRC | 10:13 | |
*** derekh has joined #openstack-nova | 10:13 | |
*** psachin has quit IRC | 10:23 | |
*** dtantsur|afk is now known as dtantsur | 10:24 | |
*** mkrai has quit IRC | 10:26 | |
*** spatel has joined #openstack-nova | 10:28 | |
*** bbowen_ has quit IRC | 10:31 | |
*** bbowen has joined #openstack-nova | 10:32 | |
*** spatel has quit IRC | 10:33 | |
*** ociuhandu has joined #openstack-nova | 10:33 | |
*** ociuhandu has quit IRC | 10:38 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Add test coverage of existing os-instance-actions policies https://review.opendev.org/707777 | 10:38 |
*** mkrai has joined #openstack-nova | 10:38 | |
*** jangutter has quit IRC | 10:39 | |
*** jangutter_ has joined #openstack-nova | 10:39 | |
*** rishabhhpe97 has quit IRC | 10:41 | |
*** jangutter_ has quit IRC | 10:42 | |
*** jangutter has joined #openstack-nova | 10:43 | |
*** udesale has quit IRC | 10:49 | |
*** mkrai has quit IRC | 10:56 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Introduce scope_types in os-instance-action policy https://review.opendev.org/707751 | 11:08 |
*** maciejjozefczyk is now known as mjozefcz|lunch | 11:15 | |
*** bbowen has quit IRC | 11:16 | |
*** bbowen has joined #openstack-nova | 11:16 | |
*** slaweq has joined #openstack-nova | 11:18 | |
*** ociuhandu has joined #openstack-nova | 11:20 | |
openstackgerrit | Stephen Finucane proposed openstack/nova stable/train: Functional test for UnexpectedDeletingTaskStateError https://review.opendev.org/711210 | 11:22 |
openstackgerrit | Stephen Finucane proposed openstack/nova stable/train: Unplug VIFs as part of cleanup of networks https://review.opendev.org/711251 | 11:22 |
stephenfin | lyarwood: have squashed in your fix for the race there now ^ | 11:22 |
*** rpittau is now known as rpittau|bbl | 11:27 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: api: Add framework for extra spec validation https://review.opendev.org/704643 | 11:37 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: api: Add microversion 2.83, extra spec validation https://review.opendev.org/708436 | 11:37 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Add documentation for flavor extra specs https://review.opendev.org/710037 | 11:37 |
*** tesseract-RH has joined #openstack-nova | 11:40 | |
*** tbachman has quit IRC | 11:42 | |
*** tesseract has quit IRC | 11:43 | |
*** nicolasbock has joined #openstack-nova | 11:47 | |
*** ociuhandu has quit IRC | 11:47 | |
*** ociuhandu has joined #openstack-nova | 11:48 | |
lyarwood | stephenfin: ack thanks, I'll review shortly | 11:54 |
brinzhang | stephenfin: I was update the os-volume_attachments api of policy-defaults-refresh, if you have time, hope you can review | 11:58 |
brinzhang | stephenfin: the fist patch is https://review.opendev.org/#/c/709955/2, has +2 by John Garbutt | 11:59 |
brinzhang | stephenfin: the bp/destroy-instance-with-datavolume implement depends on these patches, thanks | 12:00 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Add new default roles in os-instance-actions policies https://review.opendev.org/706470 | 12:03 |
*** tetsuro has joined #openstack-nova | 12:03 | |
*** tetsuro has quit IRC | 12:06 | |
*** amoralej is now known as amoralej|lunch | 12:06 | |
*** mjozefcz|lunch is now known as maciejjozefczyk | 12:10 | |
lyarwood | stephenfin: https://review.opendev.org/#/q/status:open+topic:bug/1861071 - would you mind taking another run at this today? | 12:14 |
*** dpawlik has quit IRC | 12:14 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Add SYSTEM_READER role to servers actions API https://review.opendev.org/706179 | 12:15 |
lyarwood | https://review.opendev.org/#/q/topic:bug/1861071_followups is also ready for review again if you have time | 12:15 |
*** dpawlik has joined #openstack-nova | 12:15 | |
*** brinzhang has quit IRC | 12:16 | |
*** slaweq has quit IRC | 12:18 | |
*** dpawlik has quit IRC | 12:22 | |
*** dpawlik has joined #openstack-nova | 12:36 | |
*** nweinber__ has joined #openstack-nova | 12:39 | |
*** shilpasd has joined #openstack-nova | 12:50 | |
*** ociuhandu has quit IRC | 13:01 | |
*** dave-mccowan has joined #openstack-nova | 13:11 | |
*** udesale has joined #openstack-nova | 13:14 | |
*** sapd1 has quit IRC | 13:17 | |
*** takamatsu has joined #openstack-nova | 13:22 | |
*** ociuhandu has joined #openstack-nova | 13:28 | |
*** ociuhandu has quit IRC | 13:31 | |
*** shilpasd has quit IRC | 13:31 | |
*** brinzhang has joined #openstack-nova | 13:31 | |
*** ociuhandu has joined #openstack-nova | 13:31 | |
*** shilpasd has joined #openstack-nova | 13:34 | |
efried | Nova meeting in ~25 mins in #openstack-meeting | 13:35 |
shilpasd | efried: thanks, i will be IN | 13:36 |
*** tbachman has joined #openstack-nova | 13:36 | |
openstackgerrit | Eric Fried proposed openstack/nova master: Stop using PlacementDirect https://review.opendev.org/640887 | 13:36 |
efried | stephenfin: Cleaning house, that ^ is an oldymoldy that I just rebased manually. mriedem was +2 before. Would you consider fast approving? | 13:37 |
efried | Highly recommend switching on "ignore whitespace = All" to review effectively. | 13:37 |
*** cgoncalves has quit IRC | 13:41 | |
*** sapd1 has joined #openstack-nova | 13:44 | |
*** cgoncalves has joined #openstack-nova | 13:45 | |
*** rpittau|bbl is now known as rpittau | 13:45 | |
*** mgariepy has quit IRC | 13:46 | |
*** kashyap has joined #openstack-nova | 13:47 | |
stephenfin | efried: Thanks for the tip with whitespace all. Yeah, it's test only so let's do it | 13:52 |
efried | thanks | 13:52 |
*** mgariepy has joined #openstack-nova | 13:52 | |
efried | nova meeting now | 14:01 |
*** alistarle has joined #openstack-nova | 14:04 | |
openstackgerrit | Matt Riedemann proposed openstack/nova stable/rocky: Add retry_on_deadlock to migration_update DB API https://review.opendev.org/711461 | 14:05 |
*** lbragstad has joined #openstack-nova | 14:13 | |
*** spatel has joined #openstack-nova | 14:21 | |
*** tbachman has quit IRC | 14:26 | |
*** spatel has quit IRC | 14:26 | |
*** alistarle has quit IRC | 14:30 | |
*** amoralej|lunch is now known as amoralej | 14:31 | |
*** ociuhandu has quit IRC | 14:33 | |
*** ociuhandu has joined #openstack-nova | 14:33 | |
*** haleyb has joined #openstack-nova | 14:36 | |
*** ociuhandu has quit IRC | 14:38 | |
*** cgoncalves has quit IRC | 14:39 | |
*** cgoncalves has joined #openstack-nova | 14:40 | |
*** haleyb is now known as haleyb|away | 14:50 | |
*** spatel has joined #openstack-nova | 14:54 | |
*** rishabhhpe has joined #openstack-nova | 14:56 | |
brinzhang | root@ubuntu-OpenStack:~# nova flavor-show 1 | 14:59 |
brinzhang | +----------------------------+----------------------------+ | 14:59 |
brinzhang | | Property | Value | | 14:59 |
brinzhang | +----------------------------+----------------------------+ | 14:59 |
brinzhang | | OS-FLV-DISABLED:disabled | False | | 14:59 |
brinzhang | | OS-FLV-EXT-DATA:ephemeral | 0 | | 14:59 |
brinzhang | this is part of from flavor-show | 14:59 |
*** tframbo has joined #openstack-nova | 14:59 | |
dansmith | yeah, it's a column field, not an extra spec | 15:00 |
efried | brinzhang: right, so how do you set it to True? | 15:00 |
dansmith | from looking at all the APIs, there's no way for it to become true | 15:00 |
efried | ah, neat. | 15:00 |
brinzhang | No, it cannot to be changed now | 15:00 |
dansmith | disabled = Column(Boolean, default=False) | 15:00 |
dansmith | tframbo: what version of nova? | 15:01 |
tframbo | Rocky | 15:01 |
dansmith | installed from where? | 15:01 |
brinzhang | in 2013 year, https://review.opendev.org/#/c/61291/ this patch want to change this set, but fast abandon | 15:02 |
tframbo | github.com | 15:02 |
dansmith | brinzhang: yeah, a good example of why we try to closely examine our features and merge them when ready :) | 15:02 |
tframbo | I have seen the master branch ,it also can't change | 15:02 |
dansmith | tframbo: what backend database? | 15:02 |
tframbo | maraidb | 15:03 |
dansmith | tframbo: really not sure how this could be happening then | 15:03 |
dansmith | tframbo: can you post the output of "use nova_api; SELECT * FROM flavors;" ? | 15:04 |
efried | dansmith: Perhaps I'm misunderstanding, but I think tframbo is saying they want to be able to change the value to 'true' | 15:04 |
efried | i.e. they want to be able to disable the flavor | 15:04 |
dansmith | efried: oh I thought he was saying it's always true when they create flavors | 15:04 |
dansmith | (based on context from yesterday) | 15:04 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: api: Add framework for extra spec validation https://review.opendev.org/704643 | 15:04 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: api: Add microversion 2.83, extra spec validation https://review.opendev.org/708436 | 15:04 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Add documentation for flavor extra specs https://review.opendev.org/710037 | 15:04 |
tframbo | yeah ,I just want to set it to true | 15:04 |
brinzhang | dansmith: I think tframbo want to re-set this property | 15:05 |
dansmith | tframbo: ah, sorry I misunderstood.. as brinzhang said, it is half a feature that was never finished | 15:05 |
dansmith | yep, sorry, my bad | 15:05 |
efried | iow we have this property that's part of the API and the output but doesn't do anything and can't be changed. | 15:05 |
brinzhang | dansmith: yes, it's not completed, maybe we can consider whether to do this in the future | 15:05 |
efried | so, tframbo, what you're asking is essentially "let's finish this feature". To do that, you would need to produce a blueprint and a spec, as well as a compelling use case for being able to do it in the first place. | 15:06 |
efried | We're past spec freeze for the current release, but you could get started working on proposing it for the Victoria release. | 15:06 |
dansmith | and implement it, or find someone interested in doing so | 15:06 |
efried | Has anyone else asked for it since Havana to your knowledge dansmith? | 15:07 |
brinzhang | Now in our create flavor, the request body does not contain this proerty | 15:07 |
dansmith | efried: not that I've ever heard of | 15:07 |
dansmith | not really sure what the point of it would be | 15:07 |
efried | seems like, since we now copy the flavor body into the instance, there's an easy workaround for this: delete the flavor | 15:07 |
*** ociuhandu has joined #openstack-nova | 15:07 | |
dansmith | it came from a time before we kept flavors with instances | 15:07 |
efried | jynx | 15:07 |
dansmith | right, the only case I can imagine is wanting to keep flavors for records of what things were booted from, but it seems confusing to me for the user, | 15:08 |
dansmith | unless disabled flavors are filtered most of the time | 15:08 |
dansmith | but it's so much easier to just see it in the instance detail | 15:08 |
brinzhang | If we want to do this feature, I think I can continue this, but we should consider, whether pay time to do ^^ | 15:08 |
dansmith | brinzhang: we should only do it if there is a compelling reason to, not just because "it's half finished already" | 15:09 |
dansmith | I'd rather see the field go away personally | 15:09 |
efried | yeah, if we do anything at all, that would be my vote | 15:09 |
brinzhang | dansmith: yeah, agree | 15:09 |
efried | tframbo: let me clarify: We now copy flavor information into the instance record, so that any changes to the original flavor (including deleting it) don't get confused with how the instance was originally created. | 15:09 |
efried | tframbo: which means there's really no need to "disable" a flavor -- just delete it instead. | 15:10 |
efried | dansmith: since what release do we do the flavor-into-instance copy? | 15:10 |
efried | certainly before rocky. | 15:10 |
dansmith | technially, not sure, a long time.. not sure when we *expose* it | 15:10 |
dansmith | but it was sdague era, IIRC, so it's been a while | 15:10 |
dansmith | 2.47 | 15:11 |
efried | microversion 2.47... | 15:11 |
efried | ...pike. | 15:11 |
dansmith | 2017 | 15:12 |
brinzhang | https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id43 | 15:12 |
*** rishabhhpe has quit IRC | 15:12 | |
tframbo | yeah ,I just want to know the "disable" value , if is meaningful.if is unuseful, we might should delete it. | 15:12 |
*** rishabhhpe has joined #openstack-nova | 15:12 | |
*** luyao has joined #openstack-nova | 15:16 | |
efried | tframbo: agree. Though that would require a microversion, so it may not be worth the effort. Perhaps the next time gmann does an "API cleanup" sweep... | 15:16 |
efried | tframbo: you could propose to filter it out of the CLI output I suppose. Though again, not sure that would be worth the effort. | 15:16 |
efried | Okay, I'm going to go take actual vacation for a couple days, and then I'm really gone. o/ | 15:17 |
brinzhang | yes, we should consider is it worth to do | 15:17 |
*** efried is now known as efried_gone | 15:18 | |
brinzhang | too later for me, good morning everyone ^^ | 15:18 |
brinzhang | bye | 15:18 |
tframbo | thank you ,all | 15:18 |
tframbo | bye | 15:18 |
brinzhang | later.. | 15:20 |
brinzhang | dansmith: Can you review these bug fix? https://review.opendev.org/#/q/status:open+project:openstack/nova+branch:master+topic:bug/1663456 | 15:20 |
*** jaosorior has quit IRC | 15:20 | |
brinzhang | dansmith: stephenfin want to get your check ^^ | 15:21 |
dansmith | brinzhang: I'm not sure why stephenfin +2d that but also said it should be done in oslo.db | 15:21 |
dansmith | I dunno if TimestampMixin does the time the same way, but if it didn't or it changed, it would be confusing that we're setting it to one thing and then potentially have that roll backwards, forwards, or be different from the create time | 15:23 |
dansmith | why not fix this at the oslo.db layer and not merge this? | 15:23 |
brinzhang | dansmith: I tend to use the current implementation, and I think it's good enough. | 15:23 |
dansmith | I'm not sure what that means | 15:24 |
stephenfin | dansmith: I don't know what that means either but the oslo.db part wouldn't fix this entirely | 15:26 |
dansmith | I see now it's add/delete host that they want it updated at | 15:26 |
dansmith | the thing I don't like here, | 15:26 |
stephenfin | brinzhang is saying that when we add a new host to an aggregate, we should update the updated_at updated | 15:26 |
stephenfin | yeah | 15:26 |
dansmith | is that I don't know that oslo.db is using time.utcnow() (I expect it is, but..) | 15:27 |
stephenfin | the updated_at of the aggregate itself | 15:27 |
*** links has quit IRC | 15:27 | |
dansmith | so us doing that here just worries me a little that if that changed or there was some other detail, we could have situations where updated is before created, etc | 15:27 |
dansmith | which is just messy | 15:27 |
stephenfin | It's using 'timeutils.utcnow()' | 15:28 |
stephenfin | I'm not sure how you'd approach this if you'd want it wholly contained in oslo.db though | 15:28 |
stephenfin | We want to say if a "child" is updated, set the 'updated_at' for the child and also the "parent" linked by the fk | 15:29 |
dansmith | stephenfin: make TimestampMixin have a .touch() method | 15:30 |
dansmith | brinzhang: I -1'd for a couple of things.. I'm really not sure why this is important, but we should be consistent if we're going to do this, IMHO | 15:30 |
dansmith | brinzhang: it seems very weird to me to get an aggregate updated when I add a host, but not when I set some property on that aggregate, which from the user's perspective is a direct property of the aggregate itself | 15:31 |
stephenfin | (or more specifically, when updating an instance of AggregateHost, also update the Aggregate referenced via the 'aggregate_id' field) | 15:31 |
*** sapd1 has quit IRC | 15:31 | |
openstackgerrit | John Garbutt proposed openstack/nova master: Fix os-console-output policy to be admin_or_owner https://review.opendev.org/706725 | 15:32 |
dansmith | stephenfin: yep, could do it that way too | 15:32 |
stephenfin | Hmm, I can't reason how that would work | 15:32 |
stephenfin | the touch() thing | 15:32 |
*** tframbo has quit IRC | 15:32 | |
dansmith | agg = query(); agg.touch(); agg.save() ? | 15:32 |
stephenfin | oh, you mean manually call that whenever we update an AggregateHost instance? | 15:32 |
dansmith | yeah | 15:32 |
dansmith | move what we're doing into the mixin so the time stuff is all in the same place | 15:32 |
stephenfin | gotcha | 15:32 |
*** mriedem has joined #openstack-nova | 15:33 | |
stephenfin | that could work but you've to remember to do it manually for everything that has a "parent" relationship | 15:33 |
dansmith | stephenfin: that's what this patch is doing right? | 15:34 |
stephenfin | true | 15:34 |
stephenfin | I was going to ask what it gave us over what we're doing, but you already said that | 15:34 |
stephenfin | (the time stuff is all in the same place) | 15:34 |
dansmith | right | 15:35 |
dansmith | just because times, timezones, resolution etc is an often screwed up thing, and could even be db backend specific | 15:35 |
stephenfin | I assume iterating through all foreign key columns on a model, seeing if they have an updated_at row, and updating it if so, would be too clever? | 15:35 |
stephenfin | s/row/column/ | 15:36 |
dansmith | stephenfin: not FKs but relationships on the db model you mean | 15:36 |
dansmith | but no, that'd be fine too, it's just more work and testing I think | 15:36 |
stephenfin | ah, yeah, relationships | 15:36 |
luyao | hi ,everyone, I have a question about the do_cleanup flag in live migration | 15:37 |
luyao | the 'do_cleanup' seems just a flag to mark if the instance path need be cleaned, https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L8185 | 15:38 |
luyao | but it control more things , e.g. https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L8354, if do_cleanup is False, it will not invoke driver.cleanup which also do _unflug_vifs and _undefine_domain | 15:38 |
luyao | is this BUG? | 15:38 |
*** brinzhang has quit IRC | 15:45 | |
*** Sundar has joined #openstack-nova | 15:47 | |
*** sapd1 has joined #openstack-nova | 15:48 | |
*** spatel has quit IRC | 15:52 | |
*** spatel has joined #openstack-nova | 15:54 | |
*** ociuhandu has quit IRC | 15:55 | |
*** ociuhandu has joined #openstack-nova | 15:57 | |
*** spatel has quit IRC | 15:59 | |
*** ociuhandu has quit IRC | 16:02 | |
*** ociuhandu has joined #openstack-nova | 16:02 | |
*** spatel has joined #openstack-nova | 16:05 | |
*** mlavalle has joined #openstack-nova | 16:10 | |
*** gyee has joined #openstack-nova | 16:18 | |
*** KeithMnemonic1 has joined #openstack-nova | 16:19 | |
*** jangutter has quit IRC | 16:21 | |
*** KeithMnemonic has quit IRC | 16:23 | |
*** eharney has quit IRC | 16:25 | |
*** damien_r has quit IRC | 16:28 | |
*** damien_r has joined #openstack-nova | 16:33 | |
*** TxGirlGeek has joined #openstack-nova | 16:40 | |
*** udesale has quit IRC | 16:44 | |
*** rishabhhpe has quit IRC | 16:46 | |
*** rishabhhpe has joined #openstack-nova | 16:48 | |
*** ccamacho has quit IRC | 16:48 | |
*** ociuhandu_ has joined #openstack-nova | 16:54 | |
melwitt | luyao: as far as I know, that behavior is not a bug | 16:55 |
*** rcernin has quit IRC | 16:55 | |
*** ociuhandu has quit IRC | 16:58 | |
luyao | melwitt: thanks for your reply, so why we don’t need to undefine the domain or unplug the bugs if do_cleanup is false | 16:58 |
luyao | s/bugs/vifs | 16:58 |
*** ociuhandu_ has quit IRC | 16:59 | |
*** tesseract-RH has quit IRC | 17:01 | |
melwitt | luyao: hmm ... maybe we should ask artom, I see his comments in that code block | 17:03 |
artom | melwitt, after the call, I'd have to reload context :) | 17:03 |
luyao | artom: hah, thanks in advance :) | 17:07 |
artom | So it's set by https://github.com/openstack/nova/blob/19cbbbebddadb125b8123ce0350b7146b29a59c6/nova/compute/manager.py#L8160 | 17:07 |
melwitt | the do_cleanup is about whether the instance is on shared storage, if it is on shared storage we don't need to destroy the domain or change the vifs right? because the instance doesn't really have to "move" | 17:08 |
artom | I thought shared storage was just the disk | 17:12 |
artom | Everything else lives on the compute host directly | 17:12 |
artom | No? | 17:12 |
melwitt | lyarwood halp | 17:12 |
melwitt | I guess I don't know anymore. I feel like I used to, but maybe that was a dream | 17:13 |
kashyap | artom: Yes, shared storage means: just the disk, in general ... | 17:14 |
kashyap | (Only memory and device state will be live-migrated in shared storage setup.) | 17:14 |
kashyap | On changing the VIFs, I'm not 100% sure, I also feel like melwitt :D | 17:15 |
artom | luyao, maybe you could tell us what behaviour you're seeing that you think is a bug | 17:15 |
artom | melwitt, my comment is only there because I added the instance.refresh() call | 17:16 |
artom | Everything else predates me | 17:16 |
melwitt | kashyap: heh | 17:16 |
* artom disavows all responsibility ;) | 17:16 | |
melwitt | nicely played | 17:16 |
kashyap | `git shortlog --nse /path/to/file/name` is your weapon, luyao | 17:16 |
kashyap | (And pick the top three or four members to harass) | 17:16 |
luyao | artom: I think do_cleanup is just a flag to tell if we need cleanup instance file during migration right? | 17:17 |
kashyap | (Or even a fine-grained one: `git blame -C -M -L line-$x:line-$y /path/to/file/name/`) | 17:17 |
artom | luyao, the way it's set, yeah | 17:18 |
artom | luyao, but it could be used for other things, but still be correct | 17:18 |
artom | The code is kinda messy, but if it works, it works | 17:18 |
luyao | but in the code path, if do_cleanup is false, the whole driver.cleanup will not be invoked, but except for instance files cleanup ,we also have other things like undefine domain and unplug vifs | 17:18 |
artom | luyao, which is why I'm asking if there's a specific behaviour/error you're asking about | 17:19 |
artom | Because debating the code itself is kinda pointless. There are years and years of multiple people doing multiple things, all for valid reasons | 17:19 |
artom | To end up with the mess with have now :) | 17:19 |
luyao | artom: no, I write my own patch ,and alex_xu comment at this, we are both not sure of this | 17:20 |
artom | luyao, link the patch please :) | 17:20 |
luyao | https://review.opendev.org/#/c/687856/10/nova/compute/manager.py@8623 | 17:20 |
artom | Tbh, I won't able to look now because I'm running on very little sleep, but I'll try to look later | 17:20 |
*** tbachman has joined #openstack-nova | 17:21 | |
openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Introduce scope_types in os-admin-password https://review.opendev.org/701630 | 17:21 |
*** igordc has joined #openstack-nova | 17:22 | |
luyao | artom: OK, thanks. It's too late for me so I'm going to sleep too. :D | 17:22 |
artom | luyao, ack :) | 17:22 |
lyarwood | melwitt: sorry was afk, reading | 17:24 |
openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add new default roles in os-admin-password policies https://review.opendev.org/701639 | 17:24 |
tosky | checking a pending patch on stable/pike - it seems that nova-live-migration has still some issues there, and other patches are blocked too | 17:25 |
*** Sundar has quit IRC | 17:25 | |
*** rpittau is now known as rpittau|afk | 17:25 | |
tosky | I think we already discussed about this, are there any updates? | 17:26 |
melwitt | tosky: we did, no updates yet sorry. sean-k-mooney had been trying to get time to do a bit of debugging but afaik they didn't get to it yet | 17:28 |
tosky | oki, np | 17:29 |
lyarwood | luyao: we unplug VIFS regardless of that value in post_live_migration_at_source https://github.com/openstack/nova/blob/19cbbbebddadb125b8123ce0350b7146b29a59c6/nova/virt/libvirt/driver.py#L9260-L9267 | 17:29 |
tosky | it's not the most important thing (in the long run, I just want to remove a legacy job from openstack-zuul-jobs :) | 17:29 |
lyarwood | luyao: iirc Libvirt itself handles the removal of the domain | 17:30 |
*** damien_r has quit IRC | 17:31 | |
*** eharney has joined #openstack-nova | 17:31 | |
lyarwood | luyao: https://github.com/openstack/nova/blob/19cbbbebddadb125b8123ce0350b7146b29a59c6/nova/virt/libvirt/driver.py#L909-L911 yeah it does | 17:31 |
*** ociuhandu has joined #openstack-nova | 17:32 | |
melwitt | tosky: yeah, it's odd that it fails so much more on pike than on master. that's part of why digging in will be hard, find what's happening and what's different. I see occasional failures on master but obvious pike is failing nearly all the time last I saw | 17:32 |
melwitt | *obviously | 17:32 |
*** martinkennelly has quit IRC | 17:34 | |
*** evrardjp has quit IRC | 17:35 | |
*** evrardjp has joined #openstack-nova | 17:35 | |
*** ociuhandu has quit IRC | 17:36 | |
melwitt | lyarwood++ | 17:38 |
openstackgerrit | Merged openstack/nova master: Stop using PlacementDirect https://review.opendev.org/640887 | 17:40 |
*** dtantsur is now known as dtantsur|afk | 17:40 | |
luyao | lyarwood: before rollback live migration at destination ,it also check the do_cleanup flag,in this case,i think we need destroy the domain at target host manually right? | 17:44 |
lyarwood | luyao: just looking at the review now, I didn't get that we were talking about rollback sorry | 17:45 |
lyarwood | luyao: it depends on the failure tbh, we ask Libvirt to persist the domain but only on a successful migration | 17:46 |
lyarwood | https://github.com/openstack/nova/blob/19cbbbebddadb125b8123ce0350b7146b29a59c6/nova/virt/libvirt/driver.py#L913-L915 | 17:47 |
lyarwood | https://github.com/openstack/nova/blob/19cbbbebddadb125b8123ce0350b7146b29a59c6/nova/virt/libvirt/guest.py#L609-L611 | 17:47 |
luyao | lyarwood: I understand it may not trigger error in real env, but do_cleanup flag setting and the code path it controls is a little confusing | 17:50 |
luyao | since do_cleanup is just tell if the instance path file is shared | 17:52 |
lyarwood | luyao: yeah very, I've added a comment, I think we could look into calling rollback_live_migration_at_destination regardless of that value in a seperate change | 17:52 |
lyarwood | luyao: I don't know if that's going to break assumptions in other drivers that support LM | 17:52 |
luyao | lyarwood: thanks for your comments I’ll go into it further tomorrow :) | 17:58 |
*** derekh has quit IRC | 18:00 | |
*** slaweq has joined #openstack-nova | 18:11 | |
*** kaisers1 has quit IRC | 18:15 | |
*** martinkennelly has joined #openstack-nova | 18:16 | |
*** ccamacho has joined #openstack-nova | 18:20 | |
openstackgerrit | Jason Anderson proposed openstack/nova master: Use fair locks in resource tracker https://review.opendev.org/711528 | 18:22 |
*** kaisers has joined #openstack-nova | 18:31 | |
*** shilpasd has quit IRC | 18:32 | |
*** eharney has quit IRC | 18:34 | |
*** amoralej is now known as amoralej|off | 18:35 | |
*** rishabhhpe has quit IRC | 18:37 | |
*** umbSublime has quit IRC | 18:39 | |
*** kukacz_ has quit IRC | 18:41 | |
*** slaweq has quit IRC | 18:47 | |
*** ralonsoh has quit IRC | 18:57 | |
*** larainema has quit IRC | 19:03 | |
*** jaosorior has joined #openstack-nova | 19:08 | |
*** nweinber__ has quit IRC | 19:16 | |
*** eharney has joined #openstack-nova | 19:48 | |
*** maciejjozefczyk has quit IRC | 19:53 | |
openstackgerrit | Victor Coutellier proposed openstack/nova master: Non-Admin user can filter their instances by more filters https://review.opendev.org/701609 | 19:58 |
*** ociuhandu has joined #openstack-nova | 20:09 | |
*** martinkennelly has quit IRC | 20:19 | |
mloza | I'm trying to do a live migrate on a instance between computes and both have same model but different processor series. I'm getting this error | 20:22 |
mloza | Live Migration failure: operation failed: guest CPU doesn't match specification: missing features: virt-ssbd: libvirtError: operation failed: guest CPU doesn't match specification: missing features: virt-ssbd | 20:22 |
*** ociuhandu has quit IRC | 20:25 | |
*** ociuhandu has joined #openstack-nova | 20:28 | |
*** vishalmanchanda has quit IRC | 20:31 | |
*** abaindur has joined #openstack-nova | 20:32 | |
*** bbowen has quit IRC | 20:34 | |
*** bbowen has joined #openstack-nova | 20:34 | |
mriedem | mloza: https://docs.openstack.org/nova/latest/admin/configuration/hypervisor-kvm.html#specify-the-cpu-model-of-kvm-guests might be helpful | 20:35 |
*** trident has quit IRC | 20:37 | |
*** ociuhandu has quit IRC | 20:37 | |
*** ociuhandu has joined #openstack-nova | 20:38 | |
*** ociuhandu has quit IRC | 20:43 | |
*** nweinber__ has joined #openstack-nova | 20:45 | |
*** trident has joined #openstack-nova | 20:47 | |
*** bbowen has quit IRC | 20:48 | |
*** slaweq has joined #openstack-nova | 20:48 | |
*** bbowen has joined #openstack-nova | 20:48 | |
*** rcernin has joined #openstack-nova | 20:53 | |
*** cgoncalves has quit IRC | 20:53 | |
*** cgoncalves has joined #openstack-nova | 20:56 | |
*** nicolasbock has quit IRC | 21:05 | |
*** xek_ has quit IRC | 21:07 | |
*** cgoncalves has quit IRC | 21:10 | |
*** cgoncalves has joined #openstack-nova | 21:11 | |
*** rcernin has quit IRC | 21:18 | |
*** eharney has quit IRC | 21:18 | |
*** dpawlik has quit IRC | 21:18 | |
*** nweinber__ has quit IRC | 21:20 | |
mloza | mriedem: tahnsk | 21:25 |
mloza | thanks* | 21:25 |
*** spatel has quit IRC | 21:29 | |
openstackgerrit | Merged openstack/nova master: Fix os-console-output policy to be admin_or_owner https://review.opendev.org/706725 | 21:33 |
*** slaweq has quit IRC | 21:33 | |
*** imacdonn has quit IRC | 22:04 | |
*** imacdonn has joined #openstack-nova | 22:05 | |
*** abaindur has quit IRC | 22:14 | |
*** abaindur has joined #openstack-nova | 22:15 | |
*** iurygregory has quit IRC | 22:18 | |
*** TxGirlGeek has quit IRC | 22:35 | |
*** tkajinam has joined #openstack-nova | 22:45 | |
*** ociuhandu has joined #openstack-nova | 23:07 | |
*** ociuhandu has quit IRC | 23:11 | |
*** tbachman has quit IRC | 23:25 | |
mloza | I specified cpu_mode = custom and cpu_models = EPYC-IBRS but I can't turn on the instance | 23:28 |
mloza | I get this error ': Invalid: Config requested a custom CPU model, but no model name was provided' | 23:28 |
mloza | I have x86_EPYC-IBRS.xml in /usr/share/libvirt/cpu_map/ | 23:29 |
*** spatel has joined #openstack-nova | 23:30 | |
*** vishalmanchanda has joined #openstack-nova | 23:34 | |
*** spatel has quit IRC | 23:35 | |
*** brinzhang has joined #openstack-nova | 23:42 | |
openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Add a tests to check when legacy access is removed https://review.opendev.org/710813 | 23:49 |
*** bbowen has quit IRC | 23:51 | |
*** bbowen has joined #openstack-nova | 23:52 | |
*** brinzhang_ has joined #openstack-nova | 23:57 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!