Bug 906175 - invalid vmtype (for RHEV 3.1) specified in VirtManager
Summary: invalid vmtype (for RHEV 3.1) specified in VirtManager
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 0.12
Assignee: Qixiang Wan
QA Contact: Dan Callaghan
URL:
Whiteboard: Cloud
Depends On:
Blocks: 880002
TreeView+ depends on / blocked
 
Reported: 2013-01-31 04:36 UTC by Qixiang Wan
Modified: 2018-02-06 00:41 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-11 04:57:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Qixiang Wan 2013-01-31 04:36:12 UTC
Description of problem:
create_vm in VirtManager define the vm type as 'virtio26', this is not valid in RHEV3.1. So an error will raised as following:

2013-01-30 17:41:25,868 bkr.server.model ERROR Failed to create VM 'guest_for_recipe_44' on <bkr.server.model.VirtManager object at 0x7f37c00ebcd0> cluster 'Default'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/bkr/server/model.py", line 6607, in create_vm
    vm = self.api.vms.add(vm_definition)
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/brokers.py", line 6571, in add
    headers={"Correlation-Id":correlation_id, "Expect":expect})
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", line 117, in add
    return self.request('POST', url, body, headers)
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", line 128, in request
    last=last)
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", line 154, in __doRequest
    raise RequestError, response
RequestError: 
status: 400
reason: Bad Request
detail: virtio26 is not a member of VmType. Possible values for VmType are: desktop, server

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

How reproducible:
Connect to RHEV instance and create a virt possible recipe.

Steps to Reproduce:
1. Enable ovirt engine on server and connect to RHEV 3.1 instance.
2. create a job which can run on rhev guests.
  
Actual results:
job can not be scheduled to run on rhev guests due to create vm failure.

Expected results:
job can run on rhev guests.


Additional info:

Comment 1 Qixiang Wan 2013-01-31 08:11:17 UTC
on gerrit: http://gerrit.beaker-project.org/#/c/1681/

Comment 4 Dan Callaghan 2013-04-11 04:57:06 UTC
Beaker 0.12 has been released.


Note You need to log in before you can comment on or make changes to this bug.