[2.0b4 UI/API] No notifications rack controller is disconnected. No power type available

Bug #1581318 reported by John George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Blake Rouse
1.9
Fix Released
High
Blake Rouse

Bug Description

Fresh install of MAAS 2.0 beta4 on Xenial is not able to add machines due to unavailable and unknown power types.

The following maas cli command fails:
maas _maas machines create architecture=amd64/generic mac_addresses=ec:b1:d7:7f:ff:a4 hostname=azurill power_parameters_power_address=192.168.246.111 autodetect_nodegroup=1 power_type=ipmi power_parameters_power_user=maas power_parameters_power_pass=quality_first power_parameters_power_driver=LAN_2_0
{"power_parameters": ["Unknown parameter(s): power_address, power_driver, power_user, power_pass."]}

Enlisting the machine by booting it, also results in a node entry that has no Power type selections available.

ii maas 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all "Metal as a Service" is a physical cloud and IPAM
ii maas-cli 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all MAAS client and command-line interface
un maas-cluster-controller <none> <none> (no description available)
ii maas-common 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all MAAS server common files
ii maas-dhcp 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all MAAS DHCP server
ii maas-dns 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all MAAS DNS server
ii maas-proxy 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all MAAS Caching Proxy
ii maas-rack-controller 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all Rack Controller for MAAS
ii maas-region-api 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all Region controller API service for MAAS
ii maas-region-controller 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all Region Controller for MAAS
un maas-region-controller-min <none> <none> (no description available)
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-maas-provisioningserver <none> <none> (no description available)
ii python3-django-maas 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all MAAS server Django web framework (Python 3)
ii python3-maas-client 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all MAAS python API client (Python 3)
ii python3-maas-provisioningserver 2.0.0~beta4+bzr4985-0ubuntu1~xenial1 all MAAS server provisioning libraries (Python 3)

Related branches

Revision history for this message
John George (jog) wrote :
Revision history for this message
John George (jog) wrote :
Revision history for this message
John George (jog) wrote :
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Was your Rack Controller connected ? I see this in the logs:

2016-05-13 01:12:33+0000 [Uninitialized] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://localhost:5240/MAAS/rpc/').
2016-05-13 01:12:35+0000 [Uninitialized] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://localhost:5240/MAAS/rpc/').

This would cause you to see no power parameters available.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Ok, this seems to eb a critical usability issue.

Changed in maas:
milestone: none → 2.0.0
importance: Undecided → Critical
status: New → Triaged
summary: - Power type selections not available and cli machines create reports
- unknown parameters
+ [2.0b4 UI/API] No notifications rack controller is disconnected. No
+ power type available
Revision history for this message
Blake Rouse (blake-rouse) wrote :

This does not affect the UI, as the UI provides the correct information. Looking into the API now.

http://imgur.com/MAEZa5p

Revision history for this message
Andres Rodriguez (andreserl) wrote :

This is a cache issue provided you are accessing MAAS via apache2 instead of accessing it direcctly at port 5240.

Changed in maas:
importance: Critical → High
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Blake Rouse (blake-rouse)
Revision history for this message
John George (jog) wrote :

What is the best way to confirm the Rack Controller is connected? I did notice those messages but could not find anything glaring that indicated continued connection issues.

I ended up re-booting the hardware the MAAS server was running on, after which power type selection was available.

Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.