Comment 6 for bug 1702671

Revision history for this message
Alok G Singh (alephnull-b) wrote :

MAAS version:
aloksingh@infr001:/var/log/maas$ dpkg -l | grep '^ii' | grep maas
ii maas-cli 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all MAAS client and command-line interface
ii maas-common 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all MAAS server common files
ii maas-dhcp 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all MAAS DHCP server
ii maas-dns 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all MAAS DNS server
ii maas-proxy 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all MAAS Caching Proxy
ii maas-rack-controller 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all Rack Controller for MAAS
ii maas-region-api 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all Region controller API service for MAAS
ii maas-region-controller 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all Region Controller for MAAS
ii python3-django-maas 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all MAAS server Django web framework (Python 3)
ii python3-maas-client 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all MAAS python API client (Python 3)
ii python3-maas-provisioningserver 2.3.5-6511-gf466fdb-0ubuntu1~16.04.1 all MAAS server provisioning libraries (Python 3)

> How is your configuration, how many controllers.

There are three controllers running in KVMs on three infra nodes.

> How many machines are there in the your Maas cluster

Three machines.

> and how many machines get IPs from dhcp.

100-1000

> Can you provide Maas logs from the time you see the invalid response from the API?

I will provide it in a separate comment. I will have to establish the timing. I did run a tail -f of postgres while running juju ssh but didn't see anything apart from what I've posted already.

> Also, is juju connecting to MAAS directly or is juju connecting to MAAS via haprozy? If it’s HAPROXY, what’s the timeout configured?

MAAS is accessed via a VIP which is managed by haproxy.
$ cat haproxy.cfg
frontend maas
    bind *:80
    retries 3
    option redispatch
    option http-server-close
    default_backend maas

backend maas
    timeout server 90s
    balance source
    hash-type consistent
    server maas-api-0 172.18.247.6:5240 check
    server maas-api-1 172.18.247.7:5240 check
    server maas-api-2 172.18.247.8:5240 check

> Also, is this an issue currently affecting a production environment or just a testing environment?

Production.