Feature request for juju status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi Everyone,
this is a feature request for juju status :
If I could set a FLAG so that I only see the APP's or the Units or just the machines but still exactly same layout just reduced down to for example unit it would help me a lot. Since I do have deployed a bunch it would be nice to have a sort of scoll function and auto refresh with it as well. A work around I have is : watch -n 0.1 -c juju status --color
But it is not perfect and won't allow me to scroll up and down.
Also a FLAG for STATUS would be extremly helpful as well : active, error and so on.
sysadmin@
Model Controller Cloud/Region Version
default maas-prod-
App Version Status Scale Charm Store Rev OS Notes
ceph-mon 10.2.3 active 3 ceph-mon jujucharms 6 ubuntu
ceph-osd 10.2.3 error 5 ceph-osd jujucharms 238 ubuntu
ceph-radosgw 10.2.3 active 3 ceph-radosgw jujucharms 245 ubuntu
cinder 9.0.0 active 3 cinder jujucharms 257 ubuntu
cinder-ceph 9.0.0 active 3 cinder-ceph jujucharms 221 ubuntu
dashboard-hacluster active 3 hacluster jujucharms 31 ubuntu
glance 13.0.0 active 3 glance jujucharms 253 ubuntu
hacluster active 24 hacluster jujucharms 31 ubuntu
keystone 10.0.0 active 3 keystone jujucharms 258 ubuntu
neutron-api 9.0.0 active 3 neutron-api jujucharms 246 ubuntu
neutron-gateway 9.0.0 active 1 neutron-gateway jujucharms 232 ubuntu
neutron-openvswitch 9.0.0 active 5 neutron-openvswitch jujucharms 238 ubuntu
nova-cloud-
nova-compute 14.0.1 active 5 nova-compute jujucharms 259 ubuntu
ntp unknown 6 ntp jujucharms 0 ubuntu
openstack-dashboard 10.0.0 active 3 openstack-dashboard jujucharms 243 ubuntu
percona-cluster 5.6.21-25.8 active 3 percona-cluster jujucharms 246 ubuntu
rabbitmq-server 3.5.7 active 3 rabbitmq-server jujucharms 54 ubuntu
Unit Workload Agent Machine Public address Ports Message
ceph-mon/0* active idle 0/lxd/0 10.5.100.13 Unit is ready and clustered
ceph-mon/1 active idle 1/lxd/0 10.5.100.88 Unit is ready and clustered
ceph-mon/2 active idle 2/lxd/0 10.5.100.139 Unit is ready and clustered
ceph-osd/0* active idle 0 10.5.100.152 Unit is ready (1 OSD)
ceph-osd/1 error idle 1 10.5.100.153 hook failed: "config-changed"
ceph-osd/2 active idle 2 10.5.100.154 Unit is ready (1 OSD)
ceph-osd/4 active idle 3 10.5.100.14 Unit is ready (1 OSD)
ceph-osd/5 active idle 6 10.5.100.151 Unit is ready (1 OSD)
ceph-radosgw/0* active idle 0/lxd/1 10.5.100.128 80/tcp Unit is ready
hacluster/0* active idle 10.5.100.128 Unit is ready and clustered
ceph-radosgw/1 active idle 1/lxd/1 10.5.100.131 80/tcp Unit is ready
hacluster/2 active idle 10.5.100.131 Unit is ready and clustered
ceph-radosgw/2 active idle 2/lxd/1 10.5.100.157 80/tcp Unit is ready
hacluster/15 active idle 10.5.100.157 Unit is ready and clustered
cinder/0* active idle 0/lxd/2 10.5.100.133 8776/tcp Unit is ready
cinder-ceph/0* active idle 10.5.100.133 Unit is ready
hacluster/1 active idle 10.5.100.133 Unit is ready and clustered
cinder/1 active idle 1/lxd/2 10.5.100.149 8776/tcp Unit is ready
cinder-ceph/1 active idle 10.5.100.149 Unit is ready
hacluster/6 active idle 10.5.100.149 Unit is ready and clustered
cinder/2 active idle 2/lxd/2 10.5.100.195 8776/tcp Unit is ready
cinder-ceph/2 active idle 10.5.100.195 Unit is ready
hacluster/19 active idle 10.5.100.195 Unit is ready and clustered
glance/0* active idle 0/lxd/3 10.5.100.143 9292/tcp Unit is ready
hacluster/3 active idle 10.5.100.143 Unit is ready and clustered
glance/1 active idle 1/lxd/3 10.5.100.132 9292/tcp Unit is ready
hacluster/4 active idle 10.5.100.132 Unit is ready and clustered
glance/2 active idle 2/lxd/3 10.5.100.198 9292/tcp Unit is ready
hacluster/17 active idle 10.5.100.198 Unit is ready and clustered
keystone/0* active idle 0/lxd/4 10.5.100.134 5000/tcp Unit is ready
hacluster/5 active idle 10.5.100.134 Unit is ready and clustered
keystone/1 active idle 1/lxd/4 10.5.100.148 5000/tcp Unit is ready
hacluster/9 active idle 10.5.100.148 Unit is ready and clustered
keystone/2 active idle 2/lxd/4 10.5.100.25 5000/tcp Unit is ready
hacluster/16 active idle 10.5.100.25 Unit is ready and clustered
neutron-api/0* active idle 0/lxd/5 10.5.100.135 9696/tcp Unit is ready
hacluster/7 active idle 10.5.100.135 Unit is ready and clustered
neutron-api/1 active idle 1/lxd/5 10.5.100.155 9696/tcp Unit is ready
hacluster/8 active idle 10.5.100.155 Unit is ready and clustered
neutron-api/2 active idle 2/lxd/5 10.5.100.194 9696/tcp Unit is ready
hacluster/14 active idle 10.5.100.194 Unit is ready and clustered
neutron-gateway/0* active idle 0/lxd/6 10.5.100.147 Unit is ready
ntp/1 unknown idle 10.5.100.147
nova-cloud-
hacluster/10 active idle 10.5.100.146 Unit is ready and clustered
nova-cloud-
hacluster/11 active idle 10.5.100.137 Unit is ready and clustered
nova-cloud-
hacluster/20 active idle 10.5.100.142 Unit is ready and clustered
nova-compute/0* active idle 3 10.5.100.14 Unit is ready
neutron-
ntp/0* unknown idle 10.5.100.14
nova-compute/5 active idle 2 10.5.100.154 Unit is ready
neutron-
ntp/5 unknown idle 10.5.100.154
nova-compute/6 active idle 1 10.5.100.153 Unit is ready
neutron-
ntp/7 unknown idle 10.5.100.153
nova-compute/7 active idle 0 10.5.100.152 Unit is ready
neutron-
ntp/6 unknown idle 10.5.100.152
nova-compute/8 active idle 6 10.5.100.151 Unit is ready
neutron-
ntp/8 unknown idle 10.5.100.151
openstack-
dashboard-
hacluster/12 active idle 10.5.100.89 Unit is ready and clustered
openstack-
dashboard-
hacluster/13 active idle 10.5.100.104 Unit is ready and clustered
openstack-
dashboard-
hacluster/18 active idle 10.5.100.80 Unit is ready and clustered
percona-cluster/0* active idle 0/lxd/9 10.5.100.159 Unit is ready
hacluster/23 active idle 10.5.100.159 Unit is ready and clustered
percona-cluster/1 active idle 1/lxd/8 10.5.100.161 Unit is ready
hacluster/21 active idle 10.5.100.161 Unit is ready and clustered
percona-cluster/2 active idle 2/lxd/8 10.5.100.129 Unit is ready
hacluster/22 active idle 10.5.100.129 Unit is ready and clustered
rabbitmq-server/0* active idle 0/lxd/10 10.5.100.140 5672/tcp Unit is ready and clustered
rabbitmq-server/1 active idle 1/lxd/9 10.5.100.199 5672/tcp Unit is ready and clustered
rabbitmq-server/2 active idle 2/lxd/9 10.5.100.144 5672/tcp Unit is ready and clustered
Machine State DNS Inst id Series AZ
0 started 10.5.100.152 8tp8kk xenial VLAN100
0/lxd/0 started 10.5.100.13 juju-4ade3c-0-lxd-0 xenial
0/lxd/1 started 10.5.100.128 juju-4ade3c-0-lxd-1 xenial
0/lxd/2 started 10.5.100.133 juju-4ade3c-0-lxd-2 xenial
0/lxd/3 started 10.5.100.143 juju-4ade3c-0-lxd-3 xenial
0/lxd/4 started 10.5.100.134 juju-4ade3c-0-lxd-4 xenial
0/lxd/5 started 10.5.100.135 juju-4ade3c-0-lxd-5 xenial
0/lxd/6 started 10.5.100.147 juju-4ade3c-0-lxd-6 xenial
0/lxd/7 started 10.5.100.146 juju-4ade3c-0-lxd-7 xenial
0/lxd/8 started 10.5.100.89 juju-4ade3c-0-lxd-8 xenial
0/lxd/9 started 10.5.100.159 juju-4ade3c-0-lxd-9 xenial
0/lxd/10 started 10.5.100.140 juju-4ade3c-
1 started 10.5.100.153 8qcnt7 xenial VLAN100
1/lxd/0 started 10.5.100.88 juju-4ade3c-1-lxd-0 xenial
1/lxd/1 started 10.5.100.131 juju-4ade3c-1-lxd-1 xenial
1/lxd/2 started 10.5.100.149 juju-4ade3c-1-lxd-2 xenial
1/lxd/3 started 10.5.100.132 juju-4ade3c-1-lxd-3 xenial
1/lxd/4 started 10.5.100.148 juju-4ade3c-1-lxd-4 xenial
1/lxd/5 started 10.5.100.155 juju-4ade3c-1-lxd-5 xenial
1/lxd/6 started 10.5.100.137 juju-4ade3c-1-lxd-6 xenial
1/lxd/7 started 10.5.100.104 juju-4ade3c-1-lxd-7 xenial
1/lxd/8 started 10.5.100.161 juju-4ade3c-1-lxd-8 xenial
1/lxd/9 started 10.5.100.199 juju-4ade3c-1-lxd-9 xenial
2 started 10.5.100.154 enh8de xenial VLAN100
2/lxd/0 started 10.5.100.139 juju-4ade3c-2-lxd-0 xenial
2/lxd/1 started 10.5.100.157 juju-4ade3c-2-lxd-1 xenial
2/lxd/2 started 10.5.100.195 juju-4ade3c-2-lxd-2 xenial
2/lxd/3 started 10.5.100.198 juju-4ade3c-2-lxd-3 xenial
2/lxd/4 started 10.5.100.25 juju-4ade3c-2-lxd-4 xenial
2/lxd/5 started 10.5.100.194 juju-4ade3c-2-lxd-5 xenial
2/lxd/6 started 10.5.100.142 juju-4ade3c-2-lxd-6 xenial
2/lxd/7 started 10.5.100.80 juju-4ade3c-2-lxd-7 xenial
2/lxd/8 started 10.5.100.129 juju-4ade3c-2-lxd-8 xenial
2/lxd/9 started 10.5.100.144 juju-4ade3c-2-lxd-9 xenial
3 started 10.5.100.14 shhw36 xenial VLAN100
6 started 10.5.100.151 f6376g xenial VLAN100
I would like that also, a bit more options to show specific information of juju status.
Stuff like.
- Show which header(s), Apps, Units, Relations, just one or two like `--headers units,apps` and then in that same order as given.
- Show which columns in the units part, like not showing the ports column for instance.
What i do currently to at least not show apps is the following.
`watch -c -d -n 0.5 'juju status --color=true | grep -A9999999 Unit'`