Hi everyone,

I've installed the openstack mitaka with packstack on a two-node setup to
get some common knowledge for the openstack. I use tempest to verify the
openstack components, so as for now I've got a couple of errors I hope you
can help me with. I've attached my latest errors log with the errors that I
get as I've managed to fix a lot or to find some workarounds, most of which
were due to the packstack not setting the configuration files properly.

The errors that disappoint me most have "AssertionError: False is not true
: Public subnets visible" and "MismatchError" traceback messages. As for
the first one, I've found the following link

https://bugs.launchpad.net/neutron/+bug/1553595

so as far as I can tell that problem is typical for the neutron
configuration that I use, and the fix will soon be in the stable neutron
packages that I can get from the http://rdo.fedorapeople.org/rdo-release.rpm
repository, so soon I wouldn't be experiencing these errors.

As for the 2nd one, I don't have any idea, and I was not able to find the
solution since I've checked if the cinder services are running on the
storage host, and they do indeed have the "active" status, and the basic
functionality like the creation and the attachment of a volume to an
instance.

Thanks in advance for any help here!

-- 
sincerely, Paul
tempest.api.network.test_networks.NetworksIpV6Test.test_external_network_visibility[id-af774677-42a9-4e4b-bb58-16fe6a5bc1ec,smoke]
----------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/var/lib/tempest/tempest/test.py", line 157, in wrapper
        return func(*func_args, **func_kwargs)
      File "/var/lib/tempest/tempest/api/network/test_networks.py", line 391, in test_external_network_visibility
        self.assertEmpty(body['subnets'], "Public subnets visible")
      File "/var/lib/tempest/tempest/test.py", line 651, in assertEmpty
        self.assertTrue(len(list) == 0, msg)
      File "/var/lib/tempest/.venv/lib/python2.7/site-packages/unittest2/case.py", line 702, in assertTrue
        raise self.failureException(msg)
    AssertionError: False is not true : Public subnets visible


tempest.api.network.test_extensions.ExtensionsTestJSON.test_list_show_extensions[id-ef28c7e6-e646-4979-9d67-deb207bc5564,smoke]
-------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/var/lib/tempest/tempest/api/network/test_extensions.py", line 69, in test_list_show_extensions
        self.assertIn(e, actual_alias)
      File "/var/lib/tempest/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 417, in assertIn
        self.assertThat(haystack, Contains(needle), message)
      File "/var/lib/tempest/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: 'metering' not in [u'default-subnetpools', u'network-ip-availability', u'network_availab
ility_zone', u'auto-allocated-topology', u'ext-gw-mode', u'binding', u'agent', u'subnet_allocation', u'l3_agent_scheduler', u'tag',
u'external-net', u'net-mtu', u'availability_zone', u'quotas', u'l3-ha', u'provider', u'multi-provider', u'address-scope', u'extrarou
te', u'timestamp_core', u'router', u'extra_dhcp_opt', u'dns-integration', u'security-group', u'dhcp_agent_scheduler', u'router_avail
ability_zone', u'rbac-policies', u'standard-attr-description', u'port-security', u'allowed-address-pairs', u'dvr']


setUpClass (tempest.api.network.test_metering_extensions.MeteringIpV6TestJSON)
------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/var/lib/tempest/tempest/test.py", line 279, in setUpClass
        six.reraise(etype, value, trace)
      File "/var/lib/tempest/tempest/test.py", line 272, in setUpClass
        cls.resource_setup()
      File "/var/lib/tempest/tempest/api/network/test_metering_extensions.py", line 39, in resource_setup
        cls.metering_label = cls.create_metering_label(name, description)
      File "/var/lib/tempest/tempest/api/network/base.py", line 273, in create_metering_label
        name=data_utils.rand_name("metering-label"))
      File "/var/lib/tempest/tempest/lib/services/network/metering_labels_client.py", line 21, in create_metering_label
        return self.create_resource(uri, post_data)
      File "/var/lib/tempest/tempest/lib/services/network/base.py", line 60, in create_resource
        resp, body = self.post(req_uri, req_post_data)
      File "/var/lib/tempest/tempest/lib/common/rest_client.py", line 270, in post
        return self.request('POST', url, extra_headers, headers, body, chunked)
      File "/var/lib/tempest/tempest/lib/common/rest_client.py", line 664, in request
        resp, resp_body)
      File "/var/lib/tempest/tempest/lib/common/rest_client.py", line 762, in _error_checker
        raise exceptions.NotFound(resp_body, resp=resp)
    tempest.lib.exceptions.NotFound: Object not found
    Details: 404 Not Found

    The resource could not be found.

setUpClass (tempest.api.network.test_metering_extensions.MeteringTestJSON)
--------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/var/lib/tempest/tempest/test.py", line 279, in setUpClass
        six.reraise(etype, value, trace)
      File "/var/lib/tempest/tempest/test.py", line 272, in setUpClass
        cls.resource_setup()
      File "/var/lib/tempest/tempest/api/network/test_metering_extensions.py", line 39, in resource_setup
        cls.metering_label = cls.create_metering_label(name, description)
      File "/var/lib/tempest/tempest/api/network/base.py", line 273, in create_metering_label
        name=data_utils.rand_name("metering-label"))
      File "/var/lib/tempest/tempest/lib/services/network/metering_labels_client.py", line 21, in create_metering_label
        return self.create_resource(uri, post_data)
      File "/var/lib/tempest/tempest/lib/services/network/base.py", line 60, in create_resource
        resp, body = self.post(req_uri, req_post_data)
      File "/var/lib/tempest/tempest/lib/common/rest_client.py", line 270, in post
        return self.request('POST', url, extra_headers, headers, body, chunked)
      File "/var/lib/tempest/tempest/lib/common/rest_client.py", line 664, in request
        resp, resp_body)
      File "/var/lib/tempest/tempest/lib/common/rest_client.py", line 762, in _error_checker
        raise exceptions.NotFound(resp_body, resp=resp)
    tempest.lib.exceptions.NotFound: Object not found
    Details: 404 Not Found

    The resource could not be found.


tempest.api.network.test_networks.NetworksTest.test_external_network_visibility[id-af774677-42a9-4e4b-bb58-16fe6a5bc1ec,smoke]
------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/var/lib/tempest/tempest/test.py", line 157, in wrapper
        return func(*func_args, **func_kwargs)
      File "/var/lib/tempest/tempest/api/network/test_networks.py", line 391, in test_external_network_visibility
        self.assertEmpty(body['subnets'], "Public subnets visible")
      File "/var/lib/tempest/tempest/test.py", line 651, in assertEmpty
        self.assertTrue(len(list) == 0, msg)
      File "/var/lib/tempest/.venv/lib/python2.7/site-packages/unittest2/case.py", line 702, in assertTrue
        raise self.failureException(msg)
    AssertionError: False is not true : Public subnets visible

tempest.api.volume.admin.test_volume_services.VolumesServicesV1TestJSON.test_get_service_by_host_name[id-178710e4-7596-4e08-9333-745cb8bc4f8d]
----------------------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/var/lib/tempest/tempest/api/volume/admin/test_volume_services.py", line 74, in test_get_service_by_host_name
        self.assertEqual(sorted(s1), sorted(s2))
      File "/var/lib/tempest/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
        self.assertThat(observed, matcher, message)
      File "/var/lib/tempest/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = [u'cinder-backup', u'cinder-scheduler', u'cinder-volume']
    actual    = [u'cinder-backup', u'cinder-scheduler']



tempest.api.volume.admin.test_volume_services.VolumesServicesV2TestJSON.test_get_service_by_host_name[id-178710e4-7596-4e08-9333-745cb8bc4f8d]
----------------------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/var/lib/tempest/tempest/api/volume/admin/test_volume_services.py", line 74, in test_get_service_by_host_name
        self.assertEqual(sorted(s1), sorted(s2))
      File "/var/lib/tempest/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
        self.assertThat(observed, matcher, message)
      File "/var/lib/tempest/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = [u'cinder-backup', u'cinder-scheduler', u'cinder-volume']
    actual    = [u'cinder-backup', u'cinder-scheduler']

======
Totals
======
Ran: 1346 tests in 3309.0000 sec.
 - Passed: 1192
 - Skipped: 147
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 7
Sum of execute time for each test: 8665.8454 sec.
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to