Bug 1152973

Summary: Failed to stop VM with payload due to Cannot remove Fs that does not exists in: /var/run/vdsm/payload
Product: Red Hat Enterprise Virtualization Manager Reporter: Lukas Svaty <lsvaty>
Component: ovirt-engineAssignee: Francesco Romani <fromani>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.0CC: ecohen, gklein, iheim, jbelka, lpeer, lsurette, nsednev, ofrenkel, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-20 07:16:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Svaty 2014-10-15 10:04:39 UTC
Description of problem:
Stop VM fails through REST API because of Cannot remove Fs that does not exists in: /var/run/vdsm/payload

Version-Release number of selected component (if applicable):
vt5

How reproducible:
not sure
heppend once in MultiVM teardown of run 
http://jenkins.qa.lab.tlv.redhat.com:8080/view/Compute/view/3.5-git/view/Dashboard/job/3.5-git-compute-sla_ha_reservation/28/

Steps to Reproduce:
1. created 8 VMs
2. Start them
3. Move one host to maintenance
4. try to stop 1 VM

Actual results:
Stop operation failed.

Additional info:
Adding logs from machine running VMs (.39), other host and engine

supervdsm.log:
MainProcess|Thread-2906::DEBUG::2014-10-14 13:53:54,717::supervdsmServer::101::SuperVdsm.ServerCallback::(wrapper) call removeFs with ('',) {}
MainProcess|Thread-2906::ERROR::2014-10-14 13:53:54,717::supervdsmServer::105::SuperVdsm.ServerCallback::(wrapper) Error in removeFs
Traceback (most recent call last):
  File "/usr/share/vdsm/supervdsmServer", line 103, in wrapper
    res = func(*args, **kwargs)
  File "/usr/share/vdsm/supervdsmServer", line 360, in removeFs
    return mkimage.removeFs(path)
  File "/usr/share/vdsm/mkimage.py", line 143, in removeFs
    _P_PAYLOAD_IMAGES)
Exception: Cannot remove Fs that does not exists in: /var/run/vdsm/payload

Comment 2 Omer Frenkel 2014-10-19 07:10:39 UTC
Francesco, maybe related to the cd device disappearing in migration? ( bug 1145636 )

Comment 3 Francesco Romani 2014-10-20 07:16:20 UTC
(In reply to Omer Frenkel from comment #2)
> Francesco, maybe related to the cd device disappearing in migration? ( bug
> 1145636 )

I definitely think so. I observed thus very same behaviour on the affected box. Let's close this as duplicate of bz1145636, and reopen if new evidence comes out.

*** This bug has been marked as a duplicate of bug 1145636 ***

Comment 4 Francesco Romani 2014-10-20 11:42:32 UTC
*** Bug 1154088 has been marked as a duplicate of this bug. ***

Comment 5 Omer Frenkel 2014-10-23 06:27:58 UTC
*** Bug 1155705 has been marked as a duplicate of this bug. ***