2021-05-31 05:10:17 |
Jose Guedez |
description |
I filed a bug for libjuju [0] about differences in the output structure of Model.get_status compared with `juju status --format=yaml`
I was advised to open a bug here as well, since the issue apparently is related to inconsistencies between different APIs [1]
This is the summary of the differences as I posted in the related libjuju bug:
instance jsfy libjuju
--------------------- -------------------------- ----------------------
machine/container machine-status instance-status
unit/subordinate workload-status workload-status
application application-status status
juju status msg workload-status.message workload-status.info
juju agent details (unit).juju-status (unit).agent-status
example outputs
jsfy - https://pastebin.ubuntu.com/p/VZp6zjh7sw/
libjuju - https://pastebin.ubuntu.com/p/b7SjYK9WKX/
[0] https://github.com/juju/python-libjuju/issues/500
[1] https://github.com/juju/python-libjuju/issues/500#issuecomment-850222588 |
I filed a bug for libjuju [0] about differences in the output structure of Model.get_status compared with `juju status --format=yaml`
I was advised to open a bug here as well, since the issue apparently is related to inconsistencies between different APIs [1]
This is the summary of the differences as I posted in the related libjuju bug:
+---------------------+--------------------------+----------------------+
| instance | jsfy | libjuju |
+---------------------+--------------------------+----------------------+
| machine/container | machine-status | instance-status |
| unit/subordinate | workload-status | workload-status |
| application | application-status | status |
| juju status msg | workload-status.message | workload-status.info |
| juju agent details | (unit).juju-status | (unit).agent-status |
+---------------------+--------------------------+----------------------+
example outputs
jsfy - https://pastebin.ubuntu.com/p/VZp6zjh7sw/
libjuju - https://pastebin.ubuntu.com/p/b7SjYK9WKX/
[0] https://github.com/juju/python-libjuju/issues/500
[1] https://github.com/juju/python-libjuju/issues/500#issuecomment-850222588 |
|