Wednesday, 2023-07-26

jakeyipthanks ricolin I will test07:18
jakeyiphi anyone around today?08:54
travisholtonyep, hi jakeyip 08:56
jakeyiphi travisholton. let's wait to see if there are more.08:57
jakeyiptravisholton: looks like possibly just us. let's just have chat then, instead of a meeting09:03
travisholtonsounds good09:03
jakeyipanything on your mind?09:03
travisholtoncurious how you got on with getting capi to run in devstack09:04
jakeyipit was really good. worked out of the box for me AFAICT09:04
travisholtongood to hear!09:05
jakeyipgood work there :)09:05
jakeyipI'm working my way up the chain for review. there are a few questions I have as of now09:06
travisholtonwell the stackhpc folks did all that. We're looking forward to getting things merged 09:06
travisholtonit does seem to work pretty smoothly09:07
jakeyipyeah was hoping stackhpc people be here09:07
travisholtonI think we'll try and ping them again to see if we can arrange some chat time09:09
travisholtoni've done some additional work to get flatcar working as well as k8s-keystone-auth that i'm keen to integrate with it09:10
jakeyipfrom my (limited) testing, it works, and it didn't break current CTs. I'm pretty happy to merge that based on this, and do improvements in future commits.09:11
jakeyipI think that will be sensible and get us over this hump09:11
jakeyipI have a question though - is there a way we can feature gate this, so operators _must_ explicitly enable it?09:13
travisholtonthat sounds promising09:13
jakeyipany ideas? how are you rolling it out?09:14
daleesthe config item `[drivers]/disabled_drivers` may allow that if we want to explicitly disable it by default.09:15
travisholtonwe're just about to try rolling it out in our preprod environment09:15
travisholtondriver selection would also be implicit based on os-distro as well. Right now the cluster_api driver only works with images having os_distro=ubunut09:17
travisholtonubuntu09:17
jakeyipdalees: I was looking at that. we could add that to default, but if a cloud has set that, then it'll be enabled?09:17
jakeyiptravisholton: a user can create image os_distro=ubuntu and create a CT based on that09:17
travisholtonit works that way currently09:20
daleesjakeyip: yeah if a cloud has defined that config item, a newly introduced driver would be enabled.09:21
daleeswe're planning on rolling it out alongside the Heat driver for some amount of time, to allow plenty of transition time to newer templates that will be CAPI based and not creating newer CT using Heat drivers.09:24
daleeswhere the transition will be new cluster builds, of course.09:24
jakeyipI think we can do it with a new config, maybe I'll have a play09:24
daleesyeah, I'd be okay with `[drivers]/capi_enabled` or the like defaulting to false, then true at a later date.09:25
jakeyipyeah09:26
jakeyipor maybe something generic like CONF.drivers.enable_beta_drivers 09:27
daleesit seems like the surest way to gate it, and make sure operators know they'll use it. The backing cinder image does need to be fairly specific, though, for the CAPI driver to handle the Cluster Template.09:27
jakeyipI'll have a play09:28
daleescool09:28
jakeyipanother thiing along the same line is os=ubuntu. this seems to box us into ubuntu os, although right now openstack image-builder only has ubuntu if I'm correct?09:29
travisholtonit also has flatcar. that's what we've been testing with09:29
travisholtonthat'll be what we use for our managed service once everything is ready09:30
jakeyiphm do you have a link for flatcar image building for capi?09:31
jakeyipoh nvm found it, sorry09:32
travisholtonit works with the image_builder but the Makefile they provide only generates the image as a file that must be uploaded.09:33
jakeyipOK, I'll have to take a more detailed look later09:34
travisholtonI've been using some customised packer to build it directly in openstack09:34
jakeyipso how are you handling them? os_distro=ubuntu? ? 09:34
travisholtonos_distro=flatcar09:34
jakeyipthat must be the patch you are talking about in the beginning?09:35
jakeyiphttps://review.opendev.org/c/openstack/magnum/+/887545 ?09:36
travisholtonah yep that's it09:37
jakeyipah ok. I was originally thinking of os_distro=capi and all capi images be using that. but it looks like flatcar may need a bunch more stuff?09:39
travisholtonit needs some changes to the helm charts that stackhpc created originally to add support for "ignition based OS"09:41
travisholtonthat's what you don't see in that patch..and brings up the point about where helm charts should live in the future09:41
travisholtonwe're hosting it locally from our oci registry at the moment09:42
jakeyipyeah. any ideas on that? I was trying to find out if there are projects hosting helm charts09:45
jakeyiplike openstack-helm? :D09:45
travisholtonI'm not sure what options are available either. Our local oci-registry has been working well and since its primary function is hosting the images we use for k8s it's easy to support09:51
jakeyiptravisholton: do you mind sharing a link to your helm charts that work with flatcar?09:52
travisholtonsec09:52
daleesthe magnum project would need a git repo for the helm charts, and then some distribution mechanism - OCI or tar are the supported? 09:52
daleestravisholton: looks like this is your PR - https://github.com/stackhpc/capi-helm-charts/pull/5309:54
travisholtonah yep09:54
jakeyiplol https://github.com/stackhpc/capi-helm-charts/pull/53/commits/0a4cc48c4c8b2fde21fead9a52518cf371760706#diff-51d17971d66a02544b44f9430110767ac95d1202322f9bd10cdd791f1de4b51cR5809:55
daleeshaha09:56
travisholtonoops yeah there's still some catalystcloud stuff in there09:56
travisholtoni think i still need to push a more recent version to that09:57
jakeyiptravisholton: so if I understand your patch, one of the change will be `"ignitionBasedOS": ignition_based_os` which gets passed down as a value to helm upgrade ?10:04
travisholtonexactly...and that tells the helm chart to add in some ignition specific configuration10:06
jakeyipI wonder if we should get extra `values` configurable in a CT. possibly as a label10:06
jakeyipmotivation is to do away with os detection in magnum code, make it as dumb as possible10:07
travisholtonone thing we're keen on avoiding is allowing customers to override helm values via labels10:09
jakeyipwhy¿?10:10
jakeyipoops didn't mean to do that ^10:11
* dalees needs to sleep, been a long day today.10:18
jakeyipyeap, we can continue next week10:19
jakeyipthanks for coming10:19
travisholtonhopefully we get to chat with some of the others next week as well10:19
daleesthanks jakeyip  - trav and i will discuss further the os detection in magnum code before next week, so we can pick up there too.10:20
travisholtonjakeyip: I have a patch I need to push up to the capi-helm-chart PR that I forgot about (but have been using locally for a while)10:20
jakeyiptravisholton: ok will watch10:20
travisholtoncool..i'll try and ping you when I do 10:21
jakeyipsee you next week dalees travisholton 10:22
travisholtono/10:22
mnasiadkahello, just got back from vacation if any reviews are waiting - just point me to them :)17:52
travisholtonjakeyip: I made that update. If you do give that a go please let me know how it works for you.18:23
-opendevstatus- NOTICE: The Gerrit service on review.opendev.org will be offline briefly for a minor upgrade at 21:00 utc, approximately an hour from now20:02
-opendevstatus- NOTICE: The Gerrit service on review.opendev.org will be offline briefly for a minor upgrade, but should return shortly21:01
jakeyiphi mnasiadka hope you had a good holiday :)23:02
jakeyiphi, I have this nagging issue, wonder if anyone has a solution. when a pv is created in k8s, then the cluster is deleted w/o deleting the pv first, a cinder vol is left behind23:08
jakeyipI have a bunch of cinder vol but I can't correlate this to a cluster23:09

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