[2.1.1, trunk, bzr5510] Can't enlist machines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Lee Trager | ||
2.0 |
Fix Released
|
Critical
|
Lee Trager | ||
2.1 |
Fix Released
|
Critical
|
Lee Trager |
Bug Description
Oct 26 13:11:57 maas-enlisting-node cloud-init[1292]: + maas-ipmi-
Oct 26 13:11:57 maas-enlisting-node cloud-init[1292]: + power_type=
Oct 26 13:11:57 maas-enlisting-node cloud-init[1292]: + maas-enlist --serverurl http://
Oct 26 13:11:57 maas-enlisting-node cloud-init[1292]: % Total % Received % Xferd Average Speed Time Time Time Current
Oct 26 13:11:57 maas-enlisting-node cloud-init[1292]: Dload Upload Total Spent Left Speed
Oct 26 13:11:58 maas-enlisting-node cloud-init[1292]: #015 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0#015100 166 0 0 100 166 0 470 --:--:-- --:--:-- --:--:-- 471
Oct 26 13:11:58 maas-enlisting-node cloud-init[1292]: curl: (22) The requested URL returned error: 400 BAD REQUEST
Oct 26 13:11:58 maas-enlisting-node cloud-init[1292]: + maas-enlist --serverurl http://
Oct 26 13:11:58 maas-enlisting-node cloud-init[1292]: % Total % Received % Xferd Average Speed Time Time Time Current
Oct 26 13:11:58 maas-enlisting-node cloud-init[1292]: Dload Upload Total Spent Left Speed
Oct 26 13:11:58 maas-enlisting-node cloud-init[1292]: #015 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0#015100 166 0 0 100 166 0 599 --:--:-- --:--:-- --:--:-- 601
Oct 26 13:11:58 maas-enlisting-node cloud-init[1292]: curl: (22) The requested URL returned error: 400 BAD REQUEST
=======
2016-10-26 09:34:32 [twisted.
2016-10-26 09:34:32 [maasserver#error] #######
2016-10-26 09:34:32 [maasserver#error] Traceback (most recent call last):
File "/usr/lib/
power_
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
raise JSONDecodeError
json.decoder.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return view_atomic(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
response = upcall(request, *args, **kwargs)
File "/usr/lib/
response = func(*args, **kwargs)
File "/usr/lib/
result = self.error_
File "/usr/lib/
result = meth(request, *args, **kwargs)
File "/usr/lib/
return function(self, request, *args, **kwargs)
File "/usr/lib/
return create_
File "/usr/lib/
form = Form(data=
File "/usr/lib/
WithPowerMi
File "/usr/lib/
form, data, machine)
File "/usr/lib/
raise ValidationError
django.
Related branches
- Blake Rouse (community): Approve
-
Diff: 72 lines (+27/-6)3 files modifiedsrc/maasserver/api/tests/test_machines.py (+18/-1)
src/maasserver/forms.py (+8/-4)
src/provisioningserver/templates/commissioning-user-data/snippets/maas_enlist.sh (+1/-1)
- Lee Trager (community): Approve
-
Diff: 72 lines (+27/-6)3 files modifiedetc/maas/templates/commissioning-user-data/snippets/maas_enlist.sh (+1/-1)
src/maasserver/api/tests/test_machines.py (+18/-1)
src/maasserver/forms.py (+8/-4)
- MAAS Maintainers: Pending requested
-
Diff: 4239 lines (+3217/-21) (has conflicts)43 files modifiedMakefile (+1/-1)
docs/about.rst (+9/-0)
docs/changelog.rst (+524/-0)
docs/index.rst (+9/-0)
src/maasserver/api/account.py (+23/-0)
src/maasserver/api/interfaces.py (+4/-0)
src/maasserver/api/tests/test_ipaddresses.py (+9/-0)
src/maasserver/api/tests/test_machine.py (+37/-0)
src/maasserver/api/tests/test_machines.py (+20/-0)
src/maasserver/bootresources.py (+37/-0)
src/maasserver/dhcp.py (+72/-0)
src/maasserver/enum.py (+6/-0)
src/maasserver/migrations/builtin/maasserver/0066_allow_squashfs.py (+22/-0)
src/maasserver/models/node.py (+105/-17)
src/maasserver/models/staticipaddress.py (+94/-0)
src/maasserver/models/tests/test_node.py (+177/-0)
src/maasserver/models/tests/test_staticipaddress.py (+68/-3)
src/maasserver/node_status.py (+16/-0)
src/maasserver/preseed_network.py (+20/-0)
src/maasserver/rpc/tests/test_regionservice.py (+14/-0)
src/maasserver/static/css/maas-styles.css.OTHER (+1/-0)
src/maasserver/static/js/angular/controllers/tests/test_node_details_storage.js (+89/-0)
src/maasserver/static/partials/node-details.html (+6/-0)
src/maasserver/static/partials/node-events.html (+14/-0)
src/maasserver/static/partials/nodes-list.html (+173/-0)
src/maasserver/static/scss/maas/components/_accordion.scss.OTHER (+112/-0)
src/maasserver/templates/maasserver/base.html (+7/-0)
src/maasserver/templates/maasserver/index.html (+21/-0)
src/maasserver/templates/maasserver/prefs.html (+5/-0)
src/maasserver/testing/factory.py (+5/-0)
src/maasserver/tests/test_bootresources.py (+108/-0)
src/maasserver/tests/test_dhcp.py (+74/-0)
src/maasserver/tests/test_preseed.py (+27/-0)
src/maasserver/tests/test_preseed_network.py (+9/-0)
src/maasserver/tests/test_start_up.py (+93/-0)
src/maasserver/triggers/tests/test_websocket_listener.py (+124/-0)
src/maasserver/views/tests/test_images.py.OTHER (+991/-0)
src/metadataserver/api.py (+7/-0)
src/provisioningserver/dns/tests/test_zoneconfig.py (+47/-0)
src/provisioningserver/events.py (+11/-0)
src/provisioningserver/plugin.py (+12/-0)
src/provisioningserver/power/schema.py (+6/-0)
src/provisioningserver/tests/test_plugin.py (+8/-0)
description: | updated |
description: | updated |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
Changed in maas: | |
milestone: | 2.1.1 → 2.0.1 |
milestone: | 2.0.1 → 2.1.1 |
milestone: | 2.1.1 → none |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
CI passed for r5512 http:// 162.213. 35.104: 8080/job/ maas-xenial- trunk/619/ consoleFull