[Bug 1316272] Re: juju destroy-environment >=256 nodes fails
Felipe Reyes
1316272 at bugs.launchpad.net
Mon Feb 23 21:18:48 UTC 2015
I'm seeing this problem in juju-core 1.20.8.1 when calling juju destroy-
machine, this is a environment where maas has ~580 nodes.
Juju is doing a GET request with a URL 19382 characters, the specific
operation is 'list' and it's passing a set of node ids to filter the
list (specifically 429 ids)
The problem seems to be in this line
https://github.com/juju/juju/blob/master/provider/maas/environ.go#L1158
, it should be doing a POST request.
Sample URL:
GET
/MAAS/api/1.0/nodes/?agent_name=f1340a43-06be-4046-8cd8-3b7820e8b0b3&id
=node-81858d5e-743f-11e4-8ed9-fcaa141207d4&id=node-
f3064ec6-5f33-11e4-ac30-fcaa141207d4&id=node-d7c4c19a-97c0-11e4-823c-
fcaa1412....&op=list
The workaround used was to increase the LimitRequestLine[0] in /etc/maas
/maas-http.conf
[0] http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestline
** Tags added: cts
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1316272
Title:
juju destroy-environment >=256 nodes fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1316272/+subscriptions
More information about the Ubuntu-server-bugs
mailing list