[10:05] <mup> Bug #1640333 changed: No rack controller available when trying to enable DHCP on subnet on tagged VLAN <MAAS:Invalid> <https://launchpad.net/bugs/1640333>
[10:10] <Guest24968> hi
[10:11] <mup> Bug #1640333 opened: No rack controller available when trying to enable DHCP on subnet on tagged VLAN <MAAS:Invalid> <https://launchpad.net/bugs/1640333>
[10:17] <mup> Bug #1640333 changed: No rack controller available when trying to enable DHCP on subnet on tagged VLAN <MAAS:Invalid> <https://launchpad.net/bugs/1640333>
[10:32] <capsali> hi guys
[10:32] <capsali> is there any official doc for postgres ha that works with maas?
[10:32] <capsali> because on the maas ha docs there is only a link to the postgresql website
[10:32] <capsali> for the moment we are using two postgresql with built in master/standby replication (WAL)
[10:33] <capsali> on top of that we have two pgpool2 instances that handle the write requests, load balanced reads and the failover part
[10:33] <capsali> watchdog is active in pgpool2 with a VIP
[10:33] <capsali> in regiond.conf the database is pointed to the watchdog VIP
[10:33] <capsali> we have around 200+ nodes that are mentained by maas
[10:33] <capsali> the problem is that pgpool2 dies once a week for reasons i have yet to discover
[10:33] <capsali> are there any special configs (e.g. max_conn, timeout, etc. ) that must be made in either postgres or pgpool ?
[10:34] <capsali> or is there a better approach in ha/failover for postgresql when using maas?
[10:39] <roaksoax> capsali: we are not opinionated about how to setup your postgress in HA
[10:40] <roaksoax> capsali: we have tested, however, hot standby with streaming replicaiton
[10:44] <capsali> and did you use a virtual ip when connecting multiple region controllers to the db?
[10:45] <capsali> or did you connect them to the master psql server?
[10:58] <roaksoax> capsali: yeah VIP, but I dont think we load balanced reads
[10:59] <capsali> roaksoax: keepalived or watchdog?
[11:00] <roaksoax> capsali: keepalived
[11:00] <capsali> roaksoax: so i'm guessing you have manual failover when a disaster occurs right?
[11:02] <capsali> roaksoax: do you use the defaults in postgresql.conf, besides the streaming replication changes?
[11:04] <roaksoax> capsali: we used the postgresql vcharm to deploy postgresql
[14:32] <Braven> good morning
[14:35] <Braven> roaksoax: Hello
[14:41] <Braven> When I add a node to maas I gettting this error: "You cannot add messages without installing django.contrib.messages.middleware.MessageMiddleware"
[14:43] <roaksoax> Braven: strange ....
[14:43] <roaksoax> Braven: what version of django are you using ?
[14:43] <Braven> roaksoax: So what might it be?
[14:44] <roaksoax> Braven: to me sounds like a broken django or missing dependencies, or a non-supported version of django
[14:44] <Braven> roaksoax: should I try to install it?
[14:45] <roaksoax> Braven: what django version do you have running ?
[14:45] <roaksoax> Braven: dpkg -l | grep django
[14:46] <Braven> roaksoax: https://paste.ubuntu.com/23475913/
[14:47] <roaksoax> Braven: what version of MAAs are you running ?
[14:47] <roaksoax> ah nevermind
[14:47] <roaksoax> maas 1.9
[14:47] <Braven> braven: yes
[14:47] <Braven> opps
[14:47] <Braven> roaksoax Yes, I am running 1.9
[14:48] <roaksoax> strange
[14:49] <roaksoax> Braven: never seend that beofre, I wonder if this is due to the security fix that landed in django 15 days ago
[14:49] <roaksoax> Braven: did you upgrade django and you started seeing this ?
[14:49] <Braven> roaksoax: We update Maas last friday
[15:18] <Braven> roaksoax: restarting the apache service on the MAAS server fixed the probably.
[17:02] <Braven> Is there a doc for adding VMware vm to MAAS?
[18:01] <Braven> ??
[20:02] <Braven> What power type should I use with a VMWARE server
[20:02] <Braven> sorry VMWARE vitural machine
[20:19] <brendand> Braven, there should be just a vmware power type
[20:20] <brendand> yeah, there is. not really sure it could be more straightforward :)
[20:40] <Braven> brendand: I selected vmware option. Do you know what username \ password it needs?
[21:00] <Braven> brendand: because I am using my vCenter username pw
[21:14] <brendand> Braven, i'm not really sure, i don't have much experience using vmware
[21:14] <brendand> Braven, reading the code it's based on pyvmomi
[21:15] <Braven> brendand: I did install that package
[21:17] <brendand> Braven, have a google around i'd say - whatever is required to control it with pyvmomi will be what maas needs
[21:18] <Braven> brendand: I will google it . Thanks
[21:32] <Braven> brandand: Do you know what script MAAS is using to connect to VcenteR?
[21:34] <brendand> pyvmomi
[21:35] <brendand> not a script, it's using that python library
[22:40] <Braven> Brendand: I figure it out. I was trying to connect to the host not the vCenter.