fuel-devops missing libvirt-python requirement

Bug #1385439 reported by Andrew Woodward
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Andrew Woodward

Bug Description

when installing via virtualenv directions, libvirt-python is missing and can fail import.

  File "/two/local/lib/python2.7/site-packages/nose/case.py", line 345, in __init__
    self.inst = self.cls()
  File "/fuel-main/fuelweb_test/tests/base_test_case.py", line 31, in __init__
    self.env = EnvironmentModel()
  File "/fuel-main/fuelweb_test/models/environment.py", line 54, in __init__
    self._fuel_web = FuelWebClient(self.get_admin_node_ip(), self)
  File "/fuel-main/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/fuel-main/fuelweb_test/models/environment.py", line 244, in get_admin_node_ip
    self.nodes().admin.get_ip_address_by_network_name(self.admin_net))
  File "/fuel-main/fuelweb_test/models/environment.py", line 344, in nodes
    return Nodes(self.get_virtual_environment(), self.node_roles)
  File "/fuel-main/fuelweb_test/models/environment.py", line 316, in get_virtual_environment
    self._virtual_environment = self._get_or_create()
  File "/fuel-main/fuelweb_test/models/environment.py", line 60, in _get_or_create
    self._virtual_environment = self.describe_environment()
  File "/fuel-main/fuelweb_test/models/environment.py", line 161, in describe_environment
    networks.append(self.create_networks(name, environment))
  File "/fuel-main/fuelweb_test/models/environment.py", line 173, in create_networks
    prefix=int(new_prefix))
  File "/two/local/lib/python2.7/site-packages/devops/manager.py", line 64, in create_network_pool
    pool.set_allocated_networks(ExternalModel.get_allocated_networks())
  File "/two/local/lib/python2.7/site-packages/devops/models.py", line 188, in get_allocated_networks
    return cls.get_driver().get_allocated_networks()
  File "/two/local/lib/python2.7/site-packages/devops/models.py", line 54, in get_driver
    driver = import_module(settings.DRIVER)
  File "/two/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
    __import__(name)
  File "/two/local/lib/python2.7/site-packages/devops/driver/libvirt/libvirt_driver.py", line 16, in <module>
    import libvirt
ImportError: No module named libvirt

Tags: devops
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-devops (master)

Fix proposed to branch: master
Review: https://review.openstack.org/130867

Changed in fuel:
assignee: nobody → Andrew Woodward (xarses)
status: Confirmed → In Progress
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Andrew, in case using systests for create env, you might to create env according to http://docs.mirantis.com/fuel-dev/devops.html#clean-installation

Changed in fuel:
milestone: none → 6.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-devops (master)

Reviewed: https://review.openstack.org/130867
Committed: https://git.openstack.org/cgit/stackforge/fuel-devops/commit/?id=ce1282f970276c21e020dca897ba138f07089772
Submitter: Jenkins
Branch: master

commit ce1282f970276c21e020dca897ba138f07089772
Author: Andrew Woodward <email address hidden>
Date: Fri Oct 24 11:17:59 2014 -0700

    Add missing requirement for libvirt-python

    libvirt-python is missing from setup.py

    Change-Id: I41c2e29d612ba0b45f94c2340b9a6a3472d5bbdc
    Closes-bug: #1385439

Changed in fuel:
status: In Progress → Fix Committed
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.