[Bug 1550350] Re: missing resources

James Page james.page at ubuntu.com
Fri Feb 26 15:52:13 UTC 2016


** Changed in: python-designateclient (Ubuntu)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-designateclient in Ubuntu.
https://bugs.launchpad.net/bugs/1550350

Title:
  missing resources

Status in python-designateclient package in Ubuntu:
  Triaged

Bug description:
  $ designate domain-list
  ERROR: Exception raised: Could not find the requested resource: resources/schemas/v1/domain.json

  and from heat unit tests:

  ======================================================================
  FAIL: unittest2.loader._FailedTest.heat.tests.clients.test_designate_client
  unittest2.loader._FailedTest.heat.tests.clients.test_designate_client
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
  ImportError: Failed to import test module: heat.tests.clients.test_designate_client
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
      module = self._get_module_from_name(name)
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
      __import__(name)
    File "/«PKGBUILDDIR»/heat/tests/clients/test_designate_client.py", line 21, in <module>
      from heat.engine.clients.os import designate as client
    File "/«PKGBUILDDIR»/heat/engine/clients/os/designate.py", line 16, in <module>
      from designateclient.v1 import domains
    File "/usr/lib/python2.7/dist-packages/designateclient/v1/domains.py", line 23, in <module>
      Domain = warlock.model_factory(utils.load_schema('v1', 'domain'))
    File "/usr/lib/python2.7/dist-packages/designateclient/utils.py", line 52, in load_schema
      package=package)
    File "/usr/lib/python2.7/dist-packages/designateclient/utils.py", line 45, in resource_string
      'resource: %s' % resource_path)
  ResourceNotFound: Could not find the requested resource: resources/schemas/v1/domain.json

  
  ======================================================================
  FAIL: unittest2.loader._FailedTest.heat.tests.openstack.designate.test_domain
  unittest2.loader._FailedTest.heat.tests.openstack.designate.test_domain
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
  ImportError: Failed to import test module: heat.tests.openstack.designate.test_domain
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
      module = self._get_module_from_name(name)
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
      __import__(name)
    File "/«PKGBUILDDIR»/heat/tests/openstack/designate/test_domain.py", line 17, in <module>
      from designateclient.v1 import domains
    File "/usr/lib/python2.7/dist-packages/designateclient/v1/domains.py", line 23, in <module>
      Domain = warlock.model_factory(utils.load_schema('v1', 'domain'))
    File "/usr/lib/python2.7/dist-packages/designateclient/utils.py", line 52, in load_schema
      package=package)
    File "/usr/lib/python2.7/dist-packages/designateclient/utils.py", line 45, in resource_string
      'resource: %s' % resource_path)
  ResourceNotFound: Could not find the requested resource: resources/schemas/v1/domain.json

  
  ======================================================================
  FAIL: unittest2.loader._FailedTest.heat.tests.openstack.designate.test_record
  unittest2.loader._FailedTest.heat.tests.openstack.designate.test_record
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
  ImportError: Failed to import test module: heat.tests.openstack.designate.test_record
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
      module = self._get_module_from_name(name)
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
      __import__(name)
    File "/«PKGBUILDDIR»/heat/tests/openstack/designate/test_record.py", line 17, in <module>
      from designateclient.v1 import records
    File "/usr/lib/python2.7/dist-packages/designateclient/v1/records.py", line 21, in <module>
      from designateclient.v1.domains import Domain
    File "/usr/lib/python2.7/dist-packages/designateclient/v1/domains.py", line 23, in <module>
      Domain = warlock.model_factory(utils.load_schema('v1', 'domain'))
    File "/usr/lib/python2.7/dist-packages/designateclient/utils.py", line 52, in load_schema
      package=package)
    File "/usr/lib/python2.7/dist-packages/designateclient/utils.py", line 45, in resource_string
      'resource: %s' % resource_path)
  ResourceNotFound: Could not find the requested resource: resources/schemas/v1/domain.json

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-designateclient/+bug/1550350/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list