Can't start a node with its associated cluster interface configured as Unmanaged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Julian Edwards | ||
1.7 |
Fix Released
|
Critical
|
Graham Binns |
Bug Description
I have my cluster interface configured as "Unmanaged" - no DNS or DHCP should be configured. When I go to start a node via the UI, I get an error:
"Multiple failures encountered. See /var/log/
The cluster daemon also crashes and in the UI I see:
"One or more clusters are currently disconnected. Visit the clusters page for more information."
In maas.log I see:
Oct 16 23:42:11 trusty-maas7 maas.dhcp: [ERROR] Could not create host map for 74:d4:35:89:ba:b5 with address 192.168.10.102: Command `omshell` returned non-zero exit status 0:#012> > > > not connected.#012> no open object.#012> no open object.#012> no open object.#012> no open object.#012> not connected.#012>
In pserv.log:
2014-10-16 23:45:18+0800 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
f(*a, **kw)
File "/usr/lib/
self.
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
current.result = callback(
File "/usr/lib/
desc = str(error.value)
exceptions.
This is with 1.7.0~beta6+
Related branches
- Raphaël Badin (community): Approve
- Graham Binns: Pending requested
-
Diff: 88 lines (+49/-4)2 files modifiedsrc/maasserver/models/node.py (+18/-4)
src/maasserver/models/tests/test_node.py (+31/-0)
- Julian Edwards (community): Approve
-
Diff: 107 lines (+75/-1)2 files modifiedsrc/maasserver/models/node.py (+12/-1)
src/maasserver/models/tests/test_node.py (+63/-0)
- Andres Rodriguez (community): Approve
-
Diff: 21 lines (+12/-1)1 file modifieddebian/changelog (+12/-1)
summary: |
- Can't start a node with its cluster configured as Unmanaged + Can't start a node with its associated cluster interface configured as + Unmanaged |
tags: |
added: dhcp removed: trivial |
Changed in maas: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | 1.7.0 → none |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This comes from p.rpc.dhcp. create_ host_maps: the CannotCreateHostMap
exception contains the Unicode character for an arrow. It's more than a
bit rubbish that Twisted's AMP implementation doesn't cope with
non-ASCII errors, but we can work around it at least.
Fwiw:
Command `omshell` returned non-zero exit status 0:#012> > > > not
connected.#012> no open object.#012> no open object.#012> no open
object.#012> no open object.#012> not connected.#012>
is an example of the error message that comes out of __str__() and Error. The #012 bit is probably meant to
__unicode__() on ExternalProcess
be octal for newline, but I'm not sure what's introducing it (syslog
maybe?).