Stub

Results 22 issues of Stub

It would be great to get a release containing the PostgreSQL 10 support that landed in https://github.com/wal-e/wal-e/pull/339

Before a charm does 'import yaml' or 'import psycopg2', we need to ensure that these non-core dependencies are installed on the host system. Currently, it looks like we need a...

The implicit `juju-info` peer relation is not supported by the operator framework. The framework assumes all relations are defined in `metadata.yaml`, which is otherwise true.

enhancement
🧠 big brain

It is useful in a number of situations to know that the current unit is being torn down. This is exposed by charmhelpers as `charmhelpers.core.hookenv.is_doomed()`. Current implementation uses `goal-state`, but...

enhancement
🧠 big brain

The `ingress-address` and `egress-subnets` relation data is maintained by Juju, and often required. The Operator Framework test harness does not initialize this information when doing harness.add_relation_unit(), so relation-joined handlers can...

enhancement
harness
networking

A test relation is initialized using `harness.add_relation_unit` and `harness.update_relation_data`. A side effect of this needing two calls is the relation-joined handlers get called between the two calls, and will always...

enhancement
harness

There are many common operations that charms need to perform on the deployed machine to setup and maintain the deployed software. Many of these have accumulated in the charm-helpers library....

I've been pondering code like this: ```python class MyCharm(CharmBase): def __init__(self, *args, **kw): super().__init__(*args, **kw) self.framework.observe(self.on.my_relation_joined, self) def on_my_relation_joined(self, event): if self.model.unit.is_leader(): event.relation[event.unit.app]['secret'] = mkpasswd(128) ``` I very much like...

🧠 big brain

The `open-port` and `close-port` Juju hook environment tools are not exposed by the operator framework. It would be good if the framework handled closing the old port when a new...

enhancement

A common problem with charms has been ensuring workload_status contains the most important information, and not overwritten. For example, ensuring that if charm code puts a unit into a 'blocked'...

enhancement