Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JUJU-1725] Backport: add support for juju status application leader #14560

Conversation

basebandit
Copy link
Contributor

This is a backport of this PR

If an item is not applicable, use ~strikethrough~.

  • Code style: imports ordered, good names, simple structure, etc
  • Comments saying why design decisions were made
  • Go unit tests, with comments saying what you're testing
  • [ ] Integration tests, with comments saying what you're testing
  • [ ] doc.go added or updated in changed packages

QA steps

Commands to run to verify that the change works.

juju deploy postgresql
juju deploy haproxy
juju status postgresql/leader mysql/leader haproxy/leader
Model    Controller  Cloud/Region         Version    SLA          Timestamp
testing  local       localhost/localhost  3.0-rc1.1  unsupported  17:36:21+03:00

App         Version  Status       Scale  Charm       Channel  Rev  Exposed  Message
haproxy              maintenance      1  haproxy     stable    66  no       Configuring HAProxy
postgresql  12.11    active           1  postgresql  stable   241  no       Live master (12.11)

Unit           Workload     Agent  Machine  Public address  Ports     Message
haproxy/0*     maintenance  idle   0        10.117.119.67             Configuring HAProxy
postgresql/0*  active       idle   8        10.117.119.143  5432/tcp  Live master (12.11)

Machine  State    Address         Inst id        Series  AZ  Message
0        started  10.117.119.67   juju-093fe5-0  xenial      Running
8        started  10.117.119.143  juju-093fe5-8  focal       Running

@basebandit
Copy link
Contributor Author

/merge

@jujubot jujubot merged commit 636a74a into juju:2.9 Sep 2, 2022
@ycliuhw ycliuhw mentioned this pull request Sep 9, 2022
jujubot added a commit that referenced this pull request Sep 10, 2022
#14595

```
Merge branch '2.9' into 2.9-into-develop

# Conflicts:
# acceptancetests/assess_cloud.py
# acceptancetests/assess_endpoint_bindings.py
# acceptancetests/assess_heterogeneous_control.py
# state/migration_import_test.go
# apiserver/facades/client/client/status.go
# scripts/win-installer/setup.iss
# snap/snapcraft.yaml
# version/version.go
```

- #14551
- #14557
- #14560
- #14558
- #14554
- #14570
- #14577
- #14506
- #14538
- #14559
- #14574
- #14573
- #14567
- #14545
- #14541
- #14588
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants