missing resources

Bug #1550350 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-designateclient (Ubuntu)
Fix Released
Critical
Corey Bryant

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

James Page (james-page)
Changed in python-designateclient (Ubuntu):
importance: Undecided → Critical
status: New → Triaged
James Page (james-page)
Changed in python-designateclient (Ubuntu):
assignee: nobody → Corey Bryant (corey.bryant)
Changed in python-designateclient (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-designateclient - 2.0.0-0ubuntu2

---------------
python-designateclient (2.0.0-0ubuntu2) xenial; urgency=medium

  * No change rebuild with upstream orig tar ball (LP: #1550350).

 -- Corey Bryant <email address hidden> Fri, 26 Feb 2016 09:02:01 -0500

Changed in python-designateclient (Ubuntu):
status: Fix Committed → Fix Released
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.