Wednesday, 2023-05-24

opendevreviewzhouxinyong proposed openstack/magnum master: Use new get_rpc_client API from oslo.messaging  https://review.opendev.org/c/openstack/magnum/+/88382001:35
opendevreviewMerged openstack/magnum stable/zed: Fix pep8 gate  https://review.opendev.org/c/openstack/magnum/+/88310403:21
opendevreviewJake Yip proposed openstack/magnum stable/zed: Add `-p` param to `mkdir` in agent startup script  https://review.opendev.org/c/openstack/magnum/+/88399604:04
opendevreviewJake Yip proposed openstack/magnum stable/zed: Fix pods unable to send traffic to ClusterIP  https://review.opendev.org/c/openstack/magnum/+/88399704:04
jakeyipI'm here if anyone needs me08:56
mkjpryorhi all09:04
travisholtonhi!09:04
mkjpryorjakeyip: we think that the first batch of patches for the Cluster API driver are ready for review now09:06
mkjpryorit would be good to start getting eyes on them from outside the team09:06
travisholtonnice!09:07
jakeyipnice! whre should i start?09:12
daleeso/09:12
jakeyiphi dalees 09:12
mkjpryorjakeyip: https://review.opendev.org/c/openstack/magnum/+/815521 is the bottom of the patch chain09:15
jakeyipok will take a look09:17
mkjpryorThe patches so far implement create, delete, config, resize, add/remove/resize nodegroup09:18
mkjpryorAll the patches marked Active are ready for review09:18
mkjpryorThere will be additional patches on top to implement upgrade, to respect more of the networking parameters and for autoscaling09:19
daleesmkjpryor: nice, i was just about to ask feature list. Are Cluster resource status messages surfaced/updated into Magnum?09:19
mkjpryorPlus some other stuff probably09:19
mkjpryordalees: Not at the moment, but would be another easy patch I think09:19
mkjpryorBecause Cluster API uses a reconciliation loop, resources don't actually go into a failed state very often09:20
mkjpryorSo actually error reporting in general is a little tricky09:20
daleesand where do the Helm charts live - I last saw these hardcoded as pointing at github? Where does the OpenStack Magnum project need these external resources to be? (We need these locally hosted, but can work on that)09:20
mkjpryorWe have made the Helm chart repo, name and default version config options09:21
mkjpryorThey default to our Helm charts on GitHub09:21
daleesgreat!09:21
mkjpryorThe version can be overridden in a template label, if you want to peg a template to a particular chart version09:21
mkjpryor(not the repo or chart name though, as that is a recipe for code injection!)09:22
daleesmkjpryor: yeah, state will need to be polled or watched from Magnum? It can go to failed state and recover through reconcile, or go into a failed state within ClusterAPI without Magnum being involved in the action. Reconcile will help many, but I'm sure there are at least esoteric permanent failure states to surface ;) We can work on this though,09:24
daleesonce we've all got it running.09:24
mkjpryorThat is the plan :D09:24
mkjpryorThe weird thing is that the two states in the Magnum API are really meant to indicate "did the last change apply correctly" and "is the cluster healthy"09:25
mkjpryorSo actually, what we might implement is a custom monitor that looks at the Cluster API resources to determine their current health09:26
mkjpryorAnd keep the status as "did we transition into a ready state after the last change was made"09:27
mkjpryorBasically, the health state in Magnum is more like the reconciliation loop09:28
mkjpryor:shrugs:09:28
daleesyeah, i kinda agree - it may change often back and forth. Surfacing in Magnum API is the primary goal, so customers who only interact there can see what ClusterAPI might be doing or failing on. I've found most status in the Cluster object are bubbled up from others, so it may be that we only need to surface one thing.09:30
daleesI'll give it a bit more thought as I start using.09:31
mkjpryorSounds good09:32
jakeyipsomething aside, i just got thru first of the rbac changes by ricolin. would appreciate another pair of eyes as this has big impact if we mess up.09:32
daleesgreat to see resize is included09:32
mnasiadkamorning09:37
daleesjakeyip: I'll see what I can do with rbac. It's something we've customised a lot, though not much with Magnum.09:37
mnasiadkajakeyip: anything else needs reviewing? ;-)09:37
travisholtonmkjpryor: sounds really promising. I'll try and spend some time testing over the next few days09:37
jakeyipmnasiadka, dalees: https://review.opendev.org/c/openstack/magnum/+/874945 for rbac.09:42
mkjpryorWho is going to Vancouver? Would be good to arrange to see people in person and put faces to names.09:44
mnasiadkajakeyip: commented, but we really need answers from the author ;-)09:46
jakeyipmnasiadka: thanks!09:51
jakeyipkind of hit the nail on theh head there with that comment  mnasiadka :D09:52
jakeyiphttps://stackhpc.github.io/capi-helm-charts is 404 ?09:56
supamatthttps://github.com/stackhpc/capi-helm-charts09:57
jakeyipoh nvm got it09:57
mnasiadkawell, helm needs to have them published as files, it doesn't support fetching from git?09:59
mkjpryorhttps://stackhpc.github.io/capi-helm-charts/index.yaml is the Helm chart repo09:59
mkjpryorWhen you do https://stackhpc.github.io/capi-helm-charts it looks for index.html, which doesn't exist09:59
mkjpryorBut when you tell Helm the repo, you just say https://stackhpc.github.io/capi-helm-charts because Helm knows to add the index.yaml10:00
jakeyipyeah the words in changelog "from this repo" means helm repo not git repo (or chart file in repo to be exact), and I just clicked expecting git repo10:03
jakeyipall good10:04
mnasiadkaI guess it should be moved to opendev, but then we would need to somehow sort out publishing10:38
opendevreviewMatt Pryor proposed openstack/magnum master: ClusterAPI: implement update_cluster_status  https://review.opendev.org/c/openstack/magnum/+/85107610:44
opendevreviewMatt Pryor proposed openstack/magnum master: Implement cluster update for Cluster API driver  https://review.opendev.org/c/openstack/magnum/+/88080512:04
opendevreviewMatt Pryor proposed openstack/magnum master: Cluster API: Implement upgrade to a new template  https://review.opendev.org/c/openstack/magnum/+/88425417:04

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