Wrong error messages in UI

Bug #1376481 reported by Andres Rodriguez
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Raphaël Badin

Bug Description

ailed to query node's BMC — Node could not be queried node-9a5ce808-49b6-11e4-88cd-7c7a9140484f (extraneous-hate.local) virsh failed with return code 1: Traceback (most recent call last): File "<stdin>", line 5, in <module> File "/usr/lib/python2.7/dist-packages/provisioningserver/drivers/hardware/virsh.py", line 235, in power_state_virsh raise VirshError('Failed to login to virsh console.') provisioningserver.drivers.hardware.virsh.VirshError: Failed to login to virsh console.

that's what I see in the node event log... we need to capture these exceptions and make them proper error logs for the node event log.

Failed to power on node — Node could not be powered on: virsh failed with return code 1: Traceback (most recent call last): File "<stdin>", line 6, in <module> File "/usr/lib/python2.7/dist-packages/provisioningserver/drivers/hardware/virsh.py", line 209, in power_control_virsh raise VirshError('Failed to login to virsh console.') provisioningserver.drivers.hardware.virsh.VirshError: Failed to login to virsh console.

Tags: robustness

Related branches

description: updated
Changed in maas:
milestone: none → 1.7.0
description: updated
Raphaël Badin (rvb)
tags: added: robustness
Changed in maas:
importance: Undecided → High
status: New → Triaged
Raphaël Badin (rvb)
Changed in maas:
assignee: nobody → Raphaël Badin (rvb)
status: Triaged → 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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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