facubatista¡Muy buenos días a todos!11:04
mthaddoncory_fu: can you let me know if I'm doing something wrong using https://github.com/juju-solutions/resource-oci-image/ in https://code.launchpad.net/~mthaddon/charm-k8s-openldap/+git/charm-k8s-openldap/+merge/395418 ? I don't think it's passing in the correct username and password, but I'm not sure how to determine what it is passing in12:32
mthaddoncory_fu: er, I suppose I should explain the problem I'm having... getting "Error: ErrImagePull" in juju status from "juju deploy cs:~mthaddon/openldap; juju deploy cs:~postgresql-charmers/postgresql-k8s postgresql; juju add-relation openldap:db postgresql:db" in a k8s model12:44
mthaddonbthomas: do you know if there's a way of doing https://github.com/canonical/prometheus-operator/blob/master/actions/reload-config in the operator framework itself rather than as a standalone script like that? (i.e. execute a command on a k8s pod and check the output)16:51
bthomasmthaddon: From what I remember actions were not supported in the Python framework. Chipaca may have created and issue for this. I have not checked if the situation has changed in a recent version.16:53
mthaddonack, let me see if I can find a relevant issue16:53
mthaddonI can't find anything relevant, I'll file an issue - thx16:55
bthomaslooking myself but do not find any such issue16:55
mupIssue operator#464 opened: How to run a command on a k8s instance via an action <Created by mthaddon> <https://github.com/canonical/operator/issues/464>17:00
cory_fumthaddon: I'm out, but the helper only fetches and slightly transforms the data it gets from the Juju resource to match the format expected by the pod-spec.  If you're getting an ErrImagePull it means either the resource info is missing, wrong, or your cluster can't talk to whatever image repo the resource is pointing at.  `charm show cs:~mthaddon/openldap resources` shows a resource and `charm pull-resource cs:~mthaddon/openldap openldap17:21
cory_fu-image` works fine for me locally ("Status: Downloaded newer image for registry.jujucharms.com/mthaddon/openldap/openldap-image@sha256:78364e2d5df6362a0cbff65285e9c22904af05ae6a28e91a7263a6ba04bb2495") so it sounds like your cluster can't talk to registry.jujucharms.com for some reason.17:21
cory_fumthaddon: Usage in the MR looks fine. HTH17:24
mthaddoncory_fu: thx for the info, will dig a bit deeper17:40
jldevmthaddon: super late response, but the issue with actions isn't correctable in the framework. They are not currently supported by Juju on K8s. I believe they were in-cycle to get added, I'll follow up with the team tomorrow.23:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!