ValueError: Virtual machine mode 'lxc' is not valid

Bug #1458048 reported by Davanum Srinivas (DIMS)
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nova-docker
Fix Committed
Undecided
Unassigned

Bug Description

CI jobs are getting an error:

Traceback (most recent call last):

  File "/opt/stack/new/nova/nova/conductor/manager.py", line 436, in _object_dispatch
    return getattr(target, method)(*args, **kwargs)
  File "/opt/stack/new/nova/nova/objects/base.py", line 205, in wrapper
    return fn(self, *args, **kwargs)
  File "/opt/stack/new/nova/nova/objects/compute_node.py", line 260, in save
    self._from_db_object(self._context, self, db_compute)
  File "/opt/stack/new/nova/nova/objects/compute_node.py", line 142, in _from_db_object
    for hv_spec in hv_specs]
  File "/opt/stack/new/nova/nova/objects/hv_spec.py", line 38, in from_list
    vm_mode=data[2])
  File "/opt/stack/new/nova/nova/objects/base.py", line 275, in __init__
    setattr(self, key, kwargs[key])
  File "/opt/stack/new/nova/nova/objects/base.py", line 74, in setter
    field_value = field.coerce(self, name, value)
  File "/opt/stack/new/nova/nova/objects/fields.py", line 203, in coerce
    return self._type.coerce(obj, attr, value)
  File "/opt/stack/new/nova/nova/objects/fields.py", line 362, in coerce
    raise ValueError(msg)

ValueError: Virtual machine mode 'lxc' is not valid

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova-docker (master)

Reviewed: https://review.openstack.org/185143
Committed: https://git.openstack.org/cgit/stackforge/nova-docker/commit/?id=fe21d037a5a1ef2ceec21ac6e9837b14f4745a25
Submitter: Jenkins
Branch: master

commit fe21d037a5a1ef2ceec21ac6e9837b14f4745a25
Author: Davanum Srinivas <email address hidden>
Date: Fri May 22 14:02:29 2015 -0700

    Virtual machine mode validation causes build break

    Closes-Bug: #1458048
    Change-Id: I0a0e235b2414519f0d512e3903ba0c745696dfc6

Changed in nova-docker:
status: New → Fix Committed
Revision history for this message
Alvaro Lopez (aloga) wrote :

Hi,

this bug prevents running nova-docker on liberty, unless you patch the file manually. I think it is worth to backport it to liberty, isn't it?

Revision history for this message
Alvaro Lopez (aloga) wrote :

Nevermind, forget my last comment as it is invalid, I was using the wront code version.

Sorry for the noise.

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.