Penny Gale

Results 36 comments of Penny Gale

Apologies for not following up on this sooner. I got pulled into troubleshooting the dashboard charm, and I've let a lot of my sidequests drop ... I wrote a library...

Thinking about this ... In machine charms, I might expect the following code in an install hook: ``` def _on_install(self, event): try: apt.install("some_package") except AptError as e: self.model.unit.status = BlockedStatus("Failed...

> Maybe we need a way to "commit" a status change mid-hook... Has that been considered/discussed before? I don't think that this would play nicely with the Juju agent, which...

The syntax of the above routine doesn't have to be awful for charm authors. I included everything inline for clarity. The final syntax might be: ``` if not self._liveness_check(): event.defer_with_retry(msg="Awaiting...

Can we add the smoke test to the 1.5.1 branch? That would make it a lost easier to do things like verify that xenial is working. :-)

@rwcarlsen have you run into this issue since? Do we have a path forward to maybe addressing and fixing this?

+1 to this. Using Zaza would be nice, as we'd be coordinating w/ the way that the Canonical OpenStack team does things. I'd prefer that we take that direction, if...

> We already have code that actions cannot be deferred, we can probably use the same errors in this situation. Excellent. Writing less code is always good :-)

I believe that this is addressed well by charmcraft, or by charmcraft plans.

> I know there was some discussion about charmhub visibility at the last roadmap meeting. But is there somewhere where decisions/direction around that has been recorded/distilled? IIRC, the decision was...