Pod refresh errors when node has a logical volume

Bug #1683855 reported by Newell Jensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Blake Rouse
MAAS RSD
Fix Released
High
Blake Rouse

Bug Description

When refreshing a pod that contains a node with remote storage target being used as a logical volume group with a logical volume in that group, an error is thrown:

==> /var/log/maas/regiond.log <==
2017-04-18 15:42:00 maasserver.websockets.protocol: [critical] Error on request (50) pod.refresh: ['Cannot delete block device because its part of a volume group.']

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1203, in mainLoop
    self.runUntilCurrent()
  File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 798, in runUntilCurrent
    f(*a, **kw)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 434, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3/dist-packages/maasserver/forms/pods.py", line 246, in wrap_errors
    raise PodProblem(str(failure.value))
maasserver.exceptions.PodProblem: ['Cannot delete block device because its part of a volume group.']

Related branches

Changed in maasrsd:
importance: Undecided → High
milestone: none → beta
Changed in maas:
status: New → In Progress
Changed in maasrsd:
status: New → In Progress
Changed in maas:
assignee: nobody → Blake Rouse (blake-rouse)
Changed in maasrsd:
assignee: nobody → Blake Rouse (blake-rouse)
Changed in maas:
status: In Progress → Fix Committed
Changed in maasrsd:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
Changed in maasrsd:
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.