may help someone resolve landscape-clinet stuck in maintenance mode
JUJU_MODEL=k8s-controller:lma HAPROXY=landscape-haproxy/0
# Note landscape does not have HA Proxy VIP as in baremetal HA setup. IP=$( juju status -m $JUJU_MODEL $HAPROXY --format json | jq -r '.machines[]."dns-name"' )
Juju switch lma
juju ssh $HAPROXY "sudo openssl x509 -in /var/lib/haproxy/default.pem > /tmp/landscape.crt; sudo chmod ugo+r /tmp/landscape.crt" juju scp $HAPROXY:/tmp/landscape.crt /tmp
# Run below for lma and k8s-tenant-1 models:
juju config -m <JUJU_MODEL> landscape-client \ url="https:/$IP/message-system" \ ping-url="https://$IP/ping" \ ssl-public-key="base64:$(cat /tmp/landscape.crt | openssl base64 -e)"
may help someone resolve landscape-clinet stuck in maintenance mode
JUJU_MODEL= k8s-controller: lma landscape- haproxy/ 0
HAPROXY=
# Note landscape does not have HA Proxy VIP as in baremetal HA setup. ]."dns- name"' )
IP=$( juju status -m $JUJU_MODEL $HAPROXY --format json | jq -r '.machines[
Juju switch lma
juju ssh $HAPROXY "sudo openssl x509 -in /var/lib/ haproxy/ default. pem > /tmp/landscape.crt; sudo chmod ugo+r /tmp/landscape.crt" /tmp/landscape. crt /tmp
juju scp $HAPROXY:
# Run below for lma and k8s-tenant-1 models:
juju config -m <JUJU_MODEL> landscape-client \ $IP/message- system" \ /$IP/ping" \
ssl-public- key="base64: $(cat /tmp/landscape.crt | openssl base64 -e)"
url="https:/
ping-url="https:/