Thursday, 2023-12-14

opendevreviewRaghavendra Tilay proposed openstack/cinder master: HPE 3par: Fix issue seen during retype/migrate  https://review.opendev.org/c/openstack/cinder/+/88755907:48
*** geguileo is now known as Guest1029908:36
*** chuanm6 is now known as chuanm10:26
*** chuanm0 is now known as chuanm11:18
*** chuanm9 is now known as chuanm11:36
opendevreviewWalt proposed openstack/cinder master: Add action_track facility  https://review.opendev.org/c/openstack/cinder/+/87989514:05
hemna-not that I'm aware of.  I created it for my fork of cinder in our deployment in SAP's cloud.14:11
hemna-It's really nice to have in a running deployment to be able to search the logs by action_track and volume id14:11
hemna-makes it easy to see what actions are being taken on a volume 14:12
hemna-at least at a somewhat high level14:12
hemna-someone could write a different 'backend' for the facility as well and shove entries in a db table, or put it in a rabbitmq queue if they wanted.  14:21
simondodsleyhemna-: this action track looks pretty useful. Is it something that should be adopted by vendor drivers after your patch merges, or will your patch be enough?14:24
jbernardhemna-: also, can you describe your workflow for using this? very curious15:14
tkajinamMay ask someone from the core to review https://review.opendev.org/c/openstack/cinder/+/894237 and https://review.opendev.org/c/openstack/os-brick/+/900913 . these are needed so that we can get rid of os-win right after 2024.1 and I want to make sure these are not abandoned15:34
hemna-well, I didn't think putting those action_track entries in drivers is a good thing.   The purpose of it is to track/log at a high level actions being take on resources (volumes/snaps/backups) to see the lifecycle of the resources15:40
hemna-if drivers start using it, then it's just another flood of logs.   dunno15:41
hemna-so my workflow with it is this15:41
hemna-some volume ends up having a problem of some sort, like being stuck in attaching/deleting, etc.15:41
hemna-I get the volume uuid, then go to our opensearch where all of our logs go, then search for "cinder.action_track" and "<volume uuid>"15:42
hemna-that lets me easily find the actions being taken on that volume in the time period I am looking for15:43
hemna-to understand what was happening to that volume at that time.  It also tends to lead me to the failure to leave that volume stuck in the state15:43
hemna-it just provides the context of what was happening to that volume during that time, when it got stuck 15:44
hemna-and theoretically you can track actions and collect stats about what actions are happening on resources15:45
hemna-I think it would be too much to add the action track decorators to the drivers.15:46
hemna-need a balance of just enough action track entries15:46
hemna-or you might as well just be looking at debug logging.15:46
hemna-the entries look like '2023-12-14 15:47:56,026 10 INFO cinder.action_track [req-8c864d4d-3193-46f1-b2a2-8882b3b988fe greq-d1bdcaa6-68c5-02aa-b069-7ad1a8d000f4 600d96a94437dab2f002e6504c2bd7c5452e9d23caf89d0b6c1aecf9fb9b1d39 d940aae3f8084f15a9b67de5b3b39720 - - -] [a0fd566d-a91b-4422-9ddb-3eb69992eddd] ACTION:'volume_attach' MSG:'attachment_update15:49
hemna-completed_successfully' FILE:/var/lib/openstack/lib/python3.8/site-packages/cinder/volume/manager.py:5177:attachment_update RSC:Volume(_name_id=None.......'15:49
hemna-tells you exactly the 'action' being taken on a volume, where in the cinder code that's happening and the resource (volume object and it's details)15:50
hemna-it's really handy when you tail the logs with lnav and can do a filter on 'cinder.action_track'.  All you then see is the actions on the volumes and filter out all the debug log noise15:52
opendevreviewMerged openstack/cinder master: RBD: Flattening of child volumes during deletion  https://review.opendev.org/c/openstack/cinder/+/83538416:16
opendevreviewEric Harney proposed openstack/cinder master: mypy: Cleanup "noqa: H301" comments  https://review.opendev.org/c/openstack/cinder/+/90105316:29
opendevreviewWalt proposed openstack/cinder master: Add action_track facility  https://review.opendev.org/c/openstack/cinder/+/87989516:43
drencromHi, I got some errors regarding missing/wrong ssh keys on the openstack-tox-py311 tests here: https://review.opendev.org/c/openstack/cinder/+/86848519:01
drencromHas there been any changes with the CI infra?19:01
rosmaitadrencrom: i think you just got unlucky: https://zuul.opendev.org/t/openstack/builds?job_name=openstack-tox-py311&project=openstack%2Fcinder&skip=019:54
drencromThanks rosmaita, this cursed patch refuses to merge :)19:57
rosmaita:D19:58
happystackerHell team, There is also an ask by one of our partner to include Unisphere v10 (feature) support to their PowerVC orchestration engine which is based on Yoga. If backport isn't possible, what can we do to proceed?20:12
rosmaitahappystacker: there are no more releases from yoga, but the branch is in Unmaintained status, so patches can be merged into it once it's been tagged and moved to unmaintained/yoga  (the openstack-unmaintained-core team has +2W powers)20:25
happystackerBut it seams that backporting a feature is not acceptable.20:26
happystackerso what's the process I need to put in place to have this patch merged into yoga?20:26
rosmaitasorry, i missed the "feature" part20:27
rosmaitai think you may be out of luck, then, as far as upstream goes ... is Unisphere support currently in any upstream branches?20:29
happystackerit's supported starting from 2023.1 antelope20:30
rosmaitai guess it depends on the downstream rules for whatever openstack distro your customer is using, then20:33
happystackerIBM told me PowerVC 2.1 uses yoga20:33
happystackerand they have some asks from customer who wants to use Unisphere 10 which is not currently supported with their release20:34
happystackerPowerVC is based on the community edition20:35
rosmaitaright, but yoga is no longer a Maintained branch, so I guess PowerVC must maintain its own?20:36
happystackerLet me ask them.20:37
rosmaitayeah, find out what they expect and what their plans to maintain yoga are20:37
happystackerSo no patches nor features allowed to backport to yoga because it's unmaintained ?20:40
happystackerbecause we have some requests to backport patches (fixes) to Wallaby for OSP 17 onwards integration20:42
happystackerIt says on https://releases.openstack.org/ that Yoga is still Maintained, is it outdated?20:45
rosmaitahappystacker: yes, yoga is transitioning to Unmaintained: https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/ZYAZG43BLJJVXCYZVPYQX5733BYDVVNL/20:52
rosmaitai think this was the final yoga cinder release: https://review.opendev.org/c/openstack/releases/+/90181320:53
happystackerok so backporting anything earlier than Zed is therefore impossible?20:54
rosmaitato be in a release, yes20:54
rosmaitabut there will be "unmaintained" branches for collaboration20:55
happystackerbut Wallaby is also in unmaitained20:55
rosmaitahttps://governance.openstack.org/tc/resolutions/20230724-unmaintained-branches.html20:55
happystackerso backporting to it is also not possible20:55
happystackerI'm still learning this release lifecycle20:56
rosmaitai understand20:56
rosmaitabasically, downstream distributors will support versions of openstack that we no longer support upstream20:57
happystackerwow, such a headache20:57
rosmaitaright, so whether/how to get a fix into a downstream distro will depend on that distro's rules20:58
happystackerRH for example which have OSP 17 based on wallaby20:58
happystackerwhich is unmaintained20:58
rosmaitafor example, Red Hat requires that the fix/backport must be available upstream20:58
happystackerif it's unmaintained, we can't backport20:59
rosmaitawell, RH just says it must be upstream, not necessarily in an unreleaseable branch20:59
happystackerok so it means that just needs to be upsteam? if it's present in antelope, can it be included into OSP 17 still?21:00
happystackerI'm confused, might be in relation with the time in my TZ, getting late here21:01
rosmaitayes, the RH policy is that it should be backported as far as is allowed upstream.  So a feature into antelope won't be backportable upstream (because it's a feature).  But if you want to get the feature into OSP 17, you need to file a ticket with RH to work out the details21:02
rosmaitasame thing would apply to other openstack distros, you have to work with the distributor to get the code into their distribution21:03
rosmaitahappystacker: get some sleep and we can talk more tomorrow21:04
happystackerrosmalta: Ok it'll help me to understand all of that. Thank you Brian21:13
*** geguileo is now known as Guest1036821:16
opendevreviewGhanshyam proposed openstack/cinder-tempest-plugin master: Update stable jobs on master gate  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/88566923:33
opendevreviewGhanshyam proposed openstack/cinder-tempest-plugin master: Moving API microversion fixture in resource_setup  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/89597223:33

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