ODAVP: oakerr 7007 Block device must have physical details specified

Solution for following error, starting a VM imported from an assembly:

Attempting to start vm on node:0=>FAILED.<OAKERR:7007 Error encountered while starting VM -  Error: Block device must have physical details specified

 

Login to the dom0 and edit the vm.cfg configuration file, for example

/OVS/Repositories/ebs/.ACFS/snaps/ebsvis1228a/VirtualMachines/ebsvis1228a

From:

vif = ['']
name = 'ebsvis1228a'
extra = 'NODENAME=ebsvis1228a'
builder = 'hvm'
cpus = '16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31'
vcpus = 4
memory = 14282
cpu_cap = 0
vnc = 1
serial = 'pty'
disk = [u'file:/OVS/Repositories/ebs/.ACFS/snaps/ebsvis1228a/VirtualMachines/ebsvis1228a/5edc3de8ce8147ca93be9d1bba903f34.img,xvda,w', u',xvdb:/OVS/Repositories/ebs/.ACFS/snaps/ebsvis1228a/VirtualMachines/ebsvis1228a/cdrom,r']
maxvcpus = 4
maxmem = 14282

To (eliminating the cdrom device):

vif = ['']
name = 'ebsvis1228a'
extra = 'NODENAME=ebsvis1228a'
builder = 'hvm'
cpus = '16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31'
vcpus = 4
memory = 14282
cpu_cap = 0
vnc = 1
serial = 'pty'
disk = [u'file:/OVS/Repositories/ebs/.ACFS/snaps/ebsvis1228a/VirtualMachines/ebsvis1228a/5edc3de8ce8147ca93be9d1bba903f34.img,xvda,w']
maxvcpus = 4
maxmem = 14282