Penny Gale

Results 10 issues of Penny Gale

Let's say that a charm author does the following: 1) Calls `rel = harness.model.get_relation(...)` 2) Calls `harness.add_relation_unit`, using `rel.id` as a parameter. 3) Inspects the contents of `rel.units` This is...

As we develop best practices around writing charms with the charmed operator framework, it would be nice to collect CharmHub listing requirements, along with recommended best practices into a single...

Most of the model data available in framework.model is populated on hook invocation -- e.g., it is loaded from the hook environment when a "run" of ops starts, and is...

This is an exercise where I make an effort to be a "naive" user, coming to our framework for the first time. I assume that at baseline, I: 1. Know...

When Juju is tearing down a unit, deferring does not work as one might naively expect. Since the controller does not have a view of "deferred" or "non deferred" events,...

enhancement

When writing charms, I am often able to remember the name of object that I want (`EventBase`, `StoredState`, etc.), but often forget which module it comes from. There's logic to...

This came up in the discussion around PR #645 Since Pebble runs as root, it may not respect file system permissions in the same way that the testing harness attempts...

This is a long term planning issue. I'm jotting down my thoughts here, and planning to talk about it in the planning sprint next week. I suspect that we are...

documentation
🧠 big brain
community

If you attempt to build a charm that needs to compile c modules for one of the Python dependencies, it will fail, as charm tools can't see the system python...

To reproduce this issue, install charm-tools from the apt repositories on a 18.04/Bionic box, and attempt to run charm build. It will fail while running pip3 with the following message:...