Merge lp:~newell-jensen/maas/fix-1567177 into lp:maas/trunk
Status: | Merged |
---|---|
Approved by: | Newell Jensen on 2016-04-13 |
Approved revision: | 4896 |
Merged at revision: | 4917 |
Proposed branch: | lp:~newell-jensen/maas/fix-1567177 |
Merge into: | lp:maas/trunk |
Diff against target: |
94 lines (+25/-10) 4 files modified
src/maasserver/models/node.py (+3/-1) src/maasserver/models/signals/power.py (+5/-3) src/maasserver/models/signals/tests/test_power.py (+6/-6) src/maasserver/models/tests/test_node.py (+11/-0) |
To merge this branch: | bzr merge lp:~newell-jensen/maas/fix-1567177 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | 2016-04-11 | Approve on 2016-04-12 | |
Review via email:
|
Commit message
Fixes miss catching of Node's power_query PowerProblem that is raised when there is "No BMC defined.". Also, fixes it so that Rack Controllers are no longer power queried.
Newell Jensen (newell-jensen) wrote : | # |
> > fixes it so that Rack Controllers are no longer power queried.
>
> Why? Seems like this is quite useful information, if there's BMC information
> available.
>
> Some other questions too, but otherwise this looks good.
This is ready for another look. This has changed to allow Rack Controllers to be power queried but not started or stopped (no power on/off).
MAAS Lander (maas-lander) wrote : | # |
The attempt to merge lp:~newell-jensen/maas/fix-1567177 into lp:maas failed. Below is the output from the failed tests.
Hit:1 http://
Get:2 http://
Hit:3 http://
Hit:4 http://
Get:5 http://
Fetched 1,444 kB in 0s (2,314 kB/s)
Reading package lists...
sudo DEBIAN_
--no-
Reading package lists...
Building dependency tree...
Reading state information...
apache2 is already the newest version (2.4.18-2ubuntu2).
archdetect-deb is already the newest version (1.117ubuntu1).
authbind is already the newest version (2.1.1+nmu1).
bash is already the newest version (4.3-14ubuntu1).
bind9 is already the newest version (1:9.10.
bind9utils is already the newest version (1:9.10.
build-essential is already the newest version (12.1ubuntu2).
curl is already the newest version (7.47.0-1ubuntu2).
debhelper is already the newest version (9.20160115ubun
distro-info is already the newest version (0.14build1).
dnsutils is already the newest version (1:9.10.
firefox is already the newest version (45.0.1+
freeipmi-tools is already the newest version (1.4.11-1ubuntu1).
git is already the newest version (1:2.7.4-0ubuntu1).
isc-dhcp-common is already the newest version (4.3.3-5ubuntu11).
libjs-angularjs is already the newest version (1.2.28-1ubuntu2).
libjs-jquery is already the newest version (1.11.3+dfsg-4)...
Gavin Panella (allenap) wrote : | # |
The failure is below. I saw this earlier today when trying to land a branch. I'll look into why this is happening tomorrow morning (for me). In the meantime give this another go at landing; the failure is not related to this branch.
FAIL: maasserver.
-------
testtools.
File "/tmp/tarmac/
result = function(*args, **kwargs)
File "/home/
return self._get_
File "/usr/lib/
return eventual_
File "/usr/lib/
result.
File "/usr/lib/
raise self.value.
testtools.
...
Got:
Unhandled error in Deferred:
---
Unhandled Error
Traceback (most recent call last):
Failure: twisted.
<BLANKLINE>
---
Unhandled error in Deferred:
---
Unhandled Error
Traceback (most recent call last):
File "/tmp/tarmac/
for endpoint_options in self.endpoints))
File "/usr/lib/
File "/tmp/tarmac/
for endpoint_options in self.endpoints))
File "/usr/lib/
return _inlineCallback
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/tmp/tarmac/
port = yield endpoint.
builtins.
<BLANKLINE>
---
RegionServer endpoint failed to listen.
Traceback (most recent call last):
File "/tmp/tarmac/
for endpoint_options in self.endpoints))
File "/usr/lib/
MAAS Lander (maas-lander) wrote : | # |
The attempt to merge lp:~newell-jensen/maas/fix-1567177 into lp:maas failed. Below is the output from the failed tests.
Hit:1 http://
Get:2 http://
Hit:3 http://
Hit:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Fetched 22.9 MB in 3s (6,300 kB/s)
Reading package lists...
sudo DEBIAN_
--no-
Reading package lists...
Building dependency tree...
Reading state information...
apache2 is already the newest version (2.4.18-2ubuntu2).
archdetect-deb is already the newest version (1.117ubuntu1).
authbind is already the newest version (2.1.1+nmu1).
bash is already the newest version (4.3-14ubuntu1).
bind9 is already the newest version (1:9.10.
bind9utils is already ...
MAAS Lander (maas-lander) wrote : | # |
The attempt to merge lp:~newell-jensen/maas/fix-1567177 into lp:maas failed. Below is the output from the failed tests.
Hit:1 http://
Get:2 http://
Hit:3 http://
Hit:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Fetched 17.6 MB in 3s (5,582 kB/s)
Reading package lists...
sudo DEBIAN_
--no-
Reading package lists...
Building dependency tree...
Reading state information...
apache2 is already the newest version (2.4.18-2ubuntu2).
archdetect-deb is already the newest version (1.117ubuntu1).
authbind is already the newest version (2.1.1+nmu1).
bash is already the newest version (4.3-14ubuntu1).
bind9 is already the newest version (1:9.10.
bind9utils is already the newest version (1:9.10.
build-essential is already the newest version (12.1ubuntu2).
curl is already the newest version (7.47.0-1ubuntu2).
debhelper is already the newest version (9.20160115ubun
distro-info is already the newest version (0.14build1).
dnsutils is already the newest version (1:9.10.
firefox is already the newest version (45.0.1+
freeipmi-too...
> fixes it so that Rack Controllers are no longer power queried.
Why? Seems like this is quite useful information, if there's BMC information available.
Some other questions too, but otherwise this looks good.