All installs miss the recipe label, kadabra can't do its work #403

Closed
opened 2023-02-10 14:43:34 +00:00 by decentral1se · 3 comments
Owner

If I run kadabra on an existing co-op cloud install, none of the deployed apps have the recipe label. is there a way kadabra could auto-discover and apply? Perhaps this could be a separate command? Unsure of the API interface but it seems like we'd want to do something for this instead of asking operators to re-deploy lots of apps?

Also, running kadabra on the server today gives no feedback. When I pass -d then I see it's missing all the labels but erroring out with a "nothing to do" message might also be good?

If I run `kadabra` on an existing co-op cloud install, none of the deployed apps have the recipe label. is there a way `kadabra` could auto-discover and apply? Perhaps this could be a separate command? Unsure of the API interface but it seems like we'd want to do something for this instead of asking operators to re-deploy lots of apps? Also, running `kadabra` on the server today gives no feedback. When I pass `-d` then I see it's missing all the labels but erroring out with a "nothing to do" message might also be good?
decentral1se added the
bug
label 2023-02-10 14:43:34 +00:00
Author
Owner

Maybe abra could learn how to label deployments? abra app label <domain> <label>? But this would still make operators need to write a script to label everything 🤔 Unsure.

Maybe `abra` could learn how to label deployments? `abra app label <domain> <label>`? But this would still make operators need to write a script to label everything 🤔 Unsure.
decentral1se added the
kadabra
label 2023-02-10 14:45:44 +00:00
Member

I don't know a way around redeploying / upgrading the apps. I introduced this label because kadabra is not able to figure out which recipe the deployed apps are based on.

I'm not sure about the verbosity of kadabra. If it is run regularly by a cronjob, it should notify only if it upgrades an app or if it failed unexpectedly.
If it notifies for every disabled or non-update-able app at each execution that would spam the inboxes. Therefor I thought passing -d is enough to get this information.

I don't know a way around redeploying / upgrading the apps. I introduced this label because `kadabra` is not able to figure out which recipe the deployed apps are based on. I'm not sure about the verbosity of `kadabra`. If it is run regularly by a cronjob, it should notify only if it upgrades an app or if it failed unexpectedly. If it notifies for every disabled or non-update-able app at each execution that would spam the inboxes. Therefor I thought passing `-d` is enough to get this information.
Author
Owner

Sounds good! Yeh I guess it is just a transition stage, people will have to undeploy/deploy. Thanks!

Sounds good! Yeh I guess it is just a transition stage, people will have to undeploy/deploy. Thanks!
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#403
No description provided.