canonical / canonical/data-platform-libs

[UX] Block charm on deployment with a message "This charm is NOT meant to be deployed as Juju application."

Open
#112 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
13
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Hi,

It is a UX proposal, this charm is not supposed to be deployed, but confusing results achieved if done by mistake:
```
ubuntu@juju3:~$ juju status
Model Controller Cloud/Region Version SLA Timestamp
demo18 microk8s microk8s/localhost 3.1.6 unsupported 18:07:42+01:00

App Version Status Scale Charm Channel Rev Address Exposed Message
data-platform-libs waiting 1 data-platform-libs stable 26 10.152.183.245 no installing agent

Unit Workload Agent Address Ports Message
data-platform-libs/0* unknown idle 10.1.141.221
```

Proposal: block charm with the information: This charm is NOT meant to be deployed as Juju application.

```
ubuntu@juju3:~$ juju status
Model Controller Cloud/Region Version SLA Timestamp
demo18 microk8s microk8s/localhost 3.1.6 unsupported 18:07:42+01:00

App Version Status Scale Charm Channel Rev Address Exposed Message
data-platform-libs blocked 1 data-platform-libs stable 26 10.152.183.245 no This charm is NOT meant to be deployed as Juju application.

Unit Workload Agent Address Ports Message
data-platform-libs/0* blocked idle 10.1.141.221 This charm is NOT meant to be deployed as Juju application.
```

Low priority UX improvement.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.