Friday, 2021-07-09

opendevreviewMerged openstack/nova stable/victoria: Stop leaking ceph df cmd in RBD utils  https://review.opendev.org/c/openstack/nova/+/79193803:08
*** bhagyashris|ruck is now known as bhagyashris|out05:53
*** mgoddard- is now known as mgoddard08:40
lyarwoodmelwitt: https://bugs.launchpad.net/nova/+bug/1931707 btw, that's the same issue as downstream right?09:53
stephenfinlyarwood: gibi: With an operator-like hat on, is there any reason to keep the VERSION argument in 'nova-manage db sync [VERSION]' ?09:56
stephenfingiven we don't allow downgrades09:56
stephenfinand you can't really run nova without the latest DB schema09:57
sean-k-mooneystephenfin: my only resevation with removing it is if you want to do the migrations in batches09:58
gibistephenfin: I think stoping at an intermittent version, do some manual checks / fixes inconsistencies, then continue forward might make sense 09:58
sean-k-mooneythats basicaly what i was thinking09:59
sean-k-mooneybut if we did things correctly that should not be required09:59
gibiyeah, also batching might make sense if there are heavy transformations09:59
gibiif we never have bugs leading to db inconsistencies then yeah :D09:59
sean-k-mooneystephenfin: with a down stream hat on i dont know if there are FFU cases where we would want to stop an an intermidite release09:59
gibiwhat my empoyer do during Mitaka -> Victoria FFU is to stop at Pike and Train then go to Victoria10:00
gibisorry, stop at Newton and Pike10:01
stephenfinokay, batching or step by step upgrades makes sense10:01
sean-k-mooneywe might want to stop on n+2 before n+3 to run some online migrations 10:01
stephenfinalembic allows us to separate migrations into those that expand (can be done online) and those that contract (requires downtime)10:02
sean-k-mooneyya it does10:02
stephenfinso we might be able to look at finally removing a lot of dead tables and columns in contract migrations10:02
sean-k-mooneyis it problematic to continue to supprot this10:02
stephenfinis that a question or a statement?10:02
sean-k-mooneya quetion is it difficult to support db sync version?10:03
sean-k-mooneyim wondering why you asked10:03
stephenfinno, not at all10:03
stephenfinI was just wondering if it's worth keeping10:03
lyarwoodYeah I think it is, would avoid the need to ship every release for db migrations10:04
sean-k-mooneyok personally i do not know if it really widely used. typically i would not expect it to be10:04
stephenfinWell, it's slightly tricky. I'm not allowing people to select an sqlalchemy-migrate version. Only alembic ones10:04
lyarwoodif we kept a few releases in tree at once that is10:04
sean-k-mooneylyarwood: well we dont drop the db migrations10:04
stephenfinSo you won't be able to select any of the migrations > Train, < Xena10:04
stephenfinwhich I think is fine because they're all placeholders rn10:04
lyarwoodright the ones you squashed?10:05
stephenfinI squashed everything up to Train10:05
stephenfinwe haven't had a real DB migration since then10:05
sean-k-mooneytheir have been no db changes since train?10:05
sean-k-mooneyi was not aware of that.10:06
stephenfinnope10:06
stephenfinNo API microversions in Victoria either. Sign of the times10:06
sean-k-mooneyso that tecnicaly mean a master api could talk to a train cell db10:06
stephenfinYup10:06
stephenfinin theory we don't do contractions so a train API could talk to a master DB10:08
stephenfinalso10:08
sean-k-mooneyis the same true of the api db10:08
stephenfinyes, afaik10:08
sean-k-mooneygood to know10:08
lyarwoodsean-k-mooney / stephenfin / gibi ; if you have time today could you take a look at these specs I'm trying to get over the line before spec freeze and my sick leave next week? https://review.opendev.org/c/openstack/nova-specs/+/799811 https://review.opendev.org/c/openstack/nova-specs/+/799624 https://review.opendev.org/c/openstack/nova-specs/+/79985010:20
sean-k-mooneyyou have 3 :)10:22
sean-k-mooneyah10:22
sean-k-mooneyyes i rememebr all 3 of them being discussed ill review them today10:22
gibilyarwood: I will check them out after lunch10:23
lyarwoodmany thanks10:28
lyarwoodhttps://review.opendev.org/c/openstack/nova/+/799964 - we don't need a minor version bump on o.vo objects when adding new field values right?10:30
lyarwood^ this updated nova.virt.arch.ALL and caused the hashed version of a few o.vo objects to change10:30
lyarwoodbut as it's just field values and not adding or removing actual attributes from the object I guess we just update the hash?10:31
sean-k-mooneyam we do not bump for compostion10:46
sean-k-mooneyso if a contained ovo change we dont need the bump the warping ovo10:46
sean-k-mooneybut let me look10:46
sean-k-mooneywe do need to backlevel the value in some cases10:47
sean-k-mooneydo we support armv6l10:48
gibilyarwood: yeah I think we need a minor bump for enum value. As the old compute will not handle the new enum value10:48
sean-k-mooneyi tought we were going to drop all 32bit arch support10:48
sean-k-mooneygibi: for enuma yes10:48
sean-k-mooneywe back level the image proerties object for example anytime we bump an enuma field10:49
gibithere is an Architecture enum that uses very similar values than https://review.opendev.org/c/openstack/nova/+/799964/2/nova/virt/arch.py#1710:50
sean-k-mooneyyes there is the current patch is not touching the objects just the virt code10:50
lyarwoodgibi: right, I've asked them to update that, it's using the values of nova.virt.arch.ALL that they have updated for the ALL attribute there that caused the test version failures10:51
sean-k-mooneyalthough i thinke we generate one form the ohter10:51
sean-k-mooneylyarwood: well im not sure if wew shoudl be adding this however10:51
lyarwoodkk I didn't think it was 32 bit ./me looks10:51
lyarwoodhmm does it really matter if libvirt supports it?10:54
sean-k-mooneyi mean we can add it but im not sure if that is soemthing we want to support10:54
sean-k-mooneyi guess its fine to include if we want to enulate it in the future10:55
sean-k-mooneyjust not as a host plathform10:55
lyarwoodYeah indeed10:56
sean-k-mooneywith that said i did once try to get openstack running in a rasberry pi10:57
sean-k-mooneyproably quite doable now with the pi410:58
gibilyarwood: if you  add a sentence about locking / unlocking the instance during the connection update then I'm +2 on https://review.opendev.org/c/openstack/nova-specs/+/79962411:13
gibilyarwood: I left two questions in https://review.opendev.org/c/openstack/nova-specs/+/799850 11:20
gibilyarwood: and I'm +2 with a micro nit on https://review.opendev.org/c/openstack/nova-specs/+/79981111:24
gibiI can get back to these specs still today if you bump them11:25
sean-k-mooneylyarwood: by the way this is still pending we shoudl proably implemaet that soone rather then later ill see if i can get back to that while your away11:27
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/77404411:27
lyarwoodgibi: ack looking11:37
lyarwoodsean-k-mooney: ack kk11:38
sean-k-mooneyam i would prefer if we made https://review.opendev.org/c/openstack/nova-specs/+/799811 more general 11:39
sean-k-mooneyill push my comments shortly11:39
lyarwoodsean-k-mooney: two issues with making it general, we'd have to work out the defaults for all of the image props if they aren't provided11:42
lyarwoodsean-k-mooney: and it's a load of work to validate all of the input compared to just targeting what we need at the moment11:42
sean-k-mooneywe dont need to recorod all of them but i want to allow updating all excptin the ones we know will break things11:42
lyarwoodtbh that's a seperate spec and thing to this11:43
sean-k-mooneylyarwood: there are only 4 addtional ones i think we should be recordeing11:43
opendevreviewLee Yarwood proposed openstack/nova-specs master: Add nova-manage commands to show and refresh connection_info  https://review.opendev.org/c/openstack/nova-specs/+/79962411:44
lyarwoodgibi: re https://review.opendev.org/c/openstack/nova-specs/+/799850 - I thought policy was more for overall access to an API but if we can use it to also control the contents of the response then I don't see why we couldn't use it here as well.11:48
gibilyarwood: e.g. os_compute_api:os-instance-actions:events:details controls the detials of the actions and it is system reader by default11:51
sean-k-mooneywe also have a polciy to control if the extra specs of a flavor are show to normal users11:53
lyarwoodcool okay I'll copy that pattern then11:55
sean-k-mooneylyarwood: comments pushed on https://review.opendev.org/c/openstack/nova-specs/+/79981111:57
sean-k-mooneylyarwood: you had another spec similar to https://review.opendev.org/c/openstack/nova-specs/+/799850 for addign the attchment id right11:59
sean-k-mooneycan we use the same microversion for both11:59
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova-specs/+/79479911:59
sean-k-mooneyi kid of feel like those two api cahnges shoudl be done together12:00
lyarwoodwe could but I thought it needed something separate for the admin/policy driven part12:00
sean-k-mooneyi mean we could leave that to the implemation it would be nice not to have to bump twice12:01
sean-k-mooneyam one other question12:02
sean-k-mooneywe wanted to stop stashing the connection info in nova at somepoitn right12:02
sean-k-mooneyand just alwasy get it form cinder12:02
sean-k-mooneybasically if we plan to not store it in the db long term i dont think we should add it to the api respocne so that we do not need then proxy it in the future12:04
lyarwoodsorry back12:09
lyarwoodyeah I don't mind using the same microversion for both if it matters that much12:09
lyarwoodand yeah eventually I'd like to but there's no written down plan to attack that this cycle yet12:09
sean-k-mooneyit does not but im not conviced we should should add the new api12:10
sean-k-mooneyi think we should just proceed with https://review.opendev.org/c/openstack/nova-specs/+/799624 more then likely12:10
sean-k-mooneyalthough i have not read that yet but i think nova manage would be better if we plan to remove the cacheing eventually12:11
lyarwoodI disagree, we can always remove it in a later microversion12:11
sean-k-mooneywe could but we will have to proxy for old microverions12:11
lyarwoodand when it is there it's just going to be None once we've removed the stashing in Nova12:11
lyarwoodwhy would we need to proxy?12:12
sean-k-mooneyno if we remove the stashing we will have to have nova proxy to nova for the old microverion12:12
lyarwoodnope12:12
lyarwoodit's the connection_info that Nova has12:12
sean-k-mooneyit would break people if we did not12:12
lyarwoodhow would it break people?12:12
sean-k-mooneyif people used the old microversion then they would expect the connection info12:13
sean-k-mooneyand it would nolonger be presnt when we stop stashing12:13
lyarwoodthey'd expect the connection_info that Nova held about a volume attachment12:13
lyarwoodthey're not going to use it for anything12:13
lyarwoodit's just a troubleshooting tool12:13
sean-k-mooneywhich i dont think shoudl be at the api level12:14
sean-k-mooneyif we put it in the api then it will be used for other things12:14
sean-k-mooneythe fact that nova caches this info is an internal implementation detail12:15
sean-k-mooneywe also have a network info cache but we dont expose it via the api12:15
sean-k-mooneyi dont think we shoudl be treatign novas copy of the the connection info as something different from cinders at the api level12:16
sean-k-mooneyits just a cache12:16
sean-k-mooneyIMO12:16
lyarwoodPartly, there's also some additional stuff we stash in there on the Nova side at the moment12:17
lyarwoodlike the device path, multipath UUIDs etc12:17
lyarwoodI still think it's entirely valid in the API12:17
lyarwoodthere's nothing a caller could do with it anyway outside of calling os-brick with it12:18
sean-k-mooneywell you could use it to connect to the backend12:18
lyarwoodright I mean with our APIs12:18
lyarwoodso the fact it's going away in the future shouldn't matter12:19
lyarwoodand there's always another way of getting it12:19
sean-k-mooneyi dont know to me this just feels like adding tech debt12:20
sean-k-mooneythe admin should not really need to know or care about this12:20
sean-k-mooneyi get that its for troble shooting12:20
sean-k-mooneybut wont the nova manage command provide a better way to do that12:21
sean-k-mooneyas that will also supprot refershing it12:21
sean-k-mooneyso fixing the problem if it exitis12:21
opendevreviewStephen Finucane proposed openstack/nova master: db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api'  https://review.opendev.org/c/openstack/nova/+/79952412:24
opendevreviewStephen Finucane proposed openstack/nova master: db: Move remaining 'nova.db.sqlalchemy' modules  https://review.opendev.org/c/openstack/nova/+/79952512:24
opendevreviewStephen Finucane proposed openstack/nova master: db: Post reshuffle cleanup  https://review.opendev.org/c/openstack/nova/+/79952612:24
opendevreviewStephen Finucane proposed openstack/nova master: db: Avoid use of ALTER in initial migration  https://review.opendev.org/c/openstack/nova/+/80007612:24
opendevreviewStephen Finucane proposed openstack/nova master: db: Add initial alembic migration for main DB  https://review.opendev.org/c/openstack/nova/+/79952712:24
opendevreviewStephen Finucane proposed openstack/nova master: db: Add initial alembic migration for API DB  https://review.opendev.org/c/openstack/nova/+/79952812:24
opendevreviewStephen Finucane proposed openstack/nova master: db: Trivial style changes  https://review.opendev.org/c/openstack/nova/+/79952912:24
opendevreviewStephen Finucane proposed openstack/nova master: db: Normalize migrations tests  https://review.opendev.org/c/openstack/nova/+/79968412:24
opendevreviewStephen Finucane proposed openstack/nova master: db: Integrate alembic  https://review.opendev.org/c/openstack/nova/+/79953012:24
opendevreviewStephen Finucane proposed openstack/nova master: db: Enable auto-generation of migrations  https://review.opendev.org/c/openstack/nova/+/80007712:24
opendevreviewStephen Finucane proposed openstack/nova master: docs: Add documentation on database migrations  https://review.opendev.org/c/openstack/nova/+/80007812:24
viks__hi, i'm facing some issue in network interface naming... after i create an ubuntu instance, i assign a private interface, and then ubuntu instance gets an interface named `ens7`... but when i power off and then start the instance again, the interface name changes to `ens4`. I'm not sure how to avoid this name changing? Can someone plz guide?12:34
sean-k-mooneyviks__: that is because of two things one the pci adddreess of the instance likely change and 2 hotplug name are normally not stable in general12:39
sean-k-mooneyone way to adress this is with udev rules that mach on the mac to set the name12:39
sean-k-mooneyviks__: in generally if you shoudl leverage device role tagging https://specs.openstack.org/openstack/nova-specs/specs/mitaka/approved/virt-device-role-tagging.html12:40
opendevreviewMerged openstack/nova stable/ussuri: [neutron] Get only ID and name of the SGs from Neutron  https://review.opendev.org/c/openstack/nova/+/78725312:41
viks__sean-k-mooney:  if we tag, the names will persist after instance comes up again? 12:44
sean-k-mooneyno12:45
sean-k-mooneythe name is out of the contol of openstack12:45
sean-k-mooneybut if you tag it will provide a way for you to lookup the device and not depend on the name12:46
sean-k-mooneyin the metadata api you will get info like this12:46
sean-k-mooney{12:46
sean-k-mooney        "type": "nic",12:46
sean-k-mooney        "bus": "pci",12:46
sean-k-mooney        "address": "0000:00:03.0",12:46
sean-k-mooney        "mac": "01:22:22:42:22:21",12:46
sean-k-mooney        "tags": ["nfvfunc2"]12:47
sean-k-mooney    },12:47
sean-k-mooneyand you can have a script at boot name you interfaces as you wish12:47
sean-k-mooneyviks__: the nic names should not change again provide you dont add or remvoe any nics or volumes to the vm12:47
viks__sean-k-mooney:  Thanks a lot.. will try out...12:49
sean-k-mooneylyarwood: +1 on https://review.opendev.org/c/openstack/nova-specs/+/799624 i an alternitive approch inline and just want you to confirm it wont work13:18
opendevreviewElod Illes proposed openstack/nova stable/train: [neutron] Get only ID and name of the SGs from Neutron  https://review.opendev.org/c/openstack/nova/+/78731613:18
*** liuyulong__ is now known as liuyulong_13:40
opendevreviewBalazs Gibizer proposed openstack/nova master: [func test] refactor assertPortMatchesAllocation  https://review.opendev.org/c/openstack/nova/+/79245813:54
opendevreviewBalazs Gibizer proposed openstack/nova master: [func test] refactor asserts in qos tests  https://review.opendev.org/c/openstack/nova/+/79893013:54
opendevreviewBalazs Gibizer proposed openstack/nova master: [func test] ports with both bw and pps resources  https://review.opendev.org/c/openstack/nova/+/79239413:54
opendevreviewBalazs Gibizer proposed openstack/nova master: Parse extended resource request from the port  https://review.opendev.org/c/openstack/nova/+/80008513:54
opendevreviewBalazs Gibizer proposed openstack/nova master: Transfer RequestLevelParams from ports to scheduling  https://review.opendev.org/c/openstack/nova/+/79150614:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Support boot with extended resource request  https://review.opendev.org/c/openstack/nova/+/80008614:01
opendevreviewBalazs Gibizer proposed openstack/nova master: Support move ops with extended resource request  https://review.opendev.org/c/openstack/nova/+/80008714:03
opendevreviewBalazs Gibizer proposed openstack/nova master: [func test]Refactor interface attach with qos  https://review.opendev.org/c/openstack/nova/+/80008814:03
opendevreviewBalazs Gibizer proposed openstack/nova master: Support interaface attach / detach with new resource request format  https://review.opendev.org/c/openstack/nova/+/80008914:03
opendevreviewBalazs Gibizer proposed openstack/nova master: [func test] move unshelve test to the proper place  https://review.opendev.org/c/openstack/nova/+/79362114:06
opendevreviewKashyap Chamarthy proposed openstack/nova master: libvirt: Switch the default video model from 'cirrus' to 'virtio'  https://review.opendev.org/c/openstack/nova/+/79868015:02
opendevreviewBalazs Gibizer proposed openstack/nova master: Support boot with extended resource request  https://review.opendev.org/c/openstack/nova/+/80008616:17
opendevreviewBalazs Gibizer proposed openstack/nova master: Support move ops with extended resource request  https://review.opendev.org/c/openstack/nova/+/80008716:17
opendevreviewBalazs Gibizer proposed openstack/nova master: [func test]Refactor interface attach with qos  https://review.opendev.org/c/openstack/nova/+/80008816:17
opendevreviewBalazs Gibizer proposed openstack/nova master: Support interaface attach / detach with new resource request format  https://review.opendev.org/c/openstack/nova/+/80008916:17
opendevreviewBalazs Gibizer proposed openstack/nova master: [func test] move unshelve test to the proper place  https://review.opendev.org/c/openstack/nova/+/79362116:19
melwittlyarwood: the error in https://bugs.launchpad.net/nova/+bug/1931707 is the same but downstream it's happening during a server show17:09
*** melwitt is now known as Guest32217:31
*** melwitt_ is now known as melwitt17:57
*** melwitt is now known as jgwentworth17:58
*** TheJulia is now known as needssleep18:04
opendevreviewRodrigo Barbieri proposed openstack/nova stable/stein: Error anti-affinity violation on migrations  https://review.opendev.org/c/openstack/nova/+/80011418:23
opendevreviewRodrigo Barbieri proposed openstack/nova master: Improve prep_resize reschedule unit test  https://review.opendev.org/c/openstack/nova/+/80029718:53
opendevreviewMerged openstack/nova stable/train: [neutron] Get only ID and name of the SGs from Neutron  https://review.opendev.org/c/openstack/nova/+/78731622:33
opendevreviewmelanie witt proposed openstack/nova stable/stein: [neutron] Get only ID and name of the SGs from Neutron  https://review.opendev.org/c/openstack/nova/+/79140222:39
opendevreviewmelanie witt proposed openstack/nova master: Make test_archive_task_logs deterministic  https://review.opendev.org/c/openstack/nova/+/80031322:40

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!