Thursday, 2022-06-30

opendevreviewOpenStack Proposal Bot proposed openstack/cinder master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/cinder/+/84684202:16
*** hemna9 is now known as hemna06:36
opendevreviewTushar Trambak Gite proposed openstack/cinder master: Delete volume and cloned-volume concurrently  https://review.opendev.org/c/openstack/cinder/+/84330909:17
opendevreviewTushar Trambak Gite proposed openstack/cinder master: Configure a storage node in cinder  https://review.opendev.org/c/openstack/cinder/+/82099409:32
opendevreviewTushar Trambak Gite proposed openstack/cinder master: Update volume delete rejection message  https://review.opendev.org/c/openstack/cinder/+/82660809:40
opendevreviewTushar Trambak Gite proposed openstack/cinder master: Storage node configuration  https://review.opendev.org/c/openstack/cinder/+/82282209:55
opendevreviewLuigi Toscano proposed openstack/cinder stable/yoga: SF: Remove compat clone image code  https://review.opendev.org/c/openstack/cinder/+/84824810:07
opendevreviewLuigi Toscano proposed openstack/cinder stable/xena: SF: Remove compat clone image code  https://review.opendev.org/c/openstack/cinder/+/84824910:07
opendevreviewLuigi Toscano proposed openstack/cinder stable/wallaby: SF: Remove compat clone image code  https://review.opendev.org/c/openstack/cinder/+/84825010:08
toskywhoami-rajat: I took the liberty of backporting some patches ^^ as the change seemed to apply cleanly10:08
whoami-rajattosky, thanks, since the feature was removed in train, removing the compat code in wallaby (and above) seems safe (3 release gap)10:12
*** bhagyashris_ is now known as bhagyashris10:25
opendevreviewAlexander Malashenko proposed openstack/cinder master: WIP: Add Cinder NFS driver for Dell EMC PowerStore  https://review.opendev.org/c/openstack/cinder/+/79760810:29
opendevreviewLuigi Toscano proposed openstack/cinder-tempest-plugin master: DNM test ceph on CentOS Stream 9  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/72976610:34
opendevreviewTushar Trambak Gite proposed openstack/cinder master: Include volume type constraints in internal API  https://review.opendev.org/c/openstack/cinder/+/84614610:35
opendevreviewRafael Weingartner proposed openstack/cinder master: Filter reserved image properties  https://review.opendev.org/c/openstack/cinder/+/81268510:59
opendevreviewTushar Trambak Gite proposed openstack/cinder master: Update volume_type_project bogus column  https://review.opendev.org/c/openstack/cinder/+/82282111:00
*** dviroel_ is now known as dviroel11:20
amalashenkoHello there! We can't have our zuul gate passed because of errors which seem not to be related to our code. https://review.opendev.org/c/openstack/cinder/+/807215. What should we do?11:23
opendevreviewMerged openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648412:14
felipe_rodrigues.kl;.m,kmnb   m12:25
felipe_rodrigues,.lkiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii,mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmkccfguiop[]12:25
felipe_rodrigues.lokihzzs by 678[].jm,lki,jklo;p['12:26
felipe_rodrigueso9p;'12:27
felipe_rodrigueskiloçp~´´´´´´´´p0ol.kiklop12:27
felipe_rodrigues[=´~12:27
felipe_rodrigues.=[=´oiool ç^ç´p0o9m,0-~12:27
tosky say hello to the cat12:36
felipe_rodriguessorry, kids 12:36
enriquetasohahaha13:00
dc_arunHello core reviewers, https://review.opendev.org/c/openstack/cinder/+/83699613:59
hemnageguileo, you around?14:17
geguileohemna: hi, yeah, but I'm in a meeting14:21
hemnaok just ping me when you are done14:22
hemnathanks14:22
geguileook14:22
amalashenkoHello there! We can't have our zuul gate passed because of errors which seem not to be related to our code. https://review.opendev.org/c/openstack/cinder/+/807215. What should we do?14:38
opendevreviewRafael Weingartner proposed openstack/cinder master: Filter reserved image properties  https://review.opendev.org/c/openstack/cinder/+/81268514:40
opendevreviewAlexander Malashenko proposed openstack/cinder master: WIP: Add Cinder NFS driver for Dell EMC PowerStore  https://review.opendev.org/c/openstack/cinder/+/79760814:46
opendevreviewFábio Oliveira proposed openstack/cinder master: NetApp ONTAP: Implemented REST Client for ONTAP  https://review.opendev.org/c/openstack/cinder/+/83602715:17
geguileohemna: I'm back15:30
hemnayough15:31
hemnaso i'm poking around and noticed that a few drivers report backend_state = 'up'/'down'15:31
hemnain their capabilities.  I can't find where that is applied and used15:31
hemnadoes that somehow make it in here: https://github.com/openstack/cinder/blob/89eaf24c6a5f91e94902ba60d99a05c741e5af6b/cinder/scheduler/host_manager.py#L694 ?15:32
hemnafrom what I can tell that answer is now, because https://github.com/openstack/cinder/blob/master/cinder/objects/service.py#L206-L20915:32
hemnaerr s/now/no15:32
hemnaI want to be able to disable a pool from being scheduled, but not removed from the scheduler itself and reporting via pool stats15:33
hemnakinda surprised that doesn't exist already.   like report 'pool_state': 'up'/'down' and if it's 'down', then the filters will filter that pool out until it's 'up'15:34
geguileohemna: afaik it doesn't exist yet15:35
geguileoiirc they are only disabled if there is no heartbeat15:35
hemnathe only way I see to do it now is to set an extra spec in every volume type of pool_state: up15:36
hemnaseveral drivers set backend_state: up15:36
hemnalvm for one15:36
hemna3par as well, rbd, few more.15:36
geguileobut is that actually been properly updated?15:36
hemna3par does fwiw15:36
hemnait can go from down to up 15:36
geguileothat's cool!15:37
hemnaI kinda think we need both backend_state and pool_state15:37
geguileoLVM is always up15:37
geguileoI think it's tricky, right?   Because we also need to report it right in cinder service-list15:37
hemnawe have pools that go into maintenance mode for a bit and will fail to create a volume while in that state.  so I wanted to mark that pool as 'down' until its out of maintenance mode15:37
geguileoSo it's not only about making the scheduler do the right thing, but also Cinder report things right to end users15:38
hemnafor pools I think it's easier15:38
hemnapool_state is down, then filter out always.15:38
hemnauntil it's back up15:38
hemnabut if a driver reports backend_state = down, then the service is kinda down 15:39
hemnawell the backend is down, but the service is up, if that makes sense15:39
hemnathe scheduler should filter out that entire backend at that point, re: all pools15:40
geguileooooooh, cinder service-list already reports this information!15:40
hemnaif the driver reports backend_state = 'down' ?15:40
geguileoyes15:40
hemnaok cool, what does the scheduler do with it?15:40
geguileohemna: https://opendev.org/openstack/cinder/src/commit/89eaf24c6a5f91e94902ba60d99a05c741e5af6b/cinder/api/contrib/services.py#L75-L8415:41
geguileoI'll look now15:41
hemnaok, I figured the BackendState object would have an attribute of backend_state or state15:42
hemnabut it doesn't15:42
geguileolooks like the scheduler ignores this info  :-(15:43
hemnahttps://github.com/openstack/cinder/blob/master/cinder/scheduler/host_manager.py#L9615:43
hemnayah that's bad15:43
hemnamost drivers don't report it15:44
hemnaso I presume the default should be backend_state = 'up'15:44
hemnaif I'm not mistaken, for a short term fix I could just specify pool_state = 'up' in the volume types, and then have the driver report the pool_state, and that should filter out pools that are down?15:46
hemnavia the capabilities filter.   But I think cinder in general should handle that w/o the volume type extra specs hack15:46
geguileoyeah, we need to fix that whole thing15:46
geguileoand if all pools are down the backend should report as down15:46
hemnatrue15:47
geguileoand we should have a field to report a reason why it's down15:47
geguileothe tricky part is that in a cluster we could have a host that returns that it's down while the others say they are ok15:47
geguileoso we will also have to consider that active-active case15:48
hemnayah that's a confusing state15:48
hemnaI'd say we'd have to side on caution15:48
geguileowell, it could be that a specific service has lost network connection to the backend15:48
hemnabut maybe one c-vol has a fuct network and can't talk to the backend....so that c-vol shouldn't accept requests, but the others are ok15:49
geguileoit we were to allow drivers to asynchronously report down state without waiting for stats15:49
geguileothat would help15:49
hemnaheh15:49
geguileothis is definitely a nice feature to work on15:49
hemnaso what about pool_state15:49
geguileothe pool state would be the same in active-active15:50
hemnathe same thing could happen I suppose, due to having 'old' reporting from a few c-vols, but the most recent has a diffferent value15:50
geguileoI confirmed that creating a volume type with backend_state=up  as extra specs works fine15:53
hemnaok perfect.  I'll do that short term15:53
geguileoI haven't tried with the pool_state15:54
geguileobut it should be the same thing, since backend_state is reported at the pool level15:55
hemnayah I think the pools capabilities are compared when pools are reported15:57
geguileohemna: another thing that should be improved is when c-sch stops receiving stats from c-vol15:58
geguileoright now that is ignored as long as we have some values15:58
geguileoand there is a heartbeat on the DB15:58
hemnadoh yah15:58
NiklasNorin[m]Hi guys!! I'm new to openstack and I'm setting up my first all-in-one installation (on a decent home server). I have 2x RAID5/6 arrays, one with only SSDs and one with only HDDs.... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/mQnVdChjLHLHQNIhKfryKWhL)20:40
*** dviroel is now known as dviroel|afk20:42
opendevreviewMerged openstack/cinder master: PowerMax Driver - allow for None values in metadata  https://review.opendev.org/c/openstack/cinder/+/80378521:11

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